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

Function zero

docs/tests/v2/es6/js/sanddance.js:16549–16553  ·  view source on GitHub ↗

* Set the components of a vec2 to zero * * @param {vec2} out the receiving vector * @returns {vec2} out

(out)

Source from the content-addressed store, hash-verified

16547
16548
16549function zero(out) {
16550 out[0] = 0.0;
16551 out[1] = 0.0;
16552 return out;
16553}
16554/**
16555 * Returns a string representation of a vector
16556 *

Callers 1

_defaultFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected