MCPcopy Index your code
hub / github.com/microsoft/SandDance / cross

Function cross

docs/app/js/sanddance-app.js:69981–69986  ·  view source on GitHub ↗
(out, a, b)

Source from the content-addressed store, hash-verified

69979 return a[0] * b[0] + a[1] * b[1];
69980}
69981function cross(out, a, b) {
69982 var z = a[0] * b[1] - a[1] * b[0];
69983 out[0] = out[1] = 0;
69984 out[2] = z;
69985 return out;
69986}
69987function lerp(out, a, b, t) {
69988 var ax = a[0], ay = a[1];
69989 out[0] = ax + t * (b[0] - ax);

Callers 1

transformFunction · 0.70

Calls 3

collectFunction · 0.70
generateFunction · 0.70
filterFunction · 0.70

Tested by

no test coverage detected