From 478dc000b3d65af48422154769641a3ecbe071d8 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 27 Jan 2010 21:33:39 +0000 Subject: * Mathutils attributes documented - http://www.blender.org/documentation/250PythonDoc/Mathutils.html * Vector.difference() needed normalized vectors * bpy.DEUBG -> bpy.app.debug --- source/blender/blenlib/intern/math_rotation.c | 1 + 1 file changed, 1 insertion(+) (limited to 'source/blender/blenlib') 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]; -- cgit v1.2.3