mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 20:15:31 +00:00
Added static readonly Vector[234]d?.One properties.
This commit is contained in:
parent
d5efed9045
commit
bf89289ad9
|
@ -338,6 +338,11 @@ namespace OpenTK.Math
|
|||
/// </summary>
|
||||
public static readonly Vector2 Zero = new Vector2(0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Defines an instance with all components set to 1.
|
||||
/// </summary>
|
||||
public static readonly Vector2 One = new Vector2(1, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Defines the size of the Vector2 struct in bytes.
|
||||
/// </summary>
|
||||
|
|
|
@ -55,6 +55,11 @@ namespace OpenTK.Math
|
|||
/// </summary>
|
||||
public static Vector2d Zero = new Vector2d(0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Defines an instance with all components set to 1.
|
||||
/// </summary>
|
||||
public static readonly Vector2d One = new Vector2d(1, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Defines the size of the Vector2d struct in bytes.
|
||||
/// </summary>
|
||||
|
|
|
@ -335,6 +335,11 @@ namespace OpenTK.Math
|
|||
/// </summary>
|
||||
public static readonly Vector3 Zero = new Vector3(0, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Defines an instance with all components set to 1.
|
||||
/// </summary>
|
||||
public static readonly Vector3 One = new Vector3(1, 1, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Defines the size of the Vector3 struct in bytes.
|
||||
/// </summary>
|
||||
|
|
|
@ -333,6 +333,11 @@ namespace OpenTK.Math
|
|||
/// </summary>
|
||||
public static readonly Vector3d Zero = new Vector3d(0, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Defines an instance with all components set to 1.
|
||||
/// </summary>
|
||||
public static readonly Vector3d One = new Vector3d(1, 1, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Defines the size of the Vector3d struct in bytes.
|
||||
/// </summary>
|
||||
|
|
|
@ -83,6 +83,11 @@ namespace OpenTK.Math
|
|||
/// </summary>
|
||||
public static Vector4 Zero = new Vector4(0, 0, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Defines an instance with all components set to 1.
|
||||
/// </summary>
|
||||
public static readonly Vector4 One = new Vector4(1, 1, 1, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Defines the size of the Vector4 struct in bytes.
|
||||
/// </summary>
|
||||
|
|
|
@ -80,6 +80,11 @@ namespace OpenTK.Math
|
|||
/// </summary>
|
||||
public static Vector4d Zero = new Vector4d(0, 0, 0, 0);
|
||||
|
||||
/// <summary>
|
||||
/// Defines an instance with all components set to 1.
|
||||
/// </summary>
|
||||
public static readonly Vector4d One = new Vector4d(1, 1, 1, 1);
|
||||
|
||||
/// <summary>
|
||||
/// Defines the size of the Vector4d struct in bytes.
|
||||
/// </summary>
|
||||
|
|
Loading…
Reference in a new issue