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 );
54 static void setCollider(
Shape *a,
Shape *b, ShapeCollider *collider );
66 static bool s_collidersInitialized;
73 #define CalcPairId(id1, id2) (std::min(id1, id2) * Shape::NUM_TYPES + std::max(id1, id2))