(spherical1)
| 132242 | ]; |
| 132243 | } |
| 132244 | function cartesian(spherical1) { |
| 132245 | var lambda = spherical1[0], phi = spherical1[1], cosPhi = (0, _mathJs.cos)(phi); |
| 132246 | return [ |
| 132247 | cosPhi * (0, _mathJs.cos)(lambda), |
| 132248 | cosPhi * (0, _mathJs.sin)(lambda), |
| 132249 | (0, _mathJs.sin)(phi) |
| 132250 | ]; |
| 132251 | } |
| 132252 | function cartesianDot(a, b) { |
| 132253 | return a[0] * b[0] + a[1] * b[1] + a[2] * b[2]; |
| 132254 | } |
nothing calls this directly
no outgoing calls
no test coverage detected