47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_optimum_pow extension included")
60 template <
typename genType>
61 GLM_FUNC_DECL genType
pow2(genType
const & x);
66 template <
typename genType>
67 GLM_FUNC_DECL genType
pow3(genType
const & x);
72 template <
typename genType>
73 GLM_FUNC_DECL genType
pow4(genType
const & x);
79 #include "optimum_pow.inl"
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.
GLM_FUNC_DECL genType pow2(genType const &x)
Returns x raised to the power of 2.