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

Method div

examples/extern/gmath.bundle.js:588–596  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

586 return new Vector4(this.x * x, this.y * y, this.z * z, this.w * w6);
587 }
588 div(other) {
589 const { x , y , z , w: w7 } = typeof other === "number" ? {
590 x: other,
591 y: other,
592 z: other,
593 w: other
594 } : other;
595 return new Vector4(this.x / x, this.y / y, this.z / z, this.w / w7);
596 }
597 neg() {
598 return new Vector4(-this.x, -this.y, -this.z, -this.w);
599 }

Callers 1

normalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected