Uncomment the fast renormalization of Rotation2.

This commit is contained in:
sebcrozet 2019-03-31 14:34:07 +02:00
parent 18b9f82042
commit 94a8babcdc
1 changed files with 0 additions and 2 deletions

View File

@ -193,7 +193,6 @@ impl<N: RealField> Rotation2<N> {
} }
/* FIXME: requires alga v0.9 to be released so that Complex implements VectorSpace.
/// Ensure this rotation is an orthonormal rotation matrix. This is useful when repeated /// Ensure this rotation is an orthonormal rotation matrix. This is useful when repeated
/// computations might cause the matrix from progressively not being orthonormal anymore. /// computations might cause the matrix from progressively not being orthonormal anymore.
#[inline] #[inline]
@ -203,7 +202,6 @@ impl<N: RealField> Rotation2<N> {
*self = Self::from_matrix_eps(self.matrix(), N::default_epsilon(), 0, c.into()) *self = Self::from_matrix_eps(self.matrix(), N::default_epsilon(), 0, c.into())
} }
*/
/// Raise the quaternion to a given floating power, i.e., returns the rotation with the angle /// Raise the quaternion to a given floating power, i.e., returns the rotation with the angle