Project SkyFire Core
SkyFire 5.4.8 server core API documentation
Loading...
Searching...
No Matches
VMAP::IntersectionCallBack< TValue > Class Template Reference

#include <VMapTools.h>

Public Member Functions

void operator() (const G3D::Ray &ray, const TValue *entity, bool pStopAtFirstHit, float &distance)

Public Attributes

TValue * closestEntity
G3D::Vector3 hitLocation
G3D::Vector3 hitNormal

Detailed Description

template<class TValue>
class VMAP::IntersectionCallBack< TValue >

Definition at line 23 of file VMapTools.h.

Member Function Documentation

◆ operator()()

template<class TValue>
void VMAP::IntersectionCallBack< TValue >::operator() ( const G3D::Ray & ray,
const TValue * entity,
bool pStopAtFirstHit,
float & distance )
inline

Definition at line 29 of file VMapTools.h.

References hitLocation, and hitNormal.

Member Data Documentation

◆ closestEntity

template<class TValue>
TValue* VMAP::IntersectionCallBack< TValue >::closestEntity

Definition at line 25 of file VMapTools.h.

◆ hitLocation

template<class TValue>
G3D::Vector3 VMAP::IntersectionCallBack< TValue >::hitLocation

Definition at line 26 of file VMapTools.h.

Referenced by operator()().

◆ hitNormal

template<class TValue>
G3D::Vector3 VMAP::IntersectionCallBack< TValue >::hitNormal

Definition at line 27 of file VMapTools.h.

Referenced by operator()().


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