(lambda, phi)
| 10385 | sinDeltaGamma = sin$1(deltaGamma); |
| 10386 | |
| 10387 | function rotation(lambda, phi) { |
| 10388 | var cosPhi = cos$1(phi), |
| 10389 | x = cos$1(lambda) * cosPhi, |
| 10390 | y = sin$1(lambda) * cosPhi, |
| 10391 | z = sin$1(phi), |
| 10392 | k = z * cosDeltaPhi + x * sinDeltaPhi; |
| 10393 | return [ |
| 10394 | atan2$1(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi), |
| 10395 | asin$1(k * cosDeltaGamma + y * sinDeltaGamma) |
| 10396 | ]; |
| 10397 | } |
| 10398 | |
| 10399 | rotation.invert = function(lambda, phi) { |
| 10400 | var cosPhi = cos$1(phi), |
no test coverage detected