From b748b9e63d0b31b704383ce63a88b7f16095dde1 Mon Sep 17 00:00:00 2001 From: nathan Date: Mon, 14 Jul 2025 06:19:00 -0600 Subject: Almost there (: --- src/world.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/world.h') diff --git a/src/world.h b/src/world.h index 0ccb5c2..00f23c6 100644 --- a/src/world.h +++ b/src/world.h @@ -8,7 +8,7 @@ #define WORLD_H #define BVH_MAX 2 // Max entities per node. -#define BVH_MAX_BRANCH_COUNT 3 +#define BVH_MAX_BRANCH_COUNT 5 #define BVH_BOX_MAX 100.0 #define WORLD_ENTITY_MAX 1000 @@ -34,8 +34,8 @@ typedef struct { Model heightmap; Entity entities[WORLD_ENTITY_MAX]; BVHNode bvh; - BVHNode bvhTest[WORLD_ENTITY_MAX]; - size_t bvhTestSize; + + int bvhDebugSelect; } World; World createWorld(int seed); -- cgit v1.2.3