MCPcopy Create free account
hub / github.com/DjDeveloperr/deno_desktop / add

Method add

examples/extern/gmath.bundle.js:117–120  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

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);

Callers

nothing calls this directly

Calls 1

toDegMethod · 0.45

Tested by

no test coverage detected