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

Method add

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

Source from the content-addressed store, hash-verified

1129 }
1130 }
1131 add(other) {
1132 if (typeof other === "number") {
1133 return new Matrix3(this.x.add(other), this.y.add(other), this.z.add(other));
1134 }
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));

Callers

nothing calls this directly

Calls 1

addMethod · 0.45

Tested by

no test coverage detected