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

Method mul

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

Source from the content-addressed store, hash-verified

726 return new Vector2(this.x - x, this.y - y);
727 }
728 mul(other) {
729 const { x , y } = typeof other === "number" ? {
730 x: other,
731 y: other
732 } : other;
733 return new Vector2(this.x * x, this.y * y);
734 }
735 div(other) {
736 const { x , y } = typeof other === "number" ? {
737 x: other,

Callers 1

dotMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected