CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
13.05k stars 3.51k forks source link

Unexpected camera rotation with lookAt in 2D mode. #5500

Open rahwang opened 7 years ago

rahwang commented 7 years ago

The camera rolls 180 degrees after calling lookAt in 2D mode. Is this expected?

Here's a sandcastle example: http://cesiumjs.org/Cesium/Apps/Sandcastle/?src=Hello%20World.html&label=Showcases&gist=ce7747d6784fe914c5d8b249a20ed282

hpinkos commented 7 years ago

Nope, that looks like a bug. Thanks @rahwang!