public StandardTool(VMTool mainTool) : base(mainTool) { var sc = new StandardControl(); sc.Merge += Merge; sc.Split += Split; Control = sc; }
public EditFaceTool(VMTool mainTool) : base(mainTool) { var ef = new EditFaceControl(); ef.Poke += Poke; ef.Bevel += Bevel; Control = ef; }
public ScaleTool(VMTool mainTool) : base(mainTool) { var sc = new ScaleControl(); Control = sc; sc.ValueChanged += ValueChanged; sc.ValueReset += ValueReset; sc.ResetOrigin += ResetOrigin; _origin = new VMPoint {Coordinate = Coordinate.Zero, Vertices = new List<Vertex>()}; }
public ScaleTool(VMTool mainTool) : base(mainTool) { var sc = new ScaleControl(); Control = sc; sc.ValueChanged += ValueChanged; sc.ValueReset += ValueReset; sc.ResetOrigin += ResetOrigin; _origin = new VMPoint { Coordinate = Coordinate.Zero, Vertices = new List <Vertex>() }; }
protected VMSubTool(VMTool mainTool) { MainTool = mainTool; }