iji2dgrid is a grid that can be used to accelerate broadphase queries, or for coarse collision detection. iji2dgrid is optimized for (low) memory consumption first and foremost.
iji2dgrid supports user configurable per grid- item and cell data.
Usage examples+tests is at the bottom of the file in the IJI2DGRID_TEST section.
Dual licensed under 3-Clause BSD and unlicense, choose whichever you prefer.