|
|
|
@ -121,6 +121,7 @@ export class Spline extends Curve
|
|
|
|
|
}
|
|
|
|
|
MoveGripPoints(indexList: Array<number>, vec: Vector3)
|
|
|
|
|
{
|
|
|
|
|
vec = vec.clone().applyMatrix4(this.OCSInv).setZ(0);
|
|
|
|
|
this.WriteAllObjectRecord();
|
|
|
|
|
for (let index of indexList)
|
|
|
|
|
this._PointList[index].add(vec);
|
|
|
|
@ -128,6 +129,7 @@ export class Spline extends Curve
|
|
|
|
|
}
|
|
|
|
|
MoveStretchPoints(indexList: Array<number>, vec: Vector3)
|
|
|
|
|
{
|
|
|
|
|
vec = vec.clone().applyMatrix4(this.OCSInv).setZ(0);
|
|
|
|
|
this.WriteAllObjectRecord();
|
|
|
|
|
for (let index of indexList)
|
|
|
|
|
this._PointList[index].add(vec);
|
|
|
|
|