Bullet Collision Detection & Physics Library
|
#include <btCollisionWorld.h>
Public Member Functions | |
AllHitsRayResultCallback (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 | |
btAlignedObjectArray< const btCollisionObject * > | m_collisionObjects |
btVector3 | m_rayFromWorld |
btVector3 | m_rayToWorld |
btAlignedObjectArray< btVector3 > | m_hitNormalWorld |
btAlignedObjectArray< btVector3 > | m_hitPointWorld |
btAlignedObjectArray< btScalar > | m_hitFractions |
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 267 of file btCollisionWorld.h.
|
inline |
Definition at line 269 of file btCollisionWorld.h.
|
inlinevirtual |
need to transform normal into worldspace
Implements btCollisionWorld::RayResultCallback.
Definition at line 284 of file btCollisionWorld.h.
btAlignedObjectArray<const btCollisionObject*> btCollisionWorld::AllHitsRayResultCallback::m_collisionObjects |
Definition at line 275 of file btCollisionWorld.h.
btAlignedObjectArray<btScalar> btCollisionWorld::AllHitsRayResultCallback::m_hitFractions |
Definition at line 282 of file btCollisionWorld.h.
btAlignedObjectArray<btVector3> btCollisionWorld::AllHitsRayResultCallback::m_hitNormalWorld |
Definition at line 280 of file btCollisionWorld.h.
btAlignedObjectArray<btVector3> btCollisionWorld::AllHitsRayResultCallback::m_hitPointWorld |
Definition at line 281 of file btCollisionWorld.h.
btVector3 btCollisionWorld::AllHitsRayResultCallback::m_rayFromWorld |
Definition at line 277 of file btCollisionWorld.h.
btVector3 btCollisionWorld::AllHitsRayResultCallback::m_rayToWorld |
Definition at line 278 of file btCollisionWorld.h.