Remove Point2 (#875)

* Added `CalculateMinimumVector2` and `CalculateMaximumVector2` as replacement for `Point2.Minimum` and `Point2.Maximum`

* Remove `Point2`
This commit is contained in:
Christopher Whitley
2024-05-29 01:32:50 -04:00
committed by GitHub
parent 0427aa3ded
commit 9239fced04
35 changed files with 623 additions and 897 deletions
@@ -34,7 +34,7 @@ namespace MonoGame.Extended.Tiled.Serialization
{
}
public void AddTileVertices(Point2 position, Rectangle? sourceRectangle = null, TiledMapTileFlipFlags flags = TiledMapTileFlipFlags.None)
public void AddTileVertices(Vector2 position, Rectangle? sourceRectangle = null, TiledMapTileFlipFlags flags = TiledMapTileFlipFlags.None)
{
float texelLeft, texelTop, texelRight, texelBottom;
var sourceRectangle1 = sourceRectangle ?? new Rectangle(0, 0, (int)ImageSize.Width, (int)ImageSize.Height);