13# if defined(__GNUC__) && (__GNUC__ >= 3)
30#define _MUL 950706376UL
31#define _MOD 2147483647UL
72 Cell *found_cell =
nullptr;
74 GridHashTable::const_iterator found =
_cells.find(p);
75 if (found !=
_cells.end()) {
76 found_cell = (*found).second;
Base class to define a cell grid surrounding the bounding box of the scene.
map< Vec3u, Cell * > GridHashTable
virtual void configure(const Vec3r &orig, const Vec3r &size, uint nb)
virtual Cell * getCell(const Vec3u &p)
virtual void fillCell(const Vec3u &p, Cell &cell)
size_t operator()(const Vec3u &p) const