Panda3D
Public Member Functions | Static Public Member Functions | Friends | List of all members
BulletAllHitsRayResult Struct Reference
Inheritance diagram for BulletAllHitsRayResult:

Public Member Functions

virtual btScalar addSingleResult (btCollisionWorld::LocalRayResult &rayResult, bool normalInWorldSpace)
 Override default implementation. More...
 
PN_stdfloat get_closest_hit_fraction () const
 
LPoint3 get_from_pos () const
 
const BulletRayHit get_hit (int idx) const
 
int get_num_hits () const
 
LPoint3 get_to_pos () const
 
bool has_hits () const
 
 MAKE_SEQ (get_hits, get_num_hits, get_hit)
 
virtual bool needsCollision (btBroadphaseProxy *proxy0) const
 Override default implementation. More...
 

Static Public Member Functions

static BulletAllHitsRayResult empty ()
 Named constructor intended to be used for asserts with have to return a concrete value. More...
 

Friends

class BulletWorld
 

Detailed Description

Definition at line 60 of file bulletAllHitsRayResult.h.

Member Function Documentation

◆ addSingleResult()

btScalar BulletAllHitsRayResult::addSingleResult ( btCollisionWorld::LocalRayResult &  rayResult,
bool  normalInWorldSpace 
)
virtual

Override default implementation.

Definition at line 49 of file bulletAllHitsRayResult.cxx.

References BulletRayHit::empty().

Referenced by needsCollision().

◆ empty()

BulletAllHitsRayResult BulletAllHitsRayResult::empty ( )
inlinestatic

Named constructor intended to be used for asserts with have to return a concrete value.

Definition at line 23 of file bulletAllHitsRayResult.I.

References BitMask< PN_uint32, 32 >::all_on(), and BulletRayHit::empty().

Referenced by BulletWorld::remove_constraint().

◆ needsCollision()

bool BulletAllHitsRayResult::needsCollision ( btBroadphaseProxy *  proxy0) const
virtual

Override default implementation.

Definition at line 34 of file bulletAllHitsRayResult.cxx.

References addSingleResult().


The documentation for this struct was generated from the following files: