Define common functions from Section 8.3 of GLSL 1.30.8 specification. Included in glm namespace. More...
Functions | |
template<typename genFIType > | |
genFIType | abs (genFIType const &x) |
template<typename genType > | |
genType | ceil (genType const &x) |
template<typename genType > | |
genType | clamp (genType const &x, genType const &minVal, genType const &maxVal) |
template<typename genType , typename genIType > | |
genIType | floatBitsToInt (genType const &value) |
template<typename genType , typename genUType > | |
genUType | floatBitsToUint (genType const &value) |
template<typename genType > | |
genType | floor (genType const &x) |
template<typename genType > | |
genType | fma (genType const &a, genType const &b, genType const &c) |
template<typename genType > | |
genType | fract (genType const &x) |
template<typename genType , typename genIType > | |
genType | frexp (genType const &x, genIType &exp) |
template<typename genType , typename genIType > | |
genType | intBitsToFloat (genIType const &value) |
template<typename genType > | |
genType::bool_type | isinf (genType const &x) |
template<typename genType > | |
genType::bool_type | isnan (genType const &x) |
template<typename genType , typename genIType > | |
genType | ldexp (genType const &x, genIType const &exp) |
template<typename genType > | |
genType | max (genType const &x, genType const &y) |
template<typename genType > | |
genType | min (genType const &x, genType const &y) |
template<typename genTypeT , typename genTypeU > | |
genTypeT | mix (genTypeT const &x, genTypeT const &y, genTypeU const &a) |
template<typename genType > | |
genType | mod (genType const &x, genType const &y) |
template<typename genType > | |
genType | mod (genType const &x, typename genType::value_type const &y) |
template<typename genType > | |
genType | modf (genType const &x, genType &i) |
template<typename genType > | |
genType | round (genType const &x) |
template<typename genType > | |
genType | roundEven (genType const &x) |
template<typename genFIType > | |
genFIType | sign (genFIType const &x) |
template<typename genType > | |
genType | smoothstep (genType const &edge0, genType const &edge1, genType const &x) |
template<typename genType > | |
genType | step (genType const &edge, genType const &x) |
template<typename genType > | |
genType | trunc (genType const &x) |
template<typename genType , typename genUType > | |
genType | uintBitsToFloat (genUType const &value) |
Define common functions from Section 8.3 of GLSL 1.30.8 specification. Included in glm namespace.