mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-27 11:31:39 +00:00
代码优化
This commit is contained in:
@@ -402,6 +402,10 @@ namespace XCharts.Runtime
|
|||||||
public double value;
|
public double value;
|
||||||
public Graph hostGraph;
|
public Graph hostGraph;
|
||||||
|
|
||||||
|
public List<Vector3> points = new List<Vector3>();
|
||||||
|
public float width;
|
||||||
|
public bool highlight;
|
||||||
|
|
||||||
public GraphEdge(GraphNode node1, GraphNode node2, double value)
|
public GraphEdge(GraphNode node1, GraphNode node2, double value)
|
||||||
{
|
{
|
||||||
this.node1 = node1;
|
this.node1 = node1;
|
||||||
|
|||||||
@@ -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)
|
Color32 lineColor, Direction dire, float currProgress = float.NaN)
|
||||||
{
|
{
|
||||||
if (curvesPosList.Count > 1)
|
if (curvesPosList.Count > 1)
|
||||||
|
|||||||
Reference in New Issue
Block a user