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

Function zero

docs/app/js/sanddance-app.js:70038–70042  ·  view source on GitHub ↗
(out)

Source from the content-addressed store, hash-verified

70036 return Math.acos(Math.min(Math.max(cosine, -1), 1));
70037}
70038function zero(out) {
70039 out[0] = 0.0;
70040 out[1] = 0.0;
70041 return out;
70042}
70043function str(a) {
70044 return "vec2(" + a[0] + ", " + a[1] + ")";
70045}

Callers 1

sanddance-app.jsFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected