model object. More...
#include <glut-model.h>
Public Member Functions | |
model_t (void) throw () | |
~model_t (void) throw () | |
void | clear (void) throw () |
void | render (const render_context_t &rc, RenderQueue *rq) |
this method is called to actually draw the object. | |
rect3d_t | getBoundingBox (void) const throw () |
here the object must provide a bounding box. | |
Public Attributes | |
int | nVertices |
number of vertices in model | |
point3d_t * | vertices |
array of vertices | |
int | nPolygons |
number of polygons in model | |
polygon_t * | polygons |
array of polygons | |
rect3d_t | boundingBox |
bounding box |
model object.
This contains all of the vertices in a single flat list, and then a list of polygons that use the vertices.
Definition at line 142 of file glut-model.h.
glut::model_t::model_t | ( | void | ) | throw () [inline] |
Definition at line 145 of file glut-model.h.