|
@@ -252,11 +252,11 @@ export const enter = (dom, isLocal) => {
|
|
|
const camera = viewer.scene.getActiveCamera()
|
|
|
const target = viewer.scene.view.getPivot().clone()
|
|
|
const position = viewer.scene.view.position.clone()
|
|
|
- console.log('getPose',position, target)
|
|
|
+ //console.log('getPose',position, target)
|
|
|
return { position, target }
|
|
|
},
|
|
|
comeTo(o = {}) {
|
|
|
- console.log('comeTo',o.position, o.target)
|
|
|
+ //console.log('comeTo',o.position, o.target)
|
|
|
//飞到某个点
|
|
|
if(o.modelId){
|
|
|
['position','target'].forEach(e=>{
|
|
@@ -413,7 +413,7 @@ export const enter = (dom, isLocal) => {
|
|
|
}
|
|
|
*/
|
|
|
|
|
|
- console.log('enterSceneGuide',pathArr)
|
|
|
+ //console.log('enterSceneGuide',pathArr)
|
|
|
|
|
|
let data = {
|
|
|
duration: pathArr.slice(0,pathArr.length-1).reduce(function(total, currentValue ){return total+currentValue.time}, 0), //总时长(要去掉最后一个,因为已到终点,该点time无意义)
|
|
@@ -1031,7 +1031,7 @@ export const enter = (dom, isLocal) => {
|
|
|
}
|
|
|
|
|
|
|
|
|
- console.log('版本: 2022.8.29-1')
|
|
|
+ console.log('版本: 2022.9.20-1')
|
|
|
|
|
|
return sdk
|
|
|
}
|