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>2014-02-01 14:32:34 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-02-01 19:24:47 +0400
commit5fce3457b79bccbbcfe9fad0ed6f1a04643cf71b (patch)
tree3893f68e5eac87ad03df3fb0c7041eaaab55c7e0 /source/blender/editors/transform/transform_manipulator.c
parenta9e7c7b8488637cb1afa9394263c537547ff87c4 (diff)
Math lib: add axis_angle_normalized_to_quat, use when length is known
Diffstat (limited to 'source/blender/editors/transform/transform_manipulator.c')
-rw-r--r--source/blender/editors/transform/transform_manipulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/transform/transform_manipulator.c b/source/blender/editors/transform/transform_manipulator.c
index fc4e5fcb8e5..98afa2a3c46 100644
--- a/source/blender/editors/transform/transform_manipulator.c
+++ b/source/blender/editors/transform/transform_manipulator.c
@@ -162,7 +162,7 @@ static void stats_editbone(RegionView3D *rv3d, EditBone *ebo)
}
/* could move into BLI_math however this is only useful for display/editing purposes */
-static void axis_angle_to_gimbal_axis(float gmat[3][3], float axis[3], float angle)
+static void axis_angle_to_gimbal_axis(float gmat[3][3], const float axis[3], const float angle)
{
/* X/Y are arbitrary axies, most importantly Z is the axis of rotation */