mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-01 05:26:45 +08:00
Ref T185 Enable spline interpolation with only one position update,
by just copying it three times, so planes can be rendered without waiting for more updates.
This commit is contained in:
@@ -137,6 +137,11 @@ namespace BlackMisc
|
||||
this->m_timestampMSecsSinceEpoch = QDateTime::currentMSecsSinceEpoch();
|
||||
}
|
||||
|
||||
void ITimestampBased::addMsecs(qint64 ms)
|
||||
{
|
||||
this->m_timestampMSecsSinceEpoch += ms;
|
||||
}
|
||||
|
||||
QString ITimestampBased::getFormattedUtcTimestampDhms() const
|
||||
{
|
||||
return this->hasValidTimestamp() ?
|
||||
|
||||
Reference in New Issue
Block a user