(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index b869afa..d57b28e 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -582,10 +582,10 @@ void init() {
 \r
   glMatrixMode(GL_PROJECTION);\r
   gluPerspective(\r
-     40.0,  /* field of view in degree */ \r
+     180.0,  /* field of view in degree */\r
       1.0,  /* aspect ratio */ \r
-     20.0,  /* Z near */\r
-    100.0   /* Z far */ \r
+      0.0,  /* Z near */\r
+    900.0   /* Z far */\r
     );\r
   \r
   glMatrixMode(GL_MODELVIEW);\r
@@ -634,7 +634,7 @@ int main(int argc, char **argv) {
   glEnable(GL_DEPTH_TEST); // Enables Depth Testing\r
   glDepthFunc(GL_LEQUAL);  // the type\r
 \r
-  glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);          // Really Nice Perspective Calculations\r
+  glHint(GL_PERSPECTIVE_CORRECTION_HINT, GL_NICEST);\r
 \r
   glutReshapeFunc(windowReshape);\r
   glutDisplayFunc(display);\r

UCC git Repository :: git.ucc.asn.au