mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-20 03:44:05 +01:00
Change vector.unit
to be vector.normalized
This commit is contained in:
parent
946af7bc12
commit
10925130cb
1 changed files with 2 additions and 2 deletions
|
@ -28,9 +28,9 @@ Due to the common usage of vectors, vector creation should be ergonomic. Therefo
|
|||
|
||||
Calculates the magnitude of a given vector.
|
||||
|
||||
`vector.unit(vec: vector): vector`
|
||||
`vector.normalized(vec: vector): vector`
|
||||
|
||||
Returns the unit vector (aka normalized vector) of a given vector.
|
||||
Returns the normalized version (aka unit vector) of a given vector.
|
||||
|
||||
`vector.cross(vecA: vector, vecB: vector): vector`
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue