private void RenderPolygon(IRenderLayer layer) { meshRenderer.RenderSegments(layer.Points.Data, layer.Indices.Data, Context.ColorManager.Segment); }
private void RenderPolygon(IRenderLayer layer) { using var pen = new Pen(Context.ColorManager.Segment); meshRenderer.RenderSegments(layer.Points.Data, layer.Indices.Data, pen); }