Fast but less accurate implementations of exponential based functions. More...
Functions | |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastExp (const T &x) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastExp2 (const T &x) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastLn (const T &x) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastLog (const T &x) |
template<typename T > | |
GLM_FUNC_DECL T | glm::fastLog2 (const T &x) |
template<typename genType > | |
GLM_FUNC_DECL genType | glm::fastPow (genType const &x, genType const &y) |
template<typename genTypeT , typename genTypeU > | |
GLM_FUNC_DECL genTypeT | glm::fastPow (genTypeT const &x, genTypeU const &y) |
Fast but less accurate implementations of exponential based functions.
<glm/gtx/fast_exponential.hpp> need to be included to use these functionalities.
GLM_FUNC_DECL T glm::fastExp | ( | const T & | x | ) |
Faster than the common exp function but less accurate.
GLM_FUNC_DECL T glm::fastExp2 | ( | const T & | x | ) |
Faster than the common exp2 function but less accurate.
GLM_FUNC_DECL T glm::fastLn | ( | const T & | x | ) |
Faster than the common ln function but less accurate.
GLM_FUNC_DECL T glm::fastLog | ( | const T & | x | ) |
Faster than the common log function but less accurate.
GLM_FUNC_DECL T glm::fastLog2 | ( | const T & | x | ) |
Faster than the common log2 function but less accurate.
GLM_FUNC_DECL genType glm::fastPow | ( | genType const & | x, |
genType const & | y | ||
) |
Faster than the common pow function but less accurate.
GLM_FUNC_DECL genTypeT glm::fastPow | ( | genTypeT const & | x, |
genTypeU const & | y | ||
) |
Faster than the common pow function but less accurate.