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

Method div

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

Source from the content-addressed store, hash-verified

733 return new Vector2(this.x * x, this.y * y);
734 }
735 div(other) {
736 const { x , y } = typeof other === "number" ? {
737 x: other,
738 y: other
739 } : other;
740 return new Vector2(this.x / x, this.y / y);
741 }
742 neg() {
743 return new Vector2(-this.x, -this.y);
744 }

Callers 1

normalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected