diff options
author | mano-wii <germano.costa@ig.com.br> | 2017-07-13 02:43:28 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2017-07-13 02:43:28 +0300 |
commit | 2771f602e6f03b284f3b2852494962ba6ded7e9d (patch) | |
tree | c801b8c666392e41352eba53acffd8180942e2f2 /source/blender | |
parent | 457596d4df7be80c8ed47dd2d07952588771192d (diff) |
Snap System: remove unused function
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/editors/transform/transform_snap_object.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/source/blender/editors/transform/transform_snap_object.c b/source/blender/editors/transform/transform_snap_object.c index fa17ab34cf9..52fb8411f92 100644 --- a/source/blender/editors/transform/transform_snap_object.c +++ b/source/blender/editors/transform/transform_snap_object.c @@ -262,17 +262,6 @@ MINLINE float depth_get(const float co[3], const float ray_start[3], const float return dot_v3v3(dvec, ray_dir); } -static float UNUSED_FUNCTION(dist_aabb_to_plane)( - const float bbmin[3], const float bbmax[3], - const float plane_co[3], const float plane_no[3]) -{ - const float local_bvmin[3] = { - (plane_no[0] < 0) ? bbmax[0] : bbmin[0], - (plane_no[1] < 0) ? bbmax[1] : bbmin[1], - (plane_no[2] < 0) ? bbmax[2] : bbmin[2], - }; - return depth_get(local_bvmin, plane_co, plane_no); -} static bool walk_parent_bvhroot_cb(const BVHTreeAxisRange *bounds, void *userdata) { @@ -285,6 +274,7 @@ static bool walk_parent_bvhroot_cb(const BVHTreeAxisRange *bounds, void *userdat return false; } + static bool isect_ray_bvhroot_v3(struct BVHTree *tree, const float ray_start[3], const float ray_dir[3], float *depth) { BVHTreeRay ray; |