|
Public Member Functions |
| MSModel (string dir, string filename) |
virtual void | render (void) |
virtual void | tick (double t) |
void | reload_textures (void) |
bool | load_model (string dir, string filename) |
virtual Vec3 | get_min (void) |
virtual Vec3 | get_max (void) |
virtual string | get_info () |
Vertex * | get_vertices (void) |
Triangle * | get_triangles (void) |
int | get_num_vertices (void) |
int | get_num_triangles (void) |
Protected Attributes |
string | _dir |
| the base dir for textures, etc
|
string | _filename |
| the model's filename
|
Material * | _materials |
| list of materials used by the model
|
uint | _num_materials |
Mesh * | _meshes |
| list of meshes that make up the model
|
uint | _num_meshes |
Triangle * | _triangles |
| list of triangles used in the mesh
|
uint | _num_triangles |
Vertex * | _vertices |
| list of vertices used in the mesh
|
uint | _num_vertices |
Bone * | _bones |
| list of bones in the skeleton
|
uint | _num_bones |
double | _time |
| total animation time, sec
|
double | _curtime |
| current time
|
Vec3 | _min |
| minimum x,y,z (for bbox)
|
Vec3 | _max |
| maximum x,y,z (for bbox)
|