Age | Commit message (Collapse) | Author |
|
Previously one could only say stop/ignore/continue from the
search callback.
There was no way to say stop and ignore, or stop but don't ignore.
Now there are basically two classes of returns, stop and continue,
and each of those have ignore/don't ignore sub-statuses. The naming
is changed to STOP vs. MORE and HIT vs. MISS for brevity:
typedef enum ix3_search_status_t {
IX3_SEARCH_STOP_MISS,
IX3_SEARCH_STOP_HIT,
IX3_SEARCH_MORE_MISS,
IX3_SEARCH_MORE_HIT,
} ix3_search_status_t;
|
|
This basically amounts to a pad_reset() wrapper.
Also incorporated resets into the test, while fixing a stupid
bug there.
|
|
Note libpad doesn't currently support a fixed size variant, so
the pad_get() calls must provide a size for now.
Nonetheless there are still distinct pad instances used for the
separate allocation domains, when libpad gets a fixed variant
it'll be a trivial change here to adopt it.
|
|
In preparation of adding an ix3_reset() method, pull in the
libpad allocator which will be used for caching all allocations
instead of the libc allocator, and a convenient fast reset.
|
|
|
|
This is a private helper function.
|
|
This is a straightforward 3D conversion of libix2, the API is
completely unchanged aside from dimensional types going from
2->3.
Rather than a quadtree with 4 children per parent, this uses an
octree with 8 children. Otherwise it's basically identical to
libix2.
|