template<typenameT>gtc::type_precision::f64vec4f64_argb_cast(Tc);//!< \brief Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
template<typenameT>gtc::type_precision::f64vec4f64_bgra_cast(Tc);//!< \brief Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
template<typenameT>gtc::type_precision::f64vec4f64_abgr_cast(Tc);//!< \brief Conversion of a u32 or u64 color into 4 components floating color. (From GLM_GTX_color_cast extension)
//! GLM_GTX_compatibility extension: Provide functions to increase the compatibility with Cg and HLSL languages
namespacecompatibility
{
/// \addtogroup gtx_compatibility
///@{
template<typenameT>inlineTlerp(Tx,Ty,Ta){returnmix(x,y,a);}//!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
template<typenameT>inlinedetail::tvec2<T>lerp(constdetail::tvec2<T>&x,constdetail::tvec2<T>&y,Ta){returnmix(x,y,a);}//!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
template<typenameT>inlinedetail::tvec3<T>lerp(constdetail::tvec3<T>&x,constdetail::tvec3<T>&y,Ta){returnmix(x,y,a);}//!< \brief Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
@ -151,6 +154,8 @@ namespace glm
typedefdetail::tmat4x3<double>double4x3;//!< \brief double-precision floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
typedefdetail::tmat4x4<double>double4x4;//!< \brief double-precision floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
//! GLM_GTX_random extension: Generate random number from varius distribution methods
//! GLM_GTX_random extension: Generate random number from various distribution methods
namespacerandom
{
/// \addtogroup gtx_random
///@{
//! Generate a random number in the interval [-1, 1], according a linear distribution.
//! From GLM_GTX_random extension.
template<typenameT>TsignedRand1();
@ -75,6 +78,7 @@ namespace random
template<typenameT>detail::tvec3<T>gaussRand3(constdetail::tvec3<T>&mean,constdetail::tvec3<T>&std_deviation);//!< \brief Gererate 3 random floating numbers according a Gauss distribution. (From GLM_GTX_random extension)
template<typenameT>detail::tvec4<T>gaussRand4(constdetail::tvec4<T>&mean,constdetail::tvec4<T>&std_deviation);//!< \brief Gererate 4 random floating numbers according a Gauss distribution. (From GLM_GTX_random extension)