rotate2d(theta) returns a 2D rotation around the origin by a given angle $\theta$, encoded via the $2 \times 2$ matrix.
rotate2d(theta)
angle of rotation (in radians)
2D rotation matrix
rotate2d(theta)
returns a 2D rotation around the origin by a given angle $\theta$, encoded via the $2 \times 2$ matrix.