Use GlobalTime
This commit is contained in:
@@ -13,14 +13,14 @@ namespace JabyEngine {
|
||||
|
||||
public:
|
||||
constexpr size_t milliseconds_to(const TimeStamp& ts) const {
|
||||
return (ts.value - this->value);
|
||||
return (ts.value - this->value)*10;
|
||||
}
|
||||
|
||||
friend class GlobalTime;
|
||||
};
|
||||
|
||||
private:
|
||||
static size_t global_counter;
|
||||
static volatile size_t global_counter;
|
||||
|
||||
public:
|
||||
GlobalTime() = delete;
|
||||
|
Reference in New Issue
Block a user