case STATE_OBJECT_ROTATION_TEXTURE_SCALE:\r
if ( buttonSelected == GLUT_LEFT_BUTTON ) {\r
// w: rotate on width, h: rotate on h\r
- sceneObjs[curObject].rotation.x += diffx * rotateFactor;\r
-\r
+ sceneObjs[curObject].rotation.x += diffy * rotateFactor;\r
+ sceneObjs[curObject].rotation.y += diffx * rotateFactor;\r
} else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) {\r
// w: rotate on height, h: texture scale\r
\r