diff options
author | nathan <nathansmith@disroot.org> | 2025-07-14 16:47:02 +0000 |
---|---|---|
committer | nathan <nathansmith@disroot.org> | 2025-07-14 16:47:02 +0000 |
commit | cead4fadf830cdb910ae0175c39cad339a835b8e (patch) | |
tree | afd7559a041ff5c93df635b3ce9435315a8f6cdb /src/world.c | |
parent | 033afbe2278735d85fd9b50292d6b75bad84e341 (diff) | |
download | FindThings-cead4fadf830cdb910ae0175c39cad339a835b8e.tar.gz FindThings-cead4fadf830cdb910ae0175c39cad339a835b8e.tar.bz2 FindThings-cead4fadf830cdb910ae0175c39cad339a835b8e.zip |
I need to sit less
Diffstat (limited to 'src/world.c')
-rw-r--r-- | src/world.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/world.c b/src/world.c index ff890bd..29da6a2 100644 --- a/src/world.c +++ b/src/world.c @@ -204,7 +204,7 @@ BVHNode buildWorldBVHTree(BVHNode* nodes, size_t nodesSize, } float distance = 0.0; - BoundingBox box = nodes[nodeIndex].box; + BoundingBox box = node.branches[0]->box; // Get distance and bounding box. for (int index = 0; index < branchIndex; ++index) |