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))
void AGXPHYSICS_EXPORT init()
Initialize AGX Dynamics API including thread resources and must be executed before using the AGX API...
This namespace consists of a set of classes for handling geometric intersection tests including boole...
#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.
agx::UInt8 getType() const