3#include <RecastPlugin/Components/PointOfInterestGraph.h>
5template <
typename POINTTYPE>
9 m_Octree.CreateTree(vCenter, vHalfExtents, fCellSize);
12template <
typename POINTTYPE>
15 const plUInt32
id = m_Points.GetCount();
16 auto& pt = m_Points.ExpandAndGetRef();
18 m_Octree.InsertObject(vPosition,
plVec3::MakeZero(), 0,
id,
nullptr,
true).IgnoreResult();
23template <
typename POINTTYPE>
26 if (m_Octree.IsEmpty())
35 data.m_pResults = &out_points;
38 auto pData =
static_cast<Data*
>(pPassThrough);
40 const plUInt32
id = (plUInt32)
object.Value().m_iObjectInstance;
46 m_Octree.FindObjectsInRange(vPosition, fRadius, cb, &data);
void PushBack(const T &value)
Pushes value at the end of the array.
Definition ArrayBase_inl.h:333
Definition DynamicArray.h:81
Definition PointOfInterestGraph.h:9
static plVec3Template< float > MakeZero()
Definition Vec3.h:38
Base class for all iterators.
Definition Map.h:11