Fix typo in documentation

This commit is contained in:
Hanno Braun 2023-06-19 14:02:19 +02:00
parent 9057567673
commit 81f3252ea6

View File

@ -79,7 +79,7 @@ impl<const D: usize> Line<D> {
/// Access the direction of the line /// Access the direction of the line
/// ///
/// The length of this vector defines the unit of the line's curve /// The length of this vector defines the unit of the line's curve
/// coordinate system. The coordinate `1.` is always were the direction /// coordinate system. The coordinate `1.` is always where the direction
/// vector points, from `origin`. /// vector points, from `origin`.
pub fn direction(&self) -> Vector<D> { pub fn direction(&self) -> Vector<D> {
self.direction self.direction