input_common: Add property to invert an axis button
This commit is contained in:
parent
46e835f2d6
commit
f017335fef
6 changed files with 15 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue