I'm looking for a collision detection library written in C++ for simple convex polygons (right now only ellipses and rectangles).
I'm aware of the separating axis theorem, which would allow for an implementation of this functionality: http://en.wikipedia.org/wiki/Separating_axis_theorem
I also found a rather detailed tutorial on how to write such a library (http://www.harveycartel.org/me...orials/tutorialA.html) for various shapes.
However, rather than spend a couple hours writing the code to do this, I'd rather be able to utilize some function library and save myself the effort.
I'm aware of the separating axis theorem, which would allow for an implementation of this functionality: http://en.wikipedia.org/wiki/Separating_axis_theorem
I also found a rather detailed tutorial on how to write such a library (http://www.harveycartel.org/me...orials/tutorialA.html) for various shapes.
However, rather than spend a couple hours writing the code to do this, I'd rather be able to utilize some function library and save myself the effort.