Modifies a transform such that a rotating of a given number of radians is performed on any points multiplied by the transform.
The apply-rotation
function modifies transform such that a rotation of theta radians is performed on any points multiplied by the transform. Any operations already contained in the transform occur before the new rotation.