We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eeea17f commit ed793f8Copy full SHA for ed793f8
chapters/computational_geometry/gift_wrapping/graham_scan/code/julia/graham.jl
@@ -3,10 +3,6 @@ type Point
3
y::Float64
4
end
5
6
-function dist(point1::Point, point2::Point)
7
- return sqrt((point1.x - point2.x)^2 + (point1.y - point2.y)^2)
8
-end
9
-
10
function ccw(a::Point, b::Point, c::Point)
11
return ((b.x - a.x)*(c.y - a.y) - (b.y - a.y)*(c.x - a.x))
12
0 commit comments