mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-04 19:53:11 +02:00
constant
This commit is contained in:
parent
c90845dfcb
commit
2819f3ac1b
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ void AvatarUpdate::avatarUpdateIfSynchronous() {
|
|||
void AvatarUpdate::avatarUpdate() {
|
||||
PerformanceTimer perfTimer("AvatarUpdate");
|
||||
quint64 now = usecTimestampNow();
|
||||
float deltaTime = (now - _lastAvatarUpdate) / (1000.0f * 1000.0f);
|
||||
float deltaTime = (now - _lastAvatarUpdate) / (float) USECS_PER_SECOND;
|
||||
Application::getInstance()->setAvatarSimrateSample(1.0f / deltaTime);
|
||||
_lastAvatarUpdate = now;
|
||||
|
||||
|
|
Loading…
Reference in a new issue