예제 #1
0
 public static void Main(string[] args)
 {
     try
     {
         LightingApplication app = new LightingApplication();
         app.Go();
     }
     catch (System.Runtime.InteropServices.SEHException)
     {
         // Check if it's an Ogre Exception
         if (OgreException.IsThrown)
             ExampleApplication.Example.ShowOgreException();
         else
             throw;
     }
 }
예제 #2
0
 public static void Main(string[] args)
 {
     try
     {
         LightingApplication app = new LightingApplication();
         app.Go();
     }
     catch (System.Runtime.InteropServices.SEHException)
     {
         // Check if it's an Ogre Exception
         if (OgreException.IsThrown)
         {
             ExampleApplication.Example.ShowOgreException();
         }
         else
         {
             throw;
         }
     }
 }