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