Element at row 0, column 0
Element at row 0, column 1
Element at row 0, column 2
Element at row 1, column 0
Element at row 1, column 1
Element at row 1, column 2
Element at row 2, column 0
Element at row 2, column 1
Element at row 2, column 2
Swaps two elements in the internal array.
Left index
Right index
Gets the value at the specified row and column.
Row index (0-based)
Column index (0-based)
Value at the specified position
Creates a deep copy of this matrix.
New mutable 3x3 matrix with the same values
Calculates the determinant of this 3x3 matrix.
Determinant value
Flattens the matrix into a plain JavaScript array.
Array containing all matrix elements
Extracts the scale factors from this matrix and stores them in an output vector.
Output vector to store the scale factors
The output vector for method chaining
Checks if this is a dummy/placeholder matrix.
True if this is a dummy matrix
Checks if this matrix is approximately equal to another matrix.
Matrix to compare against
Optionaldelta: numberOptional tolerance for comparison (default: small epsilon)
True if matrices are approximately equal
Checks if this matrix is strictly equal to another matrix.
Matrix to compare against
True if matrices are exactly equal
Multiplies this matrix by another 3x3 matrix.
Matrix to multiply by
This matrix for method chaining
Multiplies this matrix by another 3x3 matrix from the left.
Matrix to multiply from the left
This matrix for method chaining
Multiplies this matrix by a scale vector.
3D scale vector
This matrix for method chaining
Multiplies this matrix by a 3D vector and stores the result in an output vector.
3D vector to multiply
Output vector to store the result
The output vector for method chaining
Applies a rotation specified by a 3D vector (Euler angles).
3D vector containing rotation angles
This matrix for method chaining
Applies a rotation around the X-axis to this matrix.
Rotation angle in radians
This matrix for method chaining
Applies rotations around X, Y, and Z axes in that order.
Rotation around X-axis in radians
Rotation around Y-axis in radians
Rotation around Z-axis in radians
This matrix for method chaining
Applies a rotation around the Y-axis to this matrix.
Rotation angle in radians
This matrix for method chaining
Applies a rotation around the Z-axis to this matrix.
Rotation angle in radians
This matrix for method chaining
Applies scaling to this matrix.
3D scale vector
This matrix for method chaining
Sets the value at the specified row and column.
Row index (0-based)
Column index (0-based)
Value to set
This matrix for method chaining
Sets all matrix components from individual values.
Element at row 0, column 0
Element at row 0, column 1
Element at row 0, column 2
Element at row 1, column 0
Element at row 1, column 1
Element at row 1, column 2
Element at row 2, column 0
Element at row 2, column 1
Element at row 2, column 2
This matrix for method chaining
Converts the matrix to a string representation.
String representation of the matrix
Converts the matrix to an approximate string representation.
Approximate string representation with rounded values
Interface for mutable 3x3 matrices. Provides modifiable 3x3 matrix operations for 3D transformations without translation.