diff options
Diffstat (limited to 'src/extend/mesh.h')
-rw-r--r-- | src/extend/mesh.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/extend/mesh.h b/src/extend/mesh.h new file mode 100644 index 0000000..40ac7ed --- /dev/null +++ b/src/extend/mesh.h @@ -0,0 +1,13 @@ +#ifndef _SOFTSHADEROOM_MESH_H_ +#define _SOFTSHADEROOM_MESH_H_ + +#include "../core/vert.h" + +typedef struct Mesh { + Vert* vertices; uint verts_count; + uint* triangles; uint tris_count; +} Mesh; + +Mesh* mesh_loadfromobj(const char* path); + +#endif
\ No newline at end of file |