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

Method set

docs/app/js/sanddance-app.js:75628–75634  ·  view source on GitHub ↗
(x = 0, y = 0, z = 0, order)

Source from the content-addressed store, hash-verified

75626 return this.check();
75627 }
75628 set(x = 0, y = 0, z = 0, order) {
75629 this[0] = x;
75630 this[1] = y;
75631 this[2] = z;
75632 this[3] = Number.isFinite(order) ? order : this[3];
75633 return this.check();
75634 }
75635 validate() {
75636 return validateOrder(this[3]) && Number.isFinite(this[0]) && Number.isFinite(this[1]) && Number.isFinite(this[2]);
75637 }

Callers 4

constructorMethod · 0.95
fromQuaternionMethod · 0.95
fromVector3Method · 0.95
fromRollPitchYawMethod · 0.95

Calls 1

checkMethod · 0.45

Tested by

no test coverage detected