From fe8ec2beb9d48c51f96ca65b2640f1837004fbae Mon Sep 17 00:00:00 2001 From: Aceeri Date: Sun, 3 Dec 2017 17:57:37 -0800 Subject: [PATCH] Fix docs for unit_z on Vector3 --- src/vector.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vector.rs b/src/vector.rs index 8d2ec86..8613baf 100644 --- a/src/vector.rs +++ b/src/vector.rs @@ -651,7 +651,7 @@ impl Vector3 { Vector3::new(S::zero(), S::one(), S::zero()) } - /// A unit vector in the `w` direction. + /// A unit vector in the `z` direction. #[inline] pub fn unit_z() -> Vector3 { Vector3::new(S::zero(), S::zero(), S::one())