diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-01-05 15:12:21 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-01-05 15:20:33 +0400 |
commit | 99d050f88b57f4eb616542f064da8f47594559f1 (patch) | |
tree | 7907321b121c2bf78b05fe3e5b1ab410c1c22849 /source/blender/blenlib/intern | |
parent | 42bd5d7c8081a4f4524c07cc542c772ccf0a26eb (diff) |
Text3d: selection in editmode now follows rotated text along path
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/math_matrix.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_matrix.c b/source/blender/blenlib/intern/math_matrix.c index a4ea406ed43..c185fe1a16d 100644 --- a/source/blender/blenlib/intern/math_matrix.c +++ b/source/blender/blenlib/intern/math_matrix.c @@ -398,6 +398,11 @@ void mul_v2_m2v2(float r[2], float mat[2][2], const float vec[2]) r[1] = mat[0][1] * x + mat[1][1] * vec[1]; } +void mul_m2v2(float mat[2][2], float vec[2]) +{ + mul_v2_m2v2(vec, mat, vec); +} + /* same as mul_m4_v3() but doesnt apply translation component */ void mul_mat3_m4_v3(float mat[4][4], float vec[3]) { |