(no commit message)
authorAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 02:38:32 +0000 (10:38 +0800)
committerAsh Tyndall <[email protected]>
Sat, 22 Oct 2011 02:38:32 +0000 (10:38 +0800)
scene.c

diff --git a/scene.c b/scene.c
index a8d9596..61c95af 100644 (file)
--- a/scene.c
+++ b/scene.c
@@ -200,7 +200,7 @@ void windowReshape(int w, int h) {
  */\r
 void mouse(int button, int state, int x, int y) {\r
   if ( glutGetModifiers() == GLUT_ACTIVE_SHIFT ) {\r
-    button = GLUT_MIDDLE_BUTTON;\r
+    button = GLUT_MIDDLE_BUTTON; // Holding shift is the same as the middle button\r
   }\r
   switch(button) {\r
     case GLUT_LEFT_BUTTON:\r

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