diff options
| author | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-17 14:47:52 +0200 |
|---|---|---|
| committer | Rémi Verschelde <rverschelde@gmail.com> | 2023-09-17 14:47:52 +0200 |
| commit | 7bb80b1525dc957fe74ca427a873fcf34a6b33a8 (patch) | |
| tree | 50bb5020ea17d48849e232f944a4b40d2bb01ffe /doc/classes | |
| parent | 04d2aa61a3a4d35b69ff96d11ea1186e1ab72391 (diff) | |
| parent | adc930baee53053c44e0a90d237c057b3e0416c2 (diff) | |
| download | redot-engine-7bb80b1525dc957fe74ca427a873fcf34a6b33a8.tar.gz | |
Merge pull request #81741 from KoBeWi/vectoring_to_the_MAXXX
Add `Vector2/3/4i.MAX` and `MIN`
Diffstat (limited to 'doc/classes')
| -rw-r--r-- | doc/classes/Vector2i.xml | 6 | ||||
| -rw-r--r-- | doc/classes/Vector3i.xml | 6 | ||||
| -rw-r--r-- | doc/classes/Vector4i.xml | 6 |
3 files changed, 18 insertions, 0 deletions
diff --git a/doc/classes/Vector2i.xml b/doc/classes/Vector2i.xml index ccb5bb7815..2100cd7612 100644 --- a/doc/classes/Vector2i.xml +++ b/doc/classes/Vector2i.xml @@ -124,6 +124,12 @@ <constant name="ONE" value="Vector2i(1, 1)"> One vector, a vector with all components set to [code]1[/code]. </constant> + <constant name="MIN" value="Vector2i(-2147483648, -2147483648)"> + Min vector, a vector with all components equal to [code]INT32_MIN[/code]. Can be used as a negative integer equivalent of [constant Vector2.INF]. + </constant> + <constant name="MAX" value="Vector2i(2147483647, 2147483647)"> + Max vector, a vector with all components equal to [code]INT32_MAX[/code]. Can be used as an integer equivalent of [constant Vector2.INF]. + </constant> <constant name="LEFT" value="Vector2i(-1, 0)"> Left unit vector. Represents the direction of left. </constant> diff --git a/doc/classes/Vector3i.xml b/doc/classes/Vector3i.xml index 90cb70f347..8906bf0aa7 100644 --- a/doc/classes/Vector3i.xml +++ b/doc/classes/Vector3i.xml @@ -125,6 +125,12 @@ <constant name="ONE" value="Vector3i(1, 1, 1)"> One vector, a vector with all components set to [code]1[/code]. </constant> + <constant name="MIN" value="Vector3i(-2147483648, -2147483648, -2147483648)"> + Min vector, a vector with all components equal to [code]INT32_MIN[/code]. Can be used as a negative integer equivalent of [constant Vector3.INF]. + </constant> + <constant name="MAX" value="Vector3i(2147483647, 2147483647, 2147483647)"> + Max vector, a vector with all components equal to [code]INT32_MAX[/code]. Can be used as an integer equivalent of [constant Vector3.INF]. + </constant> <constant name="LEFT" value="Vector3i(-1, 0, 0)"> Left unit vector. Represents the local direction of left, and the global direction of west. </constant> diff --git a/doc/classes/Vector4i.xml b/doc/classes/Vector4i.xml index f2eb353b5a..a612c135dd 100644 --- a/doc/classes/Vector4i.xml +++ b/doc/classes/Vector4i.xml @@ -129,6 +129,12 @@ <constant name="ONE" value="Vector4i(1, 1, 1, 1)"> One vector, a vector with all components set to [code]1[/code]. </constant> + <constant name="MIN" value="Vector4i(-2147483648, -2147483648, -2147483648, -2147483648)"> + Min vector, a vector with all components equal to [code]INT32_MIN[/code]. Can be used as a negative integer equivalent of [constant Vector4.INF]. + </constant> + <constant name="MAX" value="Vector4i(2147483647, 2147483647, 2147483647, 2147483647)"> + Max vector, a vector with all components equal to [code]INT32_MAX[/code]. Can be used as an integer equivalent of [constant Vector4.INF]. + </constant> </constants> <operators> <operator name="operator !="> |
