Cesium 可视化相机的方向向量
var helper = HelperLib.getVectorHelper(viewer, {
position: new Cesium.Cartesian3(),
direction: viewer.scene.camera.direction,
length: 10000000,
color: "#ffff00"
})
viewer.scene.postRender.addEventListener(() => {
// helper.direction = viewer.scene.camera.direction
})
viewer.scene.globe.show = false
HelperLib.getAxex({
viewer: viewer,
type: Libora.AxesHelperType.GLOBE,
})