(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index 394ff93..1e89dc7 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -612,11 +612,13 @@ 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, 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
+\r
+  glRotatef(30.0, 1.0, 0.0, 0.0);\r
 \r
   /* Reposition the light source. */\r
   lightPosition[0] = 12*cos(lightAngle);\r
@@ -626,7 +628,7 @@ void display() {
 \r
   glPushMatrix();\r
       /* Perform scene rotations based on user mouse input. */\r
-    glRotatef(angle2, 1.0, 0.0, 0.0);\r
+    \r
     glRotatef(angle, 0.0, 1.0, 0.0);\r
 \r
     glLightfv(GL_LIGHT0, GL_POSITION, lightPosition);\r

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