#include <PropaneModel.h>
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. | |
| srTriangles * | tris |
| Container of the triangles. | |
| stTexCoords * | texCoords |
| Container of the texture coordinates (S,T). | |
| stFrames * | frames |
| 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). | |
1.4.6