mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-09 02:07:17 +02:00
use glm::isnan() instead of isnan() from math.h
This commit is contained in:
parent
01950fba96
commit
eeb100b62f
1 changed files with 1 additions and 1 deletions
|
@ -35,7 +35,7 @@ float PIDController::update(float measuredValue, float dt, bool resetAccumulator
|
||||||
updateHistory(measuredValue, dt, error, accumulatedError, changeInError, p, i, d, computedValue);
|
updateHistory(measuredValue, dt, error, accumulatedError, changeInError, p, i, d, computedValue);
|
||||||
}
|
}
|
||||||
Q_ASSERT(!glm::isnan(computedValue));
|
Q_ASSERT(!glm::isnan(computedValue));
|
||||||
|
|
||||||
// update state for next time
|
// update state for next time
|
||||||
_lastError = error;
|
_lastError = error;
|
||||||
_lastAccumulation = accumulatedError;
|
_lastAccumulation = accumulatedError;
|
||||||
|
|
Loading…
Reference in a new issue