分离选择材质,避免实体选中时,选中材质导致的内部拉槽显示问题.
修正未选中板件时,视图没有刷新的问题. 加入排钻显示.
This commit is contained in:
6
dist/Material.js
vendored
6
dist/Material.js
vendored
@@ -8,6 +8,12 @@ exports.boardMaterial = new three_1.MeshBasicMaterial({
|
||||
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
|
||||
Reference in New Issue
Block a user