Orbiter upgrade
- Pinch to zoom
- Allow longitude < 0 and > 360 to avoid rotation interpolation bugs (this is potentially breaking)
- Code refactoring
Should it be the same logic for this.currentLat ?
I've just realized that having lon going > 360'deg while fixes rotating backwards for CX project it might be problematic when working on a project involving globe. E.g.
You spin few times arriving at lon: 1240deg and then you click location on a globe and set lon programmatically orbiter.set({ lat: 51, lon: 0.1 }). That would cause orbiter to linearly interpolate from 1240 -> 0.1 and therefore spin 3.5x.
I propose we ship custom orbiter for CX project as it is here now and thing a bit more on the proper solution for pex-renderer.
Closing as refactored orbiter is now in pex-cam.