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>2015-11-12 10:36:23 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-11-12 10:54:26 +0300
commit60505728d9bff2963235fedc808d1e5e3b2a2ade (patch)
tree490a6dc5f06a4b6eb7c9a179fb38af36c7ff003b /source/blender/blenlib/intern/math_rotation.c
parentd75bca1842fcea6af3f8b398b498d3e4ab91dbc5 (diff)
Correct error in own matrix normalize commit
Diffstat (limited to 'source/blender/blenlib/intern/math_rotation.c')
-rw-r--r--source/blender/blenlib/intern/math_rotation.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c
index f89f6225a90..d962e4f0fa7 100644
--- a/source/blender/blenlib/intern/math_rotation.c
+++ b/source/blender/blenlib/intern/math_rotation.c
@@ -1224,9 +1224,9 @@ void mat3_normalized_to_eul(float eul[3], float mat[3][3])
}
void mat3_to_eul(float eul[3], float mat[3][3])
{
- float tmat[3][3];
- normalize_m3_m3(tmat, mat);
- mat3_normalized_to_eul(eul, mat);
+ float unit_mat[3][3];
+ normalize_m3_m3(unit_mat, mat);
+ mat3_normalized_to_eul(eul, unit_mat);
}
/* XYZ order */