优化LineChart密集数据的绘制表现

This commit is contained in:
monitor1394
2020-08-08 17:14:33 +08:00
parent b69481adf2
commit e1936fcffc
4 changed files with 176 additions and 118 deletions

View File

@@ -808,5 +808,11 @@ namespace XCharts
return check;
}
}
public static Vector3 GetLastPoint(List<Vector3> list)
{
if (list.Count <= 0) return Vector3.zero;
else return list[list.Count - 1];
}
}
}