From e3f1ed6b8ee6cf55a194945b1b80ce6740abc69c Mon Sep 17 00:00:00 2001 From: sunzhenyu Date: Wed, 8 Sep 2021 11:00:34 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=B8=89=E7=BB=B4=E9=A9=BE?= =?UTF-8?q?=E9=A9=B6TDT=E4=BD=8D=E7=BD=AE=E5=92=8Ccctv=E8=A7=86=E8=A7=92?= =?UTF-8?q?=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/jlmap3d/jl3ddrive/jl3ddrive.js | 4 ++-- src/jlmap3d/lesson3dedit/manager/accidentmanager.js | 2 +- src/jlmap3d/main/newmodel/TdtList.js | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/jlmap3d/jl3ddrive/jl3ddrive.js b/src/jlmap3d/jl3ddrive/jl3ddrive.js index e9e968099..5cc3c4595 100644 --- a/src/jlmap3d/jl3ddrive/jl3ddrive.js +++ b/src/jlmap3d/jl3ddrive/jl3ddrive.js @@ -145,7 +145,7 @@ export function JLmapDriving(dom,data,mapId,storemod,translation,routegroup,proj scene.add(controls3.getObject()); let cameracctv = new THREE.PerspectiveCamera(50, dom.clientWidth/dom.clientHeight, 0.1, 50); - cameracctv.position.set( -3, 0,4.5 ); + cameracctv.position.set( 1, 0,4.5 ); cameracctv.rotation.y = -Math.PI/2; cameracctv.rotation.x = Math.PI/2; @@ -387,7 +387,7 @@ export function JLmapDriving(dom,data,mapId,storemod,translation,routegroup,proj rails = loadrails; // console.log(trainlisttest.group.children[0]); - trainlisttest.group.children[0].getObjectByName("C3").add(cameracctv); + trainlisttest.group.children[0].getObjectByName("C6").add(cameracctv); } this.eventon = function() { diff --git a/src/jlmap3d/lesson3dedit/manager/accidentmanager.js b/src/jlmap3d/lesson3dedit/manager/accidentmanager.js index 6dc771aaf..f435b52f6 100644 --- a/src/jlmap3d/lesson3dedit/manager/accidentmanager.js +++ b/src/jlmap3d/lesson3dedit/manager/accidentmanager.js @@ -129,7 +129,7 @@ export function AccidentManager(scene) { newAccident.object.createNew(groupList[accidentList[i].sceneType],accidentList[i].pos); } scope.accidentList[accidentList[i].sceneType].push(newAccident); - jl3dUpdateAccidentlist(scope.accidentList[accidentList[i].sceneType]); + // jl3dUpdateAccidentlist(scope.accidentList[accidentList[i].sceneType]); } } diff --git a/src/jlmap3d/main/newmodel/TdtList.js b/src/jlmap3d/main/newmodel/TdtList.js index c2d0d86da..52d94a0f4 100644 --- a/src/jlmap3d/main/newmodel/TdtList.js +++ b/src/jlmap3d/main/newmodel/TdtList.js @@ -36,11 +36,11 @@ export function TdtList() { let pos = stationData[k].mesh.position; if(stationData[k].stands[i].right == true){ newmesh.rotation.y = -Math.PI/2; - newmesh.position.set(pos.x+75,0,pos.z+14.8); + newmesh.position.set(pos.x+75,0,pos.z+12.8); }else{ newmesh.rotation.y = Math.PI/2; - newmesh.position.set(pos.x-75,0,pos.z-14.8); + newmesh.position.set(pos.x-75,0,pos.z-12.8); }