Age | Commit message (Collapse) | Author |
|
This basically amounts to adding a pad_reset() wrapper.
Also incorporated resets into the test, while fixing a stupid
bug there.
|
|
mechanical change syncing the test code with the aabb type rename
|
|
also use v2f_t everywhere for positions instead of
the occasional float x, float y.
|
|
|
|
libix2 implements a simple spatial index of objects described by
2D axis-aligned bounding boxes (AABB).
It does so by internally utilizing a traditional quadtree data
structure.
At this time only simple AABB and point search queries are
supported, with a simple per-match callback interface.
It may make sense to in the future add support for indexing
other 2D shapes than AABBs, like circles.
It would also make senes to add more interesting search queries
like radial ranges and such.
The intended use is for broad-phase collision detection in
2D games.
|