diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 05:25:53 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-02-20 05:58:46 +0300 |
commit | e233e492df50b9c49bb5c7808aab0ff87a6c8608 (patch) | |
tree | 67d1deaeab0eba08e0e0e389dadeb3b80211b8d5 /source/blender/blenlib | |
parent | 71d6fbcd516db196d68088319ede5d2ffd254d71 (diff) |
Cleanup: rename mul_m2v2 to mul_m2_v2
Matches mul_m3_v3
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 2 | ||||
-rw-r--r-- | source/blender/blenlib/intern/math_matrix.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index acefe18fd40..73731255882 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -188,7 +188,7 @@ void mul_v3_m4v3_db(double r[3], const double mat[4][4], const double vec[3]); void mul_v4_m4v3_db(double r[4], const double mat[4][4], const double vec[3]); void mul_v2_m4v3(float r[2], const float M[4][4], const float v[3]); void mul_v2_m2v2(float r[2], const float M[2][2], const float v[2]); -void mul_m2v2(const float M[2][2], float v[2]); +void mul_m2_v2(const float M[2][2], float v[2]); void mul_mat3_m4_v3(const float M[4][4], float r[3]); void mul_v3_mat3_m4v3(float r[3], const float M[4][4], const float v[3]); void mul_v3_mat3_m4v3_db(double r[3], const double M[4][4], const double v[3]); diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c index 86a08a42247..efc754acab1 100644 --- a/source/blender/blenlib/intern/math_matrix.c +++ b/source/blender/blenlib/intern/math_matrix.c @@ -744,7 +744,7 @@ void mul_v2_m2v2(float r[2], const float mat[2][2], const float vec[2]) r[1] = mat[0][1] * x + mat[1][1] * vec[1]; } -void mul_m2v2(const float mat[2][2], float vec[2]) +void mul_m2_v2(const float mat[2][2], float vec[2]) { mul_v2_m2v2(vec, mat, vec); } |