updated makefile for supporting different target architectures
use "ARCH=arch_name make" restructured project folder, implementations and headers together under sources/
This commit is contained in:
13
sources/GL_STUFF/UTILS/ClockIterator.hpp
Executable file
13
sources/GL_STUFF/UTILS/ClockIterator.hpp
Executable file
@@ -0,0 +1,13 @@
|
||||
#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();
|
||||
};
|
||||
Reference in New Issue
Block a user