Constructs a new mat2 initialized to the identity matrix.
First column of the matrix as a vec2.
Second column of the matrix as a vec2.
Human-readable description string for this matrix instance.
Returns the scalar determinant of this matrix.
StaticidentityReturns a mat2 set to the identity matrix.
Returns the inverse of this matrix.
Multiplies each element of this matrix by a scalar and returns the result.
Returns a string representation of this matrix.
Returns the transpose of this matrix.
StaticzeroReturns a mat2 with all elements set to zero.
2x2 column-major floating-point matrix.