|
Gama C Library
Gama C API Documentation
|
Represents a 3D mesh composed of vertices, faces, normals, and texture coordinates. More...
#include <mesh.h>
Data Fields | |
| gm3Pos * | vertices |
| size_t | n_vertices |
| gm3MeshFace * | faces |
| size_t | n_faces |
| gm3Pos * | normals |
| size_t | n_normals |
| gm3Tex * | texs |
| size_t | n_texs |
| gm3MtlLib * | mtllibs |
| size_t | n_mtllibs |
Represents a 3D mesh composed of vertices, faces, normals, and texture coordinates.
This struct stores all geometric and material data for a 3D model.
| gm3MeshFace* gm3Mesh::faces |
Array of mesh faces (triangles).
| gm3MtlLib* gm3Mesh::mtllibs |
Array of material libraries.
| size_t gm3Mesh::n_faces |
Number of faces in the mesh.
| size_t gm3Mesh::n_mtllibs |
Number of material libraries.
| size_t gm3Mesh::n_normals |
Number of vertex normals in the mesh.
| size_t gm3Mesh::n_texs |
Number of texture coordinates in the mesh.
| size_t gm3Mesh::n_vertices |
Number of vertices in the mesh.
| gm3Pos* gm3Mesh::normals |
Array of vertex normals.
| gm3Tex* gm3Mesh::texs |
Array of texture coordinates.
| gm3Pos* gm3Mesh::vertices |
Array of vertex positions.