diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-02-01 14:32:34 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-02-01 19:24:47 +0400 |
commit | 5fce3457b79bccbbcfe9fad0ed6f1a04643cf71b (patch) | |
tree | 3893f68e5eac87ad03df3fb0c7041eaaab55c7e0 /source/blender/blenlib/BLI_math_rotation.h | |
parent | a9e7c7b8488637cb1afa9394263c537547ff87c4 (diff) |
Math lib: add axis_angle_normalized_to_quat, use when length is known
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_rotation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h index 42161279bfd..c9f553c6fa5 100644 --- a/source/blender/blenlib/BLI_math_rotation.h +++ b/source/blender/blenlib/BLI_math_rotation.h @@ -95,6 +95,7 @@ void print_qt(const char *str, const float q[4]); /******************************** Axis Angle *********************************/ /* conversion */ +void axis_angle_normalized_to_quat(float r[4], const float axis[3], const float angle); void axis_angle_to_quat(float r[4], const float axis[3], const float angle); void axis_angle_to_mat3(float R[3][3], const float axis[3], const float angle); void axis_angle_normalized_to_mat3(float R[3][3], const float axis[3], const float angle); |