Exemplo n.º 1
0
 /// <summary>
 /// Does the level of collision testing has flag for testing this level
 /// </summary>
 /// <param name="_level"></param>
 /// <param name="_stage"></param>
 /// <returns></returns>
 public static bool AcceptTest(Options.CollisionStage _level, Options.CollisionStage _flag)
 {
     if ((_level & _flag) == _flag)
     {
         return true;
     }
     return false;
 }
Exemplo n.º 2
0
 public SpaceApplication()
 {
     ClientSize = new Size(screenwidth, screenheight); // Specify the client size
     Text = "Intersacting meshes"; // Specify the title
     Options = new Options();
     Instance = this;
 }