Removed final attribute from UpdateProjectionMatrix()

This commit is contained in:
Vladyslav Baranovskyi
2024-06-25 22:01:36 +03:00
parent 669d52fe0c
commit 624742eeb5

View File

@@ -226,7 +226,7 @@ namespace OpenVulkano::Scene
return 2.0f * atanf(tanf(m_fov * 0.5f) * m_aspect); return 2.0f * atanf(tanf(m_fov * 0.5f) * m_aspect);
} }
void UpdateProjectionMatrix() final void UpdateProjectionMatrix()
{ {
m_projection = Math::Utils::perspectiveRH_ZO(m_fov, m_aspect, m_nearPlane, m_farPlane); m_projection = Math::Utils::perspectiveRH_ZO(m_fov, m_aspect, m_nearPlane, m_farPlane);
UpdateViewProjectionMatrix(); UpdateViewProjectionMatrix();