Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2010-01-28 00:33:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-01-28 00:33:39 +0300
commit478dc000b3d65af48422154769641a3ecbe071d8 (patch)
treee727f48bb44ffbf518e33fab7726e14e9fb6a8c9 /source/blender/blenlib
parentfb7878a2c29338ee706b5add6a9a95b665616725 (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')
-rw-r--r--source/blender/blenlib/intern/math_rotation.c1
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];