From 97f14d98d0a9bee56fdaebcea092dba1925c9552 Mon Sep 17 00:00:00 2001 From: Ash Tyndall Date: Sat, 22 Oct 2011 12:56:03 +0800 Subject: [PATCH] --- scene.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scene.c b/scene.c index f4b4343..99ccfa0 100644 --- a/scene.c +++ b/scene.c @@ -308,6 +308,7 @@ void motion(int x, int y) { // **NOTE: Currently a work in progress, does not work correctly printf("cam angle: %f\n", rotate*camRotateFactor); + // float arc = arctan() sceneObjs[curObject].x += diffx * sin(rotate*camRotateFactor); sceneObjs[curObject].z += diffx * cos(rotate*camRotateFactor); @@ -328,8 +329,6 @@ void motion(int x, int y) { case STATE_OBJECT_ROTATION_TEXTURE_SCALE: - // FML DOES NOT ROTATE PROPERLY - if ( buttonSelected == GLUT_LEFT_BUTTON ) { // w: rotate on y sceneObjs[curObject].rotation.y += diffx * rotateFactor; -- 2.20.1