From d5953568c8b3ce1980c4cd872251042c72ac07e9 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Mon, 9 Apr 2012 07:06:06 +0000 Subject: use 'const float[3]' for derived mesh callback args. --- source/blender/editors/util/crazyspace.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source/blender/editors/util') diff --git a/source/blender/editors/util/crazyspace.c b/source/blender/editors/util/crazyspace.c index d63ad7f58e6..504d296bda8 100644 --- a/source/blender/editors/util/crazyspace.c +++ b/source/blender/editors/util/crazyspace.c @@ -72,7 +72,8 @@ static void set_crazy_vertex_quat(float *quat, float *v1, float *v2, float *v3, } #undef TAN_MAKE_VEC -static void make_vertexcos__mapFunc(void *userData, int index, float *co, float *UNUSED(no_f), short *UNUSED(no_s)) +static void make_vertexcos__mapFunc(void *userData, int index, const float co[3], + const float UNUSED(no_f[3]), const short UNUSED(no_s[3])) { MappedUserData *mappedData = (MappedUserData *)userData; float *vec = mappedData->vertexcos; -- cgit v1.2.3