From f11daf2fdc3f3e090efbbc6beec8d3af831e8280 Mon Sep 17 00:00:00 2001 From: nathan Date: Sat, 11 Oct 2025 05:03:05 -0600 Subject: More john and ron are correct size now --- src/entity.c | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) (limited to 'src/entity.c') diff --git a/src/entity.c b/src/entity.c index 0c0b914..018b450 100644 --- a/src/entity.c +++ b/src/entity.c @@ -78,16 +78,13 @@ Entity createEntity(EntityId id, Vector3 position) break; // TODO: do the thing case JOHN: + case RON: // John and Ron ARE NOT the same person. entity.box = (BoundingBox){ - .min = (Vector3){-1.0, -1.0, -1.0}, - .max = (Vector3){1.0, 1.0, 1.0} - }; - - break; - case RON: - entity.box = (BoundingBox){ - .min = (Vector3){-1.0, -1.0, -1.0}, - .max = (Vector3){1.0, 1.0, 1.0} + .min = (Vector3){-SHOPKEEPER_WIDTH, -SHOPKEEPER_HEIGHT, + -SHOPKEEPER_THICKNESS}, + .max = (Vector3){SHOPKEEPER_WIDTH, SHOPKEEPER_HEIGHT, + SHOPKEEPER_THICKNESS} + }; break; -- cgit v1.2.3