(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 1e89dc7..128e621 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -612,11 +612,11 @@ drawSquare(0, -1000.0, -1000.0, 1000.0, 1000.0);
 void display() {\r
   glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);\r
   glLoadIdentity();\r
-  //gluLookAt(\r
-   // 0.0, 0.0, 30.0,  /* eye is at (x,y,z) */\r
-   // 0.0, 0.0,  0.0,  /* center is at (x,y,z) */\r
-   // 0.0, 1.0,  0.0   /* up is in postivie Y direction */\r
-   // );\r
+  gluLookAt(\r
+    0.0, 0.0, 80.0,  /* eye is at (x,y,z) */\r
+    0.0, 0.0,  0.0,  /* center is at (x,y,z) */\r
+    0.0, 1.0,  0.0   /* up is in postivie Y direction */\r
+    );\r
 \r
   glRotatef(30.0, 1.0, 0.0, 0.0);\r
 \r
@@ -650,7 +650,7 @@ void display() {
 \r
       /* Draw a yellow ball at the light source. */\r
       glTranslatef(lightPosition[0], lightPosition[1], lightPosition[2]);\r
-      glutSolidSphere(1.0, 5, 5);\r
+      glutSolidSphere(100.0, 5, 5);\r
 \r
       glEnable(GL_LIGHTING);\r
     glPopMatrix();\r

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