diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-09-03 15:34:49 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-09-03 16:43:14 +0300 |
commit | 459d76ec5106a949f85c121a3d977a65af560f4c (patch) | |
tree | 02b1579388bb1c63a93647073d647566dc466c3d /source/blender/blenlib/BLI_kdtree.h | |
parent | 9c1cc35be2b46d88ecdc331ccfd3b5063c5b82d7 (diff) |
BLI_kdtree: utility function to remove doubles
Diffstat (limited to 'source/blender/blenlib/BLI_kdtree.h')
-rw-r--r-- | source/blender/blenlib/BLI_kdtree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_kdtree.h b/source/blender/blenlib/BLI_kdtree.h index aa54e1c823c..18908f8c551 100644 --- a/source/blender/blenlib/BLI_kdtree.h +++ b/source/blender/blenlib/BLI_kdtree.h @@ -66,6 +66,10 @@ void BLI_kdtree_range_search_cb( const KDTree *tree, const float co[3], float range, bool (*search_cb)(void *user_data, int index, const float co[3], float dist_sq), void *user_data); +int BLI_kdtree_calc_duplicates_fast( + const KDTree *tree, const float range, bool use_index_order, + int *doubles); + /* Normal use is deprecated */ /* remove __normal functions when last users drop */ int BLI_kdtree_find_nearest_n__normal( |