From c6cad2beaad34513b123915ab71be5638adb891b Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 28 十二月 2021 12:48:06 +0800
Subject: [PATCH] #
---
static/js/app.js | 3 ++-
static/js/data/BuildingData.js | 8 ++++----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/static/js/app.js b/static/js/app.js
index ecdab77..921addb 100644
--- a/static/js/app.js
+++ b/static/js/app.js
@@ -136,7 +136,8 @@
}
this.initBackground = function () {
if (this.backgroundType) {
- this.scene.background = new THREE.Color( 0xf0f0f0 );
+ // this.scene.background = new THREE.Color( 0xf0f0f0 );
+ this.scene.background = new THREE.Color( 0x333333 );
} else {
const cubeTextureLoader = new THREE.CubeTextureLoader();
cubeTextureLoader.setPath( '../static/img/skybox0/' );
diff --git a/static/js/data/BuildingData.js b/static/js/data/BuildingData.js
index 4cd7a0c..2a07114 100644
--- a/static/js/data/BuildingData.js
+++ b/static/js/data/BuildingData.js
@@ -19,12 +19,12 @@
objectName: 'floor',
objectType: 'cube',
length: 2750,
- width: 800,
- height: 1,
+ width: 600,
+ height: 5,
position: {
x: 1375,
- y: 310,
- z: 400
+ y: 305,
+ z: 300
},
style:{
color: 0x5F7480,
--
Gitblit v1.9.1