Overv / VulkanTutorial

Tutorial for the Vulkan graphics and compute API
https://vulkan-tutorial.com
Creative Commons Attribution Share Alike 4.0 International
3.06k stars 511 forks source link

Mention std::clamp in explanatory comment instead of min/max #256

Closed ralphtheninja closed 2 years ago

ralphtheninja commented 2 years ago

I suspect the example code used std::min and std::max and was later changed to std::clamp.

Overv commented 2 years ago

You're right, thanks!