diff options
author | DrNuget <drnuget@outlook.com> | 2025-03-03 18:38:18 +0200 |
---|---|---|
committer | DrNuget <drnuget@outlook.com> | 2025-03-03 18:38:18 +0200 |
commit | 23dac85d2f600f0073e77bf83f4a544f3a087416 (patch) | |
tree | 76fbaa200140036473c3b9bacace389c14bdcd25 /src/entity.c |
let the madness begin
Diffstat (limited to 'src/entity.c')
-rw-r--r-- | src/entity.c | 9 |
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) + }; +} |