Merge pull request #440 from Aceeri/vector3unitz

Fix docs for unit_z on Vector3
This commit is contained in:
Brendan Zabarauskas 2017-12-31 15:37:19 +11:00 committed by GitHub
commit 38a7a7acfa
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -651,7 +651,7 @@ impl<S: BaseNum> Vector3<S> {
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<S> {
Vector3::new(S::zero(), S::zero(), S::one())