Frame rate independent animation updates
This commit is contained in:
parent
710ff2d511
commit
e502785b1f
5 changed files with 76 additions and 59 deletions
|
|
@ -40,7 +40,7 @@ struct VulkanExample
|
|||
uint32_t width;
|
||||
uint32_t height;
|
||||
struct saved_state state;
|
||||
float frameTimer;
|
||||
float frameTimer = 0;
|
||||
|
||||
// Vulkan
|
||||
VkInstance instance;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue