This commit is contained in:
2025-03-21 19:33:00 +01:00
parent 63482923bb
commit 648fc887d6
797 changed files with 218384 additions and 18 deletions

View File

@@ -0,0 +1,22 @@
/// @ref gtx_optimum_pow
namespace glm
{
template<typename genType>
GLM_FUNC_QUALIFIER genType pow2(genType const& x)
{
return x * x;
}
template<typename genType>
GLM_FUNC_QUALIFIER genType pow3(genType const& x)
{
return x * x * x;
}
template<typename genType>
GLM_FUNC_QUALIFIER genType pow4(genType const& x)
{
return (x * x) * (x * x);
}
}//namespace glm