public void RemoveItem(OctreeItem <T> octreeItem) { octreeItem.Container.RemoveItem(octreeItem); _currentRoot = _currentRoot.TryTrimChildren(); }
public Octree(BoundingBox boundingBox, int maxChildren) { _currentRoot = new OctreeNode <T>(boundingBox, maxChildren); }