mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-24 12:06:37 +00:00
Remove Point2 (#875)
* Added `CalculateMinimumVector2` and `CalculateMaximumVector2` as replacement for `Point2.Minimum` and `Point2.Maximum` * Remove `Point2`
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user