Showing the changes to interface/src/Application.cpp (1 of 6 files). Show all
Unified · Split
| @@ -2404,10 +2404,7 @@ void Application::updateAvatar(float deltaTime) { · 2403 unmodified lines | ||
| 2404 | 2404 | _yawFromTouch = 0.f; |
| 2405 | 2405 | |
| 2406 | 2406 | // apply pitch from touch |
| 2407 | − _myAvatar.getHead().setMousePitch(_myAvatar.getHead().getMousePitch() + | |
| 2408 | − _myAvatar.getHand().getPitchUpdate() + | |
| 2409 | − _pitchFromTouch); | |
| 2410 | − _myAvatar.getHand().setPitchUpdate(0.f); | |
| 2407 | + _myAvatar.getHead().setPitch(_myAvatar.getHead().getPitch() + _pitchFromTouch); | |
| 2411 | 2408 | _pitchFromTouch = 0.0f; |
| 2412 | 2409 | |
| 2413 | 2410 | // Update my avatar's state from gyros |