|
@@ -193,6 +193,9 @@ namespace Godot
|
|
|
}
|
|
|
|
|
|
// Constants
|
|
|
+ private static readonly Vector3I _min = new Vector3I(int.MinValue, int.MinValue, int.MinValue);
|
|
|
+ private static readonly Vector3I _max = new Vector3I(int.MaxValue, int.MaxValue, int.MaxValue);
|
|
|
+
|
|
|
private static readonly Vector3I _zero = new Vector3I(0, 0, 0);
|
|
|
private static readonly Vector3I _one = new Vector3I(1, 1, 1);
|
|
|
|
|
@@ -203,6 +206,17 @@ namespace Godot
|
|
|
private static readonly Vector3I _forward = new Vector3I(0, 0, -1);
|
|
|
private static readonly Vector3I _back = new Vector3I(0, 0, 1);
|
|
|
|
|
|
+ /// <summary>
|
|
|
+ /// Min vector, a vector with all components equal to <see cref="int.MinValue"/>. Can be used as a negative integer equivalent of <see cref="Vector3.Inf"/>.
|
|
|
+ /// </summary>
|
|
|
+ /// <value>Equivalent to <c>new Vector3I(int.MinValue, int.MinValue, int.MinValue)</c>.</value>
|
|
|
+ public static Vector3I Min { get { return _min; } }
|
|
|
+ /// <summary>
|
|
|
+ /// Max vector, a vector with all components equal to <see cref="int.MaxValue"/>. Can be used as an integer equivalent of <see cref="Vector3.Inf"/>.
|
|
|
+ /// </summary>
|
|
|
+ /// <value>Equivalent to <c>new Vector3I(int.MaxValue, int.MaxValue, int.MaxValue)</c>.</value>
|
|
|
+ public static Vector3I Max { get { return _max; } }
|
|
|
+
|
|
|
/// <summary>
|
|
|
/// Zero vector, a vector with all components set to <c>0</c>.
|
|
|
/// </summary>
|