diff options
Diffstat (limited to 'UVtools.Core/Extensions/PointExtensions.cs')
-rw-r--r-- | UVtools.Core/Extensions/PointExtensions.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/UVtools.Core/Extensions/PointExtensions.cs b/UVtools.Core/Extensions/PointExtensions.cs index a696489..4ba31d8 100644 --- a/UVtools.Core/Extensions/PointExtensions.cs +++ b/UVtools.Core/Extensions/PointExtensions.cs @@ -25,7 +25,7 @@ namespace UVtools.Core.Extensions double x = cos * dx - sin * dy + pivot.X; double y = sin * dx + cos * dy + pivot.Y; - Point rotated = new Point((int)Math.Round(x), (int)Math.Round(y)); + Point rotated = new((int)Math.Round(x), (int)Math.Round(y)); return rotated; } |