#include <ThingMesh.h>
Inherits Thing.
Inherited by ThingAnimMesh.
Inheritance diagram for ThingMesh:
Public Member Functions | |
ThingMesh (void) | |
constructor | |
virtual | ~ThingMesh (void) |
destructor | |
void | setMesh (char *filepath, int type) |
set the mesh to the path filepath | |
char * | getMeshPath () |
get the filepath to the mesh | |
MiniMesh * | getMiniPointer () |
void | playAnimation (bool) |
void | flipYUV (bool) |
void | doubleSided (bool s) |
void | computeNormals (bool c) |
void | lightModel (bool l) |
void | startAnim () |
void | stopAnim () |
void | init () |
write corresponding openGL code for init(), load model | |
void | render () |
write corresponding openGL code for display() (render mesh) | |
void | setTextureCount (int textureCount) |
set the texture count for this mesh | |
Public Attributes | |
Motion * | mot |
bool | isLightOn |
Protected Attributes | |
MiniMesh * | mesh |
char * | meshpath |
int | meshtype |
bool | normals |
|
constructor
|
|
destructor
|
|
|
|
|
|
|
|
get the filepath to the mesh
|
|
|
|
write corresponding openGL code for init(), load model
Reimplemented from Thing.
Reimplemented in ThingAnimMesh.
|
|
|
|
Reimplemented in ThingAnimMesh.
|
|
write corresponding openGL code for display() (render mesh)
Reimplemented from Thing.
Reimplemented in ThingAnimMesh.
|
|
set the mesh to the path filepath
|
|
set the texture count for this mesh
|
|
Reimplemented in ThingAnimMesh.
|
|
Reimplemented in ThingAnimMesh.
|
|
|
|
|
|
|
|
|
|
|
|
|