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

Function cartesianAddInPlace

docs/tests/v2/es6/js/sanddance.js:112836–112838  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

112834
112835
112836function cartesianAddInPlace(a, b) {
112837 a[0] += b[0], a[1] += b[1], a[2] += b[2];
112838}
112839
112840function cartesianScale(vector, k) {
112841 return [vector[0] * k, vector[1] * k, vector[2] * k];

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected