From 671f75a12a1d9e57d9f609148538bcb9cf8b3a46 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 6 Sep 2014 11:19:34 +1000 Subject: Math Lib: Add copy_m2_m2, unit_m2, zero_m2 --- source/blender/blenlib/BLI_math_matrix.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/blender/blenlib/BLI_math_matrix.h') diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index 7bcaab1f939..0eac92c1db9 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -38,12 +38,15 @@ extern "C" { /********************************* Init **************************************/ +void zero_m2(float R[2][2]); void zero_m3(float R[3][3]); void zero_m4(float R[4][4]); +void unit_m2(float R[2][2]); void unit_m3(float R[3][3]); void unit_m4(float R[4][4]); +void copy_m2_m2(float R[2][2], float A[2][2]); void copy_m3_m3(float R[3][3], float A[3][3]); void copy_m4_m4(float R[4][4], float A[4][4]); void copy_m3_m4(float R[3][3], float A[4][4]); -- cgit v1.2.3