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