diff options
Diffstat (limited to 'source/blender/blenlib/BLI_kdtree.h')
-rw-r--r-- | source/blender/blenlib/BLI_kdtree.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/BLI_kdtree.h b/source/blender/blenlib/BLI_kdtree.h index ebf03b5bc67..a3ecfb898c3 100644 --- a/source/blender/blenlib/BLI_kdtree.h +++ b/source/blender/blenlib/BLI_kdtree.h @@ -50,7 +50,7 @@ void BLI_kdtree_insert( KDTree *tree, int index, const float co[3]) ATTR_NONNULL(1, 3); int BLI_kdtree_find_nearest( - KDTree *tree, const float co[3], + const KDTree *tree, const float co[3], KDTreeNearest *r_nearest) ATTR_NONNULL(1, 2); #define BLI_kdtree_find_nearest_n(tree, co, r_nearest, n) \ @@ -61,11 +61,11 @@ int BLI_kdtree_find_nearest( /* Normal use is deprecated */ /* remove __normal functions when last users drop */ int BLI_kdtree_find_nearest_n__normal( - KDTree *tree, const float co[3], const float nor[3], + const KDTree *tree, const float co[3], const float nor[3], KDTreeNearest *r_nearest, unsigned int n) ATTR_NONNULL(1, 2, 4); int BLI_kdtree_range_search__normal( - KDTree *tree, const float co[3], const float nor[3], + const KDTree *tree, const float co[3], const float nor[3], KDTreeNearest **r_nearest, float range) ATTR_NONNULL(1, 2, 4) ATTR_WARN_UNUSED_RESULT; |