Core/vmaps: Reset BIH::bounds on tree rebuilds

This commit is contained in:
Shauren
2024-03-13 18:19:22 +01:00
parent 37899f3954
commit 18200e1b88

View File

@@ -69,6 +69,7 @@ class TC_COMMON_API BIH
{
tree.clear();
objects.clear();
bounds = G3D::AABox::empty();
// create space for the first node
tree.push_back(3u << 30u); // dummy leaf
tree.insert(tree.end(), 2, 0);