Clamp the camera centre away from the geographic poles (in place), so the tangent basis stays well-defined. Mirrors Babylon.js ClampCenterFromPolesInPlace.
ClampCenterFromPolesInPlace
Clamp the camera centre away from the geographic poles (in place), so the tangent basis stays well-defined. Mirrors Babylon.js
ClampCenterFromPolesInPlace.