(other)
| 389 | return new Vector3(this.x + x, this.y + y, this.z + z); |
| 390 | } |
| 391 | sub(other) { |
| 392 | const { x , y , z } = typeof other === "number" ? { |
| 393 | x: other, |
| 394 | y: other, |
| 395 | z: other |
| 396 | } : other; |
| 397 | return new Vector3(this.x - x, this.y - y, this.z - z); |
| 398 | } |
| 399 | mul(other) { |
| 400 | const { x , y , z } = typeof other === "number" ? { |
| 401 | x: other, |
nothing calls this directly
no outgoing calls
no test coverage detected