Back to Mame

0.9.8: common.hpp Source File

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

latest1.8 KB
Original Source

| | 0.9.8 |

gtx/common.hpp

Go to the documentation of this file.

1

14 #pragma once

15

16 // Dependencies:

17 #include "../vec2.hpp"

18 #include "../vec3.hpp"

19 #include "../vec4.hpp"

20 #include "../gtc/vec1.hpp"

21

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

23 # pragma message("GLM: GLM_GTX_common extension included")

24 #endif

25

26 namespace glm

27 {

30

39template <typename genType>

40 GLM_FUNC_DECL typename genType::bool_type isdenormal(genType const & x);

41

47template <typename T, precision P, template <typename, precision> class vecType>

48 GLM_FUNC_DECL vecType<T, P> fmod(vecType<T, P> const & v);

49

51 }//namespace glm

52

53 #include "common.inl"

glm

Definition: _noise.hpp:11

glm::isdenormal

GLM_FUNC_DECL genType::bool_type isdenormal(genType const &x)

Returns true if x is a denormalized number Numbers whose absolute value is too small to be represente...

glm::fmod

GLM_FUNC_DECL vecType< T, P > fmod(vecType< T, P > const &v)

Similar to 'mod' but with a different rounding and integer support.


Generated by 1.8.10