0.9.7: optimum_pow.hpp Source File

| 0.9.7

- Main Page
- Modules
- Files

- File List

optimum_pow.hpp
Go to the documentation of this file.
1
42 #pragma once
43
44 // Dependency:
45 #include "../glm.hpp"
46
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTX_optimum_pow extension included")
49 #endif
50
51 namespace glm{
52 namespace gtx
53 {
56
60 template <typename genType>
61 GLM_FUNC_DECL genType pow2(genType const & x);
62
66 template <typename genType>
67 GLM_FUNC_DECL genType pow3(genType const & x);
68
72 template <typename genType>
73 GLM_FUNC_DECL genType pow4(genType const & x);
74
76 }//namespace gtx
77 }//namespace glm
78
79 #include "optimum_pow.inl"
glm::gtx::pow3
GLM_FUNC_DECL genType pow3(genType const &x)
Returns x raised to the power of 3.
glm
Definition: _noise.hpp:40
glm::gtx::pow4
GLM_FUNC_DECL genType pow4(genType const &x)
Returns x raised to the power of 4.
glm::gtx::pow2
GLM_FUNC_DECL genType pow2(genType const &x)
Returns x raised to the power of 2.