Remove redundant implementation, reuse View3D RenderInfo options

This commit is contained in:
John Lewin 2017-07-05 13:04:12 -07:00
parent b6189acd5f
commit c5267b0f41
2 changed files with 10 additions and 48 deletions

View file

@ -36,7 +36,7 @@ namespace MatterHackers.GCodeVisualizer
{
public class GCodeRenderInfo
{
private Vector2[] extruderOffsets;
public Vector2[] extruderOffsets;
public Vector2 GetExtruderOffset(int index)
{
@ -65,7 +65,7 @@ namespace MatterHackers.GCodeVisualizer
public double FeatureToEndOnRatio0To1 { get; set; }
private Func<RenderType> GetRenderType;
public Func<RenderType> GetRenderType { get; }
public GCodeRenderInfo()
{