FS2_Open
Open source remastering of the Freespace 2 engine
|
#include <2d.h>
Public Member Functions | |
poly_list () | |
~poly_list () | |
poly_list & | operator= (poly_list &) |
void | allocate (int size) |
void | make_index_buffer (SCP_vector< int > &vertex_list) |
void | calculate_tangent () |
int | find_index (poly_list *plist, int idx) |
int | find_index_fast (poly_list *plist, int idx) |
Public Attributes | |
int | n_verts |
vertex * | vert |
vec3d * | norm |
tsb_t * | tsb |
int * | submodels |
uint * | sorted_indices |
This should be basicly just like it is in the VB a list of triangles and their associated normals
void poly_list::make_index_buffer | ( | SCP_vector< int > & | vertex_list | ) |