18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_log_base is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_log_base extension included")
33 template <
typename genType>
34 GLM_FUNC_DECL genType
log(
36 genType
const & base);
40 template <
typename T, precision P,
template <
typename, precision>
class vecType>
41 GLM_FUNC_DECL vecType<T, P>
sign(
42 vecType<T, P>
const & x,
43 vecType<T, P>
const & base);
48 #include "log_base.inl"
GLM_FUNC_DECL genType log(genType const &x, genType const &base)
Logarithm for any base.
GLM_FUNC_DECL vecType< T, P > sign(vecType< T, P > const &x, vecType< T, P > const &base)
Logarithm for any base.