From 0547a7753643f45861306542857d97215ecb2c4f Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 14 Sep 2019 08:10:50 +1000 Subject: Cleanup: use const args, variables --- source/blender/editors/uvedit/uvedit_unwrap_ops.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'source/blender/editors/uvedit/uvedit_unwrap_ops.c') diff --git a/source/blender/editors/uvedit/uvedit_unwrap_ops.c b/source/blender/editors/uvedit/uvedit_unwrap_ops.c index 2d8f40ea5af..1db038bef94 100644 --- a/source/blender/editors/uvedit/uvedit_unwrap_ops.c +++ b/source/blender/editors/uvedit/uvedit_unwrap_ops.c @@ -1258,7 +1258,7 @@ static void uv_map_rotation_matrix_ex(float result[4][4], float upangledeg, float sideangledeg, float radius, - float offset[4]) + const float offset[4]) { float rotup[4][4], rotside[4][4], viewmatrix[4][4], rotobj[4][4]; float sideangle = 0.0f, upangle = 0.0f; @@ -2035,9 +2035,9 @@ void UV_OT_reset(wmOperatorType *ot) /****************** Sphere Project operator ***************/ static void uv_sphere_project(float target[2], - float source[3], - float center[3], - float rotmat[4][4]) + const float source[3], + const float center[3], + const float rotmat[4][4]) { float pv[3]; @@ -2162,9 +2162,9 @@ void UV_OT_sphere_project(wmOperatorType *ot) /***************** Cylinder Project operator **************/ static void uv_cylinder_project(float target[2], - float source[3], - float center[3], - float rotmat[4][4]) + const float source[3], + const float center[3], + const float rotmat[4][4]) { float pv[3]; -- cgit v1.2.3