diff options
Diffstat (limited to 'source/blender/blenlib/BLI_math_matrix.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index 328b5614f52..de4bd203eb6 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -103,6 +103,11 @@ int invert_m3_m3(float R[3][3], float A[3][3]); int invert_m4(float R[4][4]); int invert_m4_m4(float R[4][4], float A[4][4]); +/* double ariphmetics */ +void mul_m4_v4d(float M[4][4], double r[4]); +void mul_v4d_m4v4d(double r[4], float M[4][4], double v[4]); + + /****************************** Linear Algebra *******************************/ void transpose_m3(float R[3][3]); |