代码优化

This commit is contained in:
monitor1394
2023-12-14 19:22:02 +08:00
parent 63173cdce6
commit 9d2b14afef
2 changed files with 5 additions and 1 deletions

View File

@@ -402,6 +402,10 @@ namespace XCharts.Runtime
public double value;
public Graph hostGraph;
public List<Vector3> points = new List<Vector3>();
public float width;
public bool highlight;
public GraphEdge(GraphNode node1, GraphNode node2, double value)
{
this.node1 = node1;

View File

@@ -1933,7 +1933,7 @@ namespace XUGL
}
}
private static void DrawCurvesInternal(VertexHelper vh, List<Vector3> curvesPosList, float lineWidth,
public static void DrawCurvesInternal(VertexHelper vh, List<Vector3> curvesPosList, float lineWidth,
Color32 lineColor, Direction dire, float currProgress = float.NaN)
{
if (curvesPosList.Count > 1)