Пример #1
0
 public void RemoveItem(OctreeItem <T> octreeItem)
 {
     octreeItem.Container.RemoveItem(octreeItem);
     _currentRoot = _currentRoot.TryTrimChildren();
 }
Пример #2
0
 public Octree(BoundingBox boundingBox, int maxChildren)
 {
     _currentRoot = new OctreeNode <T>(boundingBox, maxChildren);
 }