From 5d8b994bb6ec2cd236e1e911878920002f775a3e Mon Sep 17 00:00:00 2001 From: Gabriel Gouvine Date: Tue, 20 Jun 2023 10:47:25 +0200 Subject: [PATCH] Fix orientation issues across rows: MX/MY are exchanged between Coriolis and Coloquinte --- etesian/src/EtesianEngine.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etesian/src/EtesianEngine.cpp b/etesian/src/EtesianEngine.cpp index 14334a1c..4ba990c4 100644 --- a/etesian/src/EtesianEngine.cpp +++ b/etesian/src/EtesianEngine.cpp @@ -160,11 +160,11 @@ namespace { tx += cellBox.getWidth(); orient = Transformation::Orientation::R2; break; - case CellOrientation::MY: + case CellOrientation::MX: orient = Transformation::Orientation::MY; ty += cellBox.getHeight(); break; - case CellOrientation::MX: + case CellOrientation::MY: orient = Transformation::Orientation::MX; tx += cellBox.getWidth(); break;