summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2018-11-28libix3: disambiguate ix3_search_status_tVito Caputo
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;
2018-11-27libix3: add ix3_reset()Vito Caputo
This basically amounts to a pad_reset() wrapper. Also incorporated resets into the test, while fixing a stupid bug there.
2018-11-27libix3: pivot from libc allocator to libpadVito Caputo
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.
2018-11-27*: incorporate libpad submoduleVito Caputo
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.
2018-10-31libix3: trivial whitespace fixupsVito Caputo
2018-10-03libix3: make split_node() staticVito Caputo
This is a private helper function.
2018-09-30libix3: initial commitVito Caputo
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.
© All Rights Reserved