mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T778, style and comments, debug hints
This commit is contained in:
committed by
Mat Sutcliffe
parent
829777bf3a
commit
46d417c5a2
@@ -187,6 +187,7 @@ namespace BlackMisc
|
||||
CInterpolatorSpline::CInterpolant CInterpolatorSpline::getInterpolant(SituationLog &log)
|
||||
{
|
||||
// recalculate derivatives only if they changed
|
||||
// m_situationsLastModified updated in initIniterpolationStepData
|
||||
const bool recalculate = (m_currentTimeMsSinceEpoch >= m_nextSampleAdjustedTime) || // new step
|
||||
(m_situationsLastModified > m_situationsLastModifiedUsed); // modified
|
||||
|
||||
|
||||
Reference in New Issue
Block a user