Update member ordering
This commit is contained in:
parent
441db262a2
commit
f5fcde1083
1 changed files with 13 additions and 11 deletions
|
|
@ -54,18 +54,18 @@ namespace MatterHackers.GCodeVisualizer
|
|||
{
|
||||
public static double ExtruderWidth { get; set; } = .4;
|
||||
|
||||
public static Color TravelColor = Color.Green;
|
||||
|
||||
private static readonly bool Is32Bit = IntPtr.Size == 4;
|
||||
|
||||
private List<List<int>> featureStartIndex = new List<List<int>>();
|
||||
private List<List<int>> featureEndIndex = new List<List<int>>();
|
||||
private List<List<RenderFeatureBase>> renderFeatures = new List<List<RenderFeatureBase>>();
|
||||
|
||||
public static Color TravelColor = Color.Green;
|
||||
|
||||
private List<GCodeVertexBuffer> layerVertexBuffer;
|
||||
private RenderType lastRenderType = RenderType.None;
|
||||
private GCodeRenderInfo renderInfo;
|
||||
private GCodeFile gCodeFileToDraw;
|
||||
public GCodeFile GCodeFileToDraw => gCodeFileToDraw;
|
||||
|
||||
public ExtrusionColors ExtrusionColors { get; } = null;
|
||||
|
||||
public Color Gray { get; set; }
|
||||
|
||||
public GCodeRenderer(GCodeFile gCodeFileToDraw)
|
||||
{
|
||||
|
|
@ -85,6 +85,12 @@ namespace MatterHackers.GCodeVisualizer
|
|||
}
|
||||
}
|
||||
|
||||
public GCodeFile GCodeFileToDraw => gCodeFileToDraw;
|
||||
|
||||
public ExtrusionColors ExtrusionColors { get; } = null;
|
||||
|
||||
public Color Gray { get; set; }
|
||||
|
||||
public void CreateFeaturesForLayerIfRequired(int layerToCreate)
|
||||
{
|
||||
if (renderFeatures.Count == 0
|
||||
|
|
@ -273,10 +279,6 @@ namespace MatterHackers.GCodeVisualizer
|
|||
}
|
||||
}
|
||||
|
||||
private List<GCodeVertexBuffer> layerVertexBuffer;
|
||||
private RenderType lastRenderType = RenderType.None;
|
||||
|
||||
private static readonly bool Is32Bit = IntPtr.Size == 4;
|
||||
|
||||
public void Render3D(GCodeRenderInfo renderInfo, DrawEventArgs e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue