Blender V2.61 - r43446
|
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 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 |
Definition at line 884 of file btCollisionWorld.cpp.
btSingleSweepCallback::btSingleSweepCallback | ( | const btConvexShape * | castShape, |
const btTransform & | convexFromTrans, | ||
const btTransform & | convexToTrans, | ||
const btCollisionWorld * | world, | ||
btCollisionWorld::ConvexResultCallback & | resultCallback, | ||
btScalar | allowedPenetration | ||
) | [inline] |
what about division by zero? --> just set rayDirection[i] to INF/BT_LARGE_FLOAT
Definition at line 896 of file btCollisionWorld.cpp.
References BT_LARGE_FLOAT, btTransform::getOrigin(), m_convexFromTrans, m_convexToTrans, btBroadphaseRayCallback::m_lambda_max, btBroadphaseRayCallback::m_rayDirectionInverse, and btBroadphaseRayCallback::m_signs.
virtual bool btSingleSweepCallback::process | ( | const btBroadphaseProxy * | proxy | ) | [inline, virtual] |
terminate further convex sweep tests, once the closestHitFraction reached zero
Implements btBroadphaseAabbCallback.
Definition at line 918 of file btCollisionWorld.cpp.
References m_allowedCcdPenetration, m_castShape, btCollisionWorld::ConvexResultCallback::m_closestHitFraction, m_convexFromTrans, m_convexToTrans, m_resultCallback, m_world, btCollisionWorld::ConvexResultCallback::needsCollision(), and btCollisionWorld::objectQuerySingle().
Definition at line 892 of file btCollisionWorld.cpp.
Referenced by process().
const btConvexShape* btSingleSweepCallback::m_castShape |
Definition at line 893 of file btCollisionWorld.cpp.
Referenced by process().
Definition at line 887 of file btCollisionWorld.cpp.
Referenced by btSingleSweepCallback(), and process().
Definition at line 888 of file btCollisionWorld.cpp.
Referenced by btSingleSweepCallback(), and process().
btVector3 btSingleSweepCallback::m_hitNormal |
Definition at line 889 of file btCollisionWorld.cpp.
Definition at line 891 of file btCollisionWorld.cpp.
Referenced by process().
Definition at line 890 of file btCollisionWorld.cpp.
Referenced by process().