[Bf-blender-cvs] [e2486ac] temp-mathutils: no need to use mul_vn_fl when size is known
Campbell Barton
noreply at git.blender.org
Sun Feb 1 12:40:53 CET 2015
Commit: e2486ac65cfcafae8226a8fc9bdf5c6dff3f0b8a
Author: Campbell Barton
Date: Sun Feb 1 22:40:34 2015 +1100
Branches: temp-mathutils
https://developer.blender.org/rBe2486ac65cfcafae8226a8fc9bdf5c6dff3f0b8a
no need to use mul_vn_fl when size is known
===================================================================
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 2d7388a..3d5d47b 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -1027,7 +1027,7 @@ void quat_normalized_to_expmap(float expmap[3], const float q[4])
quat_to_axis_angle(expmap, &angle, q);
/* Convert to exponential map. */
- mul_vn_fl(expmap, 3, angle);
+ mul_v3_fl(expmap, angle);
}
void quat_to_expmap(float expmap[3], const float q[4])
More information about the Bf-blender-cvs
mailing list