Convert m_flingStrength to new settings API

Casts inside the functions because it isn't feasible to change all
floats to double.
This commit is contained in:
Vasily
2019-12-10 08:28:41 +01:00
committed by username223
parent 4918ff2a37
commit 4be96344da
2 changed files with 9 additions and 15 deletions
@@ -125,7 +125,6 @@ private:
float m_lastControllerPosition[3];
bool m_heightToggle = false;
float m_gravityFloor = 0.0f;
float m_flingStrength = 1.0f;
// Set lastHandQuaternion.w to -1000.0 when last hand is invalid.
vr::HmdQuaternion_t m_lastHandQuaternion
= { k_quaternionInvalidValue, 0.0, 0.0, 0.0 };