Gama C Library
Gama C API Documentation
gm3ObjLine Struct Reference

#include <obj.h>

Data Fields

char type
char name [128]
double points [3]
long long indices [64][3]
size_t n_indices

Field Documentation

◆ indices

long long gm3ObjLine::indices[64][3]

Stores face indices [v, vt, vn] for up to 64 vertices.

◆ n_indices

size_t gm3ObjLine::n_indices

Number of indices parsed for a face.

◆ name

char gm3ObjLine::name[128]

For mtllib and usemtl names.

◆ points

double gm3ObjLine::points[3]

Stores vertex/normal/texcoord data.

◆ type

char gm3ObjLine::type

The type of OBJ line (e.g., 'v', 'f', 'L' for mtllib, 'U' for usemtl).


The documentation for this struct was generated from the following file: