diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-10-30 14:13:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-10-30 14:15:14 +0300 |
commit | c2dc51d8271bc91586ef3c731c3cd7382456d482 (patch) | |
tree | 0f36251263eb41d779cdcd027f3588a03da6110e /source/blender/blenlib/BLI_math_matrix.h | |
parent | 4ff87446690edd15e49d5f8610db150428690a98 (diff) |
Math Lib: add transpose_m3_m3, m3_m4, m4_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 e58e42f3c2d..ee8b53037b0 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -144,7 +144,10 @@ void mul_v4d_m4v4d(double r[4], float M[4][4], double v[4]); /****************************** Linear Algebra *******************************/ void transpose_m3(float R[3][3]); +void transpose_m3_m3(float R[3][3], float A[3][3]); +void transpose_m3_m4(float R[3][3], float A[4][4]); void transpose_m4(float R[4][4]); +void transpose_m4_m4(float R[4][4], float A[4][4]); int compare_m4m4(float mat1[4][4], float mat2[4][4], float limit); |