This repository has been archived on 2026-05-27. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
VulkanExample/dep/include/glm/gtx/optimum_pow.inl
2026-04-21 05:29:07 +09:00

23 lines
402 B
C++

/// @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