mirror of
https://github.com/lubosz/overte.git
synced 2025-04-07 16:42:08 +02:00
fix compile typo
This commit is contained in:
parent
f9d14e1351
commit
a134357489
1 changed files with 2 additions and 2 deletions
|
@ -142,9 +142,9 @@ glm::vec2 Regulator::run(const Timing_ns& deltaTime, const Timing_ns& measuredTi
|
|||
}
|
||||
|
||||
// clamp the step factor
|
||||
del = budgetDelta < 0.0f ? -_relativeStepDown: _relativeStepUp;
|
||||
glm::vec2 stepDelta = budgetDelta < 0.0f ? -_relativeStepDown : _relativeStepUp;
|
||||
|
||||
return currentFrontBack * (1.0f + del);
|
||||
return currentFrontBack * (1.0f + stepDelta);
|
||||
}
|
||||
|
||||
glm::vec2 Regulator::clamp(const glm::vec2& backFront) const {
|
||||
|
|
Loading…
Reference in a new issue