From 5c6a881c8ee110ecdb31de2de20fe7fca83836bb Mon Sep 17 00:00:00 2001 From: WujekFoliarz Date: Thu, 29 May 2025 22:10:21 +0200 Subject: [PATCH] swap y and z back --- src/input/controller.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/input/controller.cpp b/src/input/controller.cpp index 5461c69e0..42cabb837 100644 --- a/src/input/controller.cpp +++ b/src/input/controller.cpp @@ -193,8 +193,8 @@ void GameController::CalculateOrientation(Libraries::Pad::OrbisFVector3& acceler q.w /= norm; orientation.x = q.x; - orientation.y = q.z; - orientation.z = q.y; // yes this is swapped on purpose don't touch it + orientation.y = q.y; + orientation.z = q.z; orientation.w = q.w; LOG_DEBUG(Lib_Pad, "Calculated orientation: {:.2f} {:.2f} {:.2f} {:.2f}", orientation.x, orientation.y, orientation.z, orientation.w);