Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
DynamicTreeIntersectionCallback Struct Reference

Public Member Functions

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

Public Attributes

bool did_hit
uint32 phase_mask

Detailed Description

Definition at line 134 of file DynamicTree.cpp.

Constructor & Destructor Documentation

◆ DynamicTreeIntersectionCallback()

DynamicTreeIntersectionCallback::DynamicTreeIntersectionCallback ( uint32 phasemask)
inlineexplicit

Definition at line 138 of file DynamicTree.cpp.

References did_hit, and phase_mask.

Member Function Documentation

◆ didHit()

bool DynamicTreeIntersectionCallback::didHit ( ) const
inline

Definition at line 144 of file DynamicTree.cpp.

References did_hit.

Referenced by DynamicMapTree::getHeight(), and DynamicMapTree::getIntersectionTime().

◆ operator()()

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

Definition at line 139 of file DynamicTree.cpp.

References did_hit, GameObjectModel::intersectRay(), and phase_mask.

Member Data Documentation

◆ did_hit

bool DynamicTreeIntersectionCallback::did_hit

◆ phase_mask

uint32 DynamicTreeIntersectionCallback::phase_mask

Definition at line 137 of file DynamicTree.cpp.

Referenced by DynamicTreeIntersectionCallback(), and operator()().


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