コード例 #1
0
ファイル: Program.cs プロジェクト: susimus/small_tasks
    public static void Main(string[] args)
    {
        var sortFuncs = new SortFuncs();

        sortFuncs.SortFuncForTxtOutput = sortFuncs.Quicksort;

        sortFuncs.FillAndGetSortData();
        sortFuncs.FillAndGetSortedData();
    }
コード例 #2
0
 private int _CompareTo(PolygonSplittingGraphNode other)
 {
     return(SortFuncs.SortByXThenYAscending(new Vector2(this.x, this.y), new Vector2(other.x, other.y)));
 }