[]
Creates a matrix that rotates.
public static Matrix3x2 Rotation(float degrees)
Type | Name | Description |
---|---|---|
float | degrees | Angle of rotation, in degrees. Angles are measured clockwise when looking along the rotation axis. |
Type | Description |
---|---|
Matrix3x2 | The created rotation matrix. |
Creates a matrix that rotates.
public static Matrix3x2 Rotation(float degrees, Point2F center)
Type | Name | Description |
---|---|---|
float | degrees | |
Point2F | center |
Type | Description |
---|---|
Matrix3x2 |