Skip to content

Commit

Permalink
set exact camera position for disable depth test when clamped to grou…
Browse files Browse the repository at this point in the history
…nd sandcastle
  • Loading branch information
IanLilleyT committed Feb 1, 2021
1 parent b6a7bcd commit b333448
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion Apps/Sandcastle/gallery/Billboards.html
Original file line number Diff line number Diff line change
Expand Up @@ -266,7 +266,18 @@
disableDepthTestDistance: Number.POSITIVE_INFINITY,
},
});
viewer.zoomTo(viewer.entities);
viewer.scene.camera.setView({
destination: new Cesium.Cartesian3(
-2357576.243142461,
-3744417.5604860787,
4581807.855903771
),
orientation: new Cesium.HeadingPitchRoll(
5.9920811504170475,
-0.6032820429886212,
6.28201303164098
),
});
}

Sandcastle.addToolbarMenu([
Expand Down

0 comments on commit b333448

Please sign in to comment.