cgv
|
#include <obj_loader.h>
Public Member Functions | |
face_info (unsigned _nr=0, unsigned _vi0=0, int _ti0=-1, int _ni0=-1, unsigned gi=-1, unsigned mi=-1) | |
construct face info | |
Public Attributes | |
unsigned | degree |
degree of face | |
unsigned | first_vertex_index |
index into vertex index array | |
int | first_texcoord_index |
index into texcoord index array or -1 if not specified | |
int | first_normal_index |
index into normal index array or -1 if not specified | |
int | group_index |
index of group to which the face belongs | |
int | material_index |
material index to which the face belongs | |
simple structure to describe a face