(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, |
| 402 | y: other, |
| 403 | z: other |
| 404 | } : other; |
| 405 | return new Vector3(this.x * x, this.y * y, this.z * z); |
| 406 | } |
| 407 | div(other) { |
| 408 | const { x , y , z } = typeof other === "number" ? { |
| 409 | x: other, |