22#ifdef BT_USE_DOUBLE_PRECISION
23#define MAX_ITERATIONS 64
25#define MAX_ITERATIONS 32
29 : m_simplexSolver(simplexSolver),
58 bool hasResult =
false;
98 if (numIter > maxIter)
106 dLambda = dist / (projectedLinearVelocity);
108 lambda = lambda - dLambda;
117 if (lambda <= lastLambda)
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
#define btSimplexSolverInterface
The btConvexShape is an abstract shape interface, implemented by all convex shapes such as btBoxShape...
const btConvexShape * m_convexB
btSimplexSolverInterface * m_simplexSolver
virtual bool calcTimeOfImpact(const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result)
cast a convex against another convex object
const btConvexShape * m_convexA
btGjkConvexCast(const btConvexShape *convexA, const btConvexShape *convexB, btSimplexSolverInterface *simplexSolver)
btGjkPairDetector uses GJK to implement the btDiscreteCollisionDetectorInterface
virtual void getClosestPoints(const ClosestPointInput &input, Result &output, class btIDebugDraw *debugDraw, bool swapResults=false)
btVector3 can be used to represent 3D points and vectors.
void setInterpolate3(const btVector3 &v0, const btVector3 &v1, btScalar rt)
btScalar dot(const btVector3 &v) const
Return the dot product.
void setValue(const btScalar &_x, const btScalar &_y, const btScalar &_z)
RayResult stores the closest result alternatively, add a callback method to decide about closest/all ...
btScalar m_allowedPenetration
virtual void DebugDraw(btScalar fraction)
btVector3 m_normalOnBInWorld