public static void DebugGeneratePoints() { var list = generateTest(30); debugPoint(list); var graham = new GrahamScan(list); debugPoint(graham.CreateDebugList()); var newList = graham.GetPoint(); debugPoint(newList); }
public static void GeneratePoints() { var path = EditorUtility.OpenFilePanel("txtファイルを選択してください", "", "txt"); if (path == "") { return; } var text = readFile(path); var list = convertList(text); var graham = new GrahamScan(list); var newList = graham.GetPoint(); debugPoint(list); debugPoint(newList); }