From 47cb51bfc5417c82d63841bc4dad92ba42257373 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期六, 11 十二月 2021 08:09:03 +0800
Subject: [PATCH] #
---
static/js/app.js | 10 +++++-----
static/js/object/StoreShelf.js | 2 +-
2 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/static/js/app.js b/static/js/app.js
index 5b4915f..4252de3 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -301,11 +301,11 @@
.setMaterials( materials )
.setPath( '../static/model/obj/' )
.load( '璐у弶.obj', function ( object ) {
- // object.position.z = -500;
- // object.position.x = -2060;
- object.position.z = 0;
- object.position.x = 0;
- object.position.y = 0;
+ object.position.z = -500;
+ object.position.x = -2060;
+ // object.position.z = 0;
+ // object.position.x = 0;
+ // object.position.y = 0;
object.scale.set(0.025, 0.025, 0.025);
object.rotateY(- Math.PI / 2)
that.addObject( object );
diff --git a/static/js/object/StoreShelf.js b/static/js/object/StoreShelf.js
index 3591c4a..fd6b3f6 100644
--- a/static/js/object/StoreShelf.js
+++ b/static/js/object/StoreShelf.js
@@ -1,4 +1,4 @@
-function StoreShelf0(option) {
+function StoreShelf(option) {
this.binLength = option.binLength||50;//搴撲綅闀垮害
this.binWidth = option.binWidth||50;//搴撲綅瀹�
this.binHeight = option.binHeight||50;//搴撲綅楂�
--
Gitblit v1.9.1