Skip to content

Commit 339cc14

Browse files
authored
Updates to Swift 5.0
Removes `Equatable` impl.
1 parent 04b2d30 commit 339cc14

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Points Lines Planes/Points Lines Planes/2D/Point2D.swift

-4
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,6 @@ struct Point2D: Equatable {
99
var x: Double
1010
var y: Double
1111

12-
static func ==(lhs: Point2D, rhs: Point2D) -> Bool {
13-
return lhs.x == rhs.x && lhs.y == rhs.y
14-
}
15-
1612
// returns true if point is on or right of line
1713
func isRight(of line: Line2D) -> Bool {
1814
switch line.slope {

0 commit comments

Comments
 (0)