| 1234567891011121314151617181920 |
- #define GLM_ENABLE_EXPERIMENTAL
- #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;
- }
|