|
Project SkyFire Core
SkyFire 5.4.8 server core API documentation
|
#include <DynamicTree.h>
Public Member Functions | |
| void | balance () |
| bool | contains (const GameObjectModel &) const |
| DynamicMapTree () | |
| float | getHeight (float x, float y, float z, float maxSearchDist, uint32 phasemask) const |
| bool | getIntersectionTime (uint32 phasemask, const G3D::Ray &ray, const G3D::Vector3 &endPos, float &maxDist) const |
| bool | getObjectHitPos (uint32 phasemask, const G3D::Vector3 &pPos1, const G3D::Vector3 &pPos2, G3D::Vector3 &pResultHitPos, float pModifyDist) const |
| void | insert (const GameObjectModel &) |
| bool | isInLineOfSight (float x1, float y1, float z1, float x2, float y2, float z2, uint32 phasemask) const |
| void | remove (const GameObjectModel &) |
| int | size () const |
| void | update (uint32 diff) |
| ~DynamicMapTree () | |
Private Attributes | |
| DynTreeImpl * | impl |
Definition at line 21 of file DynamicTree.h.
| DynamicMapTree::DynamicMapTree | ( | ) |
Definition at line 97 of file DynamicTree.cpp.
References impl.
| DynamicMapTree::~DynamicMapTree | ( | ) |
Definition at line 99 of file DynamicTree.cpp.
References impl.
| void DynamicMapTree::balance | ( | ) |
Definition at line 119 of file DynamicTree.cpp.
References impl.
| bool DynamicMapTree::contains | ( | const GameObjectModel & | mdl | ) | const |
Definition at line 114 of file DynamicTree.cpp.
References impl.
| float DynamicMapTree::getHeight | ( | float | x, |
| float | y, | ||
| float | z, | ||
| float | maxSearchDist, | ||
| uint32 | phasemask ) const |
Definition at line 236 of file DynamicTree.cpp.
References DynamicTreeIntersectionCallback::didHit(), and impl.
| bool DynamicMapTree::getIntersectionTime | ( | uint32 | phasemask, |
| const G3D::Ray & | ray, | ||
| const G3D::Vector3 & | endPos, | ||
| float & | maxDist ) const |
Definition at line 169 of file DynamicTree.cpp.
References DynamicTreeIntersectionCallback::didHit(), and impl.
Referenced by getObjectHitPos().
| bool DynamicMapTree::getObjectHitPos | ( | uint32 | phasemask, |
| const G3D::Vector3 & | pPos1, | ||
| const G3D::Vector3 & | pPos2, | ||
| G3D::Vector3 & | pResultHitPos, | ||
| float | pModifyDist ) const |
Definition at line 180 of file DynamicTree.cpp.
References ASSERT, and getIntersectionTime().
| void DynamicMapTree::insert | ( | const GameObjectModel & | mdl | ) |
Definition at line 104 of file DynamicTree.cpp.
References impl.
| bool DynamicMapTree::isInLineOfSight | ( | float | x1, |
| float | y1, | ||
| float | z1, | ||
| float | x2, | ||
| float | y2, | ||
| float | z2, | ||
| uint32 | phasemask ) const |
Definition at line 220 of file DynamicTree.cpp.
References DynamicTreeIntersectionCallback::did_hit, and impl.
| void DynamicMapTree::remove | ( | const GameObjectModel & | mdl | ) |
Definition at line 109 of file DynamicTree.cpp.
References impl.
| int DynamicMapTree::size | ( | ) | const |
Definition at line 124 of file DynamicTree.cpp.
References impl.
| void DynamicMapTree::update | ( | uint32 | diff | ) |
Definition at line 129 of file DynamicTree.cpp.
References impl.
|
private |
Definition at line 23 of file DynamicTree.h.
Referenced by balance(), contains(), DynamicMapTree(), getHeight(), getIntersectionTime(), insert(), isInLineOfSight(), remove(), size(), update(), and ~DynamicMapTree().