Fix docs for unit_z on Vector3
This commit is contained in:
parent
ab1b186cbb
commit
fe8ec2beb9
1 changed files with 1 additions and 1 deletions
|
@ -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())
|
||||
|
|
Loading…
Reference in a new issue