/* Zoom and rotate tracking */
GLfloat zoom = 0.0, rotate = 0.0;
-GLfloat zoomFactor = 0.2, rotateFactor = 1.0;
+GLfloat zoomFactor = 0.2, rotateFactor = 0.5;
/* Beginning width, height */
int width = 500, height = 500;
\ No newline at end of file
glLoadIdentity();\r
\r
gluLookAt(\r
- 10.0, 0.0, 15.0 + (zoom*zoomFactor), /* eye is at (x,y,z) */\r
+ 15.0 + (zoom*zoomFactor), 0.0, 15.0 + (zoom*zoomFactor), /* 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