History

Merge pull request #6314 from jherico/homer

Fixing step yaw to move by consistent amounts, be 'tappable'

samcake committed 11 years ago

Commit 00797b42 parents 86b8522 20d10354 files · +45 −14Browse files

Showing the changes to interface/src/Application.cpp (1 of 4 files). Show all

Unified · Split

interface/src/Application.cpp+1−1
@@ -2794,7 +2794,7 @@ void Application::update(float deltaTime) { · 2793 unmodified lines
27942794 float timeFactor = EXPECTED_FRAME_RATE * deltaTime;
27952795 myAvatar->setDriveKeys(PITCH, -1.0f * userInputMapper->getActionState(controller::Action::PITCH) / timeFactor);
27962796 myAvatar->setDriveKeys(YAW, -1.0f * userInputMapper->getActionState(controller::Action::YAW) / timeFactor);
2797− myAvatar->setDriveKeys(STEP_YAW, -1.0f * userInputMapper->getActionState(controller::Action::STEP_YAW) / timeFactor);
2797+ myAvatar->setDriveKeys(STEP_YAW, -1.0f * userInputMapper->getActionState(controller::Action::STEP_YAW));
27982798 }
27992799 }
28002800 myAvatar->setDriveKeys(ZOOM, userInputMapper->getActionState(controller::Action::TRANSLATE_CAMERA_Z));