Exemple #1
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(new Color(153, 217, 234));

            Camera camera = CameraManager.ActiveCamera;

            // Render the simulation
            _simManager.Render();

            base.Draw(gameTime);
        }
Exemple #2
0
        protected override void Draw(GameTime gameTime)
        {
            GraphicsDevice.Clear(Color.Black);

            Camera camera = CameraManager.ActiveCamera;

            //_world.Draw(GraphicsDevice, camera);
            //_tankModel.Render(camera, Vector3.Right * 3 + Vector3.Up * 2);
            //_uavModel.Render(camera, Vector3.Left * 3 + Vector3.Up * 5);

            // Render the simulation
            _simManager.Render();

            base.Draw(gameTime);
        }