Frame rate independent animation updates

This commit is contained in:
saschawillems 2016-03-11 20:09:12 +01:00
parent 710ff2d511
commit e502785b1f
5 changed files with 76 additions and 59 deletions

View file

@ -40,7 +40,7 @@ struct VulkanExample
uint32_t width;
uint32_t height;
struct saved_state state;
float frameTimer;
float frameTimer = 0;
// Vulkan
VkInstance instance;