diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-05-29 18:26:05 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-05-29 18:26:32 +0400 |
commit | b2cad79500bb1af92153928479ca7d7144463e00 (patch) | |
tree | e34b336625b2795a371eab7dcc0fc67588f74699 /source/blender/blenlib/BLI_math_matrix.h | |
parent | 0780f5915b29ab7102bf1cb8bddd54774161d0d3 (diff) |
Math lib: add negate_m3, negate_m4
Diffstat (limited to 'source/blender/blenlib/BLI_math_matrix.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index 8ce78e5be63..d149ad73b04 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -111,6 +111,9 @@ void mul_m3_fl(float R[3][3], float f); 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[4][4]); +void negate_m4(float R[4][4]); + bool invert_m3_ex(float m[3][3], const float epsilon); bool invert_m3_m3_ex(float m1[3][3], float m2[3][3], const float epsilon); |