mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Increased near plane
This commit is contained in:
@@ -67,7 +67,7 @@ namespace Nuake
|
|||||||
Matrix4 Camera::GetPerspective()
|
Matrix4 Camera::GetPerspective()
|
||||||
{
|
{
|
||||||
//TODO: Add perspective options
|
//TODO: Add perspective options
|
||||||
m_Perspective = glm::perspectiveFov(glm::radians(Fov), 9.0f * AspectRatio, 9.0f, 0.1f, 1000.0f);
|
m_Perspective = glm::perspectiveFov(glm::radians(Fov), 9.0f * AspectRatio, 9.0f, 0.001f, 1000.0f);
|
||||||
return m_Perspective;
|
return m_Perspective;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user