#include <rigid.hpp>
Inheritance diagram for rigid:
Public Methods | |
rigid () | |
rigid (string objFile, float STEP=0.0, objloader::coordSystem COORD_SYSTEM=objloader::CARTESIAN) | |
~rigid () | |
void | draw (void) |
Virtual generic draw member, calls makeList. | |
void | drawDim (vector< light * > lights) |
Adjust light intensity per-vertex. | |
void | update (int updateTimeMs) |
Does nothing currently, put scripted movements here. | |
void | makeList (void) |
Currently not using display lists, this just draws each triangle. | |
void | getBoundingBox (void) |
Virtual member that finds the extrema of all the vertices. | |
Public Attributes | |
int | counter |
For scripted movements, unused currently. | |
bool | drawSurface |
bool | drawInteriorPoints |
bool | drawInteriorSpheres |
std::vector< vector3f > | iStack |
I thought this would be more memory efficient, to have specialized classes for loading and holding rigid body data.