Back to Mame

0.9.8: optimum_pow.hpp Source File

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

latest1.9 KB
Original Source

| | 0.9.8 |

optimum_pow.hpp

Go to the documentation of this file.

1

13 #pragma once

14

15 // Dependency:

16 #include "../glm.hpp"

17

18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)

19 # pragma message("GLM: GLM_GTX_optimum_pow extension included")

20 #endif

21

22 namespace glm{

23 namespace gtx

24 {

27

31template <typename genType>

32 GLM_FUNC_DECL genType pow2(genType const & x);

33

37template <typename genType>

38 GLM_FUNC_DECL genType pow3(genType const & x);

39

43template <typename genType>

44 GLM_FUNC_DECL genType pow4(genType const & x);

45

47 }//namespace gtx

48 }//namespace glm

49

50 #include "optimum_pow.inl"

glm::gtx::pow2

GLM_FUNC_DECL genType pow2(genType const &x)

Returns x raised to the power of 2.

glm

Definition: _noise.hpp:11

glm::gtx::pow3

GLM_FUNC_DECL genType pow3(genType const &x)

Returns x raised to the power of 3.

glm::gtx::pow4

GLM_FUNC_DECL genType pow4(genType const &x)

Returns x raised to the power of 4.


Generated by 1.8.10