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-09-11 00:45:47 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-09-11 00:45:47 +0400
commitab8d88ac18f7310889d11d21f94fdca400b428e0 (patch)
tree4745687538eee2c08ab0c6327f52a4799afbe924 /source/blender/blenlib/BLI_math_rotation.h
parent734eaab54542644f6a031858b4ca280cd565dc6a (diff)
add angle_to_mat2 utility function.
Diffstat (limited to 'source/blender/blenlib/BLI_math_rotation.h')
-rw-r--r--source/blender/blenlib/BLI_math_rotation.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/blenlib/BLI_math_rotation.h b/source/blender/blenlib/BLI_math_rotation.h
index 87c065f3016..42161279bfd 100644
--- a/source/blender/blenlib/BLI_math_rotation.h
+++ b/source/blender/blenlib/BLI_math_rotation.h
@@ -104,7 +104,8 @@ void quat_to_axis_angle(float axis[3], float *angle, const float q[4]);
void mat3_to_axis_angle(float axis[3], float *angle, float M[3][3]);
void mat4_to_axis_angle(float axis[3], float *angle, float M[4][4]);
-void single_axis_angle_to_mat3(float R[3][3], const char axis, const float angle);
+void axis_angle_to_mat3_single(float R[3][3], const char axis, const float angle);
+void angle_to_mat2(float R[2][2], const float angle);
/******************************** XYZ Eulers *********************************/