aboutsummaryrefslogtreecommitdiffstats
path: root/src/world.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/world.h')
-rw-r--r--src/world.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/world.h b/src/world.h
index 60cbe9f..0ccb5c2 100644
--- a/src/world.h
+++ b/src/world.h
@@ -22,8 +22,10 @@ typedef int16_t WorldUID;
typedef struct BVHNode {
BoundingBox box;
+ Vector3 position;
WorldUID entities[BVH_MAX]; // Only for leafs.
struct BVHNode* branches[BVH_MAX_BRANCH_COUNT];
+ int branchCount;
} BVHNode;
typedef struct {