From 6d088e4b4b4e68ceb555a951bf1916a65bea1779 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期六, 11 十二月 2021 16:05:41 +0800
Subject: [PATCH] Merge branch 'dev' of http://47.97.1.152:5880/r/ASRS-3D into dev
---
static/js/app.js | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/static/js/app.js b/static/js/app.js
index 4252de3..6bede19 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -29,6 +29,7 @@
this.initLight();
this.initFloor();
this.initModel();
+ this.initModel0();
this.initStoreObjects(this);
}
this.animate = function () {
@@ -56,7 +57,7 @@
// this.camera.position.z = 600;
// //鐩告満鐨勬湞鍚�
// this.camera.lookAt(0, 0, 0);
- this.camera.position.set( - 550, 2070, 4550 );
+ this.camera.position.set( - 350, 1070, 1550 );
this.camera.lookAt( this.scene.position );
//灏嗙浉鏈烘斁鍒板満鏅腑
this.scene.add(this.camera);
@@ -185,6 +186,7 @@
initStore();
if (Store3DData !== null) {
for(var group of Store3DData.data.store.groups) {
+ let crn = new StoreCrn(group.crn, object);
for (var line of group.lines) {
let shelf = new StoreShelf(line);
object.addObject(shelf);
@@ -258,6 +260,9 @@
}
}
}
+ this.initModel0 = function () {
+
+ }
this.getExistedGoodType=function(state){
for (let i=0;i<this.goodTypes.length;i++) {
let type=this.goodTypes[i];
--
Gitblit v1.9.1