Fixed a typo in a comment.
This commit is contained in:
parent
7223f69151
commit
f6ffd8d30b
|
@ -152,7 +152,7 @@ pub fn coordinate_system_from_vector(v: Vector) -> (Vector, Vector, Vector) {
|
||||||
/// from: The vector we're transforming.
|
/// from: The vector we're transforming.
|
||||||
/// toz: The vector whose space we are transforming "from" into.
|
/// toz: The vector whose space we are transforming "from" into.
|
||||||
///
|
///
|
||||||
/// Returns he transformed vector.
|
/// Returns the transformed vector.
|
||||||
pub fn zup_to_vec(from: Vector, toz: Vector) -> Vector {
|
pub fn zup_to_vec(from: Vector, toz: Vector) -> Vector {
|
||||||
let (toz, tox, toy) = coordinate_system_from_vector(toz.normalized());
|
let (toz, tox, toy) = coordinate_system_from_vector(toz.normalized());
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user