Blender
V3.3
|
#include <btGjkEpaPenetrationDepthSolver.h>
Public Member Functions | |
btGjkEpaPenetrationDepthSolver () | |
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) |
![]() | |
virtual | ~btConvexPenetrationDepthSolver () |
EpaPenetrationDepthSolver uses the Expanding Polytope Algorithm to calculate the penetration depth between two convex shapes.
Definition at line 24 of file btGjkEpaPenetrationDepthSolver.h.
|
inline |
Definition at line 27 of file btGjkEpaPenetrationDepthSolver.h.
|
virtual |
Implements btConvexPenetrationDepthSolver.
Definition at line 23 of file btGjkEpaPenetrationDepthSolver.cpp.
References btVector3, debugDraw(), btGjkEpaSolver2::Distance(), btGjkEpaSolver2::sResults::normal, btGjkEpaSolver2::Penetration(), v, void, and btGjkEpaSolver2::sResults::witnesses.