|
Gama C Library
Gama C API Documentation
|
#include <obj.h>
Data Fields | |
| char | type |
| char | name [128] |
| double | points [3] |
| long long | indices [64][3] |
| size_t | n_indices |
| long long gm3ObjLine::indices[64][3] |
Stores face indices [v, vt, vn] for up to 64 vertices.
| size_t gm3ObjLine::n_indices |
Number of indices parsed for a face.
| char gm3ObjLine::name[128] |
For mtllib and usemtl names.
| double gm3ObjLine::points[3] |
Stores vertex/normal/texcoord data.
| char gm3ObjLine::type |
The type of OBJ line (e.g., 'v', 'f', 'L' for mtllib, 'U' for usemtl).