diff options
author | Sergej Reich <sergej.reich@googlemail.com> | 2014-01-17 23:44:34 +0400 |
---|---|---|
committer | Sergej Reich <sergej.reich@googlemail.com> | 2014-01-17 23:44:34 +0400 |
commit | a025ff407ec9c300cc2039bbb7f4b13cb466ac8b (patch) | |
tree | 76ea811a73352d8fb6750a0c511bb8dd0890ada7 /source/blender/blenlib/intern/math_rotation.c | |
parent | 8e3a6bc876517ba6284ed3acf713756e9a9cb6bd (diff) |
Math: Code cleanup
Remove stray #undef directives.
Diffstat (limited to 'source/blender/blenlib/intern/math_rotation.c')
-rw-r--r-- | source/blender/blenlib/intern/math_rotation.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/source/blender/blenlib/intern/math_rotation.c b/source/blender/blenlib/intern/math_rotation.c index 536b4d79385..6559c3723bb 100644 --- a/source/blender/blenlib/intern/math_rotation.c +++ b/source/blender/blenlib/intern/math_rotation.c @@ -1048,7 +1048,6 @@ void rotate_eul(float beul[3], const char axis, const float ang) mul_m3_m3m3(totmat, mat2, mat1); mat3_to_eul(beul, totmat); - } /* order independent! */ @@ -1088,9 +1087,6 @@ void compatible_eul(float eul[3], const float oldrot[3]) if (deul[2] > 0.0f) eul[2] -= pi_x2; else eul[2] += pi_x2; } - -#undef PI_THRESH -#undef PI_2F } /* uses 2 methods to retrieve eulers, and picks the closest */ @@ -1116,7 +1112,6 @@ void mat3_to_compatible_eul(float eul[3], const float oldrot[3], float mat[3][3] else { copy_v3_v3(eul, eul1); } - } /************************** Arbitrary Order Eulers ***************************/ |