diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-07-28 23:46:33 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-07-28 23:46:33 +0400 |
commit | c754eaa0f9ace116250d232f806beabb27d28951 (patch) | |
tree | 067c60f7b7a1e7b2fd58598149f14a07c0edeb6d /source/blender/blenlib/BLI_math_vector.h | |
parent | fc4a7775112045c604bef0eacbe1dc3cc609d0f3 (diff) |
add inline functions getting a single axis from mul_m3_v3()
Diffstat (limited to 'source/blender/blenlib/BLI_math_vector.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_vector.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_vector.h b/source/blender/blenlib/BLI_math_vector.h index 304e2ea7fde..6be679a90b6 100644 --- a/source/blender/blenlib/BLI_math_vector.h +++ b/source/blender/blenlib/BLI_math_vector.h @@ -116,6 +116,9 @@ MINLINE void mul_v3_v3v3(float r[3], const float a[3], const float b[3]); MINLINE void mul_v4_fl(float r[4], float f); MINLINE void mul_v4_v4fl(float r[3], const float a[3], float f); MINLINE float mul_project_m4_v3_zfac(float mat[4][4], const float co[3]); +MINLINE float mul_m3_v3_single_x(float M[3][3], const float a[3]); +MINLINE float mul_m3_v3_single_y(float M[3][3], const float a[3]); +MINLINE float mul_m3_v3_single_z(float M[3][3], const float a[3]); MINLINE void madd_v3_v3fl(float r[3], const float a[3], float f); MINLINE void madd_v3_v3v3(float r[3], const float a[3], const float b[3]); |