diff options
author | Germano <germano.costa@ig.com.br> | 2018-05-15 20:14:25 +0300 |
---|---|---|
committer | Germano <germano.costa@ig.com.br> | 2018-05-15 20:14:25 +0300 |
commit | 717dd4cecd2ea8eaa7b3bbfb5a5c7ec65f0337c0 (patch) | |
tree | d481c84a541de479ebccd8004168d42d7e47a322 /source/blender/blenlib/BLI_kdopbvh.h | |
parent | a2dd6fa58b66912bdebcc07c504212bac617f253 (diff) |
BLI_kdopbvh: Reference clip_planes callback to find nearest projected.
Clip_planes are an important parameter to be used in callbacks.
Diffstat (limited to 'source/blender/blenlib/BLI_kdopbvh.h')
-rw-r--r-- | source/blender/blenlib/BLI_kdopbvh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_kdopbvh.h b/source/blender/blenlib/BLI_kdopbvh.h index 76c3b6ef3fd..e7cbe05d713 100644 --- a/source/blender/blenlib/BLI_kdopbvh.h +++ b/source/blender/blenlib/BLI_kdopbvh.h @@ -107,6 +107,7 @@ typedef void (*BVHTree_RangeQuery)(void *userdata, int index, const float co[3], typedef void (*BVHTree_NearestProjectedCallback)( void *userdata, int index, const struct DistProjectedAABBPrecalc *precalc, + const float (*clip_plane)[4], const int clip_plane_len, BVHTreeNearest *nearest); |