(other)
| 586 | return new Vector4(this.x * x, this.y * y, this.z * z, this.w * w6); |
| 587 | } |
| 588 | div(other) { |
| 589 | const { x , y , z , w: w7 } = typeof other === "number" ? { |
| 590 | x: other, |
| 591 | y: other, |
| 592 | z: other, |
| 593 | w: other |
| 594 | } : other; |
| 595 | return new Vector4(this.x / x, this.y / y, this.z / z, this.w / w7); |
| 596 | } |
| 597 | neg() { |
| 598 | return new Vector4(-this.x, -this.y, -this.z, -this.w); |
| 599 | } |