timohausmann / quadtree-ts

Quadtree Typescript Implementation
https://timohausmann.github.io/quadtree-ts/
MIT License
125 stars 15 forks source link

Increase retrieve flexibility #3

Closed Dykam closed 2 years ago

Dykam commented 2 years ago

While trying to use the lib, I wanted to query arbitrary rects, but I had typed the tree to require a specific shape. Therefore I suggest removing the constraint when retrieving objects.

timohausmann commented 2 years ago

Good catch, I will merge and rebuild later, thank you.