(other)
| 119 | return new Deg(this.value + value); |
| 120 | } |
| 121 | sub(other) { |
| 122 | const value = other instanceof Angle ? other.toDeg().value : other; |
| 123 | return new Deg(this.value - value); |
| 124 | } |
| 125 | mul(other) { |
| 126 | const value = other instanceof Angle ? other.toDeg().value : other; |
| 127 | return new Deg(this.value * value); |