PropaneModel Class Reference

A class representing a Quake2 MD2 model. More...

#include <PropaneModel.h>

List of all members.

Public Member Functions

virtual void renderModel (int frame)
 Renders the object, dumbly, without any matrix operations.
virtual bool loadModel (char *filename)
 Loads the model from disk. Returns false on failure.
 PropaneModel ()
 Basic constructor. Gives you an impostor object that should not be rendered.
virtual ~PropaneModel ()
 Basic destructor.
int getFrames ()
 Returns the number of frames in this object.

Protected Member Functions

void renderGlCommands (int commands[])
 Renders the object using the GL commands provided.
void prescale ()
 Pre-scale this model.

Protected Attributes

float scaleX
 The graphical scale for this object.
srTrianglestris
 Container of the triangles.
stTexCoordstexCoords
 Container of the texture coordinates (S,T).
stFramesframes
 Container of the animation frames.
int * commands
 Container of the OpenGL commands.
int numFrames
 Count of frames.
int numTris
 Count of triangles.
int skinWidth
 Width of the skin texture.
int skinHeight
 Height of the skin texture.
float bbox_w
 Width, height, and depth of the bounding box for this object.
float uniform_scale
 Uniform scaling value to normalize this object to (1,1,1).


Detailed Description

A class representing a Quake2 MD2 model.


The documentation for this class was generated from the following files:
Generated on Sun Jan 14 16:49:11 2007 for Propane Injector by  doxygen 1.4.6