#include <model.h>


Public Member Functions | |
| Model (Entity *entity) | |
| Model () | |
| virtual | ~Model () |
| void | calc_frustum (matrix4 &clip) |
| void | load (Graphics &gfx, char *file) |
| void | create_box (Graphics &gfx, vec3 *aabb) |
| virtual float * | get_matrix (float *matrix) |
| void | render (Graphics &gfx) |
| void | render_box (Graphics &gfx) |
| void | clone (Model &model) |
| void | getForwardVector (vec3 &forward) |
| virtual void | get_frame (Frame &frame) |
| void | make_aabb () |
Static Public Member Functions | |
| static void | CreateObjects (Graphics &gfx) |
Public Attributes | |
| Entity * | entity |
| int | num_vertex |
| int | num_index |
| vertex_t * | model_vertex_array |
| unsigned int * | model_index_array |
| char * | model_file |
| char * | index_file |
| int | model_vertex |
| int | model_index |
| int | model_tex |
| int | normal_tex |
| matrix3 | morientation |
| vec3 | aabb [8] |
| int | box_vertex |
| int | box_index |
| vec3 | center |
| vec4 | frustum [6] |
| char | name [128] |
| bool | blend |
| bool | cull_none |
| bool | rail_trail |
| bool | lightning_trail |
Static Public Attributes | |
| static int | quad_vertex = 0 |
| static int | quad_index = 0 |
| static int | cube_vertex = 0 |
| static int | cube_index = 0 |
| static int | skybox_vertex |
| static int | skybox_index |
| Model::Model | ( | Entity * | entity | ) |
| Model::Model | ( | ) |
|
virtual |
| void Model::calc_frustum | ( | matrix4 & | clip | ) |

| void Model::clone | ( | Model & | model | ) |

|
static |


|
virtual |
|
virtual |
| void Model::getForwardVector | ( | vec3 & | forward | ) |

| void Model::load | ( | Graphics & | gfx, |
| char * | file | ||
| ) |


| void Model::make_aabb | ( | ) |

| void Model::render | ( | Graphics & | gfx | ) |


| void Model::render_box | ( | Graphics & | gfx | ) |

| vec3 Model::aabb[8] |
| bool Model::blend |
| int Model::box_index |
| int Model::box_vertex |
| vec3 Model::center |
|
static |
|
static |
| bool Model::cull_none |
| Entity* Model::entity |
| vec4 Model::frustum[6] |
| char* Model::index_file |
| bool Model::lightning_trail |
| char* Model::model_file |
| int Model::model_index |
| unsigned int* Model::model_index_array |
| int Model::model_tex |
| int Model::model_vertex |
| vertex_t* Model::model_vertex_array |
| matrix3 Model::morientation |
| char Model::name[128] |
| int Model::normal_tex |
| int Model::num_index |
| int Model::num_vertex |
|
static |
|
static |
| bool Model::rail_trail |
|
static |
|
static |
1.8.2