Bullet Collision Detection & Physics Library
|
Public Member Functions | |
btSingleSweepCallback (const btConvexShape *castShape, const btTransform &convexFromTrans, const btTransform &convexToTrans, const btCollisionWorld *world, btCollisionWorld::ConvexResultCallback &resultCallback, btScalar allowedPenetration) | |
virtual bool | process (const btBroadphaseProxy *proxy) |
Public Member Functions inherited from btBroadphaseRayCallback | |
virtual | ~btBroadphaseRayCallback () |
Public Member Functions inherited from btBroadphaseAabbCallback | |
virtual | ~btBroadphaseAabbCallback () |
Public Attributes | |
btTransform | m_convexFromTrans |
btTransform | m_convexToTrans |
btVector3 | m_hitNormal |
const btCollisionWorld * | m_world |
btCollisionWorld::ConvexResultCallback & | m_resultCallback |
btScalar | m_allowedCcdPenetration |
const btConvexShape * | m_castShape |
Public Attributes inherited from btBroadphaseRayCallback | |
btVector3 | m_rayDirectionInverse |
added some cached data to accelerate ray-AABB tests More... | |
unsigned int | m_signs [3] |
btScalar | m_lambda_max |
Definition at line 948 of file btCollisionWorld.cpp.
|
inline |
what about division by zero? –> just set rayDirection[i] to INF/BT_LARGE_FLOAT
Definition at line 960 of file btCollisionWorld.cpp.
|
inlinevirtual |
terminate further convex sweep tests, once the closestHitFraction reached zero
Implements btBroadphaseAabbCallback.
Definition at line 982 of file btCollisionWorld.cpp.
btScalar btSingleSweepCallback::m_allowedCcdPenetration |
Definition at line 956 of file btCollisionWorld.cpp.
const btConvexShape* btSingleSweepCallback::m_castShape |
Definition at line 957 of file btCollisionWorld.cpp.
btTransform btSingleSweepCallback::m_convexFromTrans |
Definition at line 951 of file btCollisionWorld.cpp.
btTransform btSingleSweepCallback::m_convexToTrans |
Definition at line 952 of file btCollisionWorld.cpp.
btVector3 btSingleSweepCallback::m_hitNormal |
Definition at line 953 of file btCollisionWorld.cpp.
btCollisionWorld::ConvexResultCallback& btSingleSweepCallback::m_resultCallback |
Definition at line 955 of file btCollisionWorld.cpp.
const btCollisionWorld* btSingleSweepCallback::m_world |
Definition at line 954 of file btCollisionWorld.cpp.