aboutsummaryrefslogtreecommitdiff
path: root/08-august/src/renderer/entity.h
diff options
context:
space:
mode:
authorThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-01-16 23:02:32 +0100
committerThomas Guillermo Albers Raviola <thomas@thomaslabs.org>2026-01-16 23:02:32 +0100
commit6b8af9cf83851c075c6c9514b1deaa931c2b19a4 (patch)
tree428986b49c32e21d3f7a3c2dfa41858ae0153209 /08-august/src/renderer/entity.h
Initial commit
Diffstat (limited to '08-august/src/renderer/entity.h')
-rw-r--r--08-august/src/renderer/entity.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/08-august/src/renderer/entity.h b/08-august/src/renderer/entity.h
new file mode 100644
index 0000000..ba33004
--- /dev/null
+++ b/08-august/src/renderer/entity.h
@@ -0,0 +1,20 @@
+#ifndef ENTITY_H
+#define ENTITY_H
+
+#include "../math/vector3f.h"
+#include "../math/matrix4x4.h"
+
+#include "shape.h"
+#include "../texture.h"
+
+typedef struct
+{
+ shape_t *shape;
+ GLuint texture;
+ vec3_t position;
+ float rotX, rotY, rotZ;
+} entity_t;
+
+extern mat4_t Entity_GetModelTransform(entity_t* entity);
+
+#endif // ENTITY_H