mirror of
https://github.com/ProjectSWGCore/Holocore.git
synced 2026-10-07 22:13:40 -04:00
Improved QuadTree to be more efficient with spatial searching and insertion
This commit is contained in:
@@ -28,7 +28,7 @@ public class ObjectAwareness {
|
||||
|
||||
private void loadQuadTree() {
|
||||
for (Terrain t : Terrain.values()) {
|
||||
quadTree.put(t, new QuadTree<SWGObject>(-8192, -8192, 8192, 8192));
|
||||
quadTree.put(t, new QuadTree<SWGObject>(16, -8192, -8192, 8192, 8192));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user