diff options
Diffstat (limited to 'mons_3d/include/mesh.h')
-rw-r--r-- | mons_3d/include/mesh.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mons_3d/include/mesh.h b/mons_3d/include/mesh.h new file mode 100644 index 0000000..3794697 --- /dev/null +++ b/mons_3d/include/mesh.h @@ -0,0 +1,14 @@ +#ifndef MONS_MESH_H +#define MONS_MESH_H + +struct mons_vertex; +typedef unsigned int mons_vao; + +typedef struct mons_mesh { + mons_vao vao; + unsigned int element_count; +} mons_mesh; + +mons_mesh mons_create_mesh(struct mons_vertex *vertex_array, int vertex_count, int *index_array, int index_count); + +#endif |