Make sure the angle is in the correct range, required because the angle is divided. See #2547.
Merge branch 'master' of https://github.com/libgdx/libgdx