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:
authorNathan Letwory <nathan@letworyinteractive.com>2010-10-22 14:17:55 +0400
committerNathan Letwory <nathan@letworyinteractive.com>2010-10-22 14:17:55 +0400
commit6540bb1375b025ef0b65bc65a54b7f8ea6cfed8e (patch)
tree39a83f23534e1d998550d5a0d6455472527e34ca /source/blender/blenlib/intern/math_rotation.c
parent347900a3d6a9bd1b53fb8b8e48c4d7e9f7011ffe (diff)
Add some missing const's
Diffstat (limited to 'source/blender/blenlib/intern/math_rotation.c')
-rw-r--r--source/blender/blenlib/intern/math_rotation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c
index 7f615462ab0..7debdcdb015 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -624,7 +624,7 @@ void quat_to_axis_angle(float axis[3], float *angle, const float q[4])
}
/* Axis Angle to Euler Rotation */
-void axis_angle_to_eulO(float eul[3], short order, const float axis[3], const float angle)
+void axis_angle_to_eulO(float eul[3], const short order, const float axis[3], const float angle)
{
float q[4];
@@ -1175,7 +1175,7 @@ void mat3_to_eulO(float e[3], short order,float M[3][3])
}
/* Convert 4x4 matrix to Euler angles (in radians). */
-void mat4_to_eulO(float e[3], short order,float M[4][4])
+void mat4_to_eulO(float e[3], const short order,float M[4][4])
{
float m[3][3];