Back to Mame

0.9.8: GLM_GTX_optimum_pow

3rdparty/glm/doc/api/a00215.html

latest1.5 KB
Original Source

| | 0.9.8 |

Functions

GLM_GTX_optimum_pow GTX Extensions (Experimental)

|

Functions

| | template<typename genType > | | GLM_FUNC_DECL genType | pow2 (genType const &x) | | | | template<typename genType > | | GLM_FUNC_DECL genType | pow3 (genType const &x) | | | | template<typename genType > | | GLM_FUNC_DECL genType | 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

| GLM_FUNC_DECL genType glm::gtx::pow2 | ( | genType const & | x | ) | |

Returns x raised to the power of 2.

See alsoGLM_GTX_optimum_pow

| GLM_FUNC_DECL genType glm::gtx::pow3 | ( | genType const & | x | ) | |

Returns x raised to the power of 3.

See alsoGLM_GTX_optimum_pow

| GLM_FUNC_DECL genType glm::gtx::pow4 | ( | genType const & | x | ) | |

Returns x raised to the power of 4.

See alsoGLM_GTX_optimum_pow


Generated by 1.8.10