diff options
author | Campbell Barton <ideasman42@gmail.com> | 2017-04-20 10:11:12 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2017-04-20 10:11:12 +0300 |
commit | 9bb8e46460f1993dc3af28868b9c7aa25029b508 (patch) | |
tree | 9a11854cb9aca64b94019b4daaeb502f33bce897 /source/blender/blenlib/intern/math_rotation.c | |
parent | 6c26911c3df6b02a0ee19899e71207f372b718b3 (diff) |
Docs: move note (was mixed up)
Diffstat (limited to 'source/blender/blenlib/intern/math_rotation.c')
-rw-r--r-- | source/blender/blenlib/intern/math_rotation.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c index 9b5dad3f767..fa58fe368d1 100644 --- a/source/blender/blenlib/intern/math_rotation.c +++ b/source/blender/blenlib/intern/math_rotation.c @@ -84,8 +84,6 @@ void mul_qt_qtqt(float q[4], const float q1[4], const float q2[4]) * \note: * Assumes a unit quaternion? * - * \note: multiplying by 3x3 matrix is ~25% faster. - * * in fact not, but you may want to use a unit quat, read on... * * Shortcut for 'q v q*' when \a v is actually a quaternion. @@ -98,6 +96,8 @@ void mul_qt_qtqt(float q[4], const float q1[4], const float q2[4]) * * For people used to python mathutils, its like: * def mul_qt_v3(q, v): (q * Quaternion((0.0, v[0], v[1], v[2])) * q.conjugated())[1:] + * + * \note: multiplying by 3x3 matrix is ~25% faster. */ void mul_qt_v3(const float q[4], float v[3]) { |