(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 2746652..c7cd7a5 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -188,10 +188,10 @@ void windowReshape(int w, int h) {
   glLoadIdentity();\r
   if (w <= h) \r
     glOrtho(near, far, near*(GLfloat)h/(GLfloat)w,\r
-             far*(GLfloat)h/(GLfloat)w, near, far);\r
+             far*(GLfloat)h/(GLfloat)w, -100, 100);\r
   else\r
     glOrtho(near*(GLfloat)w/(GLfloat)h,\r
-             far*(GLfloat)w/(GLfloat)h, near, far, near, far);\r
+             far*(GLfloat)w/(GLfloat)h, near, far, -100, 100);\r
    glMatrixMode(GL_MODELVIEW); \r
    glLoadIdentity();\r
 }\r

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