Thu, 04 Jan 2018 19:24:40 +0200
increased range of GLRenderer bounds
src/glRenderer.cpp | file | annotate | diff | comparison | revisions |
--- a/src/glRenderer.cpp Thu Jan 04 19:21:46 2018 +0200 +++ b/src/glRenderer.cpp Thu Jan 04 19:24:40 2018 +0200 @@ -375,7 +375,7 @@ glViewport (0, 0, w, h); glMatrixMode (GL_PROJECTION); glLoadIdentity(); - gluPerspective (45.0f, (double) w / (double) h, 1.0f, 10000.0f); + gluPerspective (45.0f, (double) w / (double) h, 1.0f, 40000.0f); glMatrixMode (GL_MODELVIEW); } @@ -404,7 +404,7 @@ glPushMatrix(); glLoadIdentity(); - glOrtho (-m_virtualWidth, m_virtualWidth, -m_virtualHeight, m_virtualHeight, -100.0f, 100.0f); + glOrtho (-m_virtualWidth, m_virtualWidth, -m_virtualHeight, m_virtualHeight, -200.0f, 200.0f); glTranslatef (panning (X), panning (Y), 0.0f); if (camera() != EFrontCamera and camera() != EBackCamera)