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

Method constructor

examples/extern/gmath.bundle.js:509–516  ·  view source on GitHub ↗
(x, y, z, w2)

Source from the content-addressed store, hash-verified

507 return new Vector4(1);
508 }
509 constructor(x, y, z, w2){
510 if (x !== undefined) {
511 this.x = x;
512 this.y = y ?? x;
513 this.z = z ?? x;
514 this.w = w2 ?? x;
515 }
516 }
517 clone() {
518 return new Vector4(this.x, this.y, this.z, this.w);
519 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected