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

Method dot

examples/extern/gmath.bundle.js:1678–1680  ·  view source on GitHub ↗
(other)

Source from the content-addressed store, hash-verified

1676 return this.div(this.mag());
1677 }
1678 dot(other) {
1679 return this.scalar * other.scalar + this.vector.dot(other.vector);
1680 }
1681 conjugate() {
1682 return new Quaternion(this.scalar, this.vector.neg());
1683 }

Callers 2

nlerpMethod · 0.95
slerpMethod · 0.95

Calls 1

dotMethod · 0.45

Tested by

no test coverage detected