|
Gama C Library
Gama C API Documentation
|
Represents a single face (triangle) in a 3D mesh. More...
#include <mesh.h>
Data Fields | |
| size_t | vertices [3] |
| long | uvs [3] |
| int | material |
| int | material_file |
| gm3Pos | normal |
Represents a single face (triangle) in a 3D mesh.
| int gm3MeshFace::material |
Index to the material within the associated material library.
| int gm3MeshFace::material_file |
Index to the material library within the mesh's mtllibs array.
| gm3Pos gm3MeshFace::normal |
The calculated geometric normal of this face.
| long gm3MeshFace::uvs[3] |
Indices to the mesh's texture coordinate array (3 per triangle).
| size_t gm3MeshFace::vertices[3] |
Indices to the mesh's vertex array (3 per triangle).