Fix doc-test for vector slerp.

This commit is contained in:
sebcrozet 2019-12-23 23:41:18 +01:00 committed by Sébastien Crozet
parent 5f4a0c7b13
commit e911bfc7db
1 changed files with 3 additions and 3 deletions

View File

@ -1622,10 +1622,10 @@ impl<N: RealField, D: Dim, S: Storage<N, D>> Unit<Vector<N, D, S>> {
/// # Examples: /// # Examples:
/// ///
/// ``` /// ```
/// # use nalgebra::Vector2; /// # use nalgebra::{Unit, Vector2};
/// ///
/// let v1 = Vector2::new(1.0, 2.0); /// let v1 = Unit::new_normalize(Vector2::new(1.0, 2.0));
/// let v2 = Vector2::new(2.0, -3.0); /// let v2 = Unit::new_normalize(Vector2::new(2.0, -3.0));
/// ///
/// let v = v1.slerp(&v2, 1.0); /// let v = v1.slerp(&v2, 1.0);
/// ///