(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index fc078e2..2e2f93c 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -133,7 +133,7 @@ GLfloat zoomFactor = 1.0;
 int drawFloorRecurse = 5;\r
 \r
 /* Size of floor, from -n to n */\r
-int floorSize = 100;\r
+int floorSize = 200;\r
 \r
 /* Light 0 parameters */\r
 GLfloat diffuse0[] = {1.0, 1.0, 1.0, 1.0};\r
@@ -499,7 +499,7 @@ void makeMenu() {
  * @param h New height\r
  */\r
 void windowReshape(int w, int h) {\r
-  /*glViewport(0, 0, (GLsizei) w, (GLsizei) h);\r
+  glViewport(0, 0, (GLsizei) w, (GLsizei) h);\r
   glMatrixMode(GL_PROJECTION);\r
   glLoadIdentity();\r
   if (w <= h) \r
@@ -509,7 +509,7 @@ void windowReshape(int w, int h) {
     glOrtho(near*(GLfloat)w/(GLfloat)h,\r
              far*(GLfloat)w/(GLfloat)h, near, far, near, far);\r
    glMatrixMode(GL_MODELVIEW); \r
-   glLoadIdentity();*/\r
+   glLoadIdentity();\r
 }\r
 \r
 /**\r

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