22#ifdef BT_USE_DOUBLE_PRECISION
23#define MAX_ITERATIONS 64
25#define MAX_ITERATIONS 32
127 input.m_transformA.getOrigin().setInterpolate3(
fromA.getOrigin(),
toA.getOrigin(),
lambda);
128 input.m_transformB.getOrigin().setInterpolate3(
fromB.getOrigin(),
toB.getOrigin(),
lambda);
154 if (n.
dot(r) >= -
result.m_allowedPenetration)
#define MAX_ITERATIONS
This maximum should not be necessary.
const T & btMax(const T &a, const T &b)
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
btVector3 can be used to represent 3D points and vectors.
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 ...