gtc/constants.hpp
Go to the documentation of this file.
1 
39 #pragma once
40 
41 // Dependencies
42 #include "../detail/setup.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTC_constants extension included")
46 #endif
47 
48 namespace glm
49 {
52 
56  template <typename genType>
57  GLM_FUNC_DECL genType epsilon();
58 
61  template <typename genType>
62  GLM_FUNC_DECL genType zero();
63 
66  template <typename genType>
67  GLM_FUNC_DECL genType one();
68 
71  template <typename genType>
72  GLM_FUNC_DECL genType pi();
73 
76  template <typename genType>
77  GLM_FUNC_DECL genType root_pi();
78 
81  template <typename genType>
82  GLM_FUNC_DECL genType half_pi();
83 
86  template <typename genType>
87  GLM_FUNC_DECL genType quarter_pi();
88 
91  template <typename genType>
92  GLM_FUNC_DECL genType one_over_pi();
93 
96  template <typename genType>
97  GLM_FUNC_DECL genType two_over_pi();
98 
101  template <typename genType>
103 
106  template <typename genType>
108 
111  template <typename genType>
112  GLM_FUNC_DECL genType root_half_pi();
113 
116  template <typename genType>
117  GLM_FUNC_DECL genType root_two_pi();
118 
121  template <typename genType>
122  GLM_FUNC_DECL genType root_ln_four();
123 
126  template <typename genType>
127  GLM_FUNC_DECL genType e();
128 
131  template <typename genType>
132  GLM_FUNC_DECL genType euler();
133 
136  template <typename genType>
137  GLM_FUNC_DECL genType root_two();
138 
141  template <typename genType>
142  GLM_FUNC_DECL genType root_three();
143 
146  template <typename genType>
147  GLM_FUNC_DECL genType root_five();
148 
151  template <typename genType>
152  GLM_FUNC_DECL genType ln_two();
153 
156  template <typename genType>
157  GLM_FUNC_DECL genType ln_ten();
158 
161  template <typename genType>
162  GLM_FUNC_DECL genType ln_ln_two();
163 
166  template <typename genType>
167  GLM_FUNC_DECL genType third();
168 
171  template <typename genType>
172  GLM_FUNC_DECL genType two_thirds();
173 
176  template <typename genType>
177  GLM_FUNC_DECL genType golden_ratio();
178 
180 } //namespace glm
181 
182 #include "constants.inl"
GLM_FUNC_DECL genType root_pi()
GLM_FUNC_DECL genType ln_ln_two()
GLM_FUNC_DECL genType root_five()
GLM_FUNC_DECL genType root_ln_four()
GLM_FUNC_DECL genType e()
GLM_FUNC_DECL genType euler()
GLM_FUNC_DECL genType two_over_root_pi()
GLM_FUNC_DECL genType root_two()
GLM_FUNC_DECL genType one()
GLM_FUNC_DECL genType one_over_root_two()
GLM_FUNC_DECL genType epsilon()
GLM_FUNC_DECL genType pi()
GLM_FUNC_DECL genType ln_two()
GLM_FUNC_DECL genType root_two_pi()
GLM_FUNC_DECL genType two_thirds()
GLM_FUNC_DECL genType two_over_pi()
GLM_FUNC_DECL genType root_three()
GLM_FUNC_DECL genType quarter_pi()
GLM_FUNC_DECL genType root_half_pi()
GLM_FUNC_DECL genType one_over_pi()
GLM_FUNC_DECL genType third()
GLM_FUNC_DECL genType ln_ten()
GLM_FUNC_DECL genType zero()
GLM_FUNC_DECL genType half_pi()
#define GLM_FUNC_DECL
Definition: setup.hpp:728
GLM_FUNC_DECL genType golden_ratio()


rtabmap
Author(s): Mathieu Labbe
autogenerated on Mon Dec 14 2020 03:34:58