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

@ -60,7 +60,7 @@ public:
struct android_app* app;
uint32_t width;
uint32_t height;
float frameTimer = 0;
float frameTimer = 1.0f;
struct Texture {
VkSampler sampler;