diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-06-13 03:19:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-06-13 03:19:52 +0400 |
commit | 1a625d1416e5caaaa21a2dcc1fb00e66a1911758 (patch) | |
tree | 5ccb34b18d0444d5011a6140e478a577359b6733 /source/blender/editors/mesh/editmesh_bvh.h | |
parent | b0038ae4996993f1dd808babe402e2e390933330 (diff) |
code cleanup: use const float's where possible and specify vector size.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bvh.h')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bvh.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_bvh.h b/source/blender/editors/mesh/editmesh_bvh.h index 6512f054c1b..53d1c36119e 100644 --- a/source/blender/editors/mesh/editmesh_bvh.h +++ b/source/blender/editors/mesh/editmesh_bvh.h @@ -57,8 +57,8 @@ int BMBVH_EdgeVisible(struct BMBVHTree *tree, struct BMEdge *e, struct ARegion *ar, struct View3D *v3d, struct Object *obedit); /*find a vert closest to co in a sphere of radius maxdist*/ -struct BMVert *BMBVH_FindClosestVert(struct BMBVHTree *tree, float *co, float maxdist); - +struct BMVert *BMBVH_FindClosestVert(struct BMBVHTree *tree, const float co[3], const float maxdist); + /* BMBVH_NewBVH flag parameter */ enum { BMBVH_USE_CAGE = 1, /* project geometry onto modifier cage */ |