更新到0.6.0.2

This commit is contained in:
2026-07-06 08:47:33 +08:00
parent e29a5178b7
commit 97d41a1385
473 changed files with 156342 additions and 5 deletions
@@ -0,0 +1,46 @@
namespace DrawXXL
{
using UnityEngine;
public class InternalDXXL_Edge
{
public Vector3 start;
public Vector3 end;
public InternalDXXL_Line line = new InternalDXXL_Line();
public InternalDXXL_Edge()
{
}
public InternalDXXL_Edge(Vector3 startPos, Vector3 endPos)
{
start = startPos;
end = endPos;
}
public void Recreate(Vector3 startPos, Vector3 endPos)
{
start = startPos;
end = endPos;
}
public void CalcLine()
{
line.RecreateLineFromTwoPoints(start, end);
}
public bool CheckIfLengthIsZero()
{
if (UtilitiesDXXL_Math.CheckIf_twoVectorsAreApproximatelyEqual(start, end))
{
return true;
}
else
{
return false;
}
}
}
}