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

Method sub

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

Source from the content-addressed store, hash-verified

1135 return new Matrix3(matrix3add(this.ptr, other.ptr));
1136 }
1137 sub(other) {
1138 if (typeof other === "number") {
1139 return new Matrix3(this.x.sub(other), this.y.sub(other), this.z.sub(other));
1140 }
1141 return new Matrix3(matrix3sub(this.ptr, other.ptr));
1142 }
1143 mul(other) {
1144 if (typeof other === "number") {
1145 return new Matrix3(this.x.mul(other), this.y.mul(other), this.z.mul(other));

Callers

nothing calls this directly

Calls 1

subMethod · 0.45

Tested by

no test coverage detected