MathBox.js
MathBox.js copied to clipboard
Camera problem when Theta=Pi/2
when theta=Pi/2 , phi becomes a fixed number you can "solve" this by setting theta 1.00001*Pi/2 but you know, it's ugly
This is due to a change in floating point behaviour in Chrome. If you want to fix it, you could cap the theta in the camera controller to e.g. 0.999 * π/2. Should leave enough precision for the angle without being noticeable.