Yes, `EPS` should prevent such problems. I'm just suggesting that a more suitable value of `EPS` seems to be roughly 0.01. I didn't have the guts to submit a patch to modify EPS because there is no way for calling code to change `EPS`. If you're comfortable with it, I'd be happy to rework the patch to modify `EPS` instead of `minPolarAngle` and `maxPolarAngle`.