From f8146b799a9e97b5823fafcf0adaff97b3d289ac Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Tue, 5 Apr 2022 16:35:55 -0700 Subject: [PATCH] store rectangle properties as ints --- src/Collision/Shapes/Rectangle.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Collision/Shapes/Rectangle.cs b/src/Collision/Shapes/Rectangle.cs index 2bd32df2..09681abe 100644 --- a/src/Collision/Shapes/Rectangle.cs +++ b/src/Collision/Shapes/Rectangle.cs @@ -11,10 +11,10 @@ namespace MoonWorks.Collision public int Width { get; } public int Height { get; } - public float Right { get; } - public float Left { get; } - public float Top { get; } - public float Bottom { get; } + public int Right { get; } + public int Left { get; } + public int Top { get; } + public int Bottom { get; } public Vector2 BottomLeft { get; } public Vector2 TopRight { get; }