Represents a 2x2 matrix.
Private
Calculates the determinant of the matrix.
Returns the element in the given position.
The y of the element.
The x of the element
Returns an inversed version of this matrix.
Returns a matrix with the scaled by the given factor.
Multiplies this matrix with a vector.
Static
Returns a 2x2 Matrix from an array. The element in the array are given in the following places: [(0,0), (1,0), (0,1), (1,1)]
Returns a rotation matrix with the given degrees. that rotates Vectors clockwise.
Generated using TypeDoc
Represents a 2x2 matrix.