(no commit message)
[atyndall/cits2231.git] / scene.c
diff --git a/scene.c b/scene.c
index ccb5dac..2410cd1 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -206,6 +206,8 @@ void mouse(int button, int state, int x, int y) {
       } else if ( state == GLUT_UP ) {\r
         buttonSelected = -1;\r
       }\r
+      startx = x;\r
+      starty = y;\r
       break;\r
   }\r
 }\r
@@ -291,7 +293,6 @@ void motion(int x, int y) {
       }\r
 \r
       starty = y;\r
-      printf("zoom is %f, y is %d starty is %d\n", zoom, y, starty);\r
       startx = x;\r
 \r
       break;\r

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