paysages3d/src/system/Time.cpp

10 lines
173 B
C++
Raw Normal View History

2015-09-13 20:38:44 +00:00
#include "Time.h"
#include <QTime>
static QTime EPOCH = QTime::currentTime();
unsigned long Time::getRelativeTimeMs() {
2015-09-13 20:38:44 +00:00
return EPOCH.msecsTo(QTime::currentTime());
}