16#ifndef BT_GJK_PAIR_DETECTOR_H
17#define BT_GJK_PAIR_DETECTOR_H
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define btSimplexSolverInterface
ConvexPenetrationDepthSolver provides an interface for penetration depth calculation.
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
btGjkPairDetector uses GJK to implement the btDiscreteCollisionDetectorInterface
const btConvexShape * m_minkowskiB
const btVector3 & getCachedSeparatingAxis() const
const btConvexShape * m_minkowskiA
void setPenetrationDepthSolver(btConvexPenetrationDepthSolver *penetrationDepthSolver)
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
btScalar getCachedSeparatingDistance() const
void setCachedSeparatingAxis(const btVector3 &separatingAxis)
btGjkPairDetector(const btConvexShape *objectA, const btConvexShape *objectB, btSimplexSolverInterface *simplexSolver, btConvexPenetrationDepthSolver *penetrationDepthSolver)
int m_fixContactNormalDirection
virtual ~btGjkPairDetector()
btScalar m_cachedSeparatingDistance
void setIgnoreMargin(bool ignoreMargin)
don't use setIgnoreMargin, it's for Bullet's internal use
void setMinkowskiA(const btConvexShape *minkA)
btSimplexSolverInterface * m_simplexSolver
btVector3 m_cachedSeparatingAxis
void getClosestPointsNonVirtual(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw)
btConvexPenetrationDepthSolver * m_penetrationDepthSolver
void setMinkowskiB(const btConvexShape *minkB)
The btIDebugDraw interface class allows hooking up a debug renderer to visually debug simulations.
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...