Optionalvalues: ArrayLike<number>
4 values in column-major order; identity if omitted
Readonlydimensionnumber of rows (= number of columns)
Readonlyvaluesthe values in column-major order
Copy the values of another matrix of the same size into this one
exact element-wise equality
Reset to the identity matrix
Invert in place. A singular matrix becomes the zero matrix.
true if all values are finite (neither NaN nor Infinity)
element-wise equality within a tolerance
tolerance, 1e-6 by default (the values are 32-bit floats)
Overwrite all values.
dimension² values in column-major order
the values as a plain array, column-major
convert to the general-purpose Matrix class
value at a given position
row index starting from 0
column index starting from 0
StaticfromStaticidentityStaticrotationStaticscaling
A 2x2 matrix of 32-bit floats in column-major order. All operations work in place and return
this.