The Quadtree did no meaningful management of entity boundaries. All it did was store the maximum and inflate the query rectangle accordingly. The caller can easily take over this responsibility. Consequently, this simplifies queries.
Quadtree
Quadtree for fast add, remove, and query of world entities. The world size does not have to be known in advance, instead the boundaries will be determined dynamically as entities are added.
Languages
C#
100%