Polygon Intersection

Started by
2 comments, last by hplus0603 19 years, 6 months ago
Is there a built in function to OpenGl that can determine if 2 polygons are intersecting? If not, how can I find out if they are? This is for collision detection purposes btw.
My Current Project Angels 22 (4E5)
Advertisement
OpenGL is just a graphics library and as such I don't think it has any collision routines.
The world revolves around programming!CT Square - reliable web hostingwww.ctsquare.net
No there's not, OpenGL is only a graphics api. You need to do the calculations yourself. I would suggest using bounding volumes before moving down to the individual polygons.
I suggest looking at the Open Dynamics Engine which has both collision and simulation of what happens when you collide.
enum Bool { True, False, FileNotFound };

This topic is closed to new replies.

Advertisement