Create a transformation matrix that represents a rotation by the given angle around the Z-axis. Equivalent to (but faster than) rotate(identity(out), r, out).
rotate(identity(out), r, out)
The angle in radians.
The matrix to store the result in.
The transformation matrix.
Rotation matrix
Create a transformation matrix that represents a rotation by the given angle around the Z-axis. Equivalent to (but faster than)
rotate(identity(out), r, out).