Quadtree is a C++14 lightweight single header implementation of a quadtree data structure.
- Simple
- Fast
- Single header
- Lightweight
- Easy to use
- Examples
- Documentation
Simply copy the Quadtree.h
file from the src/
folder and place it in your project, that is it!
you can see usage examples of the Quadtree in the src/Examples/
folder, an explanation on how to build the examples is below
Quadtree examples use SFML in order to display, here is how you should use it:
Download the source files
git clone git@github.com:StavFaran92/Quadtree.git
Once downloaded go into the cloned directory, in order to build the example you will need cmake, simply type
mkdir build
cd build
cmake ..
if everything worked fine a Visual Studio solution has been generated, open build/Quadtree.sln
and build the solution.
if you are facing any issues feel free to contact me.
Distributed under the MIT License.