Changeset 2813


Ignore:
Timestamp:
Jul 24, 2013, 8:44:08 AM (4 years ago)
Author:
benlitz
Message:

fixed a minor typo in the input tutorial

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/demos/tutorial/07_input.cpp

    r2812 r2813  
    105105        if (lol::abs(controller->GetAxis(AXIS_PITCH).GetValue()) > 0.2f)
    106106            m_pitch_angle -= controller->GetAxis(AXIS_PITCH).GetValue() * seconds * 100;
    107         if (lol::abs(controller->GetAxis(AXIS_YAW).GetValue()) > 1.0f)
     107        if (lol::abs(controller->GetAxis(AXIS_YAW).GetValue()) > 0.2f)
    108108            m_yaw_angle += controller->GetAxis(AXIS_YAW).GetValue() * seconds * 100;
    109109
Note: See TracChangeset for help on using the changeset viewer.