18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED) 19 # ifndef GLM_ENABLE_EXPERIMENTAL 20 # pragma message("GLM: GLM_GTX_log_base is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it.") 22 # pragma message("GLM: GLM_GTX_log_base extension included") 33 template<
typename genType>
34 GLM_FUNC_DECL genType
log(
40 template<length_t L,
typename T, qualifier Q>
41 GLM_FUNC_DECL vec<L, T, Q>
sign(
42 vec<L, T, Q>
const& x,
43 vec<L, T, Q>
const& base);
48 #include "log_base.inl" Core features
Definition: common.hpp:20
GLM_FUNC_DECL vec< L, T, Q > sign(vec< L, T, Q > const &x)
Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.
Definition: func_common.inl:295
GLM_FUNC_QUALIFIER vec< L, T, Q > log(vec< L, T, Q > const &x)
Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y...
Definition: func_exponential.inl:88