19 #ifndef BT_GJK_PAIR_DETECTOR_H
20 #define BT_GJK_PAIR_DETECTOR_H
103 #endif //BT_GJK_PAIR_DETECTOR_H
btConvexPenetrationDepthSolver * m_penetrationDepthSolver
btVector3 m_cachedSeparatingAxis
btSimplexSolverInterface * m_simplexSolver
btGjkPairDetector(const btConvexShape *objectA, const btConvexShape *objectB, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *penetrationDepthSolver)
btScalar m_cachedSeparatingDistance
ConvexPenetrationDepthSolver provides an interface for penetration depth calculation.
btScalar getCachedSeparatingDistance() const
void setMinkowskiB(const btConvexShape *minkB)
void setMinkowskiA(const btConvexShape *minkA)
void setPenetrationDepthSolver(btConvexPenetrationDepthSolver *penetrationDepthSolver)
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
const btVector3 & getCachedSeparatingAxis() const
#define btSimplexSolverInterface
int m_fixContactNormalDirection
The btIDebugDraw interface class allows hooking up a debug renderer to visually debug simulations...
virtual ~btGjkPairDetector()
const btConvexShape * m_minkowskiB
btVector3 can be used to represent 3D points and vectors.
This interface is made to be used by an iterative approach to do TimeOfImpact calculations This inter...
btGjkPairDetector uses GJK to implement the btDiscreteCollisionDetectorInterface
void setCachedSeperatingAxis(const btVector3 &seperatingAxis)
const btConvexShape * m_minkowskiA
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
void setIgnoreMargin(bool ignoreMargin)
don't use setIgnoreMargin, it's for Bullet's internal use
void getClosestPointsNonVirtual(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw)