36 files changed, 332 insertions, 176 deletions
diff --git a/src/controller/callbacks/mouse_wheel.h b/src/controller/callbacks/mouse_wheel.h new file mode 100644 index 0000000..8f6a57d --- a/dev/null +++ b/src/controller/callbacks/mouse_wheel.h @@ -0,0 +1,11 @@ +#ifndef MOUSE_WHEEL_H +#define MOUSE_WHEEL_H + +/* + * GLUT callback to be called whenever the scroll wheel is scrolled. + * Based on code from Ashwin at + * http://stackoverflow.com/questions/14378/using-the-mouse-scrollwheel-in-glut/14444. + */ +void mouse_wheel (int, int, int, int); + +#endif // MOUSE_WHEEL_H |