Closed rreusser closed 7 years ago
If you rotate the view to the top, you immediately get gimbal lock and NaNs and the view goes blank. Perhaps a better behavior would be to clip phi to pi / 2 - epsilon so at least the view doesn't disappear.
phi
pi / 2 - epsilon
My mistake! I tried to reproduce this and determined that the cause was elsewhere.
If you rotate the view to the top, you immediately get gimbal lock and NaNs and the view goes blank. Perhaps a better behavior would be to clip
phi
topi / 2 - epsilon
so at least the view doesn't disappear.