CollisionMatrix provides corresponding collision detector for a pair of two geometries of given types.

Methods

inlinegetDetector(geomType1:Int, geomType2:Int):Detector

Returns an appropriate collision detector of two geometries of types geomType1 and geomType2.

This method is not symmetric, so getDetector(a, b) may not be equal to getDetector(b, a).