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

Function transformPoint

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

Source from the content-addressed store, hash-verified

6691
6692 // TODO Optimize.
6693 function transformPoint(coordinates) {
6694 coordinates[0] = coordinates[0] * Math.pow(2, k) - o;
6695 coordinates[1] = coordinates[1] * Math.pow(2, k) - o;
6696 }
6697
6698 function resize() {
6699 o = r * 3;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected