#include "color/color.h"
#include "geometry/geometry_3d.h"
#include "geometry/matrix_4.h"
#include "threadsafe/smart_ptr.h"
#include "GL/glew.h"
#include "GL/glxew.h"
#include "GL/freeglut.h"
Go to the source code of this file.
Classes | |
struct | glut::fcolor_t |
base floating point color object More... | |
class | glut::Host |
If a client wants to use this library's glut helper entry point, it needs to supply an object that supports this interface. More... | |
class | glut::Task |
Create one of these (you'll have to inherit) if you have openGL work you need to submit to requestTask(). More... | |
Namespaces | |
namespace | glut |
Defines | |
#define | FREEGLUT_STATIC |
#define | GLUT_STATIC_LIB |
#define | GLEW_STATIC |
Functions | |
void | glut::start (IN int argc, IN const char *argv[], IN int width,IN int height,IN const char *title,IN const char *gameModeString,IN smart_ptr< Host > &host) |
clients can call this to get common glut setup | |
void | glut::requestTask (IO Task *task) |
Here a thread can request that a task be handled by the open GL thread. | |
void | glut::drawRectLines (IN const rect3d_t &r, IN const glut_color_t &c) throw () |
draw the outline of a 3D rectangle | |
void | glut::getModelViewMatrix (OUT matrix4_t &T) throw () |
get a 4x4 matrix from the given OpenGL matrix |
#define FREEGLUT_STATIC |
Definition at line 47 of file lib/wave-glut/wave-glut.h.
#define GLUT_STATIC_LIB |
Definition at line 48 of file lib/wave-glut/wave-glut.h.
#define GLEW_STATIC |
Definition at line 49 of file lib/wave-glut/wave-glut.h.