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
+16
View File
@@ -32,6 +32,22 @@
#include <GL/glut.h>
#endif
#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
#endif
#ifndef GLUT_ACTIVE_COMMAND
#define GLUT_ACTIVE_COMMAND 8
#endif
#include <string>
#include <vector>
#include <stack>