Fix docs for unit_z on Vector3

This commit is contained in:
Aceeri 2017-12-03 17:57:37 -08:00
parent ab1b186cbb
commit fe8ec2beb9

View file

@ -651,7 +651,7 @@ impl<S: BaseNum> Vector3<S> {
Vector3::new(S::zero(), S::one(), S::zero()) Vector3::new(S::zero(), S::one(), S::zero())
} }
/// A unit vector in the `w` direction. /// A unit vector in the `z` direction.
#[inline] #[inline]
pub fn unit_z() -> Vector3<S> { pub fn unit_z() -> Vector3<S> {
Vector3::new(S::zero(), S::zero(), S::one()) Vector3::new(S::zero(), S::zero(), S::one())