From de6af75d4d10c2f9b3321435cb669f75f471ff70 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 26 May 2012 16:04:31 +0000 Subject: code cleanup: use array size and const for vector args --- source/blender/editors/mesh/editmesh_bvh.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/editors/mesh/editmesh_bvh.c') diff --git a/source/blender/editors/mesh/editmesh_bvh.c b/source/blender/editors/mesh/editmesh_bvh.c index 16948a2372d..c5f8494836b 100644 --- a/source/blender/editors/mesh/editmesh_bvh.c +++ b/source/blender/editors/mesh/editmesh_bvh.c @@ -380,7 +380,7 @@ static BMFace *edge_ray_cast(BMBVHTree *tree, float *co, float *dir, float *hito return f; } -static void scale_point(float *c1, float *p, float s) +static void scale_point(float c1[3], const float p[3], const float s) { sub_v3_v3(c1, p); mul_v3_fl(c1, s); -- cgit v1.2.3