48 wWitnessOnA = results.witnesses[0];
49 wWitnessOnB = results.witnesses[1];
56 wWitnessOnA = results.witnesses[0];
57 wWitnessOnB = results.witnesses[1];
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
#define btSimplexSolverInterface
The btIDebugDraw interface class allows hooking up a debug renderer to visually debug simulations...
static bool Penetration(const btConvexShape *shape0, const btTransform &wtrs0, const btConvexShape *shape1, const btTransform &wtrs1, const btVector3 &guess, sResults &results, bool usemargins=true)
btVector3 can be used to represent 3D points and vectors.
static bool Distance(const btConvexShape *shape0, const btTransform &wtrs0, const btConvexShape *shape1, const btTransform &wtrs1, const btVector3 &guess, sResults &results)
bool calcPenDepth(btSimplexSolverInterface &simplexSolver, const btConvexShape *pConvexA, const btConvexShape *pConvexB, const btTransform &transformA, const btTransform &transformB, btVector3 &v, btVector3 &wWitnessOnA, btVector3 &wWitnessOnB, class btIDebugDraw *debugDraw)