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

@@ -161,7 +161,7 @@ namespace SlaveMatrix
MaiB.Closed = true;
MaiB.BrushColor = Color.FromArgb(160, Col.Black);
MaiB.Hit = false;
MaiB.JP.Add(new Joi(MaiB.OP.GetCenter()));
MaiB.JP.Add(new JointPoint(MaiB.OP.GetCenter()));
Mai = new Tex("Tex1", vector2D, num2, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.08, 0, " ", Col.White, Col.Black, Color.Transparent, 19.0, Col.White, delegate(Tex sp)
{
sp.Text = sp.Text;
@@ -180,7 +180,7 @@ namespace SlaveMatrix
Mai2B.Closed = true;
Mai2B.BrushColor = Color.FromArgb(160, Col.Black);
Mai2B.Hit = false;
Mai2B.JP.Add(new Joi(Mai2B.OP.GetCenter()));
Mai2B.JP.Add(new JointPoint(Mai2B.OP.GetCenter()));
Mai2 = new Tex("Tex3", vector2D, num2, num3 * 0.98, num5 * 0.97, new Font("MS Gothic", 1f), 0.08, 0, " ", Col.White, Col.Black, Color.Transparent, 19.0, Col.White, delegate(Tex sp)
{
sp.Text = sp.Text;
@@ -200,7 +200,7 @@ namespace SlaveMatrix
SubB.Closed = true;
SubB.BrushColor = Color.FromArgb(160, Col.Black);
SubB.Hit = false;
SubB.JP.Add(new Joi(SubB.OP.GetCenter()));
SubB.JP.Add(new JointPoint(SubB.OP.GetCenter()));
Sub = new Tex("Tex4", vector2D, num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, " ", Col.White, Col.Black, Color.Transparent, 15.0);
Sub.ShapePartT.BasePointBase = Sub.ShapePartT.OP.GetCenter().MulY(y);
Sub.Position = SubB.ToGlobal(SubB.JP[0].Joint);
@@ -216,7 +216,7 @@ namespace SlaveMatrix
Sub2B.Closed = true;
Sub2B.BrushColor = Color.FromArgb(160, Col.Black);
Sub2B.Hit = false;
Sub2B.JP.Add(new Joi(SubB.OP.GetCenter()));
Sub2B.JP.Add(new JointPoint(SubB.OP.GetCenter()));
Sub2 = new Tex("Tex3", Sub2B.PositionBase, num2 * 1.01, num3 * 0.98, num4 * 0.91, new Font("MS Gothic", 1f), 0.07, 0, "", Col.White, Col.Black, Color.Transparent, 15.0);
Sub2.ShapePartT.BasePointBase = Sub2.ShapePartT.OP.GetCenter().MulY(y);
Sub2.Position = Sub2B.ToGlobal(Sub2B.JP[0].Joint);

View File

@@ -306,7 +306,7 @@ namespace SlaveMatrix
num++;
}
}
shapePart.JP[0] = new Joi(vec2DZero / num);
shapePart.JP[0] = new JointPoint(vec2DZero / num);
P();
B = (shapePart.GetArea() / X0Y0_鎖1.GetArea()).Sqrt() * 1.2;
}

View File

@@ -5265,9 +5265,9 @@ namespace SlaveMatrix
}
if (IsSingleEye)
{
.X0Y0_Head.JP[7] = new Joi(.X0Y0_Head.JP[7].Joint.MulY(0.96));
.X0Y0_Head.JP[17] = new Joi(.X0Y0_Head.JP[17].Joint.MulY(0.96));
.X0Y0_Head.JP[18] = new Joi(.X0Y0_Head.JP[18].Joint.MulY(0.96));
.X0Y0_Head.JP[7] = new JointPoint(.X0Y0_Head.JP[7].Joint.MulY(0.96));
.X0Y0_Head.JP[17] = new JointPoint(.X0Y0_Head.JP[17].Joint.MulY(0.96));
.X0Y0_Head.JP[18] = new JointPoint(.X0Y0_Head.JP[18].Joint.MulY(0.96));
.1_ = false;
.X0Y0_紅潮左.AngleBase = 20.0;
.X0Y0_紅潮弱左.AngleBase = 20.0;