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

Method normal

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

Source from the content-addressed store, hash-verified

691 return this.x ** 2 + this.y ** 2;
692 }
693 normal() {
694 return this.div(this.mag());
695 }
696 angle() {
697 return new Rad(Math.atan2(this.y, this.x));
698 }

Callers 1

clampMethod · 0.95

Calls 2

divMethod · 0.95
magMethod · 0.95

Tested by

no test coverage detected