Convert m_gravityStrength to new settings API

Casts inside the function because it's not 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 58a92f4b2b
commit 4918ff2a37
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_gravityStrength = 9.8f;
float m_flingStrength = 1.0f;
// Set lastHandQuaternion.w to -1000.0 when last hand is invalid.
vr::HmdQuaternion_t m_lastHandQuaternion