openlayers/ol3 — pull request #505 by fredj (2013-04-08 10:57:51+00:00)
Title: 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?