_rotationChanged is a timestamp

This commit is contained in:
Andrew Meadows 2017-05-08 14:27:18 -07:00
parent d7ed727faf
commit 138a987a8f

View file

@ -402,8 +402,8 @@ void MyAvatar::update(float deltaTime) {
_hmdSensorFacingMovingAverage = lerp(_hmdSensorFacingMovingAverage, _hmdSensorFacing, tau);
if (_smoothOrientationTimer < SMOOTH_TIME_ORIENTATION) {
_rotationChanged = true;
_smoothOrientationTimer+= deltaTime;
_rotationChanged = usecTimestampNow();
_smoothOrientationTimer += deltaTime;
}
#ifdef DEBUG_DRAW_HMD_MOVING_AVERAGE