Add GetProjectionMatrix
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user