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

Method normal

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

Source from the content-addressed store, hash-verified

1673 return this.scalar ** 2 + this.vector.x ** 2 + this.vector.y ** 2 + this.vector.z ** 2;
1674 }
1675 normal() {
1676 return this.div(this.mag());
1677 }
1678 dot(other) {
1679 return this.scalar * other.scalar + this.vector.dot(other.vector);
1680 }

Callers

nothing calls this directly

Calls 2

divMethod · 0.95
magMethod · 0.95

Tested by

no test coverage detected