https://github.com/posva/2d-collisions
Collision for 2D using the SAT theorem with Rectangles
https://github.com/posva/2d-collisions
Last synced: 6 days ago
JSON representation
Collision for 2D using the SAT theorem with Rectangles
- Host: GitHub
- URL: https://github.com/posva/2d-collisions
- Owner: posva
- License: mit
- Created: 2014-02-22T10:58:37.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-03-05T13:26:06.000Z (over 12 years ago)
- Last Synced: 2025-02-25T22:31:32.427Z (over 1 year ago)
- Language: C++
- Size: 156 KB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
2D Collisions
===
Basic 2D collisions using the SAT theorem.
## Notes
The code can still be optimized, I also plan adding some figures that come handly in 2D like lines and circles.
##Dependencies
* [https://github.com/g-truc/glm](glm)
##Building
In order to build the example you'll need [https://github.com/LaurentGomila/SFML](SFML) because the example use it for displaying figures on a window.
Once you have SFML just do
```
./configure
make run
```
##License
This code is distributed under the MIT License