()
| 1738 | return new Quaternion(this.scalar / other, this.vector.div(other)); |
| 1739 | } |
| 1740 | neg() { |
| 1741 | return new Quaternion(-this.scalar, this.vector.neg()); |
| 1742 | } |
| 1743 | eq(other) { |
| 1744 | return this.scalar === other.scalar && this.vector.eq(other.vector); |
| 1745 | } |