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>2013-02-19 08:37:28 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-02-19 08:37:28 +0400
commitc68d5325d0706305937372e42bd981197440de24 (patch)
treea05ad791acc1fd82a8cb7dd3862599b275b03e27 /source/blender/blenlib/BLI_math_rotation.h
parent926e0e7eb71726fdd1be3f9d299bf3d9c3ad0a7a (diff)
fix for [#34283] wasn't working in my tests (attached to original report),
made bone roll get compatible angle values with the original roll.
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r--source/blender/blenlib/BLI_math_rotation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h
index e349a05ac23..5ba37d70ca5 100644
--- a/source/blender/blenlib/BLI_math_rotation.h
+++ b/source/blender/blenlib/BLI_math_rotation.h
@@ -186,6 +186,8 @@ float fov_to_focallength(float fov, float sensor);
float angle_wrap_rad(float angle);
float angle_wrap_deg(float angle);
+float angle_compat_rad(float angle, float angle_compat);
+
int mat3_from_axis_conversion(int from_forward, int from_up, int to_forward, int to_up,
float r_mat[3][3]);