Only rotate coordinate when it's needed

Most of the time, the rotation angle is equal to zero and no transformation needs to be done.

Question:
 * test with `angle % (2 * Math.PI)` instead?
 * Premature optimization is the root of all evil?