*/\r
void motion(int x, int y) {\r
if (moving) {\r
- zoomFactor += (x - startx);\r
- rotateFactor += (y - starty);\r
+ zoomFactor += (y - starty);\r
+ rotateFactor += (x - startx);\r
startx = x;\r
starty = y;\r
glutPostRedisplay();\r
glPushMatrix();\r
\r
/* Perform scene rotations based on user mouse/keyboard input. */\r
- glRotatef(rotateFactor*0.2, 0.0, 1.0, 0.0);\r
+ glRotatef(rotateFactor*0.5, 0.0, 1.0, 0.0);\r
//glTranslatef(camx, camy, camz);\r
//glRotatef(rot, 1.0, 0.0, 0.0);\r
\r