19#ifndef DETOURPROXIMITYGRID_H
20#define DETOURPROXIMITYGRID_H
37 unsigned short* m_buckets;
46 bool init(
const int poolSize,
const float cellSize);
50 void addItem(
const unsigned short id,
51 const float minx,
const float miny,
52 const float maxx,
const float maxy);
54 int queryItems(
const float minx,
const float miny,
55 const float maxx,
const float maxy,
56 unsigned short* ids,
const int maxIds)
const;
58 int getItemCountAt(
const int x,
const int y)
const;
60 inline const int* getBounds()
const {
return m_bounds; }
61 inline float getCellSize()
const {
return m_cellSize; }
Definition DetourProximityGrid.h:23