AzerothCore 3.3.5a
OpenSource WoW Emulator
Loading...
Searching...
No Matches
VMAP::AreaInfoCallback Class Reference

Public Member Functions

 AreaInfoCallback (ModelInstance *val)
 
void operator() (const Vector3 &point, uint32 entry)
 

Public Attributes

ModelInstanceprims
 
AreaInfo aInfo
 

Detailed Description

Constructor & Destructor Documentation

◆ AreaInfoCallback()

VMAP::AreaInfoCallback::AreaInfoCallback ( ModelInstance val)
inline
57: prims(val) {}
ModelInstance * prims
Definition: MapTree.cpp:66

Member Function Documentation

◆ operator()()

void VMAP::AreaInfoCallback::operator() ( const Vector3 &  point,
uint32  entry 
)
inline
59 {
60#if defined(VMAP_DEBUG)
61 LOG_DEBUG("maps", "AreaInfoCallback: trying to intersect '{}'", prims[entry].name);
62#endif
63 prims[entry].intersectPoint(point, aInfo);
64 }
#define LOG_DEBUG(filterType__,...)
Definition: Log.h:168
AreaInfo aInfo
Definition: MapTree.cpp:67
void intersectPoint(const G3D::Vector3 &p, AreaInfo &info) const
Definition: ModelInstance.cpp:66

References aInfo, VMAP::ModelInstance::intersectPoint(), LOG_DEBUG, and prims.

Member Data Documentation

◆ aInfo

AreaInfo VMAP::AreaInfoCallback::aInfo

◆ prims

ModelInstance* VMAP::AreaInfoCallback::prims

Referenced by operator()().