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

Method neg

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

Source from the content-addressed store, hash-verified

1738 return new Quaternion(this.scalar / other, this.vector.div(other));
1739 }
1740 neg() {
1741 return new Quaternion(-this.scalar, this.vector.neg());
1742 }
1743 eq(other) {
1744 return this.scalar === other.scalar && this.vector.eq(other.vector);
1745 }

Callers

nothing calls this directly

Calls 1

negMethod · 0.45

Tested by

no test coverage detected