forked from Dynamitos/Seele
Handling window minimizing
This commit is contained in:
1 parent
e18254ec29
commit
4b58ab84be
21 files changed
+109
-76
No files matched your search
@@ -31,7 +31,7 @@ Matrix4 Viewport::getProjectionMatrix() const
|
||||
{
|
||||
if (fieldOfView > 0.0f)
|
||||
{
|
||||
return glm::perspective(fieldOfView, sizeX / static_cast<float>(sizeY), 0.1f, 1000.0f);
|
||||
return glm::perspective(fieldOfView, sizeX / static_cast<float>(sizeY), 0.1f, 10000.0f);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user