Join -> JointLink

This commit is contained in:
2026-06-14 00:50:14 +02:00
parent 24a72f468d
commit 0c62525f54
3 changed files with 3 additions and 3 deletions

View File

@@ -228,7 +228,7 @@ namespace _2DGAMELIB
if (difs.EnumJoinRoot.All(delegate(ShapePart p0)
{
p = p0.Position;
return pa.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance)));
return pa.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= JointLink.IdentityDistance)));
}))
{
return difs;