The center of rotation is provided for convenience as a second argument,
so that you can build rotations around arbitrary points more easily (and
efficiently) than the usual
translate(-center).rotate(angle).translate(center).
This function returns a reference to this, so that calls can be chained.
Combine the current transform with a rotation.
The center of rotation is provided for convenience as a second argument, so that you can build rotations around arbitrary points more easily (and efficiently) than the usual translate(-center).rotate(angle).translate(center).
This function returns a reference to this, so that calls can be chained.