Ejemplo n.º 1
0
		public static void Main( string[] args ) 
		{ 
			// parse command line parameters
			if (args.Length == 3)
			{
				if (args[0] == "G") useGPU = true; else useGPU = false;
				gpuPlatform = Int32.Parse( args[1] );
				runningTime = Int32.Parse( args[2] );
			}
			// entry point
			using (OpenTKApp app = new OpenTKApp()) 
			{ 
				app.Run( 30.0, 0.0 ); 
			}
		}
Ejemplo n.º 2
0
 public static void Main(string[] args)
 {
     // entry point
     using (OpenTKApp app = new OpenTKApp()) { app.Run(30.0, 0.0); }
 }
Ejemplo n.º 3
0
 public static void Main(string[] args)
 {
     // entry point
     using (OpenTKApp app = new OpenTKApp()) { app.Run(30.0, 0.0); }
 }
Ejemplo n.º 4
0
 public static void Main(string[] args)
 {
     // entry point
     Thread.CurrentThread.CurrentCulture = CultureInfo.GetCultureInfo("en-US");               // thanks Mathijs
     using (OpenTKApp app = new OpenTKApp()) { app.Run(30.0, 0.0); }
 }