更新配置,能够简单运行实例.

This commit is contained in:
ChenX
2018-10-12 17:02:10 +08:00
parent 2ef48e17c6
commit bda2b05204
66 changed files with 732 additions and 4481 deletions

19
dist/Material.js vendored
View File

@@ -1,19 +0,0 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var three_1 = require("three");
//板件的材质,使用这个材质避免板件将线覆盖.
exports.boardMaterial = new three_1.MeshBasicMaterial({
color: new three_1.Color(0.8, 0.8, 0.8),
polygonOffset: true,
polygonOffsetFactor: 1,
polygonOffsetUnits: 1
});
exports.selectMaterial = new three_1.MeshBasicMaterial({
color: new three_1.Color(0.1, 0.5, 0.5),
polygonOffset: true,
polygonOffsetFactor: 1,
polygonOffsetUnits: 1
});
//线框的材质
exports.edgeMaterial = new three_1.LineBasicMaterial({ linewidth: 2, color: new three_1.Color(0, 0, 0) });
//# sourceMappingURL=Material.js.map