清理代码

pull/207/head
ChenX 6 years ago
parent f27196df4c
commit b6981ad858

@ -1,4 +1,3 @@
import * as THREE from 'three';
import { ExtrudeGeometry, Matrix3, Matrix4, Mesh, MeshNormalMaterial, Object3D, Vector2, Vector3 } from 'three'; import { ExtrudeGeometry, Matrix3, Matrix4, Mesh, MeshNormalMaterial, Object3D, Vector2, Vector3 } from 'three';
import { arrayRemoveIf } from '../Common/ArrayExt'; import { arrayRemoveIf } from '../Common/ArrayExt';
import { UpdateDraw } from '../Common/Status'; import { UpdateDraw } from '../Common/Status';
@ -732,7 +731,7 @@ export class Board extends Entity
InitDrawObject(renderType: RenderType = RenderType.Wireframe): Object3D InitDrawObject(renderType: RenderType = RenderType.Wireframe): Object3D
{ {
// let mat = ColorMaterial.GetBasicMaterial(this.ColorIndex); // let mat = ColorMaterial.GetBasicMaterial(this.ColorIndex);
return new THREE.Mesh(this.UpdateGeometry(), meshNormalMaterial); return new Mesh(this.UpdateGeometry(), meshNormalMaterial);
} }
private UpdateGeometry() private UpdateGeometry()
{ {

Loading…
Cancel
Save