From 0badb6c804c24d5d5f5b78e8711fcb76b7f5ee6b Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 5 Oct 2017 21:06:04 +1100 Subject: Cleanup: rename dist -> depth Prepare to add code that stores distance to the ray, avoid confusion. --- source/blender/blenkernel/intern/pbvh_intern.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenkernel/intern/pbvh_intern.h') diff --git a/source/blender/blenkernel/intern/pbvh_intern.h b/source/blender/blenkernel/intern/pbvh_intern.h index 01057318568..7d75930b3c6 100644 --- a/source/blender/blenkernel/intern/pbvh_intern.h +++ b/source/blender/blenkernel/intern/pbvh_intern.h @@ -185,11 +185,11 @@ void pbvh_grow_nodes(PBVH *bvh, int totnode); bool ray_face_intersection_quad( const float ray_start[3], const float ray_normal[3], const float *t0, const float *t1, const float *t2, const float *t3, - float *r_dist); + float *depth); bool ray_face_intersection_tri( const float ray_start[3], const float ray_normal[3], const float *t0, const float *t1, const float *t2, - float *r_dist); + float *depth); void pbvh_update_BB_redraw(PBVH *bvh, PBVHNode **nodes, int totnode, int flag); /* pbvh_bmesh.c */ -- cgit v1.2.3