Flow Visualisation
constants.hpp
Go to the documentation of this file.
1 
39 #ifndef GLM_GTC_constants
40 #define GLM_GTC_constants GLM_VERSION
41 
42 // Dependency:
43 #include "../glm.hpp"
44 #include "../gtc/half_float.hpp"
45 
46 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
47 # pragma message("GLM: GLM_GTC_constants extension included")
48 #endif
49 
50 namespace glm
51 {
54 
58  template <typename genType>
59  GLM_FUNC_DECL genType epsilon();
60 
63  template <typename genType>
64  GLM_FUNC_DECL genType zero();
65 
68  template <typename genType>
69  GLM_FUNC_DECL genType one();
70 
73  template <typename genType>
74  GLM_FUNC_DECL genType pi();
75 
78  template <typename genType>
79  GLM_FUNC_DECL genType root_pi();
80 
83  template <typename genType>
84  GLM_FUNC_DECL genType half_pi();
85 
88  template <typename genType>
89  GLM_FUNC_DECL genType quarter_pi();
90 
93  template <typename genType>
94  GLM_FUNC_DECL genType one_over_pi();
95 
98  template <typename genType>
99  GLM_FUNC_DECL genType two_over_pi();
100 
103  template <typename genType>
105 
108  template <typename genType>
110 
113  template <typename genType>
114  GLM_FUNC_DECL genType root_half_pi();
115 
118  template <typename genType>
119  GLM_FUNC_DECL genType root_two_pi();
120 
123  template <typename genType>
124  GLM_FUNC_DECL genType root_ln_four();
125 
128  template <typename genType>
129  GLM_FUNC_DECL genType e();
130 
133  template <typename genType>
134  GLM_FUNC_DECL genType euler();
135 
138  template <typename genType>
139  GLM_FUNC_DECL genType root_two();
140 
143  template <typename genType>
144  GLM_FUNC_DECL genType root_three();
145 
148  template <typename genType>
149  GLM_FUNC_DECL genType root_five();
150 
153  template <typename genType>
154  GLM_FUNC_DECL genType ln_two();
155 
158  template <typename genType>
159  GLM_FUNC_DECL genType ln_ten();
160 
163  template <typename genType>
164  GLM_FUNC_DECL genType ln_ln_two();
165 
168  template <typename genType>
169  GLM_FUNC_DECL genType third();
170 
173  template <typename genType>
174  GLM_FUNC_DECL genType two_thirds();
175 
178  template <typename genType>
179  GLM_FUNC_DECL genType golden_ratio();
180 
182 } //namespace glm
183 
184 #include "constants.inl"
185 
186 #endif//GLM_GTC_constants
GLM_FUNC_DECL genType root_pi()
Definition: constants.inl:62
GLM_FUNC_DECL genType ln_ln_two()
Definition: constants.inl:164
GLM_FUNC_DECL genType root_five()
Definition: constants.inl:146
Definition: _detail.hpp:38
GLM_FUNC_DECL genType root_ln_four()
Definition: constants.inl:116
GLM_FUNC_DECL genType e()
Definition: constants.inl:122
GLM_FUNC_DECL genType euler()
Definition: constants.inl:128
GLM_FUNC_DECL genType two_over_root_pi()
Definition: constants.inl:92
GLM_FUNC_DECL genType root_two()
Definition: constants.inl:134
GLM_FUNC_DECL genType one()
Definition: constants.inl:50
GLM_FUNC_DECL genType one_over_root_two()
Definition: constants.inl:98
GLM_FUNC_DECL genType epsilon()
Definition: constants.inl:32
GLM_FUNC_DECL genType pi()
Definition: constants.inl:56
GLM_FUNC_DECL genType ln_two()
Definition: constants.inl:152
GLM_FUNC_DECL genType root_two_pi()
Definition: constants.inl:110
GLM_FUNC_DECL genType two_thirds()
Definition: constants.inl:176
GLM_FUNC_DECL genType two_over_pi()
Definition: constants.inl:86
GLM_FUNC_DECL genType root_three()
Definition: constants.inl:140
GLM_FUNC_DECL genType quarter_pi()
Definition: constants.inl:74
GLM_FUNC_DECL genType root_half_pi()
Definition: constants.inl:104
GLM_FUNC_DECL genType one_over_pi()
Definition: constants.inl:80
GLM_FUNC_DECL genType third()
Definition: constants.inl:170
GLM_FUNC_DECL genType ln_ten()
Definition: constants.inl:158
GLM_FUNC_DECL genType zero()
Definition: constants.inl:44
GLM_FUNC_DECL genType half_pi()
Definition: constants.inl:68
#define GLM_FUNC_DECL
Definition: setup.hpp:678
GLM_FUNC_DECL genType golden_ratio()
Definition: constants.inl:182