From 4da7be39827ea5888ef9c97b1aadf61b0d76347c Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Fri, 7 Feb 2025 11:27:18 -0500 Subject: initial commit (lol) --- mons_3d/include/mesh.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 mons_3d/include/mesh.h (limited to 'mons_3d/include/mesh.h') 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 -- cgit v1.2.3