This is a repository for some of the snippets by DragonEnergy and his amazing posts on efficient spatial hierarchies on Stack Overflow. [Stack Overflow](https://stackoverflow.com/questions/41946007/efficient-and-well-explained-implementation-of-a-quadtree-for-2d-collision-det/48330314#48330314)