diff options
author | DrNuget <drnuget@outlook.com> | 2025-03-04 21:07:46 +0200 |
---|---|---|
committer | DrNuget <drnuget@outlook.com> | 2025-03-04 21:07:46 +0200 |
commit | c23947247f76a519795e82c15c1ef01f4b4d58bc (patch) | |
tree | c071d59a677ff25ddd6283fac885e83a53110a8f /src/entity.c | |
parent | de1c7a212835741946d562bc926a4287151c9ffb (diff) |
Diffstat (limited to 'src/entity.c')
-rw-r--r-- | src/entity.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/entity.c b/src/entity.c index f2c4190..59f55f1 100644 --- a/src/entity.c +++ b/src/entity.c @@ -1,9 +1,9 @@ #include "entity.h" -Hitbox createHitbox(Vector3* vertices) +Hitbox createHitbox(Vector3* boxes) { return (Hitbox){ - .vertices = vertices, - .num_vertices = sizeof(vertices)/sizeof(Vector3) + .boxes = boxes, + .num_boxes = sizeof(boxes)/sizeof(Vector3) }; } |