Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2012-04-09 11:06:06 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-04-09 11:06:06 +0400
commitd5953568c8b3ce1980c4cd872251042c72ac07e9 (patch)
treeeec6f202ec31fb274f918ca5e88006f5fa57e982 /source/blender/editors/util
parentf5bb4635c6d023775689450c453cb76f917f2ee3 (diff)
use 'const float[3]' for derived mesh callback args.
Diffstat (limited to 'source/blender/editors/util')
-rw-r--r--source/blender/editors/util/crazyspace.c3
1 files changed, 2 insertions, 1 deletions
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;