コード例 #1
0
        /// <summary>
        /// The main entry point for the game.
        /// </summary>
        /// <param name="args">Command-line arguments passed into the game.</param>
        public static void Main(string[] args)
        {
            Debug.SetRootDirName("VolumetricRenderer");

            try
            {
                game = new VolumetricRendererGame();
                game.Run();
            }
            finally
            {
                game.Dispose();
            }
        }
コード例 #2
0
        /// <summary>
        /// The main entry point for the game.
        /// </summary>
        /// <param name="args">Command-line arguments passed into the game.</param>
        public static void Main(string[] args)
        {
            Debug.SetRootDirName("VolumetricRenderer");

            try
            {
                game = new VolumetricRendererGame();
                game.Run();
            }
            finally
            {
                game.Dispose();
            }
        }