|
|
@ -99,6 +99,7 @@ export class Polyline extends Entity
|
|
|
|
}
|
|
|
|
}
|
|
|
|
MoveStretchPoints(indexList: Array<number>, vec: Vector3)
|
|
|
|
MoveStretchPoints(indexList: Array<number>, vec: Vector3)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
this.WriteAllObjectRecord();
|
|
|
|
let moveVc = new Vector2(vec.x, vec.y);
|
|
|
|
let moveVc = new Vector2(vec.x, vec.y);
|
|
|
|
if (indexList[0] % 2 === 0)
|
|
|
|
if (indexList[0] % 2 === 0)
|
|
|
|
this.m_LineData[indexList[0] / 2].pt = this.m_LineData[indexList[0] / 2].pt.add(moveVc);
|
|
|
|
this.m_LineData[indexList[0] / 2].pt = this.m_LineData[indexList[0] / 2].pt.add(moveVc);
|
|
|
|