MCPcopy Create free account
hub / github.com/microsoft/SandDance / dot

Function dot

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

Source from the content-addressed store, hash-verified

69976 return out;
69977}
69978function dot(a, b) {
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;

Callers 2

angleFunction · 0.70
getAngleFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected