Skip to content

Commit

Permalink
Correct typo in quaternion documentation (#559)
Browse files Browse the repository at this point in the history
Correct "looses" to "loses" in quaternion.rs documentation.
  • Loading branch information
bwhetherington authored and sebcrozet committed Feb 25, 2019
1 parent 704331b commit aeff67e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/geometry/quaternion.rs
Expand Up @@ -856,15 +856,15 @@ impl<N: Real> UnitQuaternion<N> {

/// Compute the exponential of a quaternion.
///
/// Note that this function yields a `Quaternion<N>` because it looses the unit property.
/// Note that this function yields a `Quaternion<N>` because it loses the unit property.
#[inline]
pub fn exp(&self) -> Quaternion<N> {
self.as_ref().exp()
}

/// Compute the natural logarithm of a quaternion.
///
/// Note that this function yields a `Quaternion<N>` because it looses the unit property.
/// Note that this function yields a `Quaternion<N>` because it loses the unit property.
/// The vector part of the return value corresponds to the axis-angle representation (divided
/// by 2.0) of this unit quaternion.
///
Expand Down

0 comments on commit aeff67e

Please sign in to comment.