diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-07 15:56:13 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-07 15:56:13 +0300 |
commit | 48e089375ebe4aeb30d60e9d8ef6f467280cf07d (patch) | |
tree | af4675f9b8489fb49b68a9a9d977a098e645f640 /source/blender/modifiers/intern/MOD_uvwarp.c | |
parent | b134434224254d4ac3fc73d023f2f6d914746690 (diff) |
Cleanup: pass arrays const where possible
Diffstat (limited to 'source/blender/modifiers/intern/MOD_uvwarp.c')
-rw-r--r-- | source/blender/modifiers/intern/MOD_uvwarp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/blender/modifiers/intern/MOD_uvwarp.c b/source/blender/modifiers/intern/MOD_uvwarp.c index f7d05501b84..adc89f1b954 100644 --- a/source/blender/modifiers/intern/MOD_uvwarp.c +++ b/source/blender/modifiers/intern/MOD_uvwarp.c @@ -49,7 +49,9 @@ #include "MOD_ui_common.h" #include "MOD_util.h" -static void uv_warp_from_mat4_pair(float uv_dst[2], const float uv_src[2], float warp_mat[4][4]) +static void uv_warp_from_mat4_pair(float uv_dst[2], + const float uv_src[2], + const float warp_mat[4][4]) { float tuv[3] = {0.0f}; |