TrinityCore
VMAP::MapRayCallback Class Reference

Public Member Functions

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

Protected Attributes

ModelInstanceprims
 
bool hit
 
ModelIgnoreFlags flags
 

Detailed Description

Definition at line 35 of file MapTree.cpp.

Constructor & Destructor Documentation

◆ MapRayCallback()

VMAP::MapRayCallback::MapRayCallback ( ModelInstance val,
ModelIgnoreFlags  ignoreFlags 
)
inline

Definition at line 38 of file MapTree.cpp.

Member Function Documentation

◆ didHit()

bool VMAP::MapRayCallback::didHit ( )
inline

Definition at line 46 of file MapTree.cpp.

+ Here is the caller graph for this function:

◆ operator()()

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

Definition at line 39 of file MapTree.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ flags

ModelIgnoreFlags VMAP::MapRayCallback::flags
protected

Definition at line 50 of file MapTree.cpp.

◆ hit

bool VMAP::MapRayCallback::hit
protected

Definition at line 49 of file MapTree.cpp.

◆ prims

ModelInstance* VMAP::MapRayCallback::prims
protected

Definition at line 48 of file MapTree.cpp.


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