We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 04b2d30 commit 339cc14Copy full SHA for 339cc14
Points Lines Planes/Points Lines Planes/2D/Point2D.swift
@@ -9,10 +9,6 @@ struct Point2D: Equatable {
9
var x: Double
10
var y: Double
11
12
- static func ==(lhs: Point2D, rhs: Point2D) -> Bool {
13
- return lhs.x == rhs.x && lhs.y == rhs.y
14
- }
15
-
16
// returns true if point is on or right of line
17
func isRight(of line: Line2D) -> Bool {
18
switch line.slope {
0 commit comments