MCPcopy Create free account
hub / github.com/breck7/scroll / forward

Function forward

external/.d3.js:10417–10420  ·  view source on GitHub ↗
(coordinates)

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

rotateFunction · 0.85

Tested by

no test coverage detected