diff options
Diffstat (limited to 'src/ix2.h')
-rw-r--r-- | src/ix2.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -23,9 +23,10 @@ typedef struct bb2f_t bb2f_t; typedef struct v2f_t v2f_t; typedef enum ix2_search_status_t { - IX2_SEARCH_STOP, - IX2_SEARCH_IGNORE, - IX2_SEARCH_CONTINUE + IX2_SEARCH_STOP_MISS, /* stop && current object is a miss */ + IX2_SEARCH_STOP_HIT, /* stop && current object is a hit */ + IX2_SEARCH_MORE_MISS, /* continue && current object is a miss */ + IX2_SEARCH_MORE_HIT, /* continue && current object is a miss */ } 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); |