MCPcopy Create free account
hub / github.com/idank/explainshell / forward

Function forward

explainshell/web/static/js/d3.v3.js:2978–2981  ·  view source on GitHub ↗
(coordinates)

Source from the content-addressed store, hash-verified

2976 d3.geo.rotation = function(rotate) {
2977 rotate = d3_geo_rotation(rotate[0] % 360 * d3_radians, rotate[1] * d3_radians, rotate.length > 2 ? rotate[2] * d3_radians : 0);
2978 function forward(coordinates) {
2979 coordinates = rotate(coordinates[0] * d3_radians, coordinates[1] * d3_radians);
2980 return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates;
2981 }
2982 forward.invert = function(coordinates) {
2983 coordinates = rotate.invert(coordinates[0] * d3_radians, coordinates[1] * d3_radians);
2984 return coordinates[0] *= d3_degrees, coordinates[1] *= d3_degrees, coordinates;

Callers

nothing calls this directly

Calls 1

tFunction · 0.70

Tested by

no test coverage detected