mirror of
https://github.com/luau-lang/rfcs.git
synced 2025-04-20 03:44:05 +01:00
Make max and min functions clearer
This commit is contained in:
parent
4c0c3ce64a
commit
9966eae9e5
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 `math.max` for vectors.
|
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 `math.min` for vectors.
|
Equivalent of: `vector(math.min(a.x, b.x), etc)`
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue