Graphics/ViewerData: Add near and far plane
This commit is contained in:
committed by
Jérôme Leclercq
parent
2a3da7384d
commit
929b599337
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user