Bullet Collision Detection & Physics Library
|
Public Member Functions | |
btSingleRayCallback (const btVector3 &rayFromWorld, const btVector3 &rayToWorld, const btCollisionWorld *world, btCollisionWorld::RayResultCallback &resultCallback) | |
virtual bool | process (const btBroadphaseProxy *proxy) |
Public Member Functions inherited from btBroadphaseRayCallback | |
virtual | ~btBroadphaseRayCallback () |
Public Member Functions inherited from btBroadphaseAabbCallback | |
virtual | ~btBroadphaseAabbCallback () |
Public Attributes | |
btVector3 | m_rayFromWorld |
btVector3 | m_rayToWorld |
btTransform | m_rayFromTrans |
btTransform | m_rayToTrans |
btVector3 | m_hitNormal |
const btCollisionWorld * | m_world |
btCollisionWorld::RayResultCallback & | m_resultCallback |
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 851 of file btCollisionWorld.cpp.
|
inline |
what about division by zero? –> just set rayDirection[i] to INF/BT_LARGE_FLOAT
Definition at line 863 of file btCollisionWorld.cpp.
|
inlinevirtual |
terminate further ray tests, once the closestHitFraction reached zero
Implements btBroadphaseAabbCallback.
Definition at line 891 of file btCollisionWorld.cpp.
btVector3 btSingleRayCallback::m_hitNormal |
Definition at line 858 of file btCollisionWorld.cpp.
btTransform btSingleRayCallback::m_rayFromTrans |
Definition at line 856 of file btCollisionWorld.cpp.
btVector3 btSingleRayCallback::m_rayFromWorld |
Definition at line 854 of file btCollisionWorld.cpp.
btTransform btSingleRayCallback::m_rayToTrans |
Definition at line 857 of file btCollisionWorld.cpp.
btVector3 btSingleRayCallback::m_rayToWorld |
Definition at line 855 of file btCollisionWorld.cpp.
btCollisionWorld::RayResultCallback& btSingleRayCallback::m_resultCallback |
Definition at line 861 of file btCollisionWorld.cpp.
const btCollisionWorld* btSingleRayCallback::m_world |
Definition at line 860 of file btCollisionWorld.cpp.