From 57b0ece20d0d14dd5452bcecb5af8205a3062beb Mon Sep 17 00:00:00 2001 From: nathan Date: Tue, 8 Jul 2025 20:07:03 -0600 Subject: UGGGGG --- src/world.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 46bd248..69f81bd 100644 --- a/src/world.h +++ b/src/world.h @@ -22,7 +22,7 @@ typedef int16_t WorldUID; typedef struct BVHNode { BoundingBox box; - WorldUID entities[BVH_MAX]; + WorldUID entities[BVH_MAX]; // Only for leafs. struct BVHNode* branch1; struct BVHNode* branch2; } BVHNode; @@ -34,6 +34,7 @@ typedef struct { Entity entities[WORLD_ENTITY_MAX]; BVHNode bvh; BVHNode bvhTest[BVH_LEAF_COUNT]; + int bvhTestSize; } World; World createWorld(int seed); -- cgit v1.2.3