diff --git a/demos/tutorial/07_input.cpp b/demos/tutorial/07_input.cpp index 0df2c76b..17c793ae 100644 --- a/demos/tutorial/07_input.cpp +++ b/demos/tutorial/07_input.cpp @@ -104,7 +104,7 @@ public: } if (lol::abs(controller->GetAxis(AXIS_PITCH).GetValue()) > 0.2f) m_pitch_angle -= controller->GetAxis(AXIS_PITCH).GetValue() * seconds * 100; - if (lol::abs(controller->GetAxis(AXIS_YAW).GetValue()) > 1.0f) + if (lol::abs(controller->GetAxis(AXIS_YAW).GetValue()) > 0.2f) m_yaw_angle += controller->GetAxis(AXIS_YAW).GetValue() * seconds * 100; InputDevice* mouse = InputDevice::Get("Mouse");