修复autocad显示错误

This commit is contained in:
xief 2023-07-27 11:22:48 +08:00
parent e5b944539e
commit a55986761e
2 changed files with 129 additions and 2247 deletions

View File

@ -89,8 +89,8 @@ export class SimpleBoard
pts.push(new Vector2(0, 0), pts.push(new Vector2(0, 0),
new Vector2(this.width, 0), new Vector2(this.width, 0),
new Vector2(this.width, length), new Vector2(this.width, this.height),
new Vector2(0, length), new Vector2(0, this.height),
new Vector2(0, 0) new Vector2(0, 0)
); );
buls.push(0, 0, 0, 0, 0); buls.push(0, 0, 0, 0, 0);
@ -154,7 +154,7 @@ export class SimpleBoard
mesh.userData = ext.Normal; mesh.userData = ext.Normal;
edges.forEach(e => e.userData = ext.Normal); edges.forEach(e => e.userData = ext.Normal);
// 自定义编号 // 自定义编号
if (this._CustomNumber) if (this._CustomNumber && this._CustomNumber.length > 0)
{ {
mesh.add(this.createCustomNo()); mesh.add(this.createCustomNo());
} }

File diff suppressed because it is too large Load Diff