KudanAR - iOS  1.6.0

Integer exponentiation of power functions. More...

Functions

template<typename genType >
GLM_FUNC_DECL genType glm::gtx::pow2 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType glm::gtx::pow3 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType glm::gtx::pow4 (genType const &x)
 

Detailed Description

Integer exponentiation of power functions.

<glm/gtx/optimum_pow.hpp> need to be included to use these functionalities.

Function Documentation

◆ pow2()

template<typename genType >
GLM_FUNC_DECL genType glm::gtx::pow2 ( genType const &  x)

Returns x raised to the power of 2.

See also
GLM_GTX_optimum_pow

◆ pow3()

template<typename genType >
GLM_FUNC_DECL genType glm::gtx::pow3 ( genType const &  x)

Returns x raised to the power of 3.

See also
GLM_GTX_optimum_pow

◆ pow4()

template<typename genType >
GLM_FUNC_DECL genType glm::gtx::pow4 ( genType const &  x)

Returns x raised to the power of 4.

See also
GLM_GTX_optimum_pow