define glut active command in case it's not already

This commit is contained in:
Alec Jacobson
2015-05-19 09:38:38 -04:00
parent 8c7d152875
commit 14edfeda6e
11 changed files with 162 additions and 5 deletions
+9 -1
View File
@@ -43,10 +43,18 @@
#ifndef GLUT_WHEEL_UP
#define GLUT_WHEEL_UP 3
#endif
#ifndef GLUT_WHEEL_DOWN
#define GLUT_WHEEL_DOWN 4
#endif
#ifndef GLUT_WHEEL_RIGHT
#define GLUT_WHEEL_RIGHT 5
#endif
#ifndef GLUT_WHEEL_LEFT
#define GLUT_WHEEL_LEFT 6
#define GLUT_ACTIVE_COMMAND 1
#endif
#ifndef GLUT_ACTIVE_COMMAND
#define GLUT_ACTIVE_COMMAND 8
#endif
#include <ctime>