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

Function copy

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

* Copy the values from one vec2 to another * * @param {vec2} out the receiving vector * @param {vec2} a the source vector * @returns {vec2} out

(out, a)

Source from the content-addressed store, hash-verified

16059
16060
16061function copy(out, a) {
16062 out[0] = a[0];
16063 out[1] = a[1];
16064 return out;
16065}
16066/**
16067 * Set the components of a vec2 to the given values
16068 *

Callers 5

pointishFunction · 0.70
sequentialFunction · 0.70
sequentialLogFunction · 0.70
sequentialSymlogFunction · 0.70
sequentialPowFunction · 0.70

Calls 3

getScaleFunction · 0.70
clampMethod · 0.45
copyMethod · 0.45

Tested by

no test coverage detected