diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-10-30 17:26:41 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2014-10-30 17:31:18 +0300 |
commit | af9da0be438812ee95698ae3e9adbbb49ba6b825 (patch) | |
tree | b9262c0866dbfda318fc64b5f9f306a73abc41a6 /source/blender/blenlib/BLI_math_matrix.h | |
parent | f07cd77b48c1d70a59bad895e1165e6b7cf7bb2d (diff) |
Complementary fix for rB8054372: Follow the common naming scheme by
using negate_mat3_m4 instead of negate_m4.
This avoids changing the behavior and only flips the 3x3 part of the
matrix.
Diffstat (limited to 'source/blender/blenlib/BLI_math_matrix.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index ee8b53037b0..45972d03175 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -126,6 +126,7 @@ void mul_m4_fl(float R[4][4], float f); void mul_mat3_m4_fl(float R[4][4], float f); void negate_m3(float R[3][3]); +void negate_mat3_m4(float R[4][4]); void negate_m4(float R[4][4]); bool invert_m3_ex(float m[3][3], const float epsilon); |