File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -105,10 +105,11 @@ protected override void UnloadContent()
105105## So What's A QuadTree Then?
106106Maybe you've heard of such a data-structure that does essentially exactly the same things as this grid with one major difference:
107107
108- The QuadTree divides the space itself.
109- It doesn't need a fixed grid, but divides it unevenly and only when another partition is needed.
110- And that's good and bad at the same time.
111- Unfortunately that costs a lot of time (the updating of this data-structure); At least when compared to the grid.
108+ The QuadTree divides the space all by itself, dynamically whenever you add new items.
109+ It doesn't need a fixed uniform grid, but divides it unevenly and only when another partition is needed.
110+ And that's good and bad at the same time.
111+ The goog thing is that it can cope with unevenly distributed items.
112+ The bad thing is that it costs a lot more time (the updating of this data-structure); At least when compared to the grid.
112113[ Here's a very good implementation on GitHub with an excellent explanation what it does.] [ quadtree ]
113114
114115The good news about the QuadTree is that it's exactly what you're looking for if you thought...
You can’t perform that action at this time.
0 commit comments