(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index a09011c..bf5b7e8 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -187,11 +187,11 @@ void windowReshape(int w, int h) {
   glMatrixMode(GL_PROJECTION);\r
   glLoadIdentity();\r
   if (w <= h)\r
-    glFrustum(-near, far, -near,\r
-      far, 1, 100);\r
+    glFrustum(-1, 100, -1,\r
+      100, -1, 100);\r
   else\r
-    glFrustum(-near*((GLfloat) w / (GLfloat) h),\r
-       far, near, far, 1, 100);\r
+    glFrustum(-1,\r
+       100, -1, 100, -1, 100);\r
   glMatrixMode(GL_MODELVIEW);\r
 }\r
 \r

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