diff options
author | nathan <nathan@disroot.org> | 2025-07-16 06:45:37 +0000 |
---|---|---|
committer | nathan <nathan@disroot.org> | 2025-07-16 06:45:37 +0000 |
commit | 6641664d5218a6d9b4c120d539e7ac33d261ef99 (patch) | |
tree | d8dab25bb7f0f3a6bc30c3a95cf4f343a59fc147 /src/world.h | |
parent | bd11b477c5dc81d343ae42b288ffb98e470226c4 (diff) | |
download | FindThings-6641664d5218a6d9b4c120d539e7ac33d261ef99.tar.gz FindThings-6641664d5218a6d9b4c120d539e7ac33d261ef99.tar.bz2 FindThings-6641664d5218a6d9b4c120d539e7ac33d261ef99.zip |
WHYYYY
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 16e6dbf..3f167f8 100644 --- a/src/world.h +++ b/src/world.h @@ -21,11 +21,12 @@ typedef int16_t WorldUID; typedef struct BVHNode { + int8_t level; BoundingBox box; Vector3 position; WorldUID entities[BVH_MAX]; // Only for leafs. struct BVHNode* branches[BVH_MAX_BRANCH_COUNT]; - int branchCount; + int8_t branchCount; } BVHNode; typedef struct { |