コード例 #1
0
ファイル: Program.cs プロジェクト: rzel/sunflowsharp
 static void Main(string[] args)
 {
     try
     {
         test test = new test(args.Length > 0 ? args[0] : null);
         test.build();
         test.render("::options", new FiFileDisplay("output.png"));//new FileDisplay("output.tga"));
     }
     catch (Exception ex)
     {
         Console.Write(ex);
     }
 }
コード例 #2
0
ファイル: Program.cs プロジェクト: rzel/sunflowsharp
 static void Main(string[] args)
 {
     try
     {
         test test = new test(args.Length > 0 ? args[0] : null);
         test.build();
         test.render("::options", new FiFileDisplay("output.png"));//new FileDisplay("output.tga"));
     }
     catch (Exception ex)
     {
         Console.Write(ex);
     }
 }
コード例 #3
0
ファイル: Program.cs プロジェクト: Vargol/PhotonPump
 static void Main(string[] args)
 {
     try
     {
         test test = new test(args.Length > 0 ? args[0] : null);
         test.build();
         test.render("::options", new FileDisplay(string.Format("output{0:yyyy-MM-dd_hh-mm-ss-tt}.png", DateTime.Now)));                //new FileDisplay("output.tga"));
     }
     catch (Exception ex)
     {
         Console.Write(ex);
     }
 }