Files
rez_demo/sources/GL_STUFF/UTILS/ClockIterator.hpp

14 lines
248 B
C++
Raw Normal View History

#pragma once
class ClockIterator {
private:
unsigned int max;
unsigned int counter;
public:
ClockIterator(unsigned int loopMillis);
unsigned int step(unsigned int millis);
float getPercentage();
unsigned int getPosition();
void reset();
};