Panda3D
Public Member Functions | Static Public Member Functions | Friends | List of all members
BulletRayHit Struct Reference

Public Member Functions

PN_stdfloat get_hit_fraction () const
 
LVector3 get_hit_normal () const
 
LPoint3 get_hit_pos () const
 
const PandaNodeget_node () const
 
int get_shape_part () const
 
int get_triangle_index () const
 

Static Public Member Functions

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

Friends

struct BulletAllHitsRayResult
 

Detailed Description

Definition at line 31 of file bulletAllHitsRayResult.h.

Member Function Documentation

◆ empty()

BulletRayHit BulletRayHit::empty ( )
inlinestatic

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

Definition at line 38 of file bulletAllHitsRayResult.I.

Referenced by BulletAllHitsRayResult::addSingleResult(), and BulletAllHitsRayResult::empty().


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