TrinityCore
Loading...
Searching...
No Matches
VMAP::WModelRayCallBack Struct Reference

Public Member Functions

 WModelRayCallBack (std::vector< GroupModel > const &mod)
 
bool operator() (G3D::Ray const &ray, uint32 entry, float &distance, bool pStopAtFirstHit)
 

Public Attributes

GroupModel const * models
 
bool hit
 

Detailed Description

Definition at line 477 of file WorldModel.cpp.

Constructor & Destructor Documentation

◆ WModelRayCallBack()

VMAP::WModelRayCallBack::WModelRayCallBack ( std::vector< GroupModel > const &  mod)
inline

Definition at line 479 of file WorldModel.cpp.

Member Function Documentation

◆ operator()()

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

Definition at line 480 of file WorldModel.cpp.

References hit, VMAP::GroupModel::IntersectRay(), and models.

Member Data Documentation

◆ hit

bool VMAP::WModelRayCallBack::hit

Definition at line 485 of file WorldModel.cpp.

Referenced by VMAP::WorldModel::IntersectRay(), and operator()().

◆ models

GroupModel const* VMAP::WModelRayCallBack::models

Definition at line 484 of file WorldModel.cpp.

Referenced by operator()().


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