Skip to content

Commit

Permalink
Uncomment the fast renormalization of Rotation2.
Browse files Browse the repository at this point in the history
  • Loading branch information
sebcrozet committed Mar 31, 2019
1 parent 18b9f82 commit 94a8bab
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/geometry/rotation_specialization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
/// computations might cause the matrix from progressively not being orthonormal anymore.
#[inline]
Expand All @@ -203,7 +202,6 @@ impl<N: RealField> Rotation2<N> {

*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
Expand Down

0 comments on commit 94a8bab

Please sign in to comment.