paysages3d/src/system/Time.cpp

9 lines
173 B
C++

#include "Time.h"
#include <QTime>
static QTime EPOCH = QTime::currentTime();
unsigned long Time::getRelativeTimeMs() {
return EPOCH.msecsTo(QTime::currentTime());
}