Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
VMAP::MapRayCallback Class Reference
Collaboration diagram for VMAP::MapRayCallback:

Public Member Functions

bool didHit ()
 MapRayCallback (ModelInstance *val)
bool operator() (const G3D::Ray &ray, uint32 entry, float &distance, bool pStopAtFirstHit=true)

Protected Attributes

bool hit
ModelInstanceprims

Detailed Description

Definition at line 23 of file MapTree.cpp.

Constructor & Destructor Documentation

◆ MapRayCallback()

VMAP::MapRayCallback::MapRayCallback ( ModelInstance * val)
inlineexplicit

Definition at line 26 of file MapTree.cpp.

References hit, and prims.

Member Function Documentation

◆ didHit()

bool VMAP::MapRayCallback::didHit ( )
inline

Definition at line 34 of file MapTree.cpp.

References hit.

Referenced by VMAP::StaticMapTree::getIntersectionTime().

◆ operator()()

bool VMAP::MapRayCallback::operator() ( const G3D::Ray & ray,
uint32 entry,
float & distance,
bool pStopAtFirstHit = true )
inline

Definition at line 27 of file MapTree.cpp.

References hit, and prims.

Member Data Documentation

◆ hit

bool VMAP::MapRayCallback::hit
protected

Definition at line 37 of file MapTree.cpp.

Referenced by didHit(), MapRayCallback(), and operator()().

◆ prims

ModelInstance* VMAP::MapRayCallback::prims
protected

Definition at line 36 of file MapTree.cpp.

Referenced by MapRayCallback(), and operator()().


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