We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c57a4e7 commit 2d6ca57Copy full SHA for 2d6ca57
lib/polygon.iced
@@ -24,24 +24,28 @@ class polygon
24
for v,i in @vertices
25
if (i is 0) or v.v0 < best
26
best = v.v0
27
+ best
28
29
getXMax: ->
30
best = 0
31
32
if (i is 0) or v.v0 > best
33
34
35
36
getYMin: ->
37
38
39
if (i is 0) or v.v1 < best
40
best = v.v1
41
42
43
getYMax: ->
44
45
46
if (i is 0) or v.v1 > best
47
48
49
50
exports.polygon = polygon
51
0 commit comments