If you like this project don't hesitate to star it ! :)
The Separated Axis Theorem, is a collision detection algorithm between rotated polygons.
This programme demonstrates how this algorithm works with two squares that you can move and rotate.
You need to be on linux to execute the binary and have csfml installed.
- Click on code and download the code as zip.
- Launch a terminal and go to root of the download code
- Run the code with
makethen./sat_algorithm