diff options
Diffstat (limited to 'source/blender/blenlib/BLI_math_matrix.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index edfe53bc938..c2dafbe3a1a 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -238,6 +238,7 @@ bool invert_m3_ex(float m[3][3], float epsilon); bool invert_m3_m3_ex(float m1[3][3], const float m2[3][3], float epsilon); bool invert_m3(float R[3][3]); +bool invert_m2_m2(float R[2][2], const float A[2][2]); bool invert_m3_m3(float R[3][3], const float A[3][3]); bool invert_m4(float R[4][4]); bool invert_m4_m4(float R[4][4], const float A[4][4]); @@ -374,7 +375,7 @@ void invert_m3_m3_safe_ortho(float Ainv[3][3], const float A[3][3]); * A safe version of invert that uses valid axes, calculating the zero'd axis * based on the non-zero ones. * - * This works well for transformation matrices, when a single axis is zerod. + * This works well for transformation matrices, when a single axis is zeroed. */ void invert_m4_m4_safe_ortho(float Ainv[4][4], const float A[4][4]); |