aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathansmith@disroot.org>2025-07-14 12:19:00 +0000
committernathan <nathansmith@disroot.org>2025-07-14 12:19:00 +0000
commitb748b9e63d0b31b704383ce63a88b7f16095dde1 (patch)
treea9a72a7f47791828330d1b862ffbf9740904b2f3 /src/world.h
parent63c926eb0bdcb7ce189c64c09e1650f594f5faeb (diff)
downloadFindThings-b748b9e63d0b31b704383ce63a88b7f16095dde1.tar.gz
FindThings-b748b9e63d0b31b704383ce63a88b7f16095dde1.tar.bz2
FindThings-b748b9e63d0b31b704383ce63a88b7f16095dde1.zip
Almost there (:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h6
1 files changed, 3 insertions, 3 deletions
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);