mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-05 02:00:06 +02:00
something working ?
This commit is contained in:
parent
0c55130548
commit
76ca093e05
1 changed files with 1 additions and 1 deletions
|
@ -176,7 +176,7 @@ void makeEntityItemStatusGetters(RenderableModelEntityItem* entity, render::Item
|
|||
statusGetters.push_back([entity] () -> render::Item::Status::Value {
|
||||
quint64 delta = usecTimestampNow() - entity->getLastBroadcast();
|
||||
float ndelta = (delta / (0.4f * USECS_PER_SECOND));
|
||||
return render::Item::Status::Value(1.0f - ndelta, (ndelta > 1.0f ? 0.01f : 0.5f));
|
||||
return render::Item::Status::Value(1.0f - ndelta, (ndelta > 1.0f ? 0.3f : 0.9f));
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue