- // **NOTE: Currently this rotation function is all that moves the camera off\r
- // the flat surface. Need to integrate function into gluLookAt\r
- glRotatef(20, 1.0, 0.0, 0.0);\r
+ gluLookAt(\r
+ 0.0, 0.0, 5.0 + (zoomFactor*0.2), /* 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(75.0, 1.0, 0.0, 0.0);\r