diff options
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 { |