diff --git a/doc/glm.docx b/doc/glm.docx index 028e1ec1..ba998490 100644 Binary files a/doc/glm.docx and b/doc/glm.docx differ diff --git a/doc/glm.pdf b/doc/glm.pdf index 09231b28..444725c6 100644 Binary files a/doc/glm.pdf and b/doc/glm.pdf differ diff --git a/glm/gtc/color_space.hpp b/glm/gtc/color_space.hpp index 636e5ed8..08ece8f8 100644 --- a/glm/gtc/color_space.hpp +++ b/glm/gtc/color_space.hpp @@ -30,19 +30,23 @@ namespace glm /// @addtogroup gtc_color_space /// @{ - /// Convert a linear color to sRGB color using a standard gamma correction + /// Convert a linear color to sRGB color using a standard gamma correction. + /// IEC 61966-2-1:1999 specification https://www.w3.org/Graphics/Color/srgb template class vecType> GLM_FUNC_DECL vecType convertLinearToSRGB(vecType const & ColorLinear); - /// Convert a linear color to sRGB color using a custom gamma correction + /// Convert a linear color to sRGB color using a custom gamma correction. + /// IEC 61966-2-1:1999 specification https://www.w3.org/Graphics/Color/srgb template class vecType> GLM_FUNC_DECL vecType convertLinearToSRGB(vecType const & ColorLinear, T Gamma); - /// Convert a sRGB color to linear color using a standard gamma correction + /// Convert a sRGB color to linear color using a standard gamma correction. + /// IEC 61966-2-1:1999 specification https://www.w3.org/Graphics/Color/srgb template class vecType> GLM_FUNC_DECL vecType convertSRGBToLinear(vecType const & ColorSRGB); - /// Convert a sRGB color to linear color using a custom gamma correction + /// Convert a sRGB color to linear color using a custom gamma correction. + // IEC 61966-2-1:1999 specification https://www.w3.org/Graphics/Color/srgb template class vecType> GLM_FUNC_DECL vecType convertSRGBToLinear(vecType const & ColorSRGB, T Gamma);