Use rs angle used for RY

This commit is contained in:
Travis Nickles 2018-06-05 15:46:33 -05:00
parent 7e8d3efc92
commit a855e67b1a

View File

@ -166,7 +166,7 @@ namespace DS4Windows
rsangle = (rsangle >= 0 ? rsangle : (2 * Math.PI + rsangle)) * 180 / Math.PI; rsangle = (rsangle >= 0 ? rsangle : (2 * Math.PI + rsangle)) * 180 / Math.PI;
RSAngle = rsangle; RSAngle = rsangle;
RXUnit = Math.Abs(Math.Cos(RSAngleRad)); RXUnit = Math.Abs(Math.Cos(RSAngleRad));
RYUnit = Math.Abs(Math.Sin(LSAngleRad)); RYUnit = Math.Abs(Math.Sin(RSAngleRad));
} }
public void rotateLSCoordinates(double rotation) public void rotateLSCoordinates(double rotation)