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>2013-05-08 16:54:33 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-05-08 16:54:33 +0400
commit5c4f96af2c9fc5afc676cf132e8171a66a973d1b (patch)
tree3085a2024f8bd07ea2b14a71c6003aaec24c3179 /source/blender/editors/sculpt_paint
parent62db610220867bb2b68a338b5fb8a2893f45fa80 (diff)
code cleanup: use 'const float[2]' where possible.
Diffstat (limited to 'source/blender/editors/sculpt_paint')
-rw-r--r--source/blender/editors/sculpt_paint/paint_image_proj.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/sculpt_paint/paint_image_proj.c b/source/blender/editors/sculpt_paint/paint_image_proj.c
index d2badbaa156..3dff3c7846a 100644
--- a/source/blender/editors/sculpt_paint/paint_image_proj.c
+++ b/source/blender/editors/sculpt_paint/paint_image_proj.c
@@ -496,7 +496,7 @@ static int project_paint_PickFace(const ProjPaintState *ps, const float pt[2], f
}
/* Converts a uv coord into a pixel location wrapping if the uv is outside 0-1 range */
-static void uvco_to_wrapped_pxco(float uv[2], int ibuf_x, int ibuf_y, float *x, float *y)
+static void uvco_to_wrapped_pxco(const float uv[2], int ibuf_x, int ibuf_y, float *x, float *y)
{
/* use */
*x = (float)fmodf(uv[0], 1.0f);