PropaneModel Class Reference

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

#include <PropaneModel.h>

List of all members.

Public Member Functions

virtual void renderModel (float wx, float wy, float rz, float rX, float rY, float rZ, int frame, GLuint *texture)
 Renders the object in worldspace at (wx,wy,wz) with rotation (rX,rY,rZ) in animation frame frame, with texture map texture.
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 framees in this object.

Protected Member Functions

void renderGlCommands (int commands[])
 Renders the object using the GL commands provided.

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 Thu Aug 31 20:26:03 2006 for Propane Injector by  doxygen 1.4.7