Skip to content

Commit f4831e5

Browse files
committed
Restore removed items
1 parent b3d65e1 commit f4831e5

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Source/RunActivity/Viewer3D/RollingStock/MSTSWagonViewer.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,6 +1004,8 @@ private Quaternion PositionCoupler(TrainCar car, AnimatedShape couplerShape, Vec
10041004
{
10051005
p.XNAMatrix.M11 *= -1;
10061006
p.XNAMatrix.M13 *= -1;
1007+
p.XNAMatrix.M21 *= -1;
1008+
p.XNAMatrix.M23 *= -1;
10071009
p.XNAMatrix.M31 *= -1;
10081010
p.XNAMatrix.M33 *= -1;
10091011
}
@@ -1054,6 +1056,8 @@ private void AlignCouplerWithCar(TrainCar car, AnimatedShape couplerShape)
10541056
{
10551057
p.XNAMatrix.M11 *= -1;
10561058
p.XNAMatrix.M13 *= -1;
1059+
p.XNAMatrix.M21 *= -1;
1060+
p.XNAMatrix.M23 *= -1;
10571061
p.XNAMatrix.M31 *= -1;
10581062
p.XNAMatrix.M33 *= -1;
10591063
}

0 commit comments

Comments
 (0)