aboutsummaryrefslogtreecommitdiff
path: root/mons_3d/include/model.h
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-07 11:27:18 -0500
committerLibravatar Silas Bartha <silas@exvacuum.dev>2025-02-07 11:27:18 -0500
commit4da7be39827ea5888ef9c97b1aadf61b0d76347c (patch)
tree15d0ff8f8bcb0e871efb1b2e65c2bc8d07b17565 /mons_3d/include/model.h
initial commit (lol)
Diffstat (limited to 'mons_3d/include/model.h')
-rw-r--r--mons_3d/include/model.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/mons_3d/include/model.h b/mons_3d/include/model.h
new file mode 100644
index 0000000..9059d64
--- /dev/null
+++ b/mons_3d/include/model.h
@@ -0,0 +1,19 @@
+#ifndef MONS_MODEL_H
+#define MONS_MODEL_H
+
+#include "mesh.h"
+#include "shader.h"
+#include "transform.h"
+#include "texture.h"
+
+typedef struct mons_model {
+ mons_mesh mesh;
+ mons_program shader;
+ mons_transform transform;
+ mons_texture *textures;
+ unsigned int textures_len;
+} mons_model;
+
+void mons_model_draw(mons_model model);
+
+#endif