diff --git a/openVulkanoCpp/Image/ExifBuilder.cpp b/openVulkanoCpp/Image/ExifBuilder.cpp index fab2aa3..42f6bcd 100644 --- a/openVulkanoCpp/Image/ExifBuilder.cpp +++ b/openVulkanoCpp/Image/ExifBuilder.cpp @@ -300,8 +300,8 @@ namespace OpenVulkano::Image { orientationRad = Math::Utils::NormalizeAngleRad(orientationRad); if (orientationRad > 0.78f && orientationRad < 2.35f) orientation = 8; - else if (orientationRad < 3.93f && orientationRad >= 2.35f) orientation = 3; - else if (orientationRad < 5.5f) orientation = 6; + else if (orientationRad >= 2.35f && orientationRad < 3.93f) orientation = 3; + else if (orientationRad >= 3.93f && orientationRad < 5.5f) orientation = 6; else orientation = 1; }