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

Method constructor

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

Source from the content-addressed store, hash-verified

75596 return 4;
75597 }
75598 constructor(x = 0, y = 0, z = 0, order = Euler.DefaultOrder){
75599 super(-0, -0, -0, -0);
75600 if (arguments.length > 0 && Array.isArray(arguments[0])) this.fromVector3(...arguments);
75601 else this.set(x, y, z, order);
75602 }
75603 fromQuaternion(quaternion) {
75604 const [x, y, z, w] = quaternion;
75605 const ysqr = y * y;

Callers

nothing calls this directly

Calls 2

fromVector3Method · 0.95
setMethod · 0.95

Tested by

no test coverage detected