[Bf-blender-cvs] [9bb8e46460f] master: Docs: move note (was mixed up)
Campbell Barton
noreply at git.blender.org
Thu Apr 20 09:10:10 CEST 2017
Commit: 9bb8e46460f1993dc3af28868b9c7aa25029b508
Author: Campbell Barton
Date: Thu Apr 20 17:11:12 2017 +1000
Branches: master
https://developer.blender.org/rB9bb8e46460f1993dc3af28868b9c7aa25029b508
Docs: move note (was mixed up)
===================================================================
M source/blender/blenlib/intern/math_rotation.c
===================================================================
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])
{
More information about the Bf-blender-cvs
mailing list