sceneObjs[curObject].rotation.x += diffx * rotateFactor;\r
\r
// h: texture scale\r
+ // **NOTE: Seems to be problem with scaling, delayed action\r
float max = (float)height/texscaleFactor;\r
float scaling = (-diffy + max) / max;\r
sceneObjs[curObject].texture.scale *= scaling;\r
\r
glPushMatrix();\r
\r
- /* Perform scene rotations based on user mouse/keyboard input. */\r
+ /* Perform scene rotations based on user mouse input. */\r
glRotatef(rotate*camRotateFactor, 0.0, 1.0, 0.0);\r
- glTranslatef(camx, camy, camz);\r
- glRotatef(keyrot, 1.0, 0.0, 0.0);\r
\r
drawFloor();\r
\r