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
+8
View File
@@ -2,11 +2,19 @@
UINT Time::init()
{
_lastFrame = CLOCK::now();
return 0;
}
void Time::update()
{
TIMEPOINT now = CLOCK::now();
SECONDS diff = now - _lastFrame;
_lastFrame = now;
_deltaTime = diff.count();
}
void Time::deInit()