0.9.8
Functions

Functions

template<typename genType >
GLM_FUNC_DECL genType log (genType const &x, genType const &base)
 
template<typename T , precision P, template< typename, precision > class vecType>
GLM_FUNC_DECL vecType< T, P > sign (vecType< T, P > const &x, vecType< T, P > const &base)
 

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 vecType<T, P> glm::sign ( vecType< T, P > const &  x,
vecType< T, P > const &  base 
)

Logarithm for any base.

From GLM_GTX_log_base.