Ajout Sprites + timer + ObjToTxt enlever

ObjToTxt à remplacer pour directement ouvrir un .obj
This commit is contained in:
StratiX0
2024-03-27 11:24:25 +01:00
parent 4f4e4bca44
commit 99af9f5f64
22 changed files with 707 additions and 3058 deletions

32
enginecustom/Timerclass.h Normal file
View File

@@ -0,0 +1,32 @@
#ifndef _TIMERCLASS_H_
#define _TIMERCLASS_H_
//////////////
// INCLUDES //
//////////////
#include <windows.h>
////////////////////////////////////////////////////////////////////////////////
// Class name: TimerClass
////////////////////////////////////////////////////////////////////////////////
class TimerClass
{
public:
TimerClass();
TimerClass(const TimerClass&);
~TimerClass();
bool Initialize();
void Frame();
float GetTime();
private:
float m_frequency;
INT64 m_startTime;
float m_frameTime;
};
#endif