mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-19 19:34:00 +01:00
Clarify min and max functions
This commit is contained in:
parent
9966eae9e5
commit
946af7bc12
1 changed files with 2 additions and 2 deletions
|
@ -54,11 +54,11 @@ Returns the angle between two vectors.
|
||||||
|
|
||||||
`vector.max(input: vector, maximum: vector): vector`
|
`vector.max(input: vector, maximum: vector): vector`
|
||||||
|
|
||||||
Equivalent of: `vector(math.max(a.x, b.x), etc)`
|
Applies math.max component-wise for each vector. Equivalent of: `vector(math.max(a.x, b.x), etc)`
|
||||||
|
|
||||||
`vector.min(input: vector, minimum: vector): vector`
|
`vector.min(input: vector, minimum: vector): vector`
|
||||||
|
|
||||||
Equivalent of: `vector(math.min(a.x, b.x), etc)`
|
Same as `vector.max`. Equivalent of: `vector(math.min(a.x, b.x), etc)`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue