Skip to content

Commit

Permalink
Removed unused methods in PointI
Browse files Browse the repository at this point in the history
  • Loading branch information
Lehonti committed Dec 18, 2023
1 parent 65d8e86 commit bf34f56
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions Pinta.Core/Classes/Point.cs
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,6 @@ public readonly double Magnitude ()
return Math.Sqrt (x * x + y * y);
}

public PointI NegatedX ()
=> new (-X, Y);

public PointI NegatedY ()
=> new (X, -Y);

public PointI Rotated90 () // Counterclockwise
=> new (-Y, X);

Expand Down

0 comments on commit bf34f56

Please sign in to comment.