From c087c4b39244d8da62aa4119258500b411b79ffc Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期五, 17 十二月 2021 14:58:38 +0800 Subject: [PATCH] # --- static/js/app.js | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/static/js/app.js b/static/js/app.js index ed4eedc..9911ce3 100644 --- a/static/js/app.js +++ b/static/js/app.js @@ -179,13 +179,16 @@ // plane.position.y = - 200; // plane.receiveShadow = true; // this.addObject(plane); - // + // const helper = new THREE.PolarGridHelper( 2000, 100 ); + const helper = new THREE.GridHelper( 8000, 300 ); helper.position.y = - 0; helper.material.opacity = 0.25; helper.material.transparent = true; this.addObject( helper ); + + // this.addObject(new Floor({position: {}})) } this.initStoreObjects = function (object) { if (this.firstTime === 1) { @@ -212,7 +215,6 @@ } } - } } } -- Gitblit v1.9.1