mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-26 03:55:37 +00:00
swap y and z back
This commit is contained in:
parent
aa4f032006
commit
5c6a881c8e
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user