mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +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;
|
q.w /= norm;
|
||||||
|
|
||||||
orientation.x = q.x;
|
orientation.x = q.x;
|
||||||
orientation.y = q.z;
|
orientation.y = q.y;
|
||||||
orientation.z = q.y; // yes this is swapped on purpose don't touch it
|
orientation.z = q.z;
|
||||||
orientation.w = q.w;
|
orientation.w = q.w;
|
||||||
LOG_DEBUG(Lib_Pad, "Calculated orientation: {:.2f} {:.2f} {:.2f} {:.2f}", orientation.x,
|
LOG_DEBUG(Lib_Pad, "Calculated orientation: {:.2f} {:.2f} {:.2f} {:.2f}", orientation.x,
|
||||||
orientation.y, orientation.z, orientation.w);
|
orientation.y, orientation.z, orientation.w);
|
||||||
|
Loading…
Reference in New Issue
Block a user