18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTX_optimum_pow extension included")
31 template <
typename genType>
32 GLM_FUNC_DECL genType
pow2(genType
const & x);
37 template <
typename genType>
38 GLM_FUNC_DECL genType
pow3(genType
const & x);
43 template <
typename genType>
44 GLM_FUNC_DECL genType
pow4(genType
const & x);
50 #include "optimum_pow.inl"
GLM_FUNC_DECL genType pow2(genType const &x)
Returns x raised to the power of 2.
GLM_FUNC_DECL genType pow3(genType const &x)
Returns x raised to the power of 3.
GLM_FUNC_DECL genType pow4(genType const &x)
Returns x raised to the power of 4.