Пример #1
0
        public void Make2D(ViewportBase viewport, Viewport2D.ViewDirection direction)
        {
            var vp = ViewportManager.Make2D(viewport, direction);

            Renderer.Register(new[] { vp });
            vp.RenderContext.Add(new ToolRenderable());
            vp.RenderContext.Add(new HelperRenderable(this));
            Renderer.UpdateGrid(Map.GridSpacing, Map.Show2DGrid, Map.Show3DGrid, false);
        }