//so.x, so.y, so.z\r
//sceneObjs[curObject].x += (x - startx)*leftrightFactor;\r
printf("cam angle: %f\n", rotate*rotateFactor);\r
- sceneObjs[curObject].x += (x - startx) * sin(90 - rotate*rotateFactor);\r
- sceneObjs[curObject].z += (x - startx) * cos(90 - rotate*rotateFactor);\r
+ sceneObjs[curObject].x += (x - startx) * sin(rotate*rotateFactor);\r
+ sceneObjs[curObject].z += (x - startx) * cos(rotate*rotateFactor);\r
} else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) {\r
// w: big/small\r
float diff = (x - startx);\r