(other)
| 134 | return new Deg(-this.value); |
| 135 | } |
| 136 | eq(other) { |
| 137 | const value = other instanceof Angle ? other.toDeg().value : other; |
| 138 | return this.value === value; |
| 139 | } |
| 140 | normal() { |
| 141 | const rem = this.value % Deg.turn; |
| 142 | return new Deg(rem < 0 ? rem + Deg.turn : rem); |