(no commit message)
authorAsh Tyndall <git@atyndall.net>
Sat, 22 Oct 2011 05:25:15 +0000 (13:25 +0800)
committerAsh Tyndall <git@atyndall.net>
Sat, 22 Oct 2011 05:25:15 +0000 (13:25 +0800)
scene.c

diff --git a/scene.c b/scene.c
index ee4f614..08daa01 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -307,7 +307,7 @@ void motion(int x, int y) {
         // w: left/right, h: near/far\r
 \r
         // **NOTE: Currently a work in progress, does not work correctly\r
-        float angler = 2 * M_PI * ( (90 - rotate*camRotateFactor)/360.0 );\r
+        float angler = 2 * M_PI * ( (rotate*camRotateFactor)/360.0 );\r
         printf("cam angle: %f\n", rotate*camRotateFactor);\r
        // float arc = arctan()\r
         sceneObjs[curObject].x += diffx * cos(angler) * 0.3;\r

UCC git Repository :: git.ucc.asn.au