예제 #1
0
파일: Anaglyph.cs 프로젝트: zero10/scallion
 static void Main()
 {
     // The 'using' idiom guarantees proper resource cleanup.
     // We request 30 UpdateFrame events per second, and unlimited
     // RenderFrame events (as fast as the computer can handle).
     using (Anaglyph game = new Anaglyph())
     {
         game.Run(10.0);
     }
 }
예제 #2
0
 static void Main()
 {
     // The 'using' idiom guarantees proper resource cleanup.
     // We request 30 UpdateFrame events per second, and unlimited
     // RenderFrame events (as fast as the computer can handle).
     using (Anaglyph game = new Anaglyph())
     {
         game.Run(10.0);
     }
 }