1/// @ref gtx_optimum_pow 2/// @file glm/gtx/optimum_pow.inl 3 4namespace glm 5{ 6 template <typename genType> 7 GLM_FUNC_QUALIFIER genType pow2(genType const & x) 8 { 9 return x * x; 10 } 11 12 template <typename genType> 13 GLM_FUNC_QUALIFIER genType pow3(genType const & x) 14 { 15 return x * x * x; 16 } 17 18 template <typename genType> 19 GLM_FUNC_QUALIFIER genType pow4(genType const & x) 20 { 21 return (x * x) * (x * x); 22 } 23}//namespace glm 24