paysages3d/src/system/Time.cpp

12 lines
174 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()
{
return EPOCH.msecsTo(QTime::currentTime());
}