From 528f314c3f6de3d18c3121a0422d73bdfedec4ae Mon Sep 17 00:00:00 2001 From: Ellpeck Date: Wed, 7 Aug 2019 01:37:14 +0200 Subject: [PATCH] dangit I had this wrong --- MLEM.Extended/Extensions/CameraExtensions.cs | 2 +- MLEM.Extended/MLEM.Extended.csproj | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/MLEM.Extended/Extensions/CameraExtensions.cs b/MLEM.Extended/Extensions/CameraExtensions.cs index e1dbecc..22252cc 100644 --- a/MLEM.Extended/Extensions/CameraExtensions.cs +++ b/MLEM.Extended/Extensions/CameraExtensions.cs @@ -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); } } diff --git a/MLEM.Extended/MLEM.Extended.csproj b/MLEM.Extended/MLEM.Extended.csproj index 2b6d8d0..7378d80 100644 --- a/MLEM.Extended/MLEM.Extended.csproj +++ b/MLEM.Extended/MLEM.Extended.csproj @@ -10,7 +10,7 @@ https://github.com/Ellpeck/MLEM https://github.com/Ellpeck/MLEM https://github.com/Ellpeck/MLEM/blob/master/LICENSE - 1.0.4 + 1.0.5