Unstable 0.17.0.0

This commit is contained in:
Markus Isberg
2022-02-26 02:43:01 +09:00
parent a83f375681
commit 3974067915
913 changed files with 32472 additions and 32364 deletions

View File

@@ -153,6 +153,7 @@ namespace Microsoft.Xna.Framework
return !a.Equals(b);
}
public static implicit operator Point((int X, int Y) tuple) => new Point(tuple.X, tuple.Y);
#endregion
#region Public methods

View File

@@ -247,6 +247,7 @@ namespace Microsoft.Xna.Framework
return value1.X != value2.X || value1.Y != value2.Y;
}
public static implicit operator Vector2((float X, float Y) tuple) => new Vector2(tuple.X, tuple.Y);
#endregion
#region Public Methods

View File

@@ -1368,6 +1368,7 @@ namespace Microsoft.Xna.Framework
return value1;
}
public static implicit operator Vector3((float X, float Y, float Z) tuple) => new Vector3(tuple.X, tuple.Y, tuple.Z);
#endregion
}
}

View File

@@ -1292,6 +1292,7 @@ namespace Microsoft.Xna.Framework
return value1;
}
public static implicit operator Vector4((float X, float Y, float Z, float W) tuple) => new Vector4(tuple.X, tuple.Y, tuple.Z, tuple.W);
#endregion
}
}