0.9.9 API documentation
Loading...
Searching...
No Matches
Functions
GLM_GTX_log_base

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

Functions

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

Detailed Description

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

Logarithm for any base. base can be a vector or a scalar.

Function Documentation

◆ log()

template<typename genType >
GLM_FUNC_DECL genType log ( genType const &  x,
genType const &  base 
)

Logarithm for any base.

From GLM_GTX_log_base.

◆ sign()

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign ( vec< L, T, Q > const &  x,
vec< L, T, Q > const &  base 
)

Logarithm for any base.

From GLM_GTX_log_base.