Bullet Collision Detection & Physics Library
|
Go to the documentation of this file.
16 #ifndef BT_CONVEX_CAST_H
17 #define BT_CONVEX_CAST_H
25 #ifdef BT_USE_DOUBLE_PRECISION
26 #define MAX_CONVEX_CAST_ITERATIONS 64
27 #define MAX_CONVEX_CAST_EPSILON (SIMD_EPSILON * 10)
29 #define MAX_CONVEX_CAST_ITERATIONS 32
30 #define MAX_CONVEX_CAST_EPSILON btScalar(0.0001)
90 #endif //BT_CONVEX_CAST_H
Typically the conservative advancement reaches solution in a few iterations, clip it to 32 for degene...
float btScalar
The btScalar type abstracts floating point numbers, to easily switch between double and single floati...
int m_subSimplexCastMaxIterations
btTransform m_hitTransformA
RayResult stores the closest result alternatively, add a callback method to decide about closest/all ...
The btMinkowskiSumShape is only for advanced users. This shape represents implicit based minkowski su...
The btIDebugDraw interface class allows hooking up a debug renderer to visually debug simulations.
btScalar m_subSimplexCastEpsilon
#define MAX_CONVEX_CAST_EPSILON
virtual bool calcTimeOfImpact(const btTransform &fromA, const btTransform &toA, const btTransform &fromB, const btTransform &toB, CastResult &result)=0
cast a convex against another convex object
btVector3 can be used to represent 3D points and vectors.
btTransform m_hitTransformB
btScalar m_allowedPenetration
virtual void reportFailure(int errNo, int numIterations)
virtual void DebugDraw(btScalar fraction)
btIDebugDraw * m_debugDrawer
#define MAX_CONVEX_CAST_ITERATIONS
virtual void drawCoordSystem(const btTransform &trans)