add input

add time
add vertex color
This commit is contained in:
2025-09-24 11:44:51 +02:00
parent faa9b71510
commit c9e9dcf572
5 changed files with 51 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 = {};
};