修改state
This commit is contained in:
parent
1af9b755d7
commit
9211396f99
@ -121,9 +121,8 @@ export function JLmapDriving(dom, data, skinCode) {
|
||||
getPublish3dMapDetail(skinCode).then(netdata => {
|
||||
ModelLoad(data, scope, netdata.data, mapdata, camera, controls3, scene,mixers);
|
||||
});
|
||||
console.log(scene);
|
||||
let stats = new Stats();
|
||||
dom.appendChild( stats.dom );
|
||||
// let stats = new Stats();
|
||||
// dom.appendChild( stats.dom );
|
||||
// 开启渲染
|
||||
animate();
|
||||
startWorker();
|
||||
@ -151,7 +150,7 @@ export function JLmapDriving(dom, data, skinCode) {
|
||||
for (let i=mixers.length-1; i>=0; i--) {
|
||||
mixers[i].update( delta );
|
||||
}
|
||||
stats.update();
|
||||
// stats.update();
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user