diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-04-09 11:06:06 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-04-09 11:06:06 +0400 |
commit | d5953568c8b3ce1980c4cd872251042c72ac07e9 (patch) | |
tree | eec6f202ec31fb274f918ca5e88006f5fa57e982 /source/blender/editors/mesh/editmesh_bvh.c | |
parent | f5bb4635c6d023775689450c453cb76f917f2ee3 (diff) |
use 'const float[3]' for derived mesh callback args.
Diffstat (limited to 'source/blender/editors/mesh/editmesh_bvh.c')
-rw-r--r-- | source/blender/editors/mesh/editmesh_bvh.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/mesh/editmesh_bvh.c b/source/blender/editors/mesh/editmesh_bvh.c index 37c4897cede..f9c673010f3 100644 --- a/source/blender/editors/mesh/editmesh_bvh.c +++ b/source/blender/editors/mesh/editmesh_bvh.c @@ -69,8 +69,8 @@ typedef struct BMBVHTree { Scene *scene; } BMBVHTree; -static void cage_mapped_verts_callback(void *userData, int index, float *co, - float *UNUSED(no_f), short *UNUSED(no_s)) +static void cage_mapped_verts_callback(void *userData, int index, const float co[3], + const float UNUSED(no_f[3]), const short UNUSED(no_s[3])) { void **data = userData; BMEditMesh *em = data[0]; |