Blender Git Commit Log
Git Commits -> Revision 0719d5f
Revision 0719d5f by Campbell Barton (master) March 19, 2019, 13:30 (GMT) |
BLI_kdtree: refactor to support different numbers of dimensions This moves logic into kdtree_impl.h which is included in a source file that defines the number of dimensions - so we can easily support different numbers of dimensions as needed (currently 3D and 4D are supported). Macro use isn't so nice but avoids a lot of duplicate code. |
Commit Details:
Full Hash: 0719d5fa0c8244feb70efa330b10f103a6da2f3c
Parent Commit: e72dc66
Lines Changed: +1072, -921
4 Added Paths:
/source/blender/blenlib/BLI_kdtree_impl.h (+86, -0) (View)
/source/blender/blenlib/intern/kdtree_3d.c (+25, -0) (View)
/source/blender/blenlib/intern/kdtree_4d.c (+25, -0) (View)
/source/blender/blenlib/intern/kdtree_impl.h (+912, -0) (View)
/source/blender/blenlib/intern/kdtree_3d.c (+25, -0) (View)
/source/blender/blenlib/intern/kdtree_4d.c (+25, -0) (View)
/source/blender/blenlib/intern/kdtree_impl.h (+912, -0) (View)
1 Deleted Path:
/source/blender/blenlib/intern/BLI_kdtree.c (+0, -867)