diff options
author | nathan <nathansmith@disroot.org> | 2025-07-08 23:43:00 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-07-08 23:43:00 +0000 |
commit | 2e3b0eefc942bbf720baa153286141b7039f291b (patch) | |
tree | 46afe2111358cf4154105b4faa085bf253c825a1 /src/world.h | |
parent | f3a07a4e98444c7d98df8b3f3b57e2136477f87f (diff) | |
download | FindThings-2e3b0eefc942bbf720baa153286141b7039f291b.tar.gz FindThings-2e3b0eefc942bbf720baa153286141b7039f291b.tar.bz2 FindThings-2e3b0eefc942bbf720baa153286141b7039f291b.zip |
Still sucks too much
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/world.h b/src/world.h index 4bf5d79..46bd248 100644 --- a/src/world.h +++ b/src/world.h @@ -7,8 +7,9 @@ #ifndef WORLD_H #define WORLD_H -#define BVH_MAX 2 // Max entities per node. -#define BVH_LEAF_COUNT 500 +#define BVH_MAX 4 // Max entities per node. +#define BVH_LEAF_COUNT 250 +#define BVH_OVERLAP_MULTIPLIER 100.0 #define WORLD_ENTITY_MAX 1000 #define WORLD_SIZE (Vector3){1000.0, 100.0, 1000.0} |