Unstable 0.17.0.0
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user