diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-01-28 00:33:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-01-28 00:33:39 +0300 |
commit | 478dc000b3d65af48422154769641a3ecbe071d8 (patch) | |
tree | e727f48bb44ffbf518e33fab7726e14e9fb6a8c9 /source/blender/blenlib/intern | |
parent | fb7878a2c29338ee706b5add6a9a95b665616725 (diff) |
* Mathutils attributes documented - http://www.blender.org/documentation/250PythonDoc/Mathutils.html
* Vector.difference() needed normalized vectors
* bpy.DEUBG -> bpy.app.debug
Diffstat (limited to 'source/blender/blenlib/intern')
-rw-r--r-- | source/blender/blenlib/intern/math_rotation.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c index 61d5eeaaa2c..ef48b29ae21 100644 --- a/source/blender/blenlib/intern/math_rotation.c +++ b/source/blender/blenlib/intern/math_rotation.c @@ -327,6 +327,7 @@ void normalize_qt(float *q) } } +/* note: expects vectors to be normalized */ void rotation_between_vecs_to_quat(float *q, const float v1[3], const float v2[3]) { float axis[3]; |