(other)
| 115 | return this.toRad().atan(); |
| 116 | } |
| 117 | add(other) { |
| 118 | const value = other instanceof Angle ? other.toDeg().value : 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); |