From 97ff8d0abce006329e5793cd556036a917ece600 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 26 Feb 2018 11:00:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BD=BF=E7=94=A8Geometry=20=E9=81=BF=E5=85=8D?= =?UTF-8?q?=E4=BD=BF=E7=94=A8BufferGeometry=E8=80=8C=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E9=80=89=E4=B8=AD=E5=AF=B9=E8=B1=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Add-on/DrawFloor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Add-on/DrawFloor.ts b/src/Add-on/DrawFloor.ts index 341ca10c1..1e9db8e3f 100644 --- a/src/Add-on/DrawFloor.ts +++ b/src/Add-on/DrawFloor.ts @@ -56,7 +56,7 @@ export class DrawFloor implements Command }); this.materialList.push(floorMat); - var floorGeometry = new THREE.PlaneBufferGeometry(20, 20); + var floorGeometry = new THREE.PlaneGeometry(20, 20); var floorMesh = new THREE.Mesh(floorGeometry, floorMat); floorMesh.receiveShadow = true; this.scene.add(floorMesh);