Public Member Functions | Public Attributes

glut::model_t Class Reference
[Glut 3D Model Library]

model object. More...

#include <glut-model.h>

Inheritance diagram for glut::model_t:
Inheritance graph
Collaboration diagram for glut::model_t:
Collaboration graph

List of all members.

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
 array of vertices
int nPolygons
 number of polygons in model
 array of polygons
rect3d_t boundingBox
 bounding box

Detailed Description

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.

Constructor & Destructor Documentation

glut::model_t::model_t ( void   )  throw () [inline]

Definition at line 145 of file glut-model.h.

The documentation for this class was generated from the following files: