Add Vector2/3/4i.MAX and MIN

This commit is contained in:
kobewi
2023-09-16 16:40:21 +02:00
parent 5f1e56ff26
commit adc930baee
4 changed files with 24 additions and 0 deletions

View File

@@ -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>