Clutter Engine 0.0.1
Loading...
Searching...
No Matches
GLM_GTX_fast_exponential

Functions

template<typename genType >
GLM_FUNC_DECL genType glm::fastPow (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastPow (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT glm::fastPow (genTypeT x, genTypeU y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastPow (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T glm::fastExp (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastExp (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T glm::fastLog (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastLog (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T glm::fastExp2 (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastExp2 (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T glm::fastLog2 (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastLog2 (vec< L, T, Q > const &x)
 

Detailed Description

Include <glm/gtx/fast_exponential.hpp> to use the features of this extension.

Fast but less accurate implementations of exponential based functions.

Function Documentation

◆ fastExp() [1/2]

template<typename T >
GLM_FUNC_DECL T glm::fastExp ( T x)

Faster than the common exp function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastExp() [2/2]

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastExp ( vec< L, T, Q > const & x)

Faster than the common exp function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastExp2() [1/2]

template<typename T >
GLM_FUNC_DECL T glm::fastExp2 ( T x)

Faster than the common exp2 function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastExp2() [2/2]

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastExp2 ( vec< L, T, Q > const & x)

Faster than the common exp2 function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastLog() [1/2]

template<typename T >
GLM_FUNC_DECL T glm::fastLog ( T x)

Faster than the common log function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastLog() [2/2]

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastLog ( vec< L, T, Q > const & x)

Faster than the common exp2 function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastLog2() [1/2]

template<typename T >
GLM_FUNC_DECL T glm::fastLog2 ( T x)

Faster than the common log2 function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastLog2() [2/2]

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastLog2 ( vec< L, T, Q > const & x)

Faster than the common log2 function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastPow() [1/4]

template<typename genType >
GLM_FUNC_DECL genType glm::fastPow ( genType x,
genType y )

Faster than the common pow function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastPow() [2/4]

template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT glm::fastPow ( genTypeT x,
genTypeU y )

Faster than the common pow function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastPow() [3/4]

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastPow ( vec< L, T, Q > const & x)

Faster than the common pow function but less accurate.

See also
GLM_GTX_fast_exponential

◆ fastPow() [4/4]

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > glm::fastPow ( vec< L, T, Q > const & x,
vec< L, T, Q > const & y )

Faster than the common pow function but less accurate.

See also
GLM_GTX_fast_exponential