TrinityCore
DynamicTreeIntersectionCallback Struct Reference

Public Member Functions

 DynamicTreeIntersectionCallback (PhaseShift const &phaseShift)
 
bool operator() (G3D::Ray const &r, GameObjectModel const &obj, float &distance)
 
bool didHit () const
 

Private Attributes

bool _didHit
 
PhaseShift const & _phaseShift
 

Detailed Description

Definition at line 140 of file DynamicTree.cpp.

Constructor & Destructor Documentation

◆ DynamicTreeIntersectionCallback()

DynamicTreeIntersectionCallback::DynamicTreeIntersectionCallback ( PhaseShift const &  phaseShift)
inline

Definition at line 142 of file DynamicTree.cpp.

Member Function Documentation

◆ didHit()

bool DynamicTreeIntersectionCallback::didHit ( ) const
inline

Definition at line 150 of file DynamicTree.cpp.

+ Here is the caller graph for this function:

◆ operator()()

bool DynamicTreeIntersectionCallback::operator() ( G3D::Ray const &  r,
GameObjectModel const &  obj,
float &  distance 
)
inline

Definition at line 144 of file DynamicTree.cpp.

+ Here is the call graph for this function:

Member Data Documentation

◆ _didHit

bool DynamicTreeIntersectionCallback::_didHit
private

Definition at line 153 of file DynamicTree.cpp.

◆ _phaseShift

PhaseShift const& DynamicTreeIntersectionCallback::_phaseShift
private

Definition at line 154 of file DynamicTree.cpp.


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