diff options
author | 2025-02-07 11:27:18 -0500 | |
---|---|---|
committer | 2025-02-07 11:27:18 -0500 | |
commit | 4da7be39827ea5888ef9c97b1aadf61b0d76347c (patch) | |
tree | 15d0ff8f8bcb0e871efb1b2e65c2bc8d07b17565 /mons_3d/include/mesh.h |
initial commit (lol)
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 |