summaryrefslogtreecommitdiff
path: root/src/ix2.h
diff options
context:
space:
mode:
authorVito Caputo <vcaputo@pengaru.com>2018-12-14 03:59:20 -0800
committerVito Caputo <vcaputo@pengaru.com>2018-12-14 03:59:20 -0800
commit6935461dbb1355b2df62c8694a07b6b9ad309bf2 (patch)
treecf55181c5dbbce2d797102b53b673e1a3943f724 /src/ix2.h
parent8269bfb5dc9448b7e245b2edf01e741ded3bab1c (diff)
libix2: support nested area searches
See 6ea78c53 in libix3 for more info, this replicates the change to keep them in something resembling API parity.
Diffstat (limited to 'src/ix2.h')
-rw-r--r--src/ix2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ix2.h b/src/ix2.h
index 2785f36..d41216e 100644
--- a/src/ix2.h
+++ b/src/ix2.h
@@ -31,7 +31,7 @@ typedef enum ix2_search_status_t {
typedef ix2_search_status_t (ix2_search_cb)(void *cb_context, ix2_object_t *ix2_object, v2f_t *ix2_object_position, bb2f_t *ix2_object_aabb, void *object);
-ix2_t * ix2_new(bb2f_t *aabb, unsigned max_per_node, unsigned max_depth);
+ix2_t * ix2_new(bb2f_t *aabb, unsigned max_per_node, unsigned max_depth, unsigned max_asip);
void ix2_reset(ix2_t *ix2);
void ix2_free(ix2_t *ix2);
ix2_object_t * ix2_object_new(ix2_t *ix2, v2f_t *position, v2f_t *origin, bb2f_t *aabb, void *object);
© All Rights Reserved