aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
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);