Example #1
0
 static void Main(string[] args)
 {
     try
     {
         SkyX app = new SkyX();
         app.Go();
     }
     catch
     {
         // Check if it's an Ogre Exception
         if (Mogre.OgreException.IsThrown)
             Mogre.Demo.ExampleApplication.Example.ShowOgreException();
         else
             throw;
     }
 }
Example #2
0
 static void Main(string[] args)
 {
     try
     {
         SkyX app = new SkyX();
         app.Go();
     }
     catch
     {
         // Check if it's an Ogre Exception
         if (Mogre.OgreException.IsThrown)
         {
             Mogre.Demo.ExampleApplication.Example.ShowOgreException();
         }
         else
         {
             throw;
         }
     }
 }