9#define SPATIAL_COORD_HUGE_VALUE (10e9)
11#define OBJPARSER_BBOX_COLOR "purple"
17 WITH_TEXCOORDS_AND_NORMALS
20LG_Mesh *
lg_obj2vbo(
const char *, FILE *, zboolean, zboolean, zboolean, zboolean,
int);
void lg_vb_rgba_info(Vertex_rgba *vb_data, uint32_t vb_size, int n_lines_max, const char *line_start, zboolean is_triangle_mesh)
Definition lg_obj_parser.c:931
LG_Mesh * lg_obj2vbo(const char *obj_relative_path, FILE *stream, zboolean invert_z, zboolean normalize_xyz, zboolean horiz_center, zboolean vert_center, zboolean vert_bottom)
Definition lg_obj_parser.c:152
void lg_vb_info(Vertex *vb_data, uint32_t vb_size, int n_lines_max, const char *line_start, zboolean is_triangle_mesh)
Definition lg_obj_parser.c:886
zboolean lg_objparser_check_consistency()
Definition lg_obj_parser.c:985
int lg_mtl_parser(const char *mtl_file, LG_Material *mat[])
Definition lg_obj_parser.c:670
int lg_vertex_cmp(Vertex_uv_n *v1, Vertex_uv_n *v2, zboolean tex_coords, zboolean normals)
Definition lg_obj_parser.c:750
void lg_vbo_and_ibo_info(Vertex_uv_n *vbo_data, uint32_t *ibo_data, uint32_t vbo_size, uint32_t ibo_size, lg_vertex_type vertex_type, int n_lines_max)
Definition lg_obj_parser.c:798
Definition lg_vertex.h:80
Definition lg_vertex.h:46
Definition lg_vertex.h:16