mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 01:10:44 +02:00
_rotationChanged is a timestamp
This commit is contained in:
parent
d7ed727faf
commit
138a987a8f
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue