Math: Code cleanup

Remove stray #undef directives.
This commit is contained in:
Sergej Reich 2014-01-17 20:44:34 +01:00
parent 8e3a6bc876
commit a025ff407e
1 changed files with 0 additions and 5 deletions

View File

@ -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 ***************************/