(lambda0, lambda1)
| 10144 | // This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want |
| 10145 | // the distance between ±180° to be 360°. |
| 10146 | function angle(lambda0, lambda1) { |
| 10147 | return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1; |
| 10148 | } |
| 10149 | |
| 10150 | function rangeCompare(a, b) { |
| 10151 | return a[0] - b[0]; |
no outgoing calls
no test coverage detected