Skip to content

Commit b3d65e1

Browse files
committed
Adjustments to location parameters
1 parent f9fb52a commit b3d65e1

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

Source/RunActivity/Viewer3D/RollingStock/MSTSWagonViewer.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,8 +1004,6 @@ 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;
10091007
p.XNAMatrix.M31 *= -1;
10101008
p.XNAMatrix.M33 *= -1;
10111009
}
@@ -1056,8 +1054,6 @@ private void AlignCouplerWithCar(TrainCar car, AnimatedShape couplerShape)
10561054
{
10571055
p.XNAMatrix.M11 *= -1;
10581056
p.XNAMatrix.M13 *= -1;
1059-
p.XNAMatrix.M21 *= -1;
1060-
p.XNAMatrix.M23 *= -1;
10611057
p.XNAMatrix.M31 *= -1;
10621058
p.XNAMatrix.M33 *= -1;
10631059
}

0 commit comments

Comments
 (0)