mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-20 11:53:49 +01:00
clarify vector.normalized
This commit is contained in:
parent
ba2f90e679
commit
3017ab710e
1 changed files with 1 additions and 1 deletions
|
@ -30,7 +30,7 @@ Calculates the magnitude of a given vector.
|
|||
|
||||
`vector.normalized(vec: vector): vector`
|
||||
|
||||
Returns the normalized version (aka unit vector) of a given vector. If a zero vector is passed, return `0`. `vector(0, 0, 0):normalized()` should return zero.
|
||||
Returns the normalized version (aka unit vector) of a given vector. If a zero vector is passed, return zero. For further clarification, `vector.normalized(vector(0, 0, 0))` should return zero.
|
||||
|
||||
`vector.cross(vecA: vector, vecB: vector): vector`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue