diff --git a/DroneSimulator/Screen2D.cs b/DroneSimulator/Screen2D.cs index f3fbf68..455fc4c 100644 --- a/DroneSimulator/Screen2D.cs +++ b/DroneSimulator/Screen2D.cs @@ -101,6 +101,7 @@ namespace DroneSimulator private static Bitmap DrawImageByQuaternion(Bitmap bmp, Quaternion orientation) { if (bmp == null) return null; + orientation.X = -orientation.X; int canvasSize = (int)System.Math.Sqrt(bmp.Width * bmp.Width + bmp.Height * bmp.Height); Bitmap result = new Bitmap(canvasSize, canvasSize);