0.9.7: common.hpp Source File

| 0.9.7

- Main Page
- Modules
- Files

- File List

gtx/common.hpp
Go to the documentation of this file.
1
43 #pragma once
44
45 // Dependencies:
46 #include "../vec2.hpp"
47 #include "../vec3.hpp"
48 #include "../vec4.hpp"
49 #include "../gtc/vec1.hpp"
50
51 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
52 # pragma message("GLM: GLM_GTX_common extension included")
53 #endif
54
55 namespace glm
56 {
59
68 template <typename genType>
69 GLM_FUNC_DECL typename genType::bool_type isdenormal(genType const & x);
70
76 template <typename T, precision P, template <typename, precision> class vecType>
77 GLM_FUNC_DECL vecType<T, P> fmod(vecType<T, P> const & v);
78
80 }//namespace glm
81
82 #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)
Similiar to 'mod' but with a different rounding and integer support.
glm
Definition: _noise.hpp:40