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 () |
virtual bool | process (const btBroadphaseProxy *proxy)=0 |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from btBroadphaseRayCallback | |
btBroadphaseRayCallback () | |
Definition at line 1020 of file btCollisionWorld.cpp.
|
inline |
what about division by zero? --> just set rayDirection[i] to INF/BT_LARGE_FLOAT
Definition at line 1030 of file btCollisionWorld.cpp.
|
inlinevirtual |
terminate further convex sweep tests, once the closestHitFraction reached zero
Implements btBroadphaseAabbCallback.
Definition at line 1051 of file btCollisionWorld.cpp.
btScalar btSingleSweepCallback::m_allowedCcdPenetration |
Definition at line 1027 of file btCollisionWorld.cpp.
const btConvexShape* btSingleSweepCallback::m_castShape |
Definition at line 1028 of file btCollisionWorld.cpp.
btTransform btSingleSweepCallback::m_convexFromTrans |
Definition at line 1022 of file btCollisionWorld.cpp.
btTransform btSingleSweepCallback::m_convexToTrans |
Definition at line 1023 of file btCollisionWorld.cpp.
btVector3 btSingleSweepCallback::m_hitNormal |
Definition at line 1024 of file btCollisionWorld.cpp.
btCollisionWorld::ConvexResultCallback& btSingleSweepCallback::m_resultCallback |
Definition at line 1026 of file btCollisionWorld.cpp.
const btCollisionWorld* btSingleSweepCallback::m_world |
Definition at line 1025 of file btCollisionWorld.cpp.