Correct typo in quaternion documentation (#559)

Correct "looses" to "loses" in quaternion.rs documentation.
This commit is contained in:
Benjamin Hetherington 2019-02-25 11:34:13 -05:00 committed by Sébastien Crozet
parent 704331be4f
commit aeff67ecbd
1 changed files with 2 additions and 2 deletions

View File

@ -856,7 +856,7 @@ 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()
@ -864,7 +864,7 @@ impl<N: Real> UnitQuaternion<N> {
/// 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.
///