add input

add time
This commit is contained in:
2025-09-24 15:37:58 +02:00
parent 10d4f9fd1b
commit 589d0933f4
4 changed files with 95 additions and 15 deletions
+5
View File
@@ -4,6 +4,10 @@
using namespace std;
typedef chrono::steady_clock CLOCK;
typedef CLOCK::time_point TIMEPOINT;
typedef chrono::duration<FLOAT> SECONDS;
class Time
{
public:
@@ -15,5 +19,6 @@ public:
private:
FLOAT _deltaTime = 0.0f;
TIMEPOINT _lastFrame = {};
};