com.bulletphysics.collision.narrowphase
Class GjkEpaPenetrationDepthSolver
java.lang.Object
com.bulletphysics.collision.narrowphase.GjkEpaPenetrationDepthSolver
- All Implemented Interfaces:
- ConvexPenetrationDepthSolver
public class GjkEpaPenetrationDepthSolver
- extends Object
- implements ConvexPenetrationDepthSolver
GjkEpaPenetrationDepthSolver uses the Expanding Polytope Algorithm to calculate
the penetration depth between two convex shapes.
GjkEpaPenetrationDepthSolver
public GjkEpaPenetrationDepthSolver()
calcPenDepth
public boolean calcPenDepth(SimplexSolverInterface simplexSolver,
ConvexShape pConvexA,
ConvexShape pConvexB,
Transform transformA,
Transform transformB,
Vector3f v,
Vector3f wWitnessOnA,
Vector3f wWitnessOnB,
IDebugDraw debugDraw)
- Specified by:
calcPenDepth
in interface ConvexPenetrationDepthSolver