Renamed Dat to DataConsts

This commit is contained in:
2026-06-13 20:21:55 +02:00
parent c1636f4b2c
commit 981005af5e
28 changed files with 126 additions and 126 deletions

View File

@@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace _2DGAMELIB
{
[StructLayout(LayoutKind.Sequential, Size = 1)]
public struct Dat
public struct DataConsts
{
public static MatrixD MatDZero = new MatrixD(0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0);

View File

@@ -264,7 +264,7 @@ namespace _2DGAMELIB
Open.Bot => frame1.ToGlobal((TL1 + TR1) * 0.5),
Open.Rig => frame1.ToGlobal((TL1 + BL1) * 0.5),
Open.Lef => frame1.ToGlobal((TR1 + BR1) * 0.5),
_ => Dat.Vec2DZero,
_ => DataConsts.Vec2DZero,
};
}
@@ -276,7 +276,7 @@ namespace _2DGAMELIB
Open.Bot => gauge.ToGlobal((BLG + BRG) * 0.5),
Open.Rig => gauge.ToGlobal((TRG + BRG) * 0.5),
Open.Lef => gauge.ToGlobal((TLG + BLG) * 0.5),
_ => Dat.Vec2DZero,
_ => DataConsts.Vec2DZero,
};
}

View File

@@ -8,7 +8,7 @@ namespace _2DGAMELIB
[Serializable]
public class Joi
{
public Vector2D Joint = Dat.Vec2DZero;
public Vector2D Joint = DataConsts.Vec2DZero;
public Joi(Joi Joi)
{

View File

@@ -33,7 +33,7 @@ namespace _2DGAMELIB
public FPS FPSF = new FPS(60.0);
private Size BaseSize = Size.Empty;
private Vector2D resVector = Dat.Vec2DZero;
private Vector2D resVector = DataConsts.Vec2DZero;
public string UITitle;
@@ -60,11 +60,11 @@ namespace _2DGAMELIB
}
set
{
Modes[mode].Up(MouseButtons.None, Dat.Vec2DZero, Color.Empty);
Modes[mode].Move(MouseButtons.None, Dat.Vec2DZero, Color.Empty);
Modes[mode].Up(MouseButtons.None, DataConsts.Vec2DZero, Color.Empty);
Modes[mode].Move(MouseButtons.None, DataConsts.Vec2DZero, Color.Empty);
Modeb = mode;
mode = value;
Modes[mode].Move(MouseButtons.None, Dat.Vec2DZero, Color.Empty);
Modes[mode].Move(MouseButtons.None, DataConsts.Vec2DZero, Color.Empty);
Modes[mode].Setting();
}
}

View File

@@ -33,20 +33,20 @@ namespace _2DGAMELIB
protected List<Joi> jp = new List<Joi>();
protected Vector2D basePointBase = Dat.Vec2DZero;
protected Vector2D basePointBase = DataConsts.Vec2DZero;
//cont short for contract?
protected Vector2D basePointCont = Dat.Vec2DZero;
protected Vector2D basePointCont = DataConsts.Vec2DZero;
protected Vector2D positionBase = Dat.Vec2DZero;
protected Vector2D positionBase = DataConsts.Vec2DZero;
protected Vector2D positionContO = Dat.Vec2DZero;
protected Vector2D positionContO = DataConsts.Vec2DZero;
protected Vector2D positionCont = Dat.Vec2DZero;
protected Vector2D positionCont = DataConsts.Vec2DZero;
protected double positionSize = 1.0;
protected Vector2D positionVector = Dat.Vec2DZero;
protected Vector2D positionVector = DataConsts.Vec2DZero;
protected double anglePare;

View File

@@ -28,9 +28,9 @@ namespace _2DGAMELIB
[NonSerialized, JsonIgnore]
private StringFormat stringformat = new StringFormat();
private Vector2D positionT = Dat.Vec2DZero;
private Vector2D positionT = DataConsts.Vec2DZero;
private Vector2D rectSize = Dat.Vec2DOne;
private Vector2D rectSize = DataConsts.Vec2DOne;
public string Text = "";
@@ -366,7 +366,7 @@ namespace _2DGAMELIB
Vector2D[] stringRectPoints = GetStringRectPoints(Unit, Graphics);
Out @out = new Out { Tension = 0f };
Vector2D vector2D = Dat.Vec2DZero - stringRectPoints[0];
Vector2D vector2D = DataConsts.Vec2DZero - stringRectPoints[0];
double x = 0.05;
double num = 0.025;

View File

@@ -23,8 +23,8 @@ namespace _2DGAMELIB
protected Size hitBufferSize = System.Drawing.Size.Empty;
protected Size displayBufferSize = System.Drawing.Size.Empty;
public Vector2D BasePoint = Dat.Vec2DZero;
public Vector2D Position = Dat.Vec2DZero;
public Vector2D BasePoint = DataConsts.Vec2DZero;
public Vector2D Position = DataConsts.Vec2DZero;
public Graphics DisplayGraphics => displayGraphics;
public Graphics HitGraphics => hitGraphics;

View File

@@ -57,7 +57,7 @@ namespace _2DGAMELIB
public static Vector2D GetCenter(this IEnumerable<Out> Out)
{
double num = 0.0;
Vector2D vec2DZero = Dat.Vec2DZero;
Vector2D vec2DZero = DataConsts.Vec2DZero;
foreach (Out item in Out)
{
foreach (Vector2D p in item.ps)
@@ -72,7 +72,7 @@ namespace _2DGAMELIB
public static Vector2D GetCenter(this IEnumerable<Joi> Joi)
{
double num = 0.0;
Vector2D vec2DZero = Dat.Vec2DZero;
Vector2D vec2DZero = DataConsts.Vec2DZero;
foreach (Joi item in Joi)
{
vec2DZero += item.Joint;

View File

@@ -152,7 +152,7 @@ namespace SlaveMatrix
Vector2D vector2D = Are.GetPosition(0.2, 1.0 - num4 * num2 / Are.LocalHeight).AddY(0.0 - num);
double y = 1.01;
MaiB = new Par();
MaiB.BasePointBase = Dat.Vec2DZero;
MaiB.BasePointBase = DataConsts.Vec2DZero;
MaiB.PositionBase = vector2D;
MaiB.SizeBase = num2;
MaiB.OP.AddRange(new Out[1] { Shas.GetSquare() });
@@ -171,7 +171,7 @@ namespace SlaveMatrix
Mai.Feed.OP.OutlineFalse();
double num5 = num4 * 4.53;
Mai2B = new Par();
Mai2B.BasePointBase = Dat.Vec2DZero;
Mai2B.BasePointBase = DataConsts.Vec2DZero;
Mai2B.PositionBase = new Vector2D(vector2D.X, 0.01);
Mai2B.SizeBase = num2;
Mai2B.OP.AddRange(new Out[1] { Shas.GetSquare() });
@@ -191,7 +191,7 @@ namespace SlaveMatrix
num3 = Are.LocalWidth * 0.19 / num2;
vector2D = Are.GetPosition(1.0 - (num3 * num2 / Are.LocalWidth + 0.005), 1.0 - num4 * num2 / Are.LocalHeight).AddY(0.0 - num);
SubB = new Par();
SubB.BasePointBase = Dat.Vec2DZero;
SubB.BasePointBase = DataConsts.Vec2DZero;
SubB.PositionBase = vector2D;
SubB.SizeBase = num2;
SubB.OP.AddRange(new Out[1] { Shas.GetSquare() });
@@ -207,7 +207,7 @@ namespace SlaveMatrix
SubInnfo_l = new Lab(Are, "SubInfo", vector2D, num2, 1.0, new Font("MS Gothic", 1f), 0.07, "Sub Info.", Col.White, Col.Black, Color.FromArgb(160, Col.Black), Col.Empty);
SubInnfo_l.ParT.PositionBase = SubInnfo_l.ParT.PositionBase.AddY((0.0 - SubInnfo_l.ParT.OP[0].ps[3].Y) * SubInnfo_l.ParT.SizeBase);
Sub2B = new Par();
Sub2B.BasePointBase = Dat.Vec2DZero;
Sub2B.BasePointBase = DataConsts.Vec2DZero;
Sub2B.PositionBase = new Vector2D(0.0025, vector2D.Y);
Sub2B.SizeBase = num2;
Sub2B.OP.AddRange(new Out[1] { Shas.GetSquare() });

View File

@@ -50,10 +50,10 @@ namespace SlaveMatrix
.X0Y0_吹出しCP.Setting();
double num = 1.35;
double num2 = 0.75;
.C = Dat.Vec2DUnitY * 0.005;
.C = DataConsts.Vec2DUnitY * 0.005;
.B = num * 1.1;
.YB = num2;
Tex = new Tex("Tex", Dat.Vec2DZero, 0.1, .B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed, FeedColor, Action);
Tex = new Tex("Tex", DataConsts.Vec2DZero, 0.1, .B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed, FeedColor, Action);
Tex.Feed.OP.OutlineFalse();
Tex.ParT.BasePointBase = Tex.ParT.OP.GetCenter().AddY(0.04);
this.Dis = Dis;
@@ -110,10 +110,10 @@ namespace SlaveMatrix
.X0Y0_吹出しCP.Setting();
double num = 1.35;
double num2 = 0.75;
.C = Dat.Vec2DUnitY * 0.005;
.C = DataConsts.Vec2DUnitY * 0.005;
.B = num * 1.1;
.YB = num2;
Tex = new Tex("Tex", Dat.Vec2DZero, 0.1, .B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed);
Tex = new Tex("Tex", DataConsts.Vec2DZero, 0.1, .B, 0.63 * num * num2, Font, TextSize, 25, Text, TextColor, ShadColor, Color.Transparent, Speed);
Tex.ParT.BasePointBase = Tex.ParT.OP.GetCenter().AddY(0.04);
this.Dis = Dis;
if (Dis)

View File

@@ -67,7 +67,7 @@ namespace SlaveMatrix
_ = value;
if (!_)
{
Bod.1.C = Dat.Vec2DZero;
Bod.1.C = DataConsts.Vec2DZero;
}
if (_ || _ || _)
{
@@ -91,7 +91,7 @@ namespace SlaveMatrix
_ = value;
if (!_)
{
Bod.1.C = Dat.Vec2DZero;
Bod.1.C = DataConsts.Vec2DZero;
}
if (_ || _ || _)
{
@@ -115,7 +115,7 @@ namespace SlaveMatrix
_ = value;
if (!_)
{
Bod.1.C = Dat.Vec2DZero;
Bod.1.C = DataConsts.Vec2DZero;
}
if (_ || _ || _)
{
@@ -604,7 +604,7 @@ namespace SlaveMatrix
調UI.2CM = 2;
調UI.3CM = 3;
double d = 0.0005;
Vector2D p = Dat.Vec2DZero;
Vector2D p = DataConsts.Vec2DZero;
= new Motion(-1.0, 1.0)
{
BaseSpeed = double.MaxValue,
@@ -650,9 +650,9 @@ namespace SlaveMatrix
OnEnd = delegate(Motion m)
{
m.ResetValue();
2.Bod.2.C = Dat.Vec2DZero;
2.Bod.2.C = Dat.Vec2DZero;
2.Bod.1.C = Dat.Vec2DZero;
2.Bod.2.C = DataConsts.Vec2DZero;
2.Bod.2.C = DataConsts.Vec2DZero;
2.Bod.1.C = DataConsts.Vec2DZero;
}
};
調UI.Mots.Add(.GetHashCode().ToString(), );

View File

@@ -202,7 +202,7 @@ namespace SlaveMatrix
Is核捏ね = true;
= cd.c;
Vector2D = Bod.;
Vector2D B = + Dat.Vec2DUnitY * 0.0015;
Vector2D B = + DataConsts.Vec2DUnitY * 0.0015;
調UI..B = B;
Addvl(ref );
= true;
@@ -220,7 +220,7 @@ namespace SlaveMatrix
vl.Clear();
調UI..Yi = 0;
調UI..C = 0.0;
Bod..C = Dat.Vec2DZero;
Bod..C = DataConsts.Vec2DZero;
if (Med.Mode == "Training")
{
//~~TODO~~ fix?
@@ -339,7 +339,7 @@ namespace SlaveMatrix
private void (ref Vector2D cp)
{
double num = (調UI..B - GetCenter()).Angle02π(Dat.Vec2DUnitY).ToDegree();
double num = (調UI..B - GetCenter()).Angle02π(DataConsts.Vec2DUnitY).ToDegree();
if (!double.IsNaN(num))
{
Bod..Yi = (int)((360.0 - num) / u);
@@ -361,8 +361,8 @@ namespace SlaveMatrix
{
double num = (o.X - v.X) * 0.008;
Vector2D = Bod.;
Vector2D coord = + Dat.Vec2DUnitY * 0.0015;
double num2 = Dat.Vec2DUnitY.Angle02π(調UI..B - GetCenter());
Vector2D coord = + DataConsts.Vec2DUnitY * 0.0015;
double num2 = DataConsts.Vec2DUnitY.Angle02π(調UI..B - GetCenter());
if (!double.IsNaN(num2))
{
調UI..B = coord.TransformCoordinateBP(, num2.RotationZ());
@@ -400,7 +400,7 @@ namespace SlaveMatrix
private Vector2D GetCenter()
{
vs = Dat.Vec2DZero;
vs = DataConsts.Vec2DZero;
foreach (Vector2D item in vl)
{
vs += item;

View File

@@ -58,7 +58,7 @@ namespace SlaveMatrix
private Vector2D o;
private Vector2D vc = Dat.Vec2DZero;
private Vector2D vc = DataConsts.Vec2DZero;
private ContactType ;
@@ -130,7 +130,7 @@ namespace SlaveMatrix
調UI.Set持ち手();
調UI..B = 調UI.CM.bp;
調UI..Intensity = 0.5;
調UI..C = Dat.Vec2DZero;
調UI..C = DataConsts.Vec2DZero;
調UI.();
}
調UI..Intensity = 1.0;
@@ -489,11 +489,11 @@ namespace SlaveMatrix
調UI...Start();
vc = Dat.Vec2DZero;
vc = DataConsts.Vec2DZero;
Bod._人.C = vc;
調UI. = false;
調UI..C = Dat.Vec2DZero;
調UI..C = Dat.Vec2DZero;
調UI..C = DataConsts.Vec2DZero;
調UI..C = DataConsts.Vec2DZero;
.Ele.C = 0.0;
= false;
Isパイズリ = false;
@@ -573,7 +573,7 @@ namespace SlaveMatrix
{
m.ResetValue();
2..Ele.Yi = 0;
2..Ele.C = Dat.Vec2DZero;
2..Ele.C = DataConsts.Vec2DZero;
}
};
調UI.Mots.Add(.GetHashCode().ToString(), );
@@ -640,8 +640,8 @@ namespace SlaveMatrix
OnEnd = delegate(Motion m)
{
2..Ele.XC = 1.0;
調UI..C = Dat.Vec2DZero;
調UI..C = Dat.Vec2DZero;
調UI..C = DataConsts.Vec2DZero;
調UI..C = DataConsts.Vec2DZero;
m.ResetValue();
}
};
@@ -816,7 +816,7 @@ namespace SlaveMatrix
}
};
調UI.Mots.Add(.GetHashCode().ToString(), );
_ = Dat.Vec2DZero;
_ = DataConsts.Vec2DZero;
s = 0.0;
double t;
double d1;
@@ -868,7 +868,7 @@ namespace SlaveMatrix
調UI.Mots.Add(.GetHashCode().ToString(), );
s = 0.0;
LowerArmXC = 0.0;
Vector2D vc = Dat.Vec2DZero;
Vector2D vc = DataConsts.Vec2DZero;
bool sb = false;
double vl;
double vr;
@@ -883,7 +883,7 @@ namespace SlaveMatrix
{
LowerArmXC = 2.LowerArm左.XC;
}
vc = Dat.Vec2DZero;
vc = DataConsts.Vec2DZero;
sb = RNG.XS.NextBool();
s = (sb ? (-1.0) : 1.0);
調UI.Action(ContactType.Chest, ActionType., CurrentState.Start, ToolType.Penis, 0, 1, : false, : false);
@@ -969,7 +969,7 @@ namespace SlaveMatrix
2. = false;
調UI...Start();
2.Bod._人.C = 0.0;
2.Bod._人.C = Dat.Vec2DZero;
2.Bod._人.C = DataConsts.Vec2DZero;
if (2. != null)
{
2..C = 0.0;
@@ -1156,7 +1156,7 @@ namespace SlaveMatrix
d = 0.0;
v = default(Vector2D);
o = default(Vector2D);
vc = Dat.Vec2DZero;
vc = DataConsts.Vec2DZero;
= ContactType.none;
}
}

View File

@@ -412,8 +412,8 @@ namespace SlaveMatrix
{
m.ResetValue();
2..Ele.C = 1.0;
2..Ele.C = Dat.Vec2DZero;
調UI..X2Y0_舌.PositionCont = Dat.Vec2DZero;
2..Ele.C = DataConsts.Vec2DZero;
調UI..X2Y0_舌.PositionCont = DataConsts.Vec2DZero;
}
};
調UI.Mots.Add(.GetHashCode().ToString(), );

View File

@@ -785,7 +785,7 @@ namespace SlaveMatrix
}
else
{
C = Dat.Vec2DZero;
C = DataConsts.Vec2DZero;
}
}
}

View File

@@ -79,7 +79,7 @@ namespace SlaveMatrix
{
調UI.(ref cd);
v = op - cp;
a = 0.0 - v.Angle02π(-Dat.Vec2DUnitY).ToDegree();
a = 0.0 - v.Angle02π(-DataConsts.Vec2DUnitY).ToDegree();
if (!double.IsNaN(a))
{
.Ele.C = a;

View File

@@ -297,7 +297,7 @@ namespace SlaveMatrix
return;
}
int num = 0;
Vector2D vec2DZero = Dat.Vec2DZero;
Vector2D vec2DZero = DataConsts.Vec2DZero;
foreach (Out item in par.OP)
{
foreach (Vector2D item2 in item.ps.Skip(1).Take(item.ps.Count - 2))

View File

@@ -1502,7 +1502,7 @@ namespace SlaveMatrix
{
d *= 1.5;
}
Vector2D p = Dat.Vec2DZero;
Vector2D p = DataConsts.Vec2DZero;
bool f = !(.Ele is );
bool v = .Ele is _ディル || .Ele is _コモン || .Ele is _ドリル || .Ele is _アナル || .Ele is _デンマ;
= new Motion(-1.0, 1.0)
@@ -1559,9 +1559,9 @@ namespace SlaveMatrix
m.ResetValue();
foreach (Par item in .Ele.Body.EnumAllPar())
{
item.PositionCont = Dat.Vec2DZero;
item.PositionCont = DataConsts.Vec2DZero;
}
2.Bod..C = Dat.Vec2DZero;
2.Bod..C = DataConsts.Vec2DZero;
}
};
調UI.Mots.Add(.GetHashCode().ToString(), );
@@ -1641,7 +1641,7 @@ namespace SlaveMatrix
.使 = UsageStatus.Standby;
.Ele. = false;
.Ele.B = .bp;
.Ele.C = Dat.Vec2DZero;
.Ele.C = DataConsts.Vec2DZero;
.Ele.B = 0.0;
.Ele.C = 0.0;
.Ele.Xi = 0;
@@ -1748,7 +1748,7 @@ namespace SlaveMatrix
.使 = UsageStatus.Standby;
.Ele. = false;
.Ele.B = .bp;
.Ele.C = Dat.Vec2DZero;
.Ele.C = DataConsts.Vec2DZero;
.Ele.B = 0.0;
.Ele.C = 0.0;
.Ele.Xi = 0;

View File

@@ -401,7 +401,7 @@ namespace SlaveMatrix
double num2 = X0Y1_飛膜.OP[4].ps[0].DistanceSquared(X0Y1_飛膜.OP[19].ps[2]);
Vector2D v = X0Y1_飛膜.OP[11].ps[2] - vector2D9;
Vector2D v2 = X0Y1_飛膜.ToLocal(.X0Y0_人指_指2.Position) - vector2D8;
double num3 = v.Angle02π(Dat.Vec2DUnitY);
double num3 = v.Angle02π(DataConsts.Vec2DUnitY);
MatrixD transform = num3.RotationZ();
MatrixD transform2 = (v.Angle02π(v2) - num3).RotationZ();
Vector2D vector2D10 = vector2D8 - vector2D9;
@@ -427,7 +427,7 @@ namespace SlaveMatrix
num2 = X0Y1_飛膜.OP[20].ps[0].DistanceSquared(X0Y1_飛膜.OP[39].ps[2]);
Vector2D v3 = X0Y1_飛膜.OP[29].ps[2] - vector2D9;
v2 = X0Y1_飛膜.ToLocal(.X0Y0_中指_指2.Position) - vector2D8;
num3 = v3.Angle02π(Dat.Vec2DUnitY);
num3 = v3.Angle02π(DataConsts.Vec2DUnitY);
transform = num3.RotationZ();
transform2 = (v3.Angle02π(v2) - num3).RotationZ();
vector2D10 = vector2D8 - vector2D9;
@@ -535,7 +535,7 @@ namespace SlaveMatrix
double num2 = X0Y1_飛膜.OP[38].ps[2].DistanceSquared(X0Y1_飛膜.OP[23].ps[0]);
Vector2D v = X0Y1_飛膜.OP[31].ps[0] - vector2D9;
Vector2D v2 = X0Y1_飛膜.ToLocal(.X0Y0_人指_指2.Position) - vector2D8;
double num3 = v.Angle02π(Dat.Vec2DUnitY);
double num3 = v.Angle02π(DataConsts.Vec2DUnitY);
MatrixD transform = num3.RotationZ();
MatrixD transform2 = (v.Angle02π(v2) - num3).RotationZ();
Vector2D vector2D10 = vector2D8 - vector2D9;
@@ -561,7 +561,7 @@ namespace SlaveMatrix
num2 = X0Y1_飛膜.OP[22].ps[2].DistanceSquared(X0Y1_飛膜.OP[3].ps[0]);
Vector2D v3 = X0Y1_飛膜.OP[13].ps[0] - vector2D9;
v2 = X0Y1_飛膜.ToLocal(.X0Y0_中指_指2.Position) - vector2D8;
num3 = v3.Angle02π(Dat.Vec2DUnitY);
num3 = v3.Angle02π(DataConsts.Vec2DUnitY);
transform = num3.RotationZ();
transform2 = (v3.Angle02π(v2) - num3).RotationZ();
vector2D10 = vector2D8 - vector2D9;

View File

@@ -247,7 +247,7 @@ namespace SlaveMatrix
Vector2D vector2D5 = (X0Y1_飛膜.OP[2].ps[0] + X0Y1_飛膜.OP[9].ps[2]) * 0.5;
Vector2D v2 = X0Y1_飛膜.OP[2].ps[0] - X0Y1_飛膜.OP[9].ps[2];
double num2 = v2.LengthSquared();
double num3 = v2.Angle02π(Dat.Vec2DUnitX);
double num3 = v2.Angle02π(DataConsts.Vec2DUnitX);
QuaternionD rotation = num3.RotationZQ();
QuaternionD rotation2 = (v2.Angle02π(v) - num3).RotationZQ();
double num4 = num / num2;
@@ -295,7 +295,7 @@ namespace SlaveMatrix
Vector2D vector2D5 = (X0Y1_飛膜.OP[8].ps[2] + X0Y1_飛膜.OP[1].ps[0]) * 0.5;
Vector2D v2 = X0Y1_飛膜.OP[8].ps[2] - X0Y1_飛膜.OP[1].ps[0];
double num2 = v2.LengthSquared();
double num3 = v2.Angle02π(-Dat.Vec2DUnitX);
double num3 = v2.Angle02π(-DataConsts.Vec2DUnitX);
QuaternionD rotation = num3.RotationZQ();
QuaternionD rotation2 = (v2.Angle02π(v) - num3).RotationZQ();
double num4 = num / num2;

View File

@@ -1400,19 +1400,19 @@ namespace SlaveMatrix
double num = -0.003;
if (Is獣)
{
_獣.X0Y0_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_獣.X0Y1_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_獣.X0Y2_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_獣.X0Y3_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_獣.X0Y4_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_獣.X0Y0_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_獣.X0Y1_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_獣.X0Y2_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_獣.X0Y3_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_獣.X0Y4_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
}
else
{
_人.X0Y0_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_人.X0Y1_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_人.X0Y2_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_人.X0Y3_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_人.X0Y4_子宮.BasePointCont = Dat.Vec2DUnitY * num * _;
_人.X0Y0_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_人.X0Y1_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_人.X0Y2_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_人.X0Y3_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
_人.X0Y4_子宮.BasePointCont = DataConsts.Vec2DUnitY * num * _;
}
}
}
@@ -1597,16 +1597,16 @@ namespace SlaveMatrix
_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35;
foreach (Par item in _人.Body.EnumJoinRoot)
{
item.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001);
item.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001);
}
_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35;
foreach (Par item2 in B_クロス.Body.EnumJoinRoot)
{
item2.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003);
item2.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003);
}
foreach (Par item3 in B_前掛け.Body.EnumJoinRoot)
{
item3.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003);
item3.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003);
}
_人();
}
@@ -1627,16 +1627,16 @@ namespace SlaveMatrix
_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35;
foreach (Par item in _人.Body.EnumJoinRoot)
{
item.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001);
item.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.001 + 0.001);
}
_人.Body.SizeYCont = 0.65 + Waist.Yv * 0.35;
foreach (Par item2 in B_クロス.Body.EnumJoinRoot)
{
item2.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003);
item2.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003);
}
foreach (Par item3 in B_前掛け.Body.EnumJoinRoot)
{
item3.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * 0.003);
item3.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * 0.003);
}
_人();
}
@@ -1655,7 +1655,7 @@ namespace SlaveMatrix
_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35;
foreach (Par item in _獣.Body.EnumJoinRoot)
{
item.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001);
item.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001);
}
_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35;
_獣();
@@ -1675,7 +1675,7 @@ namespace SlaveMatrix
_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35;
foreach (Par item in _獣.Body.EnumJoinRoot)
{
item.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001);
item.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * 0.001 + 0.001);
}
_獣.Body.SizeYCont = 0.65 + Waist_獣.Yv * 0.35;
_獣();
@@ -5279,8 +5279,8 @@ namespace SlaveMatrix
_人 = new _人(disUnit, .N0, Cha.ColorSet, Med, new _人D());
_人. = Elements.Sum((Ele e) => e.) / (double)Elements.Length;
_人.Intensity = 0.0;
Vector2D positionCont = Dat.Vec2DUnitY * -0.03;
Vector2D positionCont2 = Dat.Vec2DUnitY * 0.03;
Vector2D positionCont = DataConsts.Vec2DUnitY * -0.03;
Vector2D positionCont2 = DataConsts.Vec2DUnitY * 0.03;
_人.X0Y0_汗.PositionCont = positionCont;
_人.X0Y0_潮1.PositionCont = positionCont2;
if (Is獣)
@@ -9793,16 +9793,16 @@ namespace SlaveMatrix
private void _人()
{
Torso.X0Y0_筋肉_筋肉左.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * -0.004);
Torso.X0Y0_筋肉_筋肉右.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * -0.004);
_人.X0Y0_虫性_腹板.PositionCont = Dat.Vec2DUnitY * (Waist.Yv * -0.002);
Torso.X0Y0_筋肉_筋肉左.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * -0.004);
Torso.X0Y0_筋肉_筋肉右.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * -0.004);
_人.X0Y0_虫性_腹板.PositionCont = DataConsts.Vec2DUnitY * (Waist.Yv * -0.002);
_人.Body.SizeYCont = 0.85 + (1.0 - Waist.Yv) * 0.15;
}
private void _獣()
{
Torso_獣.X0Y0_筋肉_筋肉左.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * -0.004);
Torso_獣.X0Y0_筋肉_筋肉右.PositionCont = Dat.Vec2DUnitY * (Waist_獣.Yv * -0.004);
Torso_獣.X0Y0_筋肉_筋肉左.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * -0.004);
Torso_獣.X0Y0_筋肉_筋肉右.PositionCont = DataConsts.Vec2DUnitY * (Waist_獣.Yv * -0.004);
_獣.Body.SizeYCont = 0.85 + (1.0 - Waist_獣.Yv) * 0.15;
if (EI半中1 != null)
{

View File

@@ -158,7 +158,7 @@ namespace SlaveMatrix
private bool ;
private Vector2D p = Dat.Vec2DZero;
private Vector2D p = DataConsts.Vec2DZero;
private delegate void MorphMotion(double value);
@@ -350,7 +350,7 @@ namespace SlaveMatrix
private void ResetMoveParts()
{
for (int i = 0; i < _moveParts.Count; i++)
_moveParts[i].EI.Position = Dat.Vec2DZero;
_moveParts[i].EI.Position = DataConsts.Vec2DZero;
}
private void ApplyContParts(Vector2D offset)
{
@@ -367,7 +367,7 @@ namespace SlaveMatrix
private void ResetContParts()
{
for (int i = 0; i < _moveParts.Count; i++)
_moveParts[i].EI.PositionCont = Dat.Vec2DZero;
_moveParts[i].EI.PositionCont = DataConsts.Vec2DZero;
}
public double BreathingSpeed
{
@@ -1335,7 +1335,7 @@ namespace SlaveMatrix
double savedHipValue = 0.0;
Par pa = Body.Waist.Body.CurJoinRoot;
Par pb = null;
Vector2D vec = Dat.Vec2DZero;
Vector2D vec = DataConsts.Vec2DZero;
Action = delegate
{
pb = cha.Body.Waist.Body.CurJoinRoot;
@@ -1382,11 +1382,11 @@ namespace SlaveMatrix
OnEnd = delegate
{
cha.Body.HipMotion_人v = savedHipValue;
cha.Body.Waist.C = Dat.Vec2DZero;
cha.Body.Waist.C = DataConsts.Vec2DZero;
if (!cha.Body..)
{
cha.Body..C = Dat.Vec2DZero;
cha.Body..C = Dat.Vec2DZero;
cha.Body..C = DataConsts.Vec2DZero;
cha.Body..C = DataConsts.Vec2DZero;
}
ResetContParts();
@@ -1541,7 +1541,7 @@ namespace SlaveMatrix
}
};
Motions.Add(.GetHashCode().ToString(), );
Vector2D p_ = Dat.Vec2DZero;
Vector2D p_ = DataConsts.Vec2DZero;
double d_;
BodySway = new Motion(0.0, 1.0)
{
@@ -1571,11 +1571,11 @@ namespace SlaveMatrix
},
OnEnd = delegate
{
cha.Body.Waist.C = Dat.Vec2DZero;
cha.Body.Waist.C = DataConsts.Vec2DZero;
if (!cha.Body..)
{
cha.Body..C = Dat.Vec2DZero;
cha.Body..C = Dat.Vec2DZero;
cha.Body..C = DataConsts.Vec2DZero;
cha.Body..C = DataConsts.Vec2DZero;
}
ResetMoveParts();

View File

@@ -20,13 +20,13 @@ namespace SlaveMatrix
public bool ;
public Vector2D B = Dat.Vec2DZero;
public Vector2D B = DataConsts.Vec2DZero;
public Vector2D C = Dat.Vec2DZero;
public Vector2D C = DataConsts.Vec2DZero;
public Vector2D B = Dat.Vec2DZero;
public Vector2D B = DataConsts.Vec2DZero;
public Vector2D C = Dat.Vec2DZero;
public Vector2D C = DataConsts.Vec2DZero;
public double B;

View File

@@ -6,9 +6,9 @@ namespace SlaveMatrix
{
public class EleI : IDisposable
{
public Vector2D Position = Dat.Vec2DZero;
public Vector2D Position = DataConsts.Vec2DZero;
public Vector2D PositionCont = Dat.Vec2DZero;
public Vector2D PositionCont = DataConsts.Vec2DZero;
public RenderArea Lay;

View File

@@ -223,7 +223,7 @@ namespace SlaveMatrix
SaveData = new ListView(
DrawBuffer,
Dat.Vec2DZero.AddY(0.0025),
DataConsts.Vec2DZero.AddY(0.0025),
0.25,
new Font("MS Gothic", 1f),
0.11,
@@ -1676,7 +1676,7 @@ namespace SlaveMatrix
};
ContactD cd = default(ContactD);
Vector2D op = Dat.Vec2DZero;
Vector2D op = DataConsts.Vec2DZero;
調 = delegate (RenderArea a, FPS FPS)
{

View File

@@ -3088,22 +3088,22 @@ namespace SlaveMatrix
public static void _下左(this Character Cha)
{
Cha.Body..Body.CurJoinRoot.PositionCont = Dat.Vec2DZero;
Cha.Body..Body.CurJoinRoot.PositionCont = DataConsts.Vec2DZero;
}
public static void _下右(this Character Cha)
{
Cha.Body..Body.CurJoinRoot.PositionCont = Dat.Vec2DZero;
Cha.Body..Body.CurJoinRoot.PositionCont = DataConsts.Vec2DZero;
}
public static void _上左(this Character Cha)
{
Cha.Body..Body.CurJoinRoot.PositionCont = -Dat.Vec2DUnitY * 0.003;
Cha.Body..Body.CurJoinRoot.PositionCont = -DataConsts.Vec2DUnitY * 0.003;
}
public static void _上右(this Character Cha)
{
Cha.Body..Body.CurJoinRoot.PositionCont = -Dat.Vec2DUnitY * 0.003;
Cha.Body..Body.CurJoinRoot.PositionCont = -DataConsts.Vec2DUnitY * 0.003;
}
public static void _下(this Character Cha)
@@ -3183,12 +3183,12 @@ namespace SlaveMatrix
public static void _下(this Character Cha)
{
Cha.Body..Body.CurJoinRoot.PositionCont = Dat.Vec2DZero;
Cha.Body..Body.CurJoinRoot.PositionCont = DataConsts.Vec2DZero;
}
public static void _上(this Character Cha)
{
Cha.Body..Body.CurJoinRoot.PositionCont = -Dat.Vec2DUnitY * 0.003;
Cha.Body..Body.CurJoinRoot.PositionCont = -DataConsts.Vec2DUnitY * 0.003;
}
public static void _1(this Character c, int i)

View File

@@ -967,7 +967,7 @@ namespace SlaveMatrix
4 => new Vector2D(RNG.XS.NextDouble(num3, num3 + num6), RNG.XS.NextDouble(num5, num5 + num7)),
5 => new Vector2D(RNG.XS.NextDouble(num3, num3 + num6), RNG.XS.NextDouble(num4, num5)),
6 => new Vector2D(RNG.XS.NextDouble(num3, num3 + num6), RNG.XS.NextDouble(num4, num5)),
_ => Dat.Vec2DZero,
_ => DataConsts.Vec2DZero,
};
}
@@ -989,7 +989,7 @@ namespace SlaveMatrix
4 => new Vector2D(RNG.XS.NextDouble(num3, num3 + num6), RNG.XS.NextDouble(num5, num5 + num7)),
5 => new Vector2D(RNG.XS.NextDouble(num3, num3 + num6), RNG.XS.NextDouble(num4, num5)),
6 => new Vector2D(RNG.XS.NextDouble(num3, num3 + num6), RNG.XS.NextDouble(num4, num5)),
_ => Dat.Vec2DZero,
_ => DataConsts.Vec2DZero,
};
}

View File

@@ -1057,7 +1057,7 @@ namespace SlaveMatrix
focus.Ele.Xi = 0;
focus.Ele.Yi = 0;
focus.Ele.B = focus.bp;
focus.Ele.C = Dat.Vec2DZero;
focus.Ele.C = DataConsts.Vec2DZero;
focus.Ele.B = 0.0;
focus.Ele.C = 0.0;
focus.Ele. = false;
@@ -1074,7 +1074,7 @@ namespace SlaveMatrix
if (focus == CM || focus == CM || focus == CM)
{
= false;
.C = Dat.Vec2DZero;
.C = DataConsts.Vec2DZero;
.B = 0.0;
.C = 0.0;
.Xi = 0;
@@ -1083,7 +1083,7 @@ namespace SlaveMatrix
return;
}
= true;
.C = Dat.Vec2DZero;
.C = DataConsts.Vec2DZero;
.B = 0.0;
.C = 0.0;
if (focus == CM || focus == CM || focus == CM || focus == CM || focus == CM)