From: Ash Tyndall Date: Sat, 22 Oct 2011 02:38:32 +0000 (+0800) Subject: (no commit message) X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=commitdiff_plain;h=fcbdf0e38fcd0fed685405ff967feb8eb196c790 --- diff --git a/scene.c b/scene.c index a8d9596..61c95af 100644 --- a/scene.c +++ b/scene.c @@ -200,7 +200,7 @@ void windowReshape(int w, int h) { */ void mouse(int button, int state, int x, int y) { if ( glutGetModifiers() == GLUT_ACTIVE_SHIFT ) { - button = GLUT_MIDDLE_BUTTON; + button = GLUT_MIDDLE_BUTTON; // Holding shift is the same as the middle button } switch(button) { case GLUT_LEFT_BUTTON: