Classes | Namespaces | Functions

glut.h File Reference

#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"
Include dependency graph for glut.h:
This graph shows which files directly or indirectly include this file:

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

Functions

void glut::start (int argc,const char *argv[],int width,int height,const char *title,const char *gameModeString,smart_ptr< Host > &host)
 clients can call this to get common glut setup
void glut::requestTask (Task *task)
 Here a thread can request that a task be handled by the open GL thread.
void glut::drawRectLines (const rect3d_t &r,const glut_color_t &c) throw ()
 draw the outline of a 3D rectangle
void glut::getModelViewMatrix (matrix4_t &T) throw ()
 get a 4x4 matrix from the given OpenGL matrix