19#ifndef DETOURLOCALBOUNDARY_H
20#define DETOURLOCALBOUNDARY_H
22#include "DetourNavMeshQuery.h"
27 static const int MAX_LOCAL_SEGS = 8;
28 static const int MAX_LOCAL_POLYS = 16;
37 Segment m_segs[MAX_LOCAL_SEGS];
43 void addSegment(
const float dist,
const float* s);
51 void update(
dtPolyRef ref,
const float* pos,
const float collisionQueryRange,
56 inline const float* getCenter()
const {
return m_center; }
57 inline int getSegmentCount()
const {
return m_nsegs; }
58 inline const float* getSegment(
int i)
const {
return m_segs[i].s; }
Definition DetourLocalBoundary.h:26
Definition DetourNavMeshQuery.h:166
Definition DetourNavMeshQuery.h:36
unsigned int dtPolyRef
Definition DetourNavMesh.h:48