调整threejs类型

This commit is contained in:
xiefan
2020-04-01 16:12:28 +08:00
parent 1fbd3d6563
commit a10bb71035
4 changed files with 8 additions and 8 deletions

View File

@@ -1,4 +1,4 @@
import { Object3D } from "three";
import { Object3D, Mesh } from "three";
import { createTemplateBoard, DrawDimension, Viewer, selectMaterial } from ".";
function dispose(m: Object3D)
@@ -12,7 +12,7 @@ function dispose(m: Object3D)
}
let blockMeshs: THREE.Mesh[];
let blockMeshs: Mesh[];
let dataRelations: {
blockMeshMap: Map<number, number>,
meshBlockMap: Map<number, number>