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

Function cartesianScale

external/.d3.js:10011–10013  ·  view source on GitHub ↗
(vector, k)

Source from the content-addressed store, hash-verified

10009}
10010
10011function cartesianScale(vector, k) {
10012 return [vector[0] * k, vector[1] * k, vector[2] * k];
10013}
10014
10015// TODO return d
10016function cartesianNormalizeInPlace(d) {

Callers 1

intersectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected