(coordinates)
| 10415 | rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0); |
| 10416 | |
| 10417 | function forward(coordinates) { |
| 10418 | coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians); |
| 10419 | return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates; |
| 10420 | } |
| 10421 | |
| 10422 | forward.invert = function(coordinates) { |
| 10423 | coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians); |