Back to index

supertuxkart  0.5+dfsg1
Public Member Functions | Public Attributes
btCollisionWorld::RayResultCallback Struct Reference

RayResultCallback is used to report new raycast results. More...

#include <btCollisionWorld.h>

Inheritance diagram for btCollisionWorld::RayResultCallback:
Inheritance graph
[legend]

List of all members.

Public Member Functions

virtual ~RayResultCallback ()
bool HasHit ()
 RayResultCallback ()
virtual btScalar AddSingleResult (LocalRayResult &rayResult, bool normalInWorldSpace)=0

Public Attributes

btScalar m_closestHitFraction
btCollisionObject * m_collisionObject

Detailed Description

RayResultCallback is used to report new raycast results.

Definition at line 167 of file btCollisionWorld.h.


Constructor & Destructor Documentation

Definition at line 172 of file btCollisionWorld.h.

              {
              }

Definition at line 180 of file btCollisionWorld.h.


Member Function Documentation

virtual btScalar btCollisionWorld::RayResultCallback::AddSingleResult ( LocalRayResult rayResult,
bool  normalInWorldSpace 
) [pure virtual]

Implemented in btCollisionWorld::ClosestRayResultCallback.

Here is the caller graph for this function:

Definition at line 175 of file btCollisionWorld.h.

              {
                     return (m_collisionObject != 0);
              }

Here is the caller graph for this function:


Member Data Documentation

Definition at line 169 of file btCollisionWorld.h.

Definition at line 170 of file btCollisionWorld.h.


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