性能优化

This commit is contained in:
monitor1394
2019-03-22 08:22:02 +08:00
parent 3b92a9b39b
commit a7eb565766
3 changed files with 16 additions and 28 deletions

View File

@@ -70,7 +70,7 @@ namespace xcharts
var list = ChartUtils.GetBezierList(lp, np, lineInfo.smoothStyle);
Vector3 start, to;
start = list[0];
for (int k = 1; k < list.Count; k++)
for (int k = 1; k < list.Length; k++)
{
to = list[k];
ChartUtils.DrawLine(vh, start, to, lineInfo.tickness, color);