aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
authornathan <nathan@disroot.org>2025-07-16 06:45:37 +0000
committernathan <nathan@disroot.org>2025-07-16 06:45:37 +0000
commit6641664d5218a6d9b4c120d539e7ac33d261ef99 (patch)
treed8dab25bb7f0f3a6bc30c3a95cf4f343a59fc147 /src/world.h
parentbd11b477c5dc81d343ae42b288ffb98e470226c4 (diff)
downloadFindThings-6641664d5218a6d9b4c120d539e7ac33d261ef99.tar.gz
FindThings-6641664d5218a6d9b4c120d539e7ac33d261ef99.tar.bz2
FindThings-6641664d5218a6d9b4c120d539e7ac33d261ef99.zip
WHYYYY
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h3
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 {