AzerothCore 3.3.5a
OpenSource WoW Emulator
|
Public Member Functions | |
MDLCallback (RayCallback &callback, const T *const *objects_array, uint32 objects_size) | |
bool | operator() (const G3D::Ray &ray, uint32 idx, float &maxDist, bool stopAtFirstHit) |
Intersect ray. More... | |
void | operator() (const G3D::Vector3 &p, uint32 idx) |
Intersect point. More... | |
Public Attributes | |
const T *const * | objects |
RayCallback & | _callback |
uint32 | objects_size |
|
inline |
|
inline |
Intersect ray.
References BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::_callback, BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::objects, and BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::objects_size.
|
inline |
Intersect point.
References BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::_callback, BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::objects, and BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::objects_size.
RayCallback& BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::_callback |
const T* const* BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::objects |
uint32 BIHWrap< T, BoundsFunc >::MDLCallback< RayCallback >::objects_size |