Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -2056,8 +2056,8 @@ void Application::updateAvatar(float deltaTime) { · 2055 unmodified lines | |||
| 2056 | float yaw, pitch, roll; | 2056 | float yaw, pitch, roll; |
| 2057 | OculusManager::getEulerAngles(yaw, pitch, roll); | 2057 | OculusManager::getEulerAngles(yaw, pitch, roll); |
| 2058 | 2058 | ||
| 2059 | _myAvatar.getHead().setYaw(yaw); | 2059 | _myAvatar.getHead().setYaw(yaw + _yawFromTouch); |
| 2060 | _myAvatar.getHead().setPitch(pitch); | 2060 | _myAvatar.getHead().setPitch(pitch + _pitchFromTouch); |
| 2061 | _myAvatar.getHead().setRoll(roll); | 2061 | _myAvatar.getHead().setRoll(roll); |
| 2062 | } | 2062 | } |
| 2063 | 2063 | ||