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

Method transpose

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

Source from the content-addressed store, hash-verified

1091 return new Matrix3(this.x, this.y, this.z);
1092 }
1093 transpose() {
1094 return Matrix3.from(this[0][0], this[1][0], this[2][0], this[0][1], this[1][1], this[2][1], this[0][2], this[1][2], this[2][2]);
1095 }
1096 eq(other) {
1097 return this[0][0] === other[0][0] && this[0][1] === other[0][1] && this[0][2] === other[0][2] && this[1][0] === other[1][0] && this[1][1] === other[1][1] && this[1][2] === other[1][2] && this[2][0] === other[2][0] && this[2][1] === other[2][1] && this[2][2] === other[2][2];
1098 }

Callers

nothing calls this directly

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected