Sets the elements of the 2x2 matrix m so it becomes a 2D rotation matrix.
m
The resulting matrix will rotate points in the xy-plane around the origin when multiplied by a column vector (see mulV).
mulV
The direction of rotation will be clockwise for positive values of r
r
a 2x2 matrix object
the (inverse) rotation as an angle in radians
m set to be a 2D rotation matrix
Generated using TypeDoc
Sets the elements of the 2x2 matrix
m
so it becomes a 2D rotation matrix.The resulting matrix will rotate points in the xy-plane around the origin when multiplied by a column vector (see
mulV
).The direction of rotation will be clockwise for positive values of
r