()
| 907 | return new Matrix2(matrix2mul(this.ptr, other.ptr)); |
| 908 | } |
| 909 | toMatrix3() { |
| 910 | return Matrix3.from(this[0][0], this[0][1], 0, this[1][0], this[1][1], 0, 0, 0, 1); |
| 911 | } |
| 912 | toMatrix4() { |
| 913 | return Matrix4.from(this[0][0], this[0][1], 0, 0, this[1][0], this[1][1], 0, 0, 0, 0, 1, 0, 0, 0, 0, 1); |
| 914 | } |
no test coverage detected