1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
#include <glm/gtx/color_space.hpp> int test_saturation() { int Error(0); glm::vec4 Color = glm::saturation(1.0f, glm::vec4(1.0, 0.5, 0.0, 1.0)); return Error; } int main() { int Error(0); Error += test_saturation(); return Error; }