Add ktx
This commit is contained in:
1 parent
14bd1a9271
commit
13fa90a0e9
3958 files changed
+999286
-4
No files matched your search
@@ -0,0 +1,23 @@
|
||||
/// @ref gtx_optimum_pow
|
||||
/// @file glm/gtx/optimum_pow.inl
|
||||
|
||||
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
|
||||
Reference in new issue
Block a user