Render layers further apart.

This commit is contained in:
2017-11-17 11:02:24 +01:00
parent 9b7ffec478
commit 914fcfe051
2 changed files with 2 additions and 2 deletions

View File

@@ -79,7 +79,7 @@ void fmri::changeWindowSize(int w, int h)
glViewport(0, 0, w, h);
// Set the correct perspective.
gluPerspective(45.0f, ratio, 0.1f, 100.0f);
gluPerspective(45.0f, ratio, 0.1f, 10000.0f);
// Get Back to the Modelview
glMatrixMode(GL_MODELVIEW);

View File

@@ -60,7 +60,7 @@ static void render()
glPushMatrix();
renderLayer(layer);
glPopMatrix();
glTranslatef(-5, 0, 0);
glTranslatef(-10, 0, 0);
}
glPopMatrix();