X-Git-Url: https://git.ucc.asn.au/?p=atyndall%2Fcits2231.git;a=blobdiff_plain;f=scene.c;h=61c95af05498d0a22d68dc6bd989fe670e25fd6b;hp=a8d9596c57cba66c849a537877481abee49d1cc2;hb=fcbdf0e38fcd0fed685405ff967feb8eb196c790;hpb=fe551bcf4f464576a9e1e76acc83ba24d0bfe63c 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: