diff options
author | norly <ny-git@enpas.org> | 2011-10-27 15:36:36 +0100 |
---|---|---|
committer | norly <ny-git@enpas.org> | 2011-10-27 15:36:36 +0100 |
commit | a72b8a15465e907411dc9339586c3a0e62086d21 (patch) | |
tree | 5eba25d9b604496ca20705f3a95ee37e0decb753 /src | |
parent | d8ae939a8d19ef9a8683687fd1a25232717b32f7 (diff) |
Fixed zNear, zFar values for gluPerspective.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -55,7 +55,7 @@ void on_reshape(int w, int h) // Set up the Projection transformation glMatrixMode(GL_PROJECTION); glLoadIdentity(); - gluPerspective(90, (GLfloat)w/(GLfloat)h, 0.0, 5.0); + gluPerspective(90, (GLfloat)w/(GLfloat)h, 0.0001, 1000.0); // Switch to Model/view transformation for drawing objects glMatrixMode(GL_MODELVIEW); |