| 0.9.9 API documenation

- Main Page
- Modules
- Files

- File List

gtx/common.hpp
Go to the documentation of this file.
1
13 #pragma once
14
15 // Dependencies:
16 #include "../vec2.hpp"
17 #include "../vec3.hpp"
18 #include "../vec4.hpp"
19 #include "../gtc/vec1.hpp"
20
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_common is an experimetal extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
23 #endif
24
25 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_common extension included")
27 #endif
28
29 namespace glm
30 {
33
42 template <typename genType>
43 GLM_FUNC_DECL typename genType::bool_type isdenormal(genType const & x);
44
50 template <typename T, precision P, template <typename, precision> class vecType>
51 GLM_FUNC_DECL vecType<T, P> fmod(vecType<T, P> const & v);
52
54 }//namespace glm
55
56 #include "common.inl"
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.
glm
Definition: _noise.hpp:11