From d1bd33407da3183335805beec561c18e6f5aa6e0 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Thu, 13 Feb 2020 14:01:52 +1100 Subject: Cleanup: pass const variables --- source/blender/editors/sculpt_paint/sculpt.c | 2 +- source/blender/editors/sculpt_paint/sculpt_intern.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/sculpt_paint') diff --git a/source/blender/editors/sculpt_paint/sculpt.c b/source/blender/editors/sculpt_paint/sculpt.c index 92c74538fd1..e2def28137f 100644 --- a/source/blender/editors/sculpt_paint/sculpt.c +++ b/source/blender/editors/sculpt_paint/sculpt.c @@ -1111,7 +1111,7 @@ bool sculpt_brush_test_circle_sq(SculptBrushTest *test, const float co[3]) bool sculpt_brush_test_cube(SculptBrushTest *test, const float co[3], - float local[4][4], + const float local[4][4], const float roundness) { float side = M_SQRT1_2; diff --git a/source/blender/editors/sculpt_paint/sculpt_intern.h b/source/blender/editors/sculpt_paint/sculpt_intern.h index 0edac0f1b16..53c2c0ce51f 100644 --- a/source/blender/editors/sculpt_paint/sculpt_intern.h +++ b/source/blender/editors/sculpt_paint/sculpt_intern.h @@ -289,7 +289,7 @@ bool sculpt_brush_test_sphere_sq(SculptBrushTest *test, const float co[3]); bool sculpt_brush_test_sphere_fast(const SculptBrushTest *test, const float co[3]); bool sculpt_brush_test_cube(SculptBrushTest *test, const float co[3], - float local[4][4], + const float local[4][4], const float roundness); bool sculpt_brush_test_circle_sq(SculptBrushTest *test, const float co[3]); bool sculpt_search_sphere_cb(PBVHNode *node, void *data_v); -- cgit v1.2.3