mirror of
https://github.com/yuzu-emu/yuzu-android
synced 2025-08-07 03:22:33 -07:00
input_common: Add property to invert an axis button
This commit is contained in:
@@ -265,7 +265,7 @@ public:
|
||||
z = std::sin(roll) * temp + std::cos(roll) * z;
|
||||
|
||||
temp = x;
|
||||
x = std::cosf(pitch) * x + std::sin(pitch) * z;
|
||||
x = std::cos(pitch) * x + std::sin(pitch) * z;
|
||||
z = -std::sin(pitch) * temp + std::cos(pitch) * z;
|
||||
|
||||
temp = x;
|
||||
|
Reference in New Issue
Block a user