Structure representing a face of a 3D model. More...
#include <obj_loader.h>
Public Attributes | |
int | vertex [MAX_VERTEX_PER_FACE] |
int | normals [MAX_VERTEX_PER_FACE] |
int | textureVertex [MAX_VERTEX_PER_FACE] |
u8 | length |
Structure representing a face of a 3D model.
This structure holds the indices of vertices, normals, and texture vertices that make up a face.
int Face::vertex[MAX_VERTEX_PER_FACE] |
Indices of vertices
int Face::normals[MAX_VERTEX_PER_FACE] |
Indices of normals
int Face::textureVertex[MAX_VERTEX_PER_FACE] |
Indices of texture vertices
u8 Face::length |
Number of vertices in the face