mrdoob/three.js — pull request #832 by foobarHD (2011-12-01 14:46:06+00:00)
Title: Minor fix to TrackBallControls.js

During my own exploration on how to modify the control object for a camera, I noticed that the zoom would constantly be called after it was at least once. This is inside the factor check. i.e. Once zoomed, factor won't equal 1.0 again. I've only tested this in Chrome. And it would only happen if staticMoving was off.

My fix was to check to see if _zoomStart.y equals what the new value would be. If it is equal to the new value, then we know that the value of "factor" is stuck and will remain at 0.9999999.

I'm still trying to understand the rest of the functions otherwise I would have put in a fix for those too.