61 template <
typename T, precision P,
template <
typename, precision>
class vecType>
62 GLM_FUNC_DECL vecType<T, P>
pow(vecType<T, P>
const & base, vecType<T, P>
const & exponent);
71 template <
typename T, precision P,
template <
typename, precision>
class vecType>
72 GLM_FUNC_DECL vecType<T, P>
exp(vecType<T, P>
const & v);
83 template <
typename T, precision P,
template <
typename, precision>
class vecType>
84 GLM_FUNC_DECL vecType<T, P>
log(vecType<T, P>
const & v);
93 template <
typename T, precision P,
template <
typename, precision>
class vecType>
94 GLM_FUNC_DECL vecType<T, P>
exp2(vecType<T, P>
const & v);
104 template <
typename T, precision P,
template <
typename, precision>
class vecType>
105 GLM_FUNC_DECL vecType<T, P>
log2(vecType<T, P>
const & v);
116 template <
typename T, precision P,
template <
typename, precision>
class vecType>
117 GLM_FUNC_DECL vecType<T, P>
sqrt(vecType<T, P>
const & v);
126 template <
typename T, precision P,
template <
typename, precision>
class vecType>
127 GLM_FUNC_DECL vecType<T, P>
inversesqrt(vecType<T, P>
const & v);
132 #include "func_exponential.inl"
GLM_FUNC_DECL vecType< T, P > inversesqrt(vecType< T, P > const &v)
Returns the reciprocal of the positive square root of v.
GLM_FUNC_DECL vecType< T, P > pow(vecType< T, P > const &base, vecType< T, P > const &exponent)
Returns 'base' raised to the power 'exponent'.
OpenGL Mathematics (glm.g-truc.net)
GLM_FUNC_DECL vecType< T, P > log(vecType< T, P > const &v)
Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y...
GLM_FUNC_DECL vecType< T, P > exp(vecType< T, P > const &v)
Returns the natural exponentiation of x, i.e., e^x.
OpenGL Mathematics (glm.g-truc.net)
GLM_FUNC_DECL vecType< T, P > exp2(vecType< T, P > const &v)
Returns 2 raised to the v power.
OpenGL Mathematics (glm.g-truc.net)
GLM_FUNC_DECL vecType< T, P > log2(vecType< T, P > const &v)
Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y...
OpenGL Mathematics (glm.g-truc.net)
GLM_FUNC_DECL vecType< T, P > sqrt(vecType< T, P > const &v)
Returns the positive square root of v.