Skip to content
Permalink
Browse files

Updates to Swift 5.0

Removes `Equatable` impl.
  • Loading branch information...
kelvinlauKL committed Mar 9, 2019
1 parent 04b2d30 commit 339cc1489b3b70e7464db4af7e8f398d45ce50db
Showing with 0 additions and 4 deletions.
  1. +0 −4 Points Lines Planes/Points Lines Planes/2D/Point2D.swift
@@ -9,10 +9,6 @@ struct Point2D: Equatable {
var x: Double
var y: Double

static func ==(lhs: Point2D, rhs: Point2D) -> Bool {
return lhs.x == rhs.x && lhs.y == rhs.y
}

// returns true if point is on or right of line
func isRight(of line: Line2D) -> Bool {
switch line.slope {

0 comments on commit 339cc14

Please sign in to comment.
You can’t perform that action at this time.