summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp
diff options
context:
space:
mode:
authorJMC47 <JMC4789@gmail.com>2026-11-01 14:59:45 -0500
committerGitHub <noreply@github.com>2026-11-01 14:59:45 -0500
commit833d8c05965ac1e2242799d3c9b0e0fadbcbb7f8 (patch)
tree43c8c9f956abfa5826030d3cc60d4b621f926359 /Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp
parente6ed14488a84eeaae1856e1d7c0dd457dceb49ce (diff)
parent6dcb0817a2cd1a507dbf5e3c42bf13623b5b5cae (diff)
Merge pull request #14704 from JoshuaVandaele/mathutils-23
MathUtil: C++20/23 modernisations
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp
index 5c604ef3d1..82b6eccb73 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp
+++ b/Source/Core/InputCommon/ControllerEmu/ControlGroup/Tilt.cpp
@@ -69,7 +69,7 @@ ControlState Tilt::GetDefaultInputRadiusAtAngle(double ang) const
ControlState Tilt::GetMaxRotationalVelocity() const
{
- return m_max_rotational_velocity.GetValue() * MathUtil::TAU;
+ return m_max_rotational_velocity.GetValue() * MathUtil::TAU_v<ControlState>;
}
Control* Tilt::GetModifierInput() const