diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 04:34:00 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-04-01 08:22:28 +0400 |
commit | 617557b08ea94e2b65a1697ddf0b79651204d92b (patch) | |
tree | 50b24bab075b42fa20456140c9a9681cfb01325b /source/blender/blenlib/BLI_math_matrix.h | |
parent | 2c00ecc738c04dc5dc22d4a6b81a1e937526ba6d (diff) |
Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT define
Diffstat (limited to 'source/blender/blenlib/BLI_math_matrix.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_matrix.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source/blender/blenlib/BLI_math_matrix.h b/source/blender/blenlib/BLI_math_matrix.h index e3d9e40d272..7cfc8948baa 100644 --- a/source/blender/blenlib/BLI_math_matrix.h +++ b/source/blender/blenlib/BLI_math_matrix.h @@ -111,13 +111,13 @@ 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); -int invert_m3_ex(float m[3][3], const float epsilon); -int invert_m3_m3_ex(float m1[3][3], float m2[3][3], const float epsilon); +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); -int invert_m3(float R[3][3]); -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]); +bool invert_m3(float R[3][3]); +bool invert_m3_m3(float R[3][3], float A[3][3]); +bool invert_m4(float R[4][4]); +bool invert_m4_m4(float R[4][4], float A[4][4]); /* double ariphmetics */ void mul_m4_v4d(float M[4][4], double r[4]); |