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

Method normalize

examples/extern/gmath.bundle.js:144–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

142 return new Deg(rem < 0 ? rem + Deg.turn : rem);
143 }
144 normalize() {
145 const rem = this.value % Deg.turn;
146 this.value = rem < 0 ? rem + Deg.turn : rem;
147 return this;
148 }
149 toRad() {
150 return new Rad(this.value * (Math.PI / 180));
151 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected