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

Method mag

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

Source from the content-addressed store, hash-verified

518 return new Vector4(this.x, this.y, this.z, this.w);
519 }
520 mag() {
521 return Math.hypot(this.x, this.y, this.z, this.w);
522 }
523 mag2() {
524 return this.x ** 2 + this.y ** 2 + this.z ** 2 + this.w ** 2;
525 }

Callers 1

normalMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected