修复intervalDistance计算错误问题

This commit is contained in:
yhh
2020-12-04 14:42:29 +08:00
parent 9654a4d8c9
commit c2cd3b9c44
5 changed files with 17 additions and 21 deletions

View File

@@ -54,10 +54,7 @@ module es {
this.points = points;
this.recalculateCenterAndEdgeNormals();
this._originalPoints = [];
for (let i = 0; i < this.points.length; i++) {
this._originalPoints.push(this.points[i]);
}
this._originalPoints = this.points.slice();
}
/**