summaryrefslogtreecommitdiff
path: root/src/model/model.h
diff options
context:
space:
mode:
authorsanine-a <sanine.not@pm.me>2020-10-25 19:37:42 -0500
committersanine-a <sanine.not@pm.me>2020-10-25 19:37:42 -0500
commitacc262b019206d09ce0d297f7b185862fe432601 (patch)
tree63071a346da01949966d217ed2d308b4ee21b197 /src/model/model.h
parentc6f43d9254a82fcebcda4bcf0e692ff859ba8101 (diff)
remove model/* and add shader bindings
Diffstat (limited to 'src/model/model.h')
-rw-r--r--src/model/model.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/model/model.h b/src/model/model.h
deleted file mode 100644
index 3672a44..0000000
--- a/src/model/model.h
+++ /dev/null
@@ -1,29 +0,0 @@
-#ifndef HONEY_MODEL_H
-#define HONEY_MODEL_H
-
-#include "../common.h"
-#include "../mesh/mesh.h"
-#include "../shader/shader.h"
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-#define HONEY_MODEL_MAX_MESHES 32
-
-typedef struct {
- mat4 model_matrix;
- honey_mesh meshes[HONEY_MODEL_MAX_MESHES];
- unsigned int n_meshes;
-} honey_model;
-
-/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
-
-/** @brief Load a model.
- *
- * @param[out] model Pointer to the destination honey_model struct.
- * @param[in] path Path of the model to be loaded.
- */
-honey_result honey_model_load(honey_model* model, char* path);
-void honey_model_draw(honey_model* model, honey_shader shader);
-void honey_model_delete(honey_model* model);
-
-#endif