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

Function d3_geo_cartesianCross

explainshell/web/static/js/d3.v3.js:2227–2229  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

2225 return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];
2226 }
2227 function d3_geo_cartesianCross(a, b) {
2228 return [ a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0] ];
2229 }
2230 function d3_geo_cartesianAdd(a, b) {
2231 a[0] += b[0];
2232 a[1] += b[1];

Callers 1

intersectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected