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

Method mag

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

Source from the content-addressed store, hash-verified

685 return new Vector2(this.x, this.y);
686 }
687 mag() {
688 return Math.hypot(this.x, this.y);
689 }
690 mag2() {
691 return this.x ** 2 + this.y ** 2;
692 }

Callers 1

normalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected