17 #ifndef AGX_COLLIDERTABLE_H
18 #define AGX_COLLIDERTABLE_H
47 static ShapeCollider *getCollider(
const Shape *a,
const Shape *b );
48 static ShapeCollider *getCollider(
unsigned typeA,
unsigned typeB );
53 static void setCollider(
unsigned typeA,
unsigned typeB, ShapeCollider *collider );
66 static bool s_collidersInitialized;
73 #define CalcPairId(id1, id2) (std::min(id1, id2) * Shape::NUM_TYPES + std::max(id1, id2))
#define CalcPairId(id1, id2)
#define AGXPHYSICS_EXPORT
static ShapeCollider * getCollider(const Shape *a, const Shape *b)
Get a shape collider for testing two shapes against each other.
static void init()
Initialize the collider table.
static void setCollider(unsigned typeA, unsigned typeB, ShapeCollider *collider)
Set a shape collider, normally handled by the PluginManager.
static void setCollider(Shape *a, Shape *b, ShapeCollider *collider)
agx::UInt8 getType() const
This namespace consists of a set of classes for handling geometric intersection tests including boole...