1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-05-14 21:28:45 +02:00

dangit I had this wrong

This commit is contained in:
Ellpeck 2019-08-07 01:37:14 +02:00
parent 63d6373cd7
commit 528f314c3f
2 changed files with 2 additions and 2 deletions

View file

@ -7,7 +7,7 @@ namespace MLEM.Extended.Extensions {
public static RectangleF GetVisibleRectangle(this Camera camera) {
var start = camera.ToWorldPos(Vector2.Zero);
return new RectangleF(start, camera.ToWorldPos(new Vector2(camera.Viewport.Width, camera.Viewport.Height) - start));
return new RectangleF(start, camera.ToWorldPos(new Vector2(camera.Viewport.Width, camera.Viewport.Height)) - start);
}
}

View file

@ -10,7 +10,7 @@
<PackageProjectUrl>https://github.com/Ellpeck/MLEM</PackageProjectUrl>
<RepositoryUrl>https://github.com/Ellpeck/MLEM</RepositoryUrl>
<PackageLicenseUrl>https://github.com/Ellpeck/MLEM/blob/master/LICENSE</PackageLicenseUrl>
<Version>1.0.4</Version>
<Version>1.0.5</Version>
</PropertyGroup>
<ItemGroup>