#include <GL/glut.h>Go to the source code of this file.
Classes | |
| class | GLUTCore |
| GLUT Core Class. More... | |
Typedefs | |
| typedef void(* | DrawFunct )() |
| Function prototype for the redraw function in GLUT. | |
| typedef void(* | ReshapeFunct )(int Width, int Height) |
| Function prototype for the function that gets called whenever the viewport gets resized. | |
| typedef void(* | MousePressFunct )(int b, int state, int x, int y) |
| Function that gets called whever the mouse button is clicked in GLUT. | |
| typedef void(* | MouseDragFunct )(int x, int y) |
| Function that gets called while the mouse is being dragged in GLUT. | |
Functions | |
| void | DefaultReshape (int Width, int Height) |
| Default reshape function inside of GLUTCore. | |
| void | DefaultDraw () |
| Default draw function held within GLUTCore. | |
| void | DefaultMousePress (int b, int state, int x, int y) |
| Default mouse pressing function in GLUTCore. | |
| void | DefaultMouseDrag (int x, int y) |
| Default mouse dragging function. | |
Variables | |
| GLUTCore | GLUT |
| Instantiation of the GLUTCore object. | |
| typedef void(* DrawFunct)() |
| typedef void(* MouseDragFunct)(int x, int y) |
Function that gets called while the mouse is being dragged in GLUT.
Definition at line 23 of file GLUTCore.h.
| typedef void(* MousePressFunct)(int b, int state, int x, int y) |
Function that gets called whever the mouse button is clicked in GLUT.
Definition at line 20 of file GLUTCore.h.
| typedef void(* ReshapeFunct)(int Width, int Height) |
Function prototype for the function that gets called whenever the viewport gets resized.
Definition at line 17 of file GLUTCore.h.
| void DefaultDraw | ( | ) |
| void DefaultMouseDrag | ( | int | x, | |
| int | y | |||
| ) |
| void DefaultMousePress | ( | int | b, | |
| int | state, | |||
| int | x, | |||
| int | y | |||
| ) |
| void DefaultReshape | ( | int | Width, | |
| int | Height | |||
| ) |