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 
39  template <typename genType>
40  GLM_FUNC_DECL typename genType::bool_type isdenormal(genType const & x);
41 
47  template <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"
Definition: _noise.hpp:11
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_FUNC_DECL vecType< T, P > fmod(vecType< T, P > const &v)
Similar to 'mod' but with a different rounding and integer support.