Graphics/ViewerData: Add near and far plane

This commit is contained in:
SirLynix
2023-09-05 22:34:00 +02:00
committed by Jérôme Leclercq
parent 2a3da7384d
commit 929b599337
9 changed files with 39 additions and 3 deletions

View File

@@ -248,6 +248,8 @@ namespace Nz
m_viewerInstance.UpdateProjectionMatrix(Matrix4f::Perspective(m_fov, m_aspectRatio, m_zNear, m_zFar));
break;
}
m_viewerInstance.UpdateNearFarPlanes(m_zNear, m_zFar);
}
inline void Camera::UpdateViewport()