public void Reset(ref SplinePoint[] points, ref List <int> selected) { if (computer.space == SplineComputer.Space.Local) { transformer = new PointTransformer(points, selected, computer.transform); } else { transformer = new PointTransformer(points, selected); } }
public void Reset(ref SplinePoint[] points, ref List <int> selected, Quaternion o) { orientation = o; transformer = new PointTransformer(points, selected, orientation); }