Fix unintentional change

This commit is contained in:
George Burton 2018-12-18 14:46:29 +00:00
parent 9c37c51203
commit 6a4323d0ea

View File

@ -568,7 +568,7 @@ impl<N: Real> Rotation3<N> {
/// # use nalgebra::{Unit, Rotation3, Vector3}; /// # use nalgebra::{Unit, Rotation3, Vector3};
/// let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0)); /// let axis = Unit::new_normalize(Vector3::new(1.0, 2.0, 3.0));
/// let rot = Rotation3::from_axis_angle(&axis, 1.78); /// let rot = Rotation3::from_axis_angle(&axis, 1.78);
/// assert_eq!(rot.angle(), 1.78); /// assert_relative_eq!(rot.angle(), 1.78);
/// ``` /// ```
#[inline] #[inline]
pub fn angle(&self) -> N { pub fn angle(&self) -> N {