summaryrefslogtreecommitdiff
path: root/src/entity.c
diff options
context:
space:
mode:
authorDrNuget <drnuget@outlook.com>2025-03-03 18:38:18 +0200
committerDrNuget <drnuget@outlook.com>2025-03-03 18:38:18 +0200
commit23dac85d2f600f0073e77bf83f4a544f3a087416 (patch)
tree76fbaa200140036473c3b9bacace389c14bdcd25 /src/entity.c
let the madness begin
Diffstat (limited to 'src/entity.c')
-rw-r--r--src/entity.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/entity.c b/src/entity.c
new file mode 100644
index 0000000..f2c4190
--- /dev/null
+++ b/src/entity.c
@@ -0,0 +1,9 @@
+#include "entity.h"
+
+Hitbox createHitbox(Vector3* vertices)
+{
+ return (Hitbox){
+ .vertices = vertices,
+ .num_vertices = sizeof(vertices)/sizeof(Vector3)
+ };
+}