From 6f67371bb1b46579ae837d0e0c61ac1b291be743 Mon Sep 17 00:00:00 2001 From: LaG1924 <12997935+LaG1924@users.noreply.github.com> Date: Sat, 13 Jan 2018 07:51:33 +0500 Subject: Directory renamed --- external/include/glm/gtx/optimum_pow.inl | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 external/include/glm/gtx/optimum_pow.inl (limited to 'external/include/glm/gtx/optimum_pow.inl') diff --git a/external/include/glm/gtx/optimum_pow.inl b/external/include/glm/gtx/optimum_pow.inl new file mode 100644 index 0000000..2216a74 --- /dev/null +++ b/external/include/glm/gtx/optimum_pow.inl @@ -0,0 +1,23 @@ +/// @ref gtx_optimum_pow +/// @file glm/gtx/optimum_pow.inl + +namespace glm +{ + template + GLM_FUNC_QUALIFIER genType pow2(genType const & x) + { + return x * x; + } + + template + GLM_FUNC_QUALIFIER genType pow3(genType const & x) + { + return x * x * x; + } + + template + GLM_FUNC_QUALIFIER genType pow4(genType const & x) + { + return (x * x) * (x * x); + } +}//namespace glm -- cgit v1.2.3