Purpose • Installation • Commands
This project was created to learn how a quadtree can be used to store and optimize searching of positional data. Simply drawing a quadree is no fun though, so I decided to implement some very simple physics and use the quadtree for collision detection.
During development I also learned about CMake and how to configure a project for platform-independent building using a make file.
- Clone this repo
- Open CMake
- Set the source path to the location of the repo
- Set the build path
- Click configure
- Select your IDE from generator list
-
Click Finish
-
Click Configure again to update red values
- Click Generate
- After generation, build the project through your IDE
| Command | Action |
|---|---|
| Q | Toggle quadrants drawing |
| Click & Drag | Add particle with velocity of mouse drag |



