- Main Page
- Related Pages
- Modules
- Files

- File List

gtc/epsilon.hpp
Go to the documentation of this file.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40 #ifndef GLM_GTC_epsilon
41 #define GLM_GTC_epsilon GLM_VERSION
42
43 // Dependency:
44 #include "../glm.hpp"
45 #include "../gtc/half_float.hpp"
46 #include "../gtc/quaternion.hpp"
47
48 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
49 # pragma message("GLM: GLM_GTC_epsilon extension included")
50 #endif
51
52 namespace glm
53 {
56
59 template <typename genType>
60 typename genType::boolType epsilonEqual(
61 genType const & x,
62 genType const & y,
63 typename genType::value_type const & epsilon);
64
67 template <typename genType>
68 typename genType::boolType epsilonEqual(
69 genType const & x,
70 genType const & y,
71 genType const & epsilon);
72
75 template <typename genType>
76 typename genType::boolType epsilonNotEqual(
77 genType const & x,
78 genType const & y,
79 typename genType::value_type const & epsilon);
80
83 template <typename genType>
84 typename genType::boolType epsilonNotEqual(
85 genType const & x,
86 genType const & y,
87 genType const & epsilon);
88
90 }//namespace glm
91
92 #include "epsilon.inl"
93
94 #endif//GLM_GTC_epsilon