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

Method getComponent

docs/app/js/sanddance-app.js:69206–69209  ·  view source on GitHub ↗
(i)

Source from the content-addressed store, hash-verified

69204 return this.distanceSquared(vector);
69205 }
69206 getComponent(i) {
69207 (0, _assertDefault.default)(i >= 0 && i < this.ELEMENTS, "index is out of range");
69208 return (0, _validators.checkNumber)(this[i]);
69209 }
69210 setComponent(i, value) {
69211 (0, _assertDefault.default)(i >= 0 && i < this.ELEMENTS, "index is out of range");
69212 this[i] = value;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected