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

Function cartesianCross

external/.d3.js:10002–10004  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

10000}
10001
10002function cartesianCross(a, b) {
10003 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]];
10004}
10005
10006// TODO return a
10007function cartesianAddInPlace(a, b) {

Callers 3

linePointFunction · 0.85
polygonContainsFunction · 0.85
intersectFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected