(other)
| 598 | return new Vector4(-this.x, -this.y, -this.z, -this.w); |
| 599 | } |
| 600 | midpoint(other) { |
| 601 | return other.sub(this).div(2).add(this); |
| 602 | } |
| 603 | eq(other) { |
| 604 | return this.x === other.x && this.y === other.y && this.z === other.z && this.w === other.w; |
| 605 | } |