Пример #1
0
    void CreateTriangleFromSelection()
    {
        if (plotter.VertexSelectionCount == 3)
        {
            List <HairyPlotterVertex> vertices = plotter.SelectedVertices;

            plotter.CurrentAction = HairyPlotterActions.None;
            plotter.CreateTriangle(vertices[0], vertices[1], vertices[2]);
            plotter.ClearVertexSelection();
        }
    }