diff options
author | nathan <nathansmith@disroot.org> | 2025-09-19 10:32:33 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-09-19 10:32:33 +0000 |
commit | f0843bcab9feeb50abef8b2f48100a6e8882c8aa (patch) | |
tree | 39c12fc2510880c13d548ae5c22c0478ce1cb388 /src/entity.c | |
parent | 8efa99463c2efa772fe7af2e65e6931d7c83e9d6 (diff) | |
download | FindThings-f0843bcab9feeb50abef8b2f48100a6e8882c8aa.tar.gz FindThings-f0843bcab9feeb50abef8b2f48100a6e8882c8aa.tar.bz2 FindThings-f0843bcab9feeb50abef8b2f48100a6e8882c8aa.zip |
Texture thingy
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 8017de0..1548968 100644 --- a/src/entity.c +++ b/src/entity.c @@ -51,8 +51,8 @@ Entity createEntity(EntityId id, Vector3 position) break; case SAMANTHA: entity.box = (BoundingBox){ - .min = (Vector3){-SAMANTHA_WIDTH, -SAMANTHA_HEIGHT, -SAMANTHA_WIDTH}, - .max = (Vector3){SAMANTHA_WIDTH, SAMANTHA_HEIGHT, SAMANTHA_WIDTH} + .min = (Vector3){-SAMANTHA_WIDTH, -SAMANTHA_HEIGHT, -SAMANTHA_THICKNESS}, + .max = (Vector3){SAMANTHA_WIDTH, SAMANTHA_HEIGHT, SAMANTHA_THICKNESS} }; break; @@ -68,7 +68,7 @@ Entity createEntity(EntityId id, Vector3 position) // TODO: Mesh instance the utility poles and make a 3d model void updateEntity(Entity* entity, Game* game) { - // DrawBoundingBox(entity->box, RED); + DrawBoundingBox(entity->box, RED); switch (entity->id) { |