0.9.9 API documenation
Functions

Logarithm for any base. More...

Functions

template<typename genType >
GLM_FUNC_DECL genType log (genType const &x, genType const &base)
 Logarithm for any base. More...
 
template<length_t L, typename T , qualifier P>
GLM_FUNC_DECL vec< L, T, P > sign (vec< L, T, P > const &x, vec< L, T, P > const &base)
 Logarithm for any base. More...
 

Detailed Description

Logarithm for any base.

base can be a vector or a scalar.

<glm/gtx/log_base.hpp> need to be included to use these functionalities.

Function Documentation

GLM_FUNC_DECL genType glm::log ( genType const &  x,
genType const &  base 
)

Logarithm for any base.

From GLM_GTX_log_base.

GLM_FUNC_DECL vec<L, T, P> glm::sign ( vec< L, T, P > const &  x,
vec< L, T, P > const &  base 
)

Logarithm for any base.

From GLM_GTX_log_base.