mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 23:33:26 +02:00
CR feedback
This commit is contained in:
parent
602404c569
commit
46d96c22fa
1 changed files with 1 additions and 3 deletions
|
@ -152,9 +152,7 @@ float Overlay::updatePulse() {
|
|||
|
||||
// we can safely remove any "full" periods, since those just rotate us back
|
||||
// to our final glow level
|
||||
while (elapsedPeriods > 1.0f) {
|
||||
elapsedPeriods -= 1.0f;
|
||||
}
|
||||
elapsedPeriods = fmod(elapsedPeriods, 1.0f);
|
||||
_lastPulseUpdate = now;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue