The column-major list of matrix values.
Creates a new Matrix3 with identical elements to this one.
Computes and returns the determinant of this matrix.
Sets the elements of this matrix based on an array in colum-major format.
The array to read the elements from.
The offset in the array from which to read the elements. Defaults to 0.
Sets this matrix to the inverse of the matrix m. You cannot invert a matrix with a determinant of zero. If you attempt this, the method will warn you in the console and return the identity matrix or it will throw an error if throwOnDegenerate is true.
The matrix to inverse and store into this one.
If true, throw an error if the matrix is degenerate (not invertible).
Sets this matrix as the upper left 3x3 of the normal matrix of the passed matrix m. The normal matrix is the inverse transpose of the matrix m.
The matrix to calculate the normal from and store in this one.
Resets this matrix to the 3x3 identity matrix.
Multiplies every component of this matrix by the scalar value s.
The number to multiply each component of the matrix with.
Sets the 3x3 matrix values to the given row-major sequence of values.
value to put in row 1, col 1.
value to put in row 1, col 2.
value to put in row 1, col 3.
value to put in row 2, col 1.
value to put in row 2, col 2.
value to put in row 2, col 3.
value to put in row 3, col 1.
value to put in row 3, col 2.
value to put in row 3, col 3.
Writes the elements of this matrix to an array in column-major format.
The array to store the resulting vector in. If not given a new array will be created.
The offset in the array at which to put the result.
Transposes this matrix in place.
Transposes this matrix into the supplied array and returns itself unchanged.
The array to store the resulting matrix components in.
Creates and initializes the Matrix3 to the 3x3 identity matrix.