new GenericCollisionChecker()
This implements generic methods of the collision checker. Since
from algorithm to algorithm only a few methods may be different.
So only methods envolving polygons should be refined.
Methods
-
aabbVsAabb()
-
aabbVsCircle()
-
aabbVsPoint()
-
aabbVsPolygon()
-
Must be refined.
-
aabbVsRay()
-
Must be refined.
-
circleVsAabb()
-
circleVsCircle()
-
circleVsPoint()
-
circleVsPolygon()
-
Naive implementation.
-
circleVsRay()
-
Must be refined.
-
polygonVsAabb()
-
polygonVsCircle()
-
polygonVsPoint()
-
Algorithm based upon Walfram's Demonstration project. http://demonstrations.wolfram.com/AnEfficientTestForAPointToBeInAConvexPolygon/
-
polygonVsPolygon()
-
Must be refined.
-
polygonVsRay()
-
Must be refined.