43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED)) 
   44 #       pragma message("GLM: GLM_GTX_color_space_YCoCg extension included") 
   54         template <
typename T, precision P>
 
   60         template <
typename T, precision P>
 
   62                 tvec3<T, P> 
const & YCoCgColor);
 
   67         template <
typename T, precision P>
 
   74         template <
typename T, precision P>
 
   76                 tvec3<T, P> 
const & YCoCgColor);
 
   81 #include "color_space_YCoCg.inl" 
GLM_FUNC_DECL tvec3< T, P > YCoCg2rgb(tvec3< T, P > const &YCoCgColor)
Convert a color from YCoCg color space to RGB color space. 
GLM_FUNC_DECL tvec3< T, P > rgb2YCoCgR(tvec3< T, P > const &rgbColor)
Convert a color from RGB color space to YCoCgR color space. 
GLM_FUNC_DECL tvec3< T, P > rgb2YCoCg(tvec3< T, P > const &rgbColor)
Convert a color from RGB color space to YCoCg color space. 
GLM_FUNC_DECL tvec3< T, P > YCoCgR2rgb(tvec3< T, P > const &YCoCgColor)
Convert a color from YCoCgR color space to RGB color space. 
GLM_FUNC_DECL tvec3< T, P > rgbColor(tvec3< T, P > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.