fix: Fixes Point2D ctor (#1340)

This commit is contained in:
Kamron Batman 2023-02-13 23:28:23 -08:00 committed by GitHub
parent f24c6a08dd
commit 65c196a8ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 45 additions and 35 deletions

View file

@ -336,8 +336,8 @@ public class Region : IComparable<Region>
{
var rect = Area[i];
var start = Map.Bound(new Point2D(rect.Start.X, rect.Start.Y));
var end = Map.Bound(new Point2D(rect.End.X, rect.End.Y));
var start = Map.Bound(new Point2D(rect.Start));
var end = Map.Bound(new Point2D(rect.End));
var startSector = Map.GetSector(start);
var endSector = Map.GetSector(end);