diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-10-04 05:12:40 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-10-04 05:15:15 +0300 |
commit | 357acd1d5053b2ff9c8a09b9b6ad2e170c10b875 (patch) | |
tree | b741ffc6a2fb113d06ff5b0fe521f6b597bbe1ec /source/blender/blenlib/intern/math_vector_inline.c | |
parent | e43fcc014a288706818d1fa19918511802ff98d9 (diff) |
Cleanup: pass arguments as const
Diffstat (limited to 'source/blender/blenlib/intern/math_vector_inline.c')
-rw-r--r-- | source/blender/blenlib/intern/math_vector_inline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/math_vector_inline.c b/source/blender/blenlib/intern/math_vector_inline.c index ddfdaffb706..8be066bb0e9 100644 --- a/source/blender/blenlib/intern/math_vector_inline.c +++ b/source/blender/blenlib/intern/math_vector_inline.c @@ -991,7 +991,7 @@ MINLINE void add_newell_cross_v3_v3v3(float n[3], const float v_prev[3], const f n[2] += (v_prev[0] - v_curr[0]) * (v_prev[1] + v_curr[1]); } -MINLINE void star_m3_v3(float rmat[3][3], float a[3]) +MINLINE void star_m3_v3(float rmat[3][3], const float a[3]) { rmat[0][0] = rmat[1][1] = rmat[2][2] = 0.0; rmat[0][1] = -a[2]; |