(a, b)
| 10338 | } |
| 10339 | |
| 10340 | function compose(a, b) { |
| 10341 | |
| 10342 | function compose(x, y) { |
| 10343 | return x = a(x, y), b(x[0], x[1]); |
| 10344 | } |
| 10345 | |
| 10346 | if (a.invert && b.invert) compose.invert = function(x, y) { |
| 10347 | return x = b.invert(x, y), x && a.invert(x[0], x[1]); |
| 10348 | }; |
| 10349 | |
| 10350 | return compose; |
| 10351 | } |
| 10352 | |
| 10353 | function rotationIdentity(lambda, phi) { |
| 10354 | if (abs$1(lambda) > pi$1) lambda -= Math.round(lambda / tau$1) * tau$1; |
no test coverage detected