(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index c62831e..ffc138d 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -285,13 +285,13 @@ void motion(int x, int y) {
       if ( buttonSelected == GLUT_LEFT_BUTTON ) {\r
         // w: rotate, h: zoom\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
       }\r
 \r
       starty = y;\r
+      printf("zoom is %f, y is %f starty is %f\n", zoom, y, starty);\r
       startx = x;\r
 \r
       break;\r

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