summaryrefslogtreecommitdiff
path: root/prge_mesh.h
diff options
context:
space:
mode:
authorpryazha <pryadeiniv@mail.ru>2025-02-20 15:10:11 +0500
committerpryazha <pryadeiniv@mail.ru>2025-02-20 15:10:11 +0500
commit34821e9fefb0d7cbf9e72a2457b2901edbbe03bb (patch)
tree59ec69f7d19aa48091b3d39ad0dfd6b26bacb88b /prge_mesh.h
initial
Diffstat (limited to 'prge_mesh.h')
-rw-r--r--prge_mesh.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/prge_mesh.h b/prge_mesh.h
new file mode 100644
index 0000000..1f70809
--- /dev/null
+++ b/prge_mesh.h
@@ -0,0 +1,9 @@
+#ifndef PRGE_MESH_H
+#define PRGE_MESH_H
+
+#define PRGE_SHADER_POS_LOC 0
+
+Vertex vertex(V3 pos);
+Mesh *mesh(Arena *arena, Vertex *verts, U32 nverts, U32 *indices, U32 nindices);
+
+#endif /* PRGE_MESH_H */