Main Page   Class Hierarchy   Compound List   File List   Compound Members  

rigid Class Reference

Hold rigid body data, use objloader to load obj's. More...

#include <rigid.hpp>

Inheritance diagram for rigid:

movable List of all members.

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< vector3fiStack

Detailed Description

Hold rigid body data, use objloader to load obj's.

I thought this would be more memory efficient, to have specialized classes for loading and holding rigid body data.


The documentation for this class was generated from the following files:
Generated on Sat May 10 10:09:38 2003 for volume-src-limited by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002