(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, |
| 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, |
nothing calls this directly
no outgoing calls
no test coverage detected