(vec: Vec2)
| 26 | return new Vec2(this.x + vec.x, this.y + vec.y); |
| 27 | } |
| 28 | sub(vec: Vec2): Vec2 { |
| 29 | return new Vec2(this.x - vec.x, this.y - vec.y); |
| 30 | } |
| 31 | mul(vec: Vec2): Vec2 { |
| 32 | return new Vec2(this.x * vec.x, this.y * vec.y); |
| 33 | } |
no outgoing calls
no test coverage detected