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

Method mag2

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

Source from the content-addressed store, hash-verified

343 return Math.hypot(this.x, this.y, this.z);
344 }
345 mag2() {
346 return this.x ** 2 + this.y ** 2 + this.z ** 2;
347 }
348 normal() {
349 return this.div(this.mag());
350 }

Callers 2

fromArcMethod · 0.45
betweenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected