diff options
author | nathan <nathansmith@disroot.org> | 2025-07-09 02:07:03 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-07-09 02:07:03 +0000 |
commit | 57b0ece20d0d14dd5452bcecb5af8205a3062beb (patch) | |
tree | b31b279ef4c5262a8bf93f5fb17428a4404d26cf /src/world.h | |
parent | 2e3b0eefc942bbf720baa153286141b7039f291b (diff) | |
download | FindThings-57b0ece20d0d14dd5452bcecb5af8205a3062beb.tar.gz FindThings-57b0ece20d0d14dd5452bcecb5af8205a3062beb.tar.bz2 FindThings-57b0ece20d0d14dd5452bcecb5af8205a3062beb.zip |
UGGGGG
Diffstat (limited to 'src/world.h')
-rw-r--r-- | src/world.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/world.h b/src/world.h index 46bd248..69f81bd 100644 --- a/src/world.h +++ b/src/world.h @@ -22,7 +22,7 @@ typedef int16_t WorldUID; typedef struct BVHNode { BoundingBox box; - WorldUID entities[BVH_MAX]; + WorldUID entities[BVH_MAX]; // Only for leafs. struct BVHNode* branch1; struct BVHNode* branch2; } BVHNode; @@ -34,6 +34,7 @@ typedef struct { Entity entities[WORLD_ENTITY_MAX]; BVHNode bvh; BVHNode bvhTest[BVH_LEAF_COUNT]; + int bvhTestSize; } World; World createWorld(int seed); |