An open API service indexing awesome lists of open source software.

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

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