MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / constructor

Method constructor

examples/extern/gmath.bundle.js:1662–1665  ·  view source on GitHub ↗
(scalar, vector)

Source from the content-addressed store, hash-verified

1660 return new Quaternion(k + kCosTheta, a.cross(b)).normal();
1661 }
1662 constructor(scalar, vector){
1663 this.scalar = scalar ?? 0;
1664 this.vector = vector ?? Vector3.zero();
1665 }
1666 clone() {
1667 return new Quaternion(this.scalar, this.vector);
1668 }

Callers

nothing calls this directly

Calls 1

zeroMethod · 0.45

Tested by

no test coverage detected