Bullet Collision Detection & Physics Library
|
#include <btCollisionWorld.h>
Public Member Functions | |
ClosestRayResultCallback (const btVector3 &rayFromWorld, const btVector3 &rayToWorld) | |
virtual btScalar | addSingleResult (LocalRayResult &rayResult, bool normalInWorldSpace) |
Public Member Functions inherited from btCollisionWorld::RayResultCallback | |
virtual | ~RayResultCallback () |
bool | hasHit () const |
RayResultCallback () | |
virtual bool | needsCollision (btBroadphaseProxy *proxy0) const |
virtual btScalar | addSingleResult (LocalRayResult &rayResult, bool normalInWorldSpace)=0 |
Public Attributes | |
btVector3 | m_rayFromWorld |
btVector3 | m_rayToWorld |
btVector3 | m_hitNormalWorld |
btVector3 | m_hitPointWorld |
Public Attributes inherited from btCollisionWorld::RayResultCallback | |
btScalar | m_closestHitFraction |
const btCollisionObject * | m_collisionObject |
int | m_collisionFilterGroup |
int | m_collisionFilterMask |
unsigned int | m_flags |
Definition at line 232 of file btCollisionWorld.h.
|
inline |
Definition at line 234 of file btCollisionWorld.h.
|
inlinevirtual |
need to transform normal into worldspace
Implements btCollisionWorld::RayResultCallback.
Reimplemented in btKinematicClosestNotMeRayResultCallback.
Definition at line 246 of file btCollisionWorld.h.
btVector3 btCollisionWorld::ClosestRayResultCallback::m_hitNormalWorld |
Definition at line 243 of file btCollisionWorld.h.
btVector3 btCollisionWorld::ClosestRayResultCallback::m_hitPointWorld |
Definition at line 244 of file btCollisionWorld.h.
btVector3 btCollisionWorld::ClosestRayResultCallback::m_rayFromWorld |
Definition at line 240 of file btCollisionWorld.h.
btVector3 btCollisionWorld::ClosestRayResultCallback::m_rayToWorld |
Definition at line 241 of file btCollisionWorld.h.