Blender Git Commit Log

Git Commits -> Revision d6f9ba7

Revision d6f9ba7 by Campbell Barton (master)
November 17, 2015, 23:51 (GMT)
KDTree: add BLI_kdtree_range_search_cb

This performs a range search on the kdtree, running a callback instead of allocating an array.

Allows the caller to perform extra checks in the case of overlap,
avoids redundant array allocations, since caller can handle matches.

Commit Details:

Full Hash: d6f9ba76a5cee06aa9ec795b4611216434a1a9cf
Parent Commit: 1dc1e9e
Lines Changed: +91, -0

2 Modified Paths:

/source/blender/blenlib/BLI_kdtree.h (+4, -0) (Diff)
/source/blender/blenlib/intern/BLI_kdtree.c (+87, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021