(p, direction)
| 11166 | } |
| 11167 | |
| 11168 | function corner(p, direction) { |
| 11169 | return abs$1(p[0] - x0) < epsilon$1 ? direction > 0 ? 0 : 3 |
| 11170 | : abs$1(p[0] - x1) < epsilon$1 ? direction > 0 ? 2 : 1 |
| 11171 | : abs$1(p[1] - y0) < epsilon$1 ? direction > 0 ? 1 : 0 |
| 11172 | : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon |
| 11173 | } |
| 11174 | |
| 11175 | function compareIntersection(a, b) { |
| 11176 | return comparePoint(a.x, b.x); |
no outgoing calls
no test coverage detected