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

Method sub

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

Source from the content-addressed store, hash-verified

719 return new Vector2(this.x + x, this.y + y);
720 }
721 sub(other) {
722 const { x , y } = typeof other === "number" ? {
723 x: other,
724 y: other
725 } : other;
726 return new Vector2(this.x - x, this.y - y);
727 }
728 mul(other) {
729 const { x , y } = typeof other === "number" ? {
730 x: other,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected