From 93f8122959df62c82c455dee4c8bb6d138e7337d Mon Sep 17 00:00:00 2001 From: nathan Date: Thu, 10 Jul 2025 08:43:38 -0600 Subject: Tiny progress (mostly the same as leaf nodes tbh) --- src/world.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 60cbe9f..0ccb5c2 100644 --- a/src/world.h +++ b/src/world.h @@ -22,8 +22,10 @@ typedef int16_t WorldUID; typedef struct BVHNode { BoundingBox box; + Vector3 position; WorldUID entities[BVH_MAX]; // Only for leafs. struct BVHNode* branches[BVH_MAX_BRANCH_COUNT]; + int branchCount; } BVHNode; typedef struct { -- cgit v1.2.3