예제 #1
0
        public void Make3D(ViewportBase viewport, Viewport3D.ViewType type)
        {
            var vp = ViewportManager.Make3D(viewport, type);

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