diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-05-26 20:04:31 +0400 |
commit | de6af75d4d10c2f9b3321435cb669f75f471ff70 (patch) | |
tree | 157d517fca16c709b7125d460b05cce275480720 /source/blender/editors/mesh/editmesh_bvh.c | |
parent | ae919658d4a371772dce7a78113f828d10efeeaa (diff) |
code cleanup: use array size and const for vector args
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bvh.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bvh.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |