Operator operator *
operator *(Matrix2D, Matrix2D)
Multiplies two matrices.
Declaration
public static Matrix2D operator *(Matrix2D lhs, Matrix2D rhs)
Parameters
Type | Name | Description |
---|---|---|
Matrix2D | lhs | The left hand side matrix of the operation |
Matrix2D | rhs | The right hand side matrix of the operation |
Returns
Type | Description |
---|---|
Matrix2D | The multiplied matrix |
operator *(Matrix2D, Vector2)
Transforms a Vector2 by a matrix.
Declaration
public static Vector2 operator *(Matrix2D lhs, Vector2 vector)
Parameters
Type | Name | Description |
---|---|---|
Matrix2D | lhs | The left hand side matrix of the operation |
Vector2 | vector | The vector the matrix will be multiplied with |
Returns
Type | Description |
---|---|
Vector2 | The transformed vector |