 |
LibGame
v0.4.0
The LG Game Engine - Copyright (C) 2024-2025 ETMSoftware
|
6 #ifndef LG_OBJ_PARSER_H
7 #define LG_OBJ_PARSER_H
9 #define SPATIAL_COORD_HUGE_VALUE (10e9)
11 #define OBJPARSER_BBOX_COLOR "purple"
17 WITH_TEXCOORDS_AND_NORMALS
20 LG_Mesh *
lg_obj2vbo(
const char *, FILE *, zboolean, zboolean, zboolean, zboolean,
int);
int lg_vertex_cmp(Vertex_uv_n *v1, Vertex_uv_n *v2, zboolean tex_coords, zboolean normals)
Definition: lg_obj_parser.c:747
zboolean lg_objparser_check_consistency()
Definition: lg_obj_parser.c:982
LG_Mesh * lg_obj2vbo(const char *mesh_name, FILE *stream, zboolean invert_z, zboolean normalize_xyz, zboolean horiz_center, zboolean vert_center, zboolean vert_bottom)
Definition: lg_obj_parser.c:151
Definition: lg_vertex.h:46
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:928
Definition: lg_vertex.h:16
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:883
int lg_mtl_parser(const char *mtl_file, LG_Material *mat[])
Definition: lg_obj_parser.c:664
Definition: lg_vertex.h:80
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:795