mrdoob/three.js — pull request #5505 by s9k (2014-10-24 14:25:40+00:00)
Title: OrbitControls: Fixed azimuthal rotation for some angle limits

Fix problem when we want to set not [ - angle, angle ] limits, but [ angle, - angle ] ( == [ angle, 2 * Math.PI - angle ]) - angle by the other side of rotation origin.