#include <master.h>
Static Public Methods | |
void | init () |
Initialise GLUT. | |
void | init (int argc, char *argv[]) |
Initialise GLUT with command-line parameters. | |
void | mainLoop () |
Enter the GLUT event loop. | |
int | getScreenWidth () |
Get the width of the screen in pixels. | |
int | getScreenHeight () |
Get the height of the screen in pixels. | |
int | getScreenWidthMm () |
Get the width of the screen in mm. | |
int | getScreenHeightMm () |
Get the height of the screen in mm. | |
int | getElapsedTime () |
Get the elapsed time (in sec). |
Enhancements for GlutMaster
KDE/Qt backend
GTK backend
Improve seperation between GlutMaster interface and back-ends
Definition at line 67 of file master.h.
|
Initialise GLUT.
Definition at line 236 of file master.cpp. Referenced by mainLoop(). |
|
Initialise GLUT with command-line parameters.
Definition at line 210 of file master.cpp. |
|
Enter the GLUT event loop.
Definition at line 245 of file master.cpp. References init(). |