(p, direction)
| 3013 | return clip; |
| 3014 | }; |
| 3015 | function corner(p, direction) { |
| 3016 | return Math.abs(p[0] - x0) < ε ? direction > 0 ? 0 : 3 : Math.abs(p[0] - x1) < ε ? direction > 0 ? 2 : 1 : Math.abs(p[1] - y0) < ε ? direction > 0 ? 1 : 0 : direction > 0 ? 3 : 2; |
| 3017 | } |
| 3018 | function compare(a, b) { |
| 3019 | return comparePoints(a.point, b.point); |
| 3020 | } |
no outgoing calls
no test coverage detected