From f7da613a70adc8d5ee0aa49d014f05404d819927 Mon Sep 17 00:00:00 2001 From: Benlitz Date: Wed, 24 Jul 2013 06:44:08 +0000 Subject: [PATCH] fixed a minor typo in the input tutorial --- demos/tutorial/07_input.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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");