Add GetProjectionMatrix

This commit is contained in:
Georg Hagen
2024-07-30 22:40:08 +02:00
parent b079221322
commit d0e50d2409

View File

@@ -139,10 +139,9 @@ namespace OpenVulkano::Scene
[[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; }