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

Method ZERO

docs/app/js/sanddance-app.js:70194–70200  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

70192let ZERO;
70193class Vector3 extends (0, _vectorDefault.default) {
70194 static get ZERO() {
70195 if (!ZERO) {
70196 ZERO = new Vector3(0, 0, 0);
70197 Object.freeze(ZERO);
70198 }
70199 return ZERO;
70200 }
70201 constructor(x = 0, y = 0, z = 0){
70202 super(-0, -0, -0);
70203 if (arguments.length === 1 && (0, _common.isArray)(x)) this.copy(x);

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected