清理代码

pull/232/MERGE
ChenX 6 years ago
parent 732509a86a
commit 030f424038

@ -760,10 +760,8 @@ export class Board extends Entity
{
let matVec = MoveMatrix(min.clone().negate());
this.m_Shape.ApplyMatrix(matVec);
this.m_BoardModeling.forEach(m =>
{
for (let m of this.BoardModeling)
m.shape.ApplyMatrix(matVec);
})
this.ApplyMatrix(
MoveMatrix(min.applyMatrix4(new Matrix4().extractRotation(this.OCS))));

Loading…
Cancel
Save