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

Method toMatrix4

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

Source from the content-addressed store, hash-verified

1147 return new Matrix3(matrix3mul(this.ptr, other.ptr));
1148 }
1149 toMatrix4() {
1150 return Matrix4.from(this[0][0], this[0][1], this[0][2], 0, this[1][0], this[1][1], this[1][2], 0, this[2][0], this[2][1], this[2][2], 0, 0, 0, 0, 1);
1151 }
1152 toArray() {
1153 return [
1154 this[0],

Callers

nothing calls this directly

Calls 1

fromMethod · 0.45

Tested by

no test coverage detected