SaschaWillems / Vulkan-glTF-PBR

Physical based rendering with Vulkan using glTF 2.0 models
MIT License
915 stars 124 forks source link

animationTimer is scaled by 0.75 #41

Closed syoyo closed 3 years ago

syoyo commented 4 years ago

https://github.com/SaschaWillems/Vulkan-glTF-PBR/blob/72aa7a7a193c022c0e4653a98d70cd80d289be97/src/main.cpp#L2005

@SaschaWillems animationTimer is scaled by 0.75. Is there any reason to do this?

syoyo commented 4 years ago

glTF uses seconds for animation time data, so it should not be multiplied by 0.75

SaschaWillems commented 4 years ago

You're right. This was probably a left-over from debugging. I'll fix that.