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

Method add

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

Source from the content-addressed store, hash-verified

712 return this;
713 }
714 add(other) {
715 const { x , y } = typeof other === "number" ? {
716 x: other,
717 y: other
718 } : other;
719 return new Vector2(this.x + x, this.y + y);
720 }
721 sub(other) {
722 const { x , y } = typeof other === "number" ? {
723 x: other,

Callers 1

lerpMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected