animations

This commit is contained in:
Jorijn van der Graaf 2025-11-24 03:38:20 +01:00
commit e4dda0861c
8 changed files with 161 additions and 4 deletions

View file

@ -95,6 +95,10 @@ namespace Crafter {
float a;
};
export struct FrameTime {
std::chrono::time_point<std::chrono::high_resolution_clock> now;
std::chrono::duration<double> delta;
};
export constexpr std::int_fast32_t BOUND = 9;