(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 8b52434..2e2f93c 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -123,8 +123,8 @@ GLfloat angle = -150;   /* in degrees */
 GLfloat angle2 = 30;   /* in degrees */\r
 \r
 /* Near and far parameters */\r
-GLfloat near = -10;\r
-GLfloat far = 10;\r
+GLfloat near = -100;\r
+GLfloat far = 100;\r
 \r
 /* Zoom factor for mouse movements */\r
 GLfloat zoomFactor = 1.0;\r
@@ -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
@@ -665,7 +665,7 @@ void display() {
     \r
     // Draw teapot for a test object\r
     glPushMatrix();\r
-      glTranslatef(0.0, 1.0, 0.0); // **NOTE: Teapot does not rest on surface\r
+      glTranslatef(0.0, 0.5, 0.0); // **NOTE: Teapot does not rest on surface\r
       glColor3f(0.5, 0.5, 0.5);\r
       glutSolidTeapot(1);\r
     glPopMatrix();\r
@@ -696,7 +696,7 @@ void init() {
      1.0,  /* aspect ratio */\r
     near,  /* Z near */\r
      far   /* Z far */\r
-    );    \r
+    );\r
 \r
   \r
   glLightfv(GL_LIGHT0, GL_POSITION, light0_pos);\r

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