improve static tree construction

This commit is contained in:
Irlan
2017-06-06 16:02:48 -03:00
parent 4ff1e7947f
commit 8503c356a6
7 changed files with 144 additions and 139 deletions

View File

@ -77,6 +77,9 @@ private :
}
};
//
void Build(const b3AABB3* set, b3Node* node, u32* indices, u32 numObjects, u32 minObjectsPerLeaf, u32 nodeCapacity, u32& leafCount, u32& internalCount);
// The nodes of this tree stored in an array.
u32 m_nodeCount;
b3Node* m_nodes;