|
|
|
@ -608,14 +608,6 @@ export default {
|
|
|
|
|
viewer.controls.setTarget(285.6140415831262, -66.96447327588656, -15.909577343207037)
|
|
|
|
|
viewer.controls.setPosition(289.21362270826876, 1559.17755547545135, 1298.62483706445185)
|
|
|
|
|
let num1 = 0
|
|
|
|
|
window.onresize = function () {
|
|
|
|
|
if (num1 === modelArr.length) {
|
|
|
|
|
viewer.renderManager.setLoop(true)
|
|
|
|
|
viewer.renderManager.setLoop(false)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let modelArr = [
|
|
|
|
|
{
|
|
|
|
|
url: '../../models/01-01-01/',
|
|
|
|
@ -843,6 +835,14 @@ export default {
|
|
|
|
|
},
|
|
|
|
|
|
|
|
|
|
]
|
|
|
|
|
window.onresize = function () {
|
|
|
|
|
if (num1 === modelArr.length) {
|
|
|
|
|
viewer.renderManager.setLoop(true)
|
|
|
|
|
viewer.renderManager.setLoop(false)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
let num = 9
|
|
|
|
|
const toLoad = (val) => {
|
|
|
|
@ -854,7 +854,6 @@ export default {
|
|
|
|
|
num1 += 1
|
|
|
|
|
if (num1 === modelArr.length) {
|
|
|
|
|
viewer.renderManager.setLoop(false)
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
num += 1
|
|
|
|
|