gtx_color_space.cpp 277 B

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