(no commit message)
authorAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 12:02:33 +0000 (20:02 +0800)
committerAsh Tyndall <[email protected]>
Fri, 21 Oct 2011 12:02:33 +0000 (20:02 +0800)
scene.c

diff --git a/scene.c b/scene.c
index e2e8cd2..c62831e 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -284,7 +284,8 @@ void motion(int x, int y) {
 \r
       if ( buttonSelected == GLUT_LEFT_BUTTON ) {\r
         // w: rotate, h: zoom\r
-        zoom += (y - starty);       \r
+        zoom += (y - starty);\r
+        printf("zoom is %f\n", zoom);\r
       } else if ( buttonSelected == GLUT_MIDDLE_BUTTON ) {\r
         // w: rotate, h: tilt\r
         camAngle += (y - starty);\r

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