1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 18:32:36 +00:00

Reduce the minSize of quad tree nodes for better performance

This commit is contained in:
scrawl 2017-03-12 22:42:04 +01:00
parent a041546b54
commit fb8ac06524

View File

@ -394,7 +394,7 @@ void QuadTreeWorld::ensureQuadTreeBuilt()
if (mQuadTreeBuilt)
return;
const float minSize = 1/4.f;
const float minSize = 1/8.f;
QuadTreeBuilder builder(mStorage, mViewDataMap.get(), minSize);
builder.build();