mirror of
https://github.com/XCharts-Team/XCharts.git
synced 2026-05-18 22:40:10 +00:00
性能优化
This commit is contained in:
@@ -455,6 +455,11 @@ namespace XCharts
|
||||
return color.a == 0 && color.b == 0 && color.g == 0 && color.r == 0;
|
||||
}
|
||||
|
||||
public static bool IsZeroVector(Vector3 pos)
|
||||
{
|
||||
return pos.x == 0 && pos.y == 0 && pos.z == 0;
|
||||
}
|
||||
|
||||
public static bool CopyList<T>(List<T> toList, List<T> fromList)
|
||||
{
|
||||
if (toList == null || fromList == null) return false;
|
||||
|
||||
Reference in New Issue
Block a user