diff --git a/openVulkanoCpp/Scene/Camera.hpp b/openVulkanoCpp/Scene/Camera.hpp index b1c0e72..fa127f8 100644 --- a/openVulkanoCpp/Scene/Camera.hpp +++ b/openVulkanoCpp/Scene/Camera.hpp @@ -138,11 +138,10 @@ namespace OpenVulkano::Scene [[nodiscard]] auto GetForward() const { return GetViewDirection(); } [[nodiscard]] const Math::Matrix4f& GetViewMatrix() const { return m_view; } - - [[nodiscard]] Math::Frustum GetFrustum() const - { - return {m_viewProjection}; - } + + [[nodiscard]] const Math::Matrix4f& GetProjectionMatrix() const { return m_projection; } + + [[nodiscard]] Math::Frustum GetFrustum() const { return {m_viewProjection}; } [[nodiscard]] float GetScaleFactor() const { return m_scaleFactor; } [[nodiscard]] float GetPixelScaleFactor() const { return m_perPixelScaleFactor; }