Renamed Joi to JointPoint

This commit is contained in:
2026-06-13 21:20:32 +02:00
parent 035588e3db
commit d193583f37
10 changed files with 51 additions and 50 deletions

View File

@@ -305,7 +305,7 @@ namespace _2DGAMELIB
foreach (ShapePart p0 in array2)
{
Vector2D p = p0.Position;
if (array.All((ShapePart p1) => p0 == p1 || p1.JP.All((Joi j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance))))
if (array.All((ShapePart p1) => p0 == p1 || p1.JP.All((JointPoint j) => !(p1.ToGlobal(j.Joint).DistanceSquared(p) <= Join.IdentityDistance))))
{
return p0;
}