From b6981ad858eeb7fdb8aa12e0d82a5ae369a440b1 Mon Sep 17 00:00:00 2001 From: ChenX Date: Tue, 4 Dec 2018 14:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E7=90=86=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DatabaseServices/Board.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/DatabaseServices/Board.ts b/src/DatabaseServices/Board.ts index 03167c305..b0f8e8180 100644 --- a/src/DatabaseServices/Board.ts +++ b/src/DatabaseServices/Board.ts @@ -1,4 +1,3 @@ -import * as THREE from 'three'; import { ExtrudeGeometry, Matrix3, Matrix4, Mesh, MeshNormalMaterial, Object3D, Vector2, Vector3 } from 'three'; import { arrayRemoveIf } from '../Common/ArrayExt'; import { UpdateDraw } from '../Common/Status'; @@ -732,7 +731,7 @@ export class Board extends Entity InitDrawObject(renderType: RenderType = RenderType.Wireframe): Object3D { // let mat = ColorMaterial.GetBasicMaterial(this.ColorIndex); - return new THREE.Mesh(this.UpdateGeometry(), meshNormalMaterial); + return new Mesh(this.UpdateGeometry(), meshNormalMaterial); } private UpdateGeometry() {