public void Draw(GameTime gameTime) { // Clear our screen texture. _camera.Apply(_graphics); _graphics.Clear(Color.CornflowerBlue); // Draw the terrain. _terrain.Draw(gameTime, _camera); // Draw the brush. _circleBrushNode.FindMovable <CircleRenderable>().Render(gameTime, _camera); }
public void Draw(GameTime gameTime) { // Clear our screen texture. _camera.Apply(_graphics); _graphics.Clear(Color.Black); // Draw the terrain. _terrain.Draw(gameTime, _camera); foreach (IRenderable renderable in _world.Scene.Collect(typeof(IRenderable))) { renderable.Render(gameTime, _camera); } //Matrix projectionMatrix, viewMatrix; //_camera.GetMatrices(out projectionMatrix, out viewMatrix); //_debugView.RenderDebugData(ref projectionMatrix, ref viewMatrix); }