(no commit message)
authorAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 12:07:05 +0000 (20:07 +0800)
committerAsh Tyndall <[email protected]>
Thu, 20 Oct 2011 12:07:05 +0000 (20:07 +0800)
scene.c

diff --git a/scene.c b/scene.c
index 7a35890..61fe593 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -301,11 +301,11 @@ void display() {
   //  0.0, 1.0,  0.0   /* up is in postivie Y direction */\r
    // );\r
 \r
-  //glTranslatef(camx, camy, camz);\r
+  glTranslatef(camx, camy, camz);\r
   \r
   // **NOTE: Currently this rotation function is all that moves the camera off\r
   //         the flat surface. Need to integrate function into gluLookAt\r
-  //glRotatef(rot, 1.0, 0.0, 0.0);\r
+  glRotatef(rot, 1.0, 0.0, 0.0);\r
 \r
   /* Reposition the light source. */\r
   lightPosition[0] = 12*cos(lightAngle);\r

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