diff --git a/doc/api/a00001.html b/doc/api/a00001.html deleted file mode 100644 index 09a43ec8..00000000 --- a/doc/api/a00001.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: _features.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_features.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file _features.hpp.

-
- - - - diff --git a/doc/api/a00001_source.html b/doc/api/a00001_source.html deleted file mode 100644 index bc8da922..00000000 --- a/doc/api/a00001_source.html +++ /dev/null @@ -1,494 +0,0 @@ - - - - - - -0.9.9 API documenation: _features.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_features.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 // #define GLM_CXX98_EXCEPTIONS
-
7 // #define GLM_CXX98_RTTI
-
8 
-
9 // #define GLM_CXX11_RVALUE_REFERENCES
-
10 // Rvalue references - GCC 4.3
-
11 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
-
12 
-
13 // GLM_CXX11_TRAILING_RETURN
-
14 // Rvalue references for *this - GCC not supported
-
15 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm
-
16 
-
17 // GLM_CXX11_NONSTATIC_MEMBER_INIT
-
18 // Initialization of class objects by rvalues - GCC any
-
19 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1610.html
-
20 
-
21 // GLM_CXX11_NONSTATIC_MEMBER_INIT
-
22 // Non-static data member initializers - GCC 4.7
-
23 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2756.htm
-
24 
-
25 // #define GLM_CXX11_VARIADIC_TEMPLATE
-
26 // Variadic templates - GCC 4.3
-
27 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf
-
28 
-
29 //
-
30 // Extending variadic template template parameters - GCC 4.4
-
31 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf
-
32 
-
33 // #define GLM_CXX11_GENERALIZED_INITIALIZERS
-
34 // Initializer lists - GCC 4.4
-
35 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm
-
36 
-
37 // #define GLM_CXX11_STATIC_ASSERT
-
38 // Static assertions - GCC 4.3
-
39 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html
-
40 
-
41 // #define GLM_CXX11_AUTO_TYPE
-
42 // auto-typed variables - GCC 4.4
-
43 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf
-
44 
-
45 // #define GLM_CXX11_AUTO_TYPE
-
46 // Multi-declarator auto - GCC 4.4
-
47 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1737.pdf
-
48 
-
49 // #define GLM_CXX11_AUTO_TYPE
-
50 // Removal of auto as a storage-class specifier - GCC 4.4
-
51 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2546.htm
-
52 
-
53 // #define GLM_CXX11_AUTO_TYPE
-
54 // New function declarator syntax - GCC 4.4
-
55 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm
-
56 
-
57 // #define GLM_CXX11_LAMBDAS
-
58 // New wording for C++0x lambdas - GCC 4.5
-
59 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2927.pdf
-
60 
-
61 // #define GLM_CXX11_DECLTYPE
-
62 // Declared type of an expression - GCC 4.3
-
63 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf
-
64 
-
65 //
-
66 // Right angle brackets - GCC 4.3
-
67 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html
-
68 
-
69 //
-
70 // Default template arguments for function templates DR226 GCC 4.3
-
71 // http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226
-
72 
-
73 //
-
74 // Solving the SFINAE problem for expressions DR339 GCC 4.4
-
75 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2634.html
-
76 
-
77 // #define GLM_CXX11_ALIAS_TEMPLATE
-
78 // Template aliases N2258 GCC 4.7
-
79 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf
-
80 
-
81 //
-
82 // Extern templates N1987 Yes
-
83 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1987.htm
-
84 
-
85 // #define GLM_CXX11_NULLPTR
-
86 // Null pointer constant N2431 GCC 4.6
-
87 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
-
88 
-
89 // #define GLM_CXX11_STRONG_ENUMS
-
90 // Strongly-typed enums N2347 GCC 4.4
-
91 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf
-
92 
-
93 //
-
94 // Forward declarations for enums N2764 GCC 4.6
-
95 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf
-
96 
-
97 //
-
98 // Generalized attributes N2761 GCC 4.8
-
99 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf
-
100 
-
101 //
-
102 // Generalized constant expressions N2235 GCC 4.6
-
103 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf
-
104 
-
105 //
-
106 // Alignment support N2341 GCC 4.8
-
107 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
-
108 
-
109 // #define GLM_CXX11_DELEGATING_CONSTRUCTORS
-
110 // Delegating constructors N1986 GCC 4.7
-
111 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf
-
112 
-
113 //
-
114 // Inheriting constructors N2540 GCC 4.8
-
115 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm
-
116 
-
117 // #define GLM_CXX11_EXPLICIT_CONVERSIONS
-
118 // Explicit conversion operators N2437 GCC 4.5
-
119 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
-
120 
-
121 //
-
122 // New character types N2249 GCC 4.4
-
123 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2249.html
-
124 
-
125 //
-
126 // Unicode string literals N2442 GCC 4.5
-
127 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
-
128 
-
129 //
-
130 // Raw string literals N2442 GCC 4.5
-
131 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
-
132 
-
133 //
-
134 // Universal character name literals N2170 GCC 4.5
-
135 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2170.html
-
136 
-
137 // #define GLM_CXX11_USER_LITERALS
-
138 // User-defined literals N2765 GCC 4.7
-
139 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2765.pdf
-
140 
-
141 //
-
142 // Standard Layout Types N2342 GCC 4.5
-
143 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2342.htm
-
144 
-
145 // #define GLM_CXX11_DEFAULTED_FUNCTIONS
-
146 // #define GLM_CXX11_DELETED_FUNCTIONS
-
147 // Defaulted and deleted functions N2346 GCC 4.4
-
148 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
-
149 
-
150 //
-
151 // Extended friend declarations N1791 GCC 4.7
-
152 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1791.pdf
-
153 
-
154 //
-
155 // Extending sizeof N2253 GCC 4.4
-
156 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2253.html
-
157 
-
158 // #define GLM_CXX11_INLINE_NAMESPACES
-
159 // Inline namespaces N2535 GCC 4.4
-
160 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm
-
161 
-
162 // #define GLM_CXX11_UNRESTRICTED_UNIONS
-
163 // Unrestricted unions N2544 GCC 4.6
-
164 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf
-
165 
-
166 // #define GLM_CXX11_LOCAL_TYPE_TEMPLATE_ARGS
-
167 // Local and unnamed types as template arguments N2657 GCC 4.5
-
168 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm
-
169 
-
170 // #define GLM_CXX11_RANGE_FOR
-
171 // Range-based for N2930 GCC 4.6
-
172 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html
-
173 
-
174 // #define GLM_CXX11_OVERRIDE_CONTROL
-
175 // Explicit virtual overrides N2928 N3206 N3272 GCC 4.7
-
176 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm
-
177 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm
-
178 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm
-
179 
-
180 //
-
181 // Minimal support for garbage collection and reachability-based leak detection N2670 No
-
182 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2670.htm
-
183 
-
184 // #define GLM_CXX11_NOEXCEPT
-
185 // Allowing move constructors to throw [noexcept] N3050 GCC 4.6 (core language only)
-
186 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
-
187 
-
188 //
-
189 // Defining move special member functions N3053 GCC 4.6
-
190 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.html
-
191 
-
192 //
-
193 // Sequence points N2239 Yes
-
194 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2239.html
-
195 
-
196 //
-
197 // Atomic operations N2427 GCC 4.4
-
198 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2239.html
-
199 
-
200 //
-
201 // Strong Compare and Exchange N2748 GCC 4.5
-
202 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html
-
203 
-
204 //
-
205 // Bidirectional Fences N2752 GCC 4.8
-
206 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2752.htm
-
207 
-
208 //
-
209 // Memory model N2429 GCC 4.8
-
210 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2429.htm
-
211 
-
212 //
-
213 // Data-dependency ordering: atomics and memory model N2664 GCC 4.4
-
214 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2664.htm
-
215 
-
216 //
-
217 // Propagating exceptions N2179 GCC 4.4
-
218 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html
-
219 
-
220 //
-
221 // Abandoning a process and at_quick_exit N2440 GCC 4.8
-
222 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2440.htm
-
223 
-
224 //
-
225 // Allow atomics use in signal handlers N2547 Yes
-
226 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2547.htm
-
227 
-
228 //
-
229 // Thread-local storage N2659 GCC 4.8
-
230 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm
-
231 
-
232 //
-
233 // Dynamic initialization and destruction with concurrency N2660 GCC 4.3
-
234 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm
-
235 
-
236 //
-
237 // __func__ predefined identifier N2340 GCC 4.3
-
238 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2340.htm
-
239 
-
240 //
-
241 // C99 preprocessor N1653 GCC 4.3
-
242 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm
-
243 
-
244 //
-
245 // long long N1811 GCC 4.3
-
246 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1811.pdf
-
247 
-
248 //
-
249 // Extended integral types N1988 Yes
-
250 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1988.pdf
-
251 
-
252 #if(GLM_COMPILER & GLM_COMPILER_GCC)
-
253 
-
254 # define GLM_CXX11_STATIC_ASSERT
-
255 
-
256 #elif(GLM_COMPILER & GLM_COMPILER_CLANG)
-
257 # if(__has_feature(cxx_exceptions))
-
258 # define GLM_CXX98_EXCEPTIONS
-
259 # endif
-
260 
-
261 # if(__has_feature(cxx_rtti))
-
262 # define GLM_CXX98_RTTI
-
263 # endif
-
264 
-
265 # if(__has_feature(cxx_access_control_sfinae))
-
266 # define GLM_CXX11_ACCESS_CONTROL_SFINAE
-
267 # endif
-
268 
-
269 # if(__has_feature(cxx_alias_templates))
-
270 # define GLM_CXX11_ALIAS_TEMPLATE
-
271 # endif
-
272 
-
273 # if(__has_feature(cxx_alignas))
-
274 # define GLM_CXX11_ALIGNAS
-
275 # endif
-
276 
-
277 # if(__has_feature(cxx_attributes))
-
278 # define GLM_CXX11_ATTRIBUTES
-
279 # endif
-
280 
-
281 # if(__has_feature(cxx_constexpr))
-
282 # define GLM_CXX11_CONSTEXPR
-
283 # endif
-
284 
-
285 # if(__has_feature(cxx_decltype))
-
286 # define GLM_CXX11_DECLTYPE
-
287 # endif
-
288 
-
289 # if(__has_feature(cxx_default_function_template_args))
-
290 # define GLM_CXX11_DEFAULT_FUNCTION_TEMPLATE_ARGS
-
291 # endif
-
292 
-
293 # if(__has_feature(cxx_defaulted_functions))
-
294 # define GLM_CXX11_DEFAULTED_FUNCTIONS
-
295 # endif
-
296 
-
297 # if(__has_feature(cxx_delegating_constructors))
-
298 # define GLM_CXX11_DELEGATING_CONSTRUCTORS
-
299 # endif
-
300 
-
301 # if(__has_feature(cxx_deleted_functions))
-
302 # define GLM_CXX11_DELETED_FUNCTIONS
-
303 # endif
-
304 
-
305 # if(__has_feature(cxx_explicit_conversions))
-
306 # define GLM_CXX11_EXPLICIT_CONVERSIONS
-
307 # endif
-
308 
-
309 # if(__has_feature(cxx_generalized_initializers))
-
310 # define GLM_CXX11_GENERALIZED_INITIALIZERS
-
311 # endif
-
312 
-
313 # if(__has_feature(cxx_implicit_moves))
-
314 # define GLM_CXX11_IMPLICIT_MOVES
-
315 # endif
-
316 
-
317 # if(__has_feature(cxx_inheriting_constructors))
-
318 # define GLM_CXX11_INHERITING_CONSTRUCTORS
-
319 # endif
-
320 
-
321 # if(__has_feature(cxx_inline_namespaces))
-
322 # define GLM_CXX11_INLINE_NAMESPACES
-
323 # endif
-
324 
-
325 # if(__has_feature(cxx_lambdas))
-
326 # define GLM_CXX11_LAMBDAS
-
327 # endif
-
328 
-
329 # if(__has_feature(cxx_local_type_template_args))
-
330 # define GLM_CXX11_LOCAL_TYPE_TEMPLATE_ARGS
-
331 # endif
-
332 
-
333 # if(__has_feature(cxx_noexcept))
-
334 # define GLM_CXX11_NOEXCEPT
-
335 # endif
-
336 
-
337 # if(__has_feature(cxx_nonstatic_member_init))
-
338 # define GLM_CXX11_NONSTATIC_MEMBER_INIT
-
339 # endif
-
340 
-
341 # if(__has_feature(cxx_nullptr))
-
342 # define GLM_CXX11_NULLPTR
-
343 # endif
-
344 
-
345 # if(__has_feature(cxx_override_control))
-
346 # define GLM_CXX11_OVERRIDE_CONTROL
-
347 # endif
-
348 
-
349 # if(__has_feature(cxx_reference_qualified_functions))
-
350 # define GLM_CXX11_REFERENCE_QUALIFIED_FUNCTIONS
-
351 # endif
-
352 
-
353 # if(__has_feature(cxx_range_for))
-
354 # define GLM_CXX11_RANGE_FOR
-
355 # endif
-
356 
-
357 # if(__has_feature(cxx_raw_string_literals))
-
358 # define GLM_CXX11_RAW_STRING_LITERALS
-
359 # endif
-
360 
-
361 # if(__has_feature(cxx_rvalue_references))
-
362 # define GLM_CXX11_RVALUE_REFERENCES
-
363 # endif
-
364 
-
365 # if(__has_feature(cxx_static_assert))
-
366 # define GLM_CXX11_STATIC_ASSERT
-
367 # endif
-
368 
-
369 # if(__has_feature(cxx_auto_type))
-
370 # define GLM_CXX11_AUTO_TYPE
-
371 # endif
-
372 
-
373 # if(__has_feature(cxx_strong_enums))
-
374 # define GLM_CXX11_STRONG_ENUMS
-
375 # endif
-
376 
-
377 # if(__has_feature(cxx_trailing_return))
-
378 # define GLM_CXX11_TRAILING_RETURN
-
379 # endif
-
380 
-
381 # if(__has_feature(cxx_unicode_literals))
-
382 # define GLM_CXX11_UNICODE_LITERALS
-
383 # endif
-
384 
-
385 # if(__has_feature(cxx_unrestricted_unions))
-
386 # define GLM_CXX11_UNRESTRICTED_UNIONS
-
387 # endif
-
388 
-
389 # if(__has_feature(cxx_user_literals))
-
390 # define GLM_CXX11_USER_LITERALS
-
391 # endif
-
392 
-
393 # if(__has_feature(cxx_variadic_templates))
-
394 # define GLM_CXX11_VARIADIC_TEMPLATES
-
395 # endif
-
396 
-
397 #endif//(GLM_COMPILER & GLM_COMPILER_CLANG)
-
- - - - diff --git a/doc/api/a00002.html b/doc/api/a00002.html index 17202212..e719c4b5 100644 --- a/doc/api/a00002.html +++ b/doc/api/a00002.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: _fixes.hpp File Reference + + +0.9.9 API documenation: common.hpp File Reference - @@ -32,38 +30,22 @@ - + - - + + + +
+
+Functions
-
_fixes.hpp File Reference
+
common.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType abs (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > abs (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceil (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType clamp (genType x, genType minVal, genType maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > clamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > clamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 
GLM_FUNC_DECL int floatBitsToInt (float const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt (vec< L, float, Q > const &v)
 
GLM_FUNC_DECL uint floatBitsToUint (float const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint (vec< L, float, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floor (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fma (genType const &a, genType const &b, genType const &c)
 
template<typename genType >
GLM_FUNC_DECL genType fract (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fract (vec< L, T, Q > const &x)
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType frexp (genType const &x, genIType &exp)
 
GLM_FUNC_DECL float intBitsToFloat (int const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat (vec< L, int, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isinf (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isnan (vec< L, T, Q > const &x)
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType ldexp (genType const &x, genIType const &exp)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType max (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, T y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType min (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &x, T y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT mix (genTypeT x, genTypeT y, genTypeU a)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mod (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL genType modf (genType x, genType &i)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > round (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundEven (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType smoothstep (genType edge0, genType edge1, genType x)
 
template<typename genType >
GLM_FUNC_DECL genType step (genType edge, genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (T edge, vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (vec< L, T, Q > const &edge, vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > trunc (vec< L, T, Q > const &x)
 
GLM_FUNC_DECL float uintBitsToFloat (uint const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat (vec< L, uint, Q > const &v)
 

Detailed Description

-

Core features

+
diff --git a/doc/api/a00002_source.html b/doc/api/a00002_source.html index bd125830..b6d7bc0b 100644 --- a/doc/api/a00002_source.html +++ b/doc/api/a00002_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: _fixes.hpp Source File + + +0.9.9 API documenation: common.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
_fixes.hpp
+
common.hpp
-Go to the documentation of this file.
1 
-
4 #include <cmath>
-
5 
-
7 #ifdef max
-
8 #undef max
-
9 #endif
-
10 
-
12 #ifdef min
-
13 #undef min
-
14 #endif
-
15 
-
17 #ifdef isnan
-
18 #undef isnan
-
19 #endif
-
20 
-
22 #ifdef isinf
-
23 #undef isinf
-
24 #endif
-
25 
-
27 #ifdef log2
-
28 #undef log2
-
29 #endif
-
30 
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include "detail/qualifier.hpp"
18 #include "detail/_fixes.hpp"
19 
20 namespace glm
21 {
24 
31  template<typename genType>
32  GLM_FUNC_DECL GLM_CONSTEXPR genType abs(genType x);
33 
42  template<length_t L, typename T, qualifier Q>
43  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> abs(vec<L, T, Q> const& x);
44 
53  template<length_t L, typename T, qualifier Q>
54  GLM_FUNC_DECL vec<L, T, Q> sign(vec<L, T, Q> const& x);
55 
64  template<length_t L, typename T, qualifier Q>
65  GLM_FUNC_DECL vec<L, T, Q> floor(vec<L, T, Q> const& x);
66 
76  template<length_t L, typename T, qualifier Q>
77  GLM_FUNC_DECL vec<L, T, Q> trunc(vec<L, T, Q> const& x);
78 
91  template<length_t L, typename T, qualifier Q>
92  GLM_FUNC_DECL vec<L, T, Q> round(vec<L, T, Q> const& x);
93 
105  template<length_t L, typename T, qualifier Q>
106  GLM_FUNC_DECL vec<L, T, Q> roundEven(vec<L, T, Q> const& x);
107 
117  template<length_t L, typename T, qualifier Q>
118  GLM_FUNC_DECL vec<L, T, Q> ceil(vec<L, T, Q> const& x);
119 
126  template<typename genType>
127  GLM_FUNC_DECL genType fract(genType x);
128 
137  template<length_t L, typename T, qualifier Q>
138  GLM_FUNC_DECL vec<L, T, Q> fract(vec<L, T, Q> const& x);
139 
140  template<typename genType>
141  GLM_FUNC_DECL genType mod(genType x, genType y);
142 
143  template<length_t L, typename T, qualifier Q>
144  GLM_FUNC_DECL vec<L, T, Q> mod(vec<L, T, Q> const& x, T y);
145 
155  template<length_t L, typename T, qualifier Q>
156  GLM_FUNC_DECL vec<L, T, Q> mod(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
157 
167  template<typename genType>
168  GLM_FUNC_DECL genType modf(genType x, genType& i);
169 
176  template<typename genType>
177  GLM_FUNC_DECL GLM_CONSTEXPR genType min(genType x, genType y);
178 
187  template<length_t L, typename T, qualifier Q>
188  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& x, T y);
189 
198  template<length_t L, typename T, qualifier Q>
199  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
200 
207  template<typename genType>
208  GLM_FUNC_DECL GLM_CONSTEXPR genType max(genType x, genType y);
209 
218  template<length_t L, typename T, qualifier Q>
219  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max(vec<L, T, Q> const& x, T y);
220 
229  template<length_t L, typename T, qualifier Q>
230  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
231 
239  template<typename genType>
240  GLM_FUNC_DECL GLM_CONSTEXPR genType clamp(genType x, genType minVal, genType maxVal);
241 
251  template<length_t L, typename T, qualifier Q>
252  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> clamp(vec<L, T, Q> const& x, T minVal, T maxVal);
253 
263  template<length_t L, typename T, qualifier Q>
264  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> clamp(vec<L, T, Q> const& x, vec<L, T, Q> const& minVal, vec<L, T, Q> const& maxVal);
265 
308  template<typename genTypeT, typename genTypeU>
309  GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a);
310 
311  template<length_t L, typename T, typename U, qualifier Q>
312  GLM_FUNC_DECL vec<L, T, Q> mix(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, U, Q> const& a);
313 
314  template<length_t L, typename T, typename U, qualifier Q>
315  GLM_FUNC_DECL vec<L, T, Q> mix(vec<L, T, Q> const& x, vec<L, T, Q> const& y, U a);
316 
321  template<typename genType>
322  GLM_FUNC_DECL genType step(genType edge, genType x);
323 
332  template<length_t L, typename T, qualifier Q>
333  GLM_FUNC_DECL vec<L, T, Q> step(T edge, vec<L, T, Q> const& x);
334 
343  template<length_t L, typename T, qualifier Q>
344  GLM_FUNC_DECL vec<L, T, Q> step(vec<L, T, Q> const& edge, vec<L, T, Q> const& x);
345 
360  template<typename genType>
361  GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x);
362 
363  template<length_t L, typename T, qualifier Q>
364  GLM_FUNC_DECL vec<L, T, Q> smoothstep(T edge0, T edge1, vec<L, T, Q> const& x);
365 
366  template<length_t L, typename T, qualifier Q>
367  GLM_FUNC_DECL vec<L, T, Q> smoothstep(vec<L, T, Q> const& edge0, vec<L, T, Q> const& edge1, vec<L, T, Q> const& x);
368 
383  template<length_t L, typename T, qualifier Q>
384  GLM_FUNC_DECL vec<L, bool, Q> isnan(vec<L, T, Q> const& x);
385 
398  template<length_t L, typename T, qualifier Q>
399  GLM_FUNC_DECL vec<L, bool, Q> isinf(vec<L, T, Q> const& x);
400 
407  GLM_FUNC_DECL int floatBitsToInt(float const& v);
408 
418  template<length_t L, qualifier Q>
419  GLM_FUNC_DECL vec<L, int, Q> floatBitsToInt(vec<L, float, Q> const& v);
420 
427  GLM_FUNC_DECL uint floatBitsToUint(float const& v);
428 
438  template<length_t L, qualifier Q>
439  GLM_FUNC_DECL vec<L, uint, Q> floatBitsToUint(vec<L, float, Q> const& v);
440 
449  GLM_FUNC_DECL float intBitsToFloat(int const& v);
450 
462  template<length_t L, qualifier Q>
463  GLM_FUNC_DECL vec<L, float, Q> intBitsToFloat(vec<L, int, Q> const& v);
464 
473  GLM_FUNC_DECL float uintBitsToFloat(uint const& v);
474 
486  template<length_t L, qualifier Q>
487  GLM_FUNC_DECL vec<L, float, Q> uintBitsToFloat(vec<L, uint, Q> const& v);
488 
495  template<typename genType>
496  GLM_FUNC_DECL genType fma(genType const& a, genType const& b, genType const& c);
497 
512  template<typename genType, typename genIType>
513  GLM_FUNC_DECL genType frexp(genType const& x, genIType& exp);
514 
526  template<typename genType, typename genIType>
527  GLM_FUNC_DECL genType ldexp(genType const& x, genIType const& exp);
528 
530 }//namespace glm
531 
532 #include "detail/func_common.inl"
533 
GLM_FUNC_DECL vec< L, T, Q > roundEven(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
GLM_FUNC_DECL vec< L, T, Q > floor(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is less then or equal to x.
+
GLM_FUNC_DECL genType fma(genType const &a, genType const &b, genType const &c)
Computes and returns a * b + c.
+
GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x)
Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 a...
+
GLM_FUNC_DECL vec< L, T, Q > round(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
GLM_FUNC_DECL vec< L, T, Q > trunc(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolut...
+
GLM_FUNC_DECL genType frexp(genType const &x, genIType &exp)
Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two...
+
GLM_FUNC_DECL vec< L, T, Q > step(vec< L, T, Q > const &edge, vec< L, T, Q > const &x)
Returns 0.0 if x < edge, otherwise it returns 1.0.
+
GLM_FUNC_DECL vec< L, T, Q > mod(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Modulus.
+
GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat(vec< L, uint, Q > const &v)
Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value...
+
GLM_FUNC_DECL vec< L, T, Q > fract(vec< L, T, Q > const &x)
Return x - floor(x).
+
GLM_FUNC_DECL genType modf(genType x, genType &i)
Returns the fractional part of x and sets i to the integer part (as a whole number floating point val...
+
GLM_FUNC_DECL vec< L, T, Q > exp(vec< L, T, Q > const &v)
Returns the natural exponentiation of x, i.e., e^x.
+
GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat(vec< L, int, Q > const &v)
Returns a floating-point value corresponding to a signed integer encoding of a floating-point value...
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > clamp(vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > abs(vec< L, T, Q > const &x)
Returns x if x >= 0; otherwise, it returns -x.
+
GLM_FUNC_DECL vec< L, T, Q > sign(vec< L, T, Q > const &x)
Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.
+
GLM_FUNC_DECL genType ldexp(genType const &x, genIType const &exp)
Builds a floating-point number from x and the corresponding integral exponent of two in exp...
+
GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint(vec< L, float, Q > const &v)
Returns a unsigned integer value representing the encoding of a floating-point value.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns y if y < x; otherwise, it returns x.
+
GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a)
If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...
+
GLM_FUNC_DECL vec< L, bool, Q > isnan(vec< L, T, Q > const &x)
Returns true if x holds a NaN (not a number) representation in the underlying implementation&#39;s set of...
+
GLM_FUNC_DECL vec< L, bool, Q > isinf(vec< L, T, Q > const &x)
Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt(vec< L, float, Q > const &v)
Returns a signed integer value representing the encoding of a floating-point value.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns y if x < y; otherwise, it returns x.
+
GLM_FUNC_DECL vec< L, T, Q > ceil(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is greater than or equal to x.
diff --git a/doc/api/a00003.html b/doc/api/a00003.html deleted file mode 100644 index 441a1227..00000000 --- a/doc/api/a00003.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: _noise.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_noise.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file _noise.hpp.

-
- - - - diff --git a/doc/api/a00003_source.html b/doc/api/a00003_source.html deleted file mode 100644 index a3e1d535..00000000 --- a/doc/api/a00003_source.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - -0.9.9 API documenation: _noise.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_noise.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../vec2.hpp"
-
7 #include "../vec3.hpp"
-
8 #include "../vec4.hpp"
-
9 #include "../common.hpp"
-
10 
-
11 namespace glm{
-
12 namespace detail
-
13 {
-
14  template<typename T>
-
15  GLM_FUNC_QUALIFIER T mod289(T const& x)
-
16  {
-
17  return x - floor(x * (static_cast<T>(1.0) / static_cast<T>(289.0))) * static_cast<T>(289.0);
-
18  }
-
19 
-
20  template<typename T>
-
21  GLM_FUNC_QUALIFIER T permute(T const& x)
-
22  {
-
23  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
-
24  }
-
25 
-
26  template<typename T, qualifier Q>
-
27  GLM_FUNC_QUALIFIER vec<2, T, Q> permute(vec<2, T, Q> const& x)
-
28  {
-
29  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
-
30  }
-
31 
-
32  template<typename T, qualifier Q>
-
33  GLM_FUNC_QUALIFIER vec<3, T, Q> permute(vec<3, T, Q> const& x)
-
34  {
-
35  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
-
36  }
-
37 
-
38  template<typename T, qualifier Q>
-
39  GLM_FUNC_QUALIFIER vec<4, T, Q> permute(vec<4, T, Q> const& x)
-
40  {
-
41  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
-
42  }
-
43 
-
44  template<typename T>
-
45  GLM_FUNC_QUALIFIER T taylorInvSqrt(T const& r)
-
46  {
-
47  return T(1.79284291400159) - T(0.85373472095314) * r;
-
48  }
-
49 
-
50  template<typename T, qualifier Q>
-
51  GLM_FUNC_QUALIFIER vec<2, T, Q> taylorInvSqrt(vec<2, T, Q> const& r)
-
52  {
-
53  return T(1.79284291400159) - T(0.85373472095314) * r;
-
54  }
-
55 
-
56  template<typename T, qualifier Q>
-
57  GLM_FUNC_QUALIFIER vec<3, T, Q> taylorInvSqrt(vec<3, T, Q> const& r)
-
58  {
-
59  return T(1.79284291400159) - T(0.85373472095314) * r;
-
60  }
-
61 
-
62  template<typename T, qualifier Q>
-
63  GLM_FUNC_QUALIFIER vec<4, T, Q> taylorInvSqrt(vec<4, T, Q> const& r)
-
64  {
-
65  return T(1.79284291400159) - T(0.85373472095314) * r;
-
66  }
-
67 
-
68  template<typename T, qualifier Q>
-
69  GLM_FUNC_QUALIFIER vec<2, T, Q> fade(vec<2, T, Q> const& t)
-
70  {
-
71  return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
-
72  }
-
73 
-
74  template<typename T, qualifier Q>
-
75  GLM_FUNC_QUALIFIER vec<3, T, Q> fade(vec<3, T, Q> const& t)
-
76  {
-
77  return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
-
78  }
-
79 
-
80  template<typename T, qualifier Q>
-
81  GLM_FUNC_QUALIFIER vec<4, T, Q> fade(vec<4, T, Q> const& t)
-
82  {
-
83  return (t * t * t) * (t * (t * T(6) - T(15)) + T(10));
-
84  }
-
85 }//namespace detail
-
86 }//namespace glm
-
87 
-
GLM_FUNC_DECL vec< L, T, Q > floor(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is less then or equal to x.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00004.html b/doc/api/a00004.html deleted file mode 100644 index 6b943070..00000000 --- a/doc/api/a00004.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: _swizzle.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_swizzle.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file _swizzle.hpp.

-
- - - - diff --git a/doc/api/a00004_source.html b/doc/api/a00004_source.html deleted file mode 100644 index b0a5d86b..00000000 --- a/doc/api/a00004_source.html +++ /dev/null @@ -1,895 +0,0 @@ - - - - - - -0.9.9 API documenation: _swizzle.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_swizzle.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 namespace glm{
-
7 namespace detail
-
8 {
-
9  // Internal class for implementing swizzle operators
-
10  template<typename T, int N>
-
11  struct _swizzle_base0
-
12  {
-
13  protected:
-
14  GLM_FUNC_QUALIFIER T& elem(size_t i){ return (reinterpret_cast<T*>(_buffer))[i]; }
-
15  GLM_FUNC_QUALIFIER T const& elem(size_t i) const{ return (reinterpret_cast<const T*>(_buffer))[i]; }
-
16 
-
17  // Use an opaque buffer to *ensure* the compiler doesn't call a constructor.
-
18  // The size 1 buffer is assumed to aligned to the actual members so that the
-
19  // elem()
-
20  char _buffer[1];
-
21  };
-
22 
-
23  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3, bool Aligned>
-
24  struct _swizzle_base1 : public _swizzle_base0<T, N>
-
25  {
-
26  };
-
27 
-
28  template<typename T, qualifier Q, int E0, int E1, bool Aligned>
-
29  struct _swizzle_base1<2, T, Q, E0,E1,-1,-2, Aligned> : public _swizzle_base0<T, 2>
-
30  {
-
31  GLM_FUNC_QUALIFIER vec<2, T, Q> operator ()() const { return vec<2, T, Q>(this->elem(E0), this->elem(E1)); }
-
32  };
-
33 
-
34  template<typename T, qualifier Q, int E0, int E1, int E2, bool Aligned>
-
35  struct _swizzle_base1<3, T, Q, E0,E1,E2,-1, Aligned> : public _swizzle_base0<T, 3>
-
36  {
-
37  GLM_FUNC_QUALIFIER vec<3, T, Q> operator ()() const { return vec<3, T, Q>(this->elem(E0), this->elem(E1), this->elem(E2)); }
-
38  };
-
39 
-
40  template<typename T, qualifier Q, int E0, int E1, int E2, int E3, bool Aligned>
-
41  struct _swizzle_base1<4, T, Q, E0,E1,E2,E3, Aligned> : public _swizzle_base0<T, 4>
-
42  {
-
43  GLM_FUNC_QUALIFIER vec<4, T, Q> operator ()() const { return vec<4, T, Q>(this->elem(E0), this->elem(E1), this->elem(E2), this->elem(E3)); }
-
44  };
-
45 
-
46  // Internal class for implementing swizzle operators
-
47  /*
-
48  Template parameters:
-
49 
-
50  T = type of scalar values (e.g. float, double)
-
51  N = number of components in the vector (e.g. 3)
-
52  E0...3 = what index the n-th element of this swizzle refers to in the unswizzled vec
-
53 
-
54  DUPLICATE_ELEMENTS = 1 if there is a repeated element, 0 otherwise (used to specialize swizzles
-
55  containing duplicate elements so that they cannot be used as r-values).
-
56  */
-
57  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3, int DUPLICATE_ELEMENTS>
-
58  struct _swizzle_base2 : public _swizzle_base1<N, T, Q, E0,E1,E2,E3, detail::is_aligned<Q>::value>
-
59  {
-
60  GLM_FUNC_QUALIFIER _swizzle_base2& operator= (const T& t)
-
61  {
-
62  for (int i = 0; i < N; ++i)
-
63  (*this)[i] = t;
-
64  return *this;
-
65  }
-
66 
-
67  GLM_FUNC_QUALIFIER _swizzle_base2& operator= (vec<N, T, Q> const& that)
-
68  {
-
69  struct op {
-
70  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) { e = t; }
-
71  };
-
72  _apply_op(that, op());
-
73  return *this;
-
74  }
-
75 
-
76  GLM_FUNC_QUALIFIER void operator -= (vec<N, T, Q> const& that)
-
77  {
-
78  struct op {
-
79  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) { e -= t; }
-
80  };
-
81  _apply_op(that, op());
-
82  }
-
83 
-
84  GLM_FUNC_QUALIFIER void operator += (vec<N, T, Q> const& that)
-
85  {
-
86  struct op {
-
87  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) { e += t; }
-
88  };
-
89  _apply_op(that, op());
-
90  }
-
91 
-
92  GLM_FUNC_QUALIFIER void operator *= (vec<N, T, Q> const& that)
-
93  {
-
94  struct op {
-
95  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) { e *= t; }
-
96  };
-
97  _apply_op(that, op());
-
98  }
-
99 
-
100  GLM_FUNC_QUALIFIER void operator /= (vec<N, T, Q> const& that)
-
101  {
-
102  struct op {
-
103  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) { e /= t; }
-
104  };
-
105  _apply_op(that, op());
-
106  }
-
107 
-
108  GLM_FUNC_QUALIFIER T& operator[](size_t i)
-
109  {
-
110  const int offset_dst[4] = { E0, E1, E2, E3 };
-
111  return this->elem(offset_dst[i]);
-
112  }
-
113  GLM_FUNC_QUALIFIER T operator[](size_t i) const
-
114  {
-
115  const int offset_dst[4] = { E0, E1, E2, E3 };
-
116  return this->elem(offset_dst[i]);
-
117  }
-
118 
-
119  protected:
-
120  template<typename U>
-
121  GLM_FUNC_QUALIFIER void _apply_op(vec<N, T, Q> const& that, U op)
-
122  {
-
123  // Make a copy of the data in this == &that.
-
124  // The copier should optimize out the copy in cases where the function is
-
125  // properly inlined and the copy is not necessary.
-
126  T t[N];
-
127  for (int i = 0; i < N; ++i)
-
128  t[i] = that[i];
-
129  for (int i = 0; i < N; ++i)
-
130  op( (*this)[i], t[i] );
-
131  }
-
132  };
-
133 
-
134  // Specialization for swizzles containing duplicate elements. These cannot be modified.
-
135  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3>
-
136  struct _swizzle_base2<N, T, Q, E0,E1,E2,E3, 1> : public _swizzle_base1<N, T, Q, E0,E1,E2,E3, detail::is_aligned<Q>::value>
-
137  {
-
138  struct Stub {};
-
139 
-
140  GLM_FUNC_QUALIFIER _swizzle_base2& operator= (Stub const&) { return *this; }
-
141 
-
142  GLM_FUNC_QUALIFIER T operator[] (size_t i) const
-
143  {
-
144  const int offset_dst[4] = { E0, E1, E2, E3 };
-
145  return this->elem(offset_dst[i]);
-
146  }
-
147  };
-
148 
-
149  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3>
-
150  struct _swizzle : public _swizzle_base2<N, T, Q, E0, E1, E2, E3, (E0 == E1 || E0 == E2 || E0 == E3 || E1 == E2 || E1 == E3 || E2 == E3)>
-
151  {
-
152  typedef _swizzle_base2<N, T, Q, E0, E1, E2, E3, (E0 == E1 || E0 == E2 || E0 == E3 || E1 == E2 || E1 == E3 || E2 == E3)> base_type;
-
153 
-
154  using base_type::operator=;
-
155 
-
156  GLM_FUNC_QUALIFIER operator vec<N, T, Q> () const { return (*this)(); }
-
157  };
-
158 
-
159 //
-
160 // To prevent the C++ syntax from getting entirely overwhelming, define some alias macros
-
161 //
-
162 #define GLM_SWIZZLE_TEMPLATE1 template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3>
-
163 #define GLM_SWIZZLE_TEMPLATE2 template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3, int F0, int F1, int F2, int F3>
-
164 #define GLM_SWIZZLE_TYPE1 _swizzle<N, T, Q, E0, E1, E2, E3>
-
165 #define GLM_SWIZZLE_TYPE2 _swizzle<N, T, Q, F0, F1, F2, F3>
-
166 
-
167 //
-
168 // Wrapper for a binary operator (e.g. u.yy + v.zy)
-
169 //
-
170 #define GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(OPERAND) \
-
171  GLM_SWIZZLE_TEMPLATE2 \
-
172  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE2& b) \
-
173  { \
-
174  return a() OPERAND b(); \
-
175  } \
-
176  GLM_SWIZZLE_TEMPLATE1 \
-
177  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const GLM_SWIZZLE_TYPE1& a, const vec<N, T, Q>& b) \
-
178  { \
-
179  return a() OPERAND b; \
-
180  } \
-
181  GLM_SWIZZLE_TEMPLATE1 \
-
182  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const vec<N, T, Q>& a, const GLM_SWIZZLE_TYPE1& b) \
-
183  { \
-
184  return a OPERAND b(); \
-
185  }
-
186 
-
187 //
-
188 // Wrapper for a operand between a swizzle and a binary (e.g. 1.0f - u.xyz)
-
189 //
-
190 #define GLM_SWIZZLE_SCALAR_BINARY_OPERATOR_IMPLEMENTATION(OPERAND) \
-
191  GLM_SWIZZLE_TEMPLATE1 \
-
192  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const GLM_SWIZZLE_TYPE1& a, const T& b) \
-
193  { \
-
194  return a() OPERAND b; \
-
195  } \
-
196  GLM_SWIZZLE_TEMPLATE1 \
-
197  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const T& a, const GLM_SWIZZLE_TYPE1& b) \
-
198  { \
-
199  return a OPERAND b(); \
-
200  }
-
201 
-
202 //
-
203 // Macro for wrapping a function taking one argument (e.g. abs())
-
204 //
-
205 #define GLM_SWIZZLE_FUNCTION_1_ARGS(RETURN_TYPE,FUNCTION) \
-
206  GLM_SWIZZLE_TEMPLATE1 \
-
207  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a) \
-
208  { \
-
209  return FUNCTION(a()); \
-
210  }
-
211 
-
212 //
-
213 // Macro for wrapping a function taking two vector arguments (e.g. dot()).
-
214 //
-
215 #define GLM_SWIZZLE_FUNCTION_2_ARGS(RETURN_TYPE,FUNCTION) \
-
216  GLM_SWIZZLE_TEMPLATE2 \
-
217  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE2& b) \
-
218  { \
-
219  return FUNCTION(a(), b()); \
-
220  } \
-
221  GLM_SWIZZLE_TEMPLATE1 \
-
222  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE1& b) \
-
223  { \
-
224  return FUNCTION(a(), b()); \
-
225  } \
-
226  GLM_SWIZZLE_TEMPLATE1 \
-
227  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const typename V& b) \
-
228  { \
-
229  return FUNCTION(a(), b); \
-
230  } \
-
231  GLM_SWIZZLE_TEMPLATE1 \
-
232  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const V& a, const GLM_SWIZZLE_TYPE1& b) \
-
233  { \
-
234  return FUNCTION(a, b()); \
-
235  }
-
236 
-
237 //
-
238 // Macro for wrapping a function take 2 vec arguments followed by a scalar (e.g. mix()).
-
239 //
-
240 #define GLM_SWIZZLE_FUNCTION_2_ARGS_SCALAR(RETURN_TYPE,FUNCTION) \
-
241  GLM_SWIZZLE_TEMPLATE2 \
-
242  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE2& b, const T& c) \
-
243  { \
-
244  return FUNCTION(a(), b(), c); \
-
245  } \
-
246  GLM_SWIZZLE_TEMPLATE1 \
-
247  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE1& b, const T& c) \
-
248  { \
-
249  return FUNCTION(a(), b(), c); \
-
250  } \
-
251  GLM_SWIZZLE_TEMPLATE1 \
-
252  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const typename S0::vec_type& b, const T& c)\
-
253  { \
-
254  return FUNCTION(a(), b, c); \
-
255  } \
-
256  GLM_SWIZZLE_TEMPLATE1 \
-
257  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const typename V& a, const GLM_SWIZZLE_TYPE1& b, const T& c) \
-
258  { \
-
259  return FUNCTION(a, b(), c); \
-
260  }
-
261 
-
262 }//namespace detail
-
263 }//namespace glm
-
264 
-
265 namespace glm
-
266 {
-
267  namespace detail
-
268  {
-
269  GLM_SWIZZLE_SCALAR_BINARY_OPERATOR_IMPLEMENTATION(-)
-
270  GLM_SWIZZLE_SCALAR_BINARY_OPERATOR_IMPLEMENTATION(*)
-
271  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(+)
-
272  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(-)
-
273  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(*)
-
274  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(/)
-
275  }
-
276 
-
277  //
-
278  // Swizzles are distinct types from the unswizzled type. The below macros will
-
279  // provide template specializations for the swizzle types for the given functions
-
280  // so that the compiler does not have any ambiguity to choosing how to handle
-
281  // the function.
-
282  //
-
283  // The alternative is to use the operator()() when calling the function in order
-
284  // to explicitly convert the swizzled type to the unswizzled type.
-
285  //
-
286 
-
287  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, abs);
-
288  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, acos);
-
289  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, acosh);
-
290  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, all);
-
291  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, any);
-
292 
-
293  //GLM_SWIZZLE_FUNCTION_2_ARGS(value_type, dot);
-
294  //GLM_SWIZZLE_FUNCTION_2_ARGS(vec_type, cross);
-
295  //GLM_SWIZZLE_FUNCTION_2_ARGS(vec_type, step);
-
296  //GLM_SWIZZLE_FUNCTION_2_ARGS_SCALAR(vec_type, mix);
-
297 }
-
298 
-
299 #define GLM_SWIZZLE2_2_MEMBERS(T, Q, E0,E1) \
-
300  struct { detail::_swizzle<2, T, Q, 0,0,-1,-2> E0 ## E0; }; \
-
301  struct { detail::_swizzle<2, T, Q, 0,1,-1,-2> E0 ## E1; }; \
-
302  struct { detail::_swizzle<2, T, Q, 1,0,-1,-2> E1 ## E0; }; \
-
303  struct { detail::_swizzle<2, T, Q, 1,1,-1,-2> E1 ## E1; };
-
304 
-
305 #define GLM_SWIZZLE2_3_MEMBERS(T, Q, E0,E1) \
-
306  struct { detail::_swizzle<3,T, Q, 0,0,0,-1> E0 ## E0 ## E0; }; \
-
307  struct { detail::_swizzle<3,T, Q, 0,0,1,-1> E0 ## E0 ## E1; }; \
-
308  struct { detail::_swizzle<3,T, Q, 0,1,0,-1> E0 ## E1 ## E0; }; \
-
309  struct { detail::_swizzle<3,T, Q, 0,1,1,-1> E0 ## E1 ## E1; }; \
-
310  struct { detail::_swizzle<3,T, Q, 1,0,0,-1> E1 ## E0 ## E0; }; \
-
311  struct { detail::_swizzle<3,T, Q, 1,0,1,-1> E1 ## E0 ## E1; }; \
-
312  struct { detail::_swizzle<3,T, Q, 1,1,0,-1> E1 ## E1 ## E0; }; \
-
313  struct { detail::_swizzle<3,T, Q, 1,1,1,-1> E1 ## E1 ## E1; };
-
314 
-
315 #define GLM_SWIZZLE2_4_MEMBERS(T, Q, E0,E1) \
-
316  struct { detail::_swizzle<4,T, Q, 0,0,0,0> E0 ## E0 ## E0 ## E0; }; \
-
317  struct { detail::_swizzle<4,T, Q, 0,0,0,1> E0 ## E0 ## E0 ## E1; }; \
-
318  struct { detail::_swizzle<4,T, Q, 0,0,1,0> E0 ## E0 ## E1 ## E0; }; \
-
319  struct { detail::_swizzle<4,T, Q, 0,0,1,1> E0 ## E0 ## E1 ## E1; }; \
-
320  struct { detail::_swizzle<4,T, Q, 0,1,0,0> E0 ## E1 ## E0 ## E0; }; \
-
321  struct { detail::_swizzle<4,T, Q, 0,1,0,1> E0 ## E1 ## E0 ## E1; }; \
-
322  struct { detail::_swizzle<4,T, Q, 0,1,1,0> E0 ## E1 ## E1 ## E0; }; \
-
323  struct { detail::_swizzle<4,T, Q, 0,1,1,1> E0 ## E1 ## E1 ## E1; }; \
-
324  struct { detail::_swizzle<4,T, Q, 1,0,0,0> E1 ## E0 ## E0 ## E0; }; \
-
325  struct { detail::_swizzle<4,T, Q, 1,0,0,1> E1 ## E0 ## E0 ## E1; }; \
-
326  struct { detail::_swizzle<4,T, Q, 1,0,1,0> E1 ## E0 ## E1 ## E0; }; \
-
327  struct { detail::_swizzle<4,T, Q, 1,0,1,1> E1 ## E0 ## E1 ## E1; }; \
-
328  struct { detail::_swizzle<4,T, Q, 1,1,0,0> E1 ## E1 ## E0 ## E0; }; \
-
329  struct { detail::_swizzle<4,T, Q, 1,1,0,1> E1 ## E1 ## E0 ## E1; }; \
-
330  struct { detail::_swizzle<4,T, Q, 1,1,1,0> E1 ## E1 ## E1 ## E0; }; \
-
331  struct { detail::_swizzle<4,T, Q, 1,1,1,1> E1 ## E1 ## E1 ## E1; };
-
332 
-
333 #define GLM_SWIZZLE3_2_MEMBERS(T, Q, E0,E1,E2) \
-
334  struct { detail::_swizzle<2,T, Q, 0,0,-1,-2> E0 ## E0; }; \
-
335  struct { detail::_swizzle<2,T, Q, 0,1,-1,-2> E0 ## E1; }; \
-
336  struct { detail::_swizzle<2,T, Q, 0,2,-1,-2> E0 ## E2; }; \
-
337  struct { detail::_swizzle<2,T, Q, 1,0,-1,-2> E1 ## E0; }; \
-
338  struct { detail::_swizzle<2,T, Q, 1,1,-1,-2> E1 ## E1; }; \
-
339  struct { detail::_swizzle<2,T, Q, 1,2,-1,-2> E1 ## E2; }; \
-
340  struct { detail::_swizzle<2,T, Q, 2,0,-1,-2> E2 ## E0; }; \
-
341  struct { detail::_swizzle<2,T, Q, 2,1,-1,-2> E2 ## E1; }; \
-
342  struct { detail::_swizzle<2,T, Q, 2,2,-1,-2> E2 ## E2; };
-
343 
-
344 #define GLM_SWIZZLE3_3_MEMBERS(T, Q ,E0,E1,E2) \
-
345  struct { detail::_swizzle<3, T, Q, 0,0,0,-1> E0 ## E0 ## E0; }; \
-
346  struct { detail::_swizzle<3, T, Q, 0,0,1,-1> E0 ## E0 ## E1; }; \
-
347  struct { detail::_swizzle<3, T, Q, 0,0,2,-1> E0 ## E0 ## E2; }; \
-
348  struct { detail::_swizzle<3, T, Q, 0,1,0,-1> E0 ## E1 ## E0; }; \
-
349  struct { detail::_swizzle<3, T, Q, 0,1,1,-1> E0 ## E1 ## E1; }; \
-
350  struct { detail::_swizzle<3, T, Q, 0,1,2,-1> E0 ## E1 ## E2; }; \
-
351  struct { detail::_swizzle<3, T, Q, 0,2,0,-1> E0 ## E2 ## E0; }; \
-
352  struct { detail::_swizzle<3, T, Q, 0,2,1,-1> E0 ## E2 ## E1; }; \
-
353  struct { detail::_swizzle<3, T, Q, 0,2,2,-1> E0 ## E2 ## E2; }; \
-
354  struct { detail::_swizzle<3, T, Q, 1,0,0,-1> E1 ## E0 ## E0; }; \
-
355  struct { detail::_swizzle<3, T, Q, 1,0,1,-1> E1 ## E0 ## E1; }; \
-
356  struct { detail::_swizzle<3, T, Q, 1,0,2,-1> E1 ## E0 ## E2; }; \
-
357  struct { detail::_swizzle<3, T, Q, 1,1,0,-1> E1 ## E1 ## E0; }; \
-
358  struct { detail::_swizzle<3, T, Q, 1,1,1,-1> E1 ## E1 ## E1; }; \
-
359  struct { detail::_swizzle<3, T, Q, 1,1,2,-1> E1 ## E1 ## E2; }; \
-
360  struct { detail::_swizzle<3, T, Q, 1,2,0,-1> E1 ## E2 ## E0; }; \
-
361  struct { detail::_swizzle<3, T, Q, 1,2,1,-1> E1 ## E2 ## E1; }; \
-
362  struct { detail::_swizzle<3, T, Q, 1,2,2,-1> E1 ## E2 ## E2; }; \
-
363  struct { detail::_swizzle<3, T, Q, 2,0,0,-1> E2 ## E0 ## E0; }; \
-
364  struct { detail::_swizzle<3, T, Q, 2,0,1,-1> E2 ## E0 ## E1; }; \
-
365  struct { detail::_swizzle<3, T, Q, 2,0,2,-1> E2 ## E0 ## E2; }; \
-
366  struct { detail::_swizzle<3, T, Q, 2,1,0,-1> E2 ## E1 ## E0; }; \
-
367  struct { detail::_swizzle<3, T, Q, 2,1,1,-1> E2 ## E1 ## E1; }; \
-
368  struct { detail::_swizzle<3, T, Q, 2,1,2,-1> E2 ## E1 ## E2; }; \
-
369  struct { detail::_swizzle<3, T, Q, 2,2,0,-1> E2 ## E2 ## E0; }; \
-
370  struct { detail::_swizzle<3, T, Q, 2,2,1,-1> E2 ## E2 ## E1; }; \
-
371  struct { detail::_swizzle<3, T, Q, 2,2,2,-1> E2 ## E2 ## E2; };
-
372 
-
373 #define GLM_SWIZZLE3_4_MEMBERS(T, Q, E0,E1,E2) \
-
374  struct { detail::_swizzle<4,T, Q, 0,0,0,0> E0 ## E0 ## E0 ## E0; }; \
-
375  struct { detail::_swizzle<4,T, Q, 0,0,0,1> E0 ## E0 ## E0 ## E1; }; \
-
376  struct { detail::_swizzle<4,T, Q, 0,0,0,2> E0 ## E0 ## E0 ## E2; }; \
-
377  struct { detail::_swizzle<4,T, Q, 0,0,1,0> E0 ## E0 ## E1 ## E0; }; \
-
378  struct { detail::_swizzle<4,T, Q, 0,0,1,1> E0 ## E0 ## E1 ## E1; }; \
-
379  struct { detail::_swizzle<4,T, Q, 0,0,1,2> E0 ## E0 ## E1 ## E2; }; \
-
380  struct { detail::_swizzle<4,T, Q, 0,0,2,0> E0 ## E0 ## E2 ## E0; }; \
-
381  struct { detail::_swizzle<4,T, Q, 0,0,2,1> E0 ## E0 ## E2 ## E1; }; \
-
382  struct { detail::_swizzle<4,T, Q, 0,0,2,2> E0 ## E0 ## E2 ## E2; }; \
-
383  struct { detail::_swizzle<4,T, Q, 0,1,0,0> E0 ## E1 ## E0 ## E0; }; \
-
384  struct { detail::_swizzle<4,T, Q, 0,1,0,1> E0 ## E1 ## E0 ## E1; }; \
-
385  struct { detail::_swizzle<4,T, Q, 0,1,0,2> E0 ## E1 ## E0 ## E2; }; \
-
386  struct { detail::_swizzle<4,T, Q, 0,1,1,0> E0 ## E1 ## E1 ## E0; }; \
-
387  struct { detail::_swizzle<4,T, Q, 0,1,1,1> E0 ## E1 ## E1 ## E1; }; \
-
388  struct { detail::_swizzle<4,T, Q, 0,1,1,2> E0 ## E1 ## E1 ## E2; }; \
-
389  struct { detail::_swizzle<4,T, Q, 0,1,2,0> E0 ## E1 ## E2 ## E0; }; \
-
390  struct { detail::_swizzle<4,T, Q, 0,1,2,1> E0 ## E1 ## E2 ## E1; }; \
-
391  struct { detail::_swizzle<4,T, Q, 0,1,2,2> E0 ## E1 ## E2 ## E2; }; \
-
392  struct { detail::_swizzle<4,T, Q, 0,2,0,0> E0 ## E2 ## E0 ## E0; }; \
-
393  struct { detail::_swizzle<4,T, Q, 0,2,0,1> E0 ## E2 ## E0 ## E1; }; \
-
394  struct { detail::_swizzle<4,T, Q, 0,2,0,2> E0 ## E2 ## E0 ## E2; }; \
-
395  struct { detail::_swizzle<4,T, Q, 0,2,1,0> E0 ## E2 ## E1 ## E0; }; \
-
396  struct { detail::_swizzle<4,T, Q, 0,2,1,1> E0 ## E2 ## E1 ## E1; }; \
-
397  struct { detail::_swizzle<4,T, Q, 0,2,1,2> E0 ## E2 ## E1 ## E2; }; \
-
398  struct { detail::_swizzle<4,T, Q, 0,2,2,0> E0 ## E2 ## E2 ## E0; }; \
-
399  struct { detail::_swizzle<4,T, Q, 0,2,2,1> E0 ## E2 ## E2 ## E1; }; \
-
400  struct { detail::_swizzle<4,T, Q, 0,2,2,2> E0 ## E2 ## E2 ## E2; }; \
-
401  struct { detail::_swizzle<4,T, Q, 1,0,0,0> E1 ## E0 ## E0 ## E0; }; \
-
402  struct { detail::_swizzle<4,T, Q, 1,0,0,1> E1 ## E0 ## E0 ## E1; }; \
-
403  struct { detail::_swizzle<4,T, Q, 1,0,0,2> E1 ## E0 ## E0 ## E2; }; \
-
404  struct { detail::_swizzle<4,T, Q, 1,0,1,0> E1 ## E0 ## E1 ## E0; }; \
-
405  struct { detail::_swizzle<4,T, Q, 1,0,1,1> E1 ## E0 ## E1 ## E1; }; \
-
406  struct { detail::_swizzle<4,T, Q, 1,0,1,2> E1 ## E0 ## E1 ## E2; }; \
-
407  struct { detail::_swizzle<4,T, Q, 1,0,2,0> E1 ## E0 ## E2 ## E0; }; \
-
408  struct { detail::_swizzle<4,T, Q, 1,0,2,1> E1 ## E0 ## E2 ## E1; }; \
-
409  struct { detail::_swizzle<4,T, Q, 1,0,2,2> E1 ## E0 ## E2 ## E2; }; \
-
410  struct { detail::_swizzle<4,T, Q, 1,1,0,0> E1 ## E1 ## E0 ## E0; }; \
-
411  struct { detail::_swizzle<4,T, Q, 1,1,0,1> E1 ## E1 ## E0 ## E1; }; \
-
412  struct { detail::_swizzle<4,T, Q, 1,1,0,2> E1 ## E1 ## E0 ## E2; }; \
-
413  struct { detail::_swizzle<4,T, Q, 1,1,1,0> E1 ## E1 ## E1 ## E0; }; \
-
414  struct { detail::_swizzle<4,T, Q, 1,1,1,1> E1 ## E1 ## E1 ## E1; }; \
-
415  struct { detail::_swizzle<4,T, Q, 1,1,1,2> E1 ## E1 ## E1 ## E2; }; \
-
416  struct { detail::_swizzle<4,T, Q, 1,1,2,0> E1 ## E1 ## E2 ## E0; }; \
-
417  struct { detail::_swizzle<4,T, Q, 1,1,2,1> E1 ## E1 ## E2 ## E1; }; \
-
418  struct { detail::_swizzle<4,T, Q, 1,1,2,2> E1 ## E1 ## E2 ## E2; }; \
-
419  struct { detail::_swizzle<4,T, Q, 1,2,0,0> E1 ## E2 ## E0 ## E0; }; \
-
420  struct { detail::_swizzle<4,T, Q, 1,2,0,1> E1 ## E2 ## E0 ## E1; }; \
-
421  struct { detail::_swizzle<4,T, Q, 1,2,0,2> E1 ## E2 ## E0 ## E2; }; \
-
422  struct { detail::_swizzle<4,T, Q, 1,2,1,0> E1 ## E2 ## E1 ## E0; }; \
-
423  struct { detail::_swizzle<4,T, Q, 1,2,1,1> E1 ## E2 ## E1 ## E1; }; \
-
424  struct { detail::_swizzle<4,T, Q, 1,2,1,2> E1 ## E2 ## E1 ## E2; }; \
-
425  struct { detail::_swizzle<4,T, Q, 1,2,2,0> E1 ## E2 ## E2 ## E0; }; \
-
426  struct { detail::_swizzle<4,T, Q, 1,2,2,1> E1 ## E2 ## E2 ## E1; }; \
-
427  struct { detail::_swizzle<4,T, Q, 1,2,2,2> E1 ## E2 ## E2 ## E2; }; \
-
428  struct { detail::_swizzle<4,T, Q, 2,0,0,0> E2 ## E0 ## E0 ## E0; }; \
-
429  struct { detail::_swizzle<4,T, Q, 2,0,0,1> E2 ## E0 ## E0 ## E1; }; \
-
430  struct { detail::_swizzle<4,T, Q, 2,0,0,2> E2 ## E0 ## E0 ## E2; }; \
-
431  struct { detail::_swizzle<4,T, Q, 2,0,1,0> E2 ## E0 ## E1 ## E0; }; \
-
432  struct { detail::_swizzle<4,T, Q, 2,0,1,1> E2 ## E0 ## E1 ## E1; }; \
-
433  struct { detail::_swizzle<4,T, Q, 2,0,1,2> E2 ## E0 ## E1 ## E2; }; \
-
434  struct { detail::_swizzle<4,T, Q, 2,0,2,0> E2 ## E0 ## E2 ## E0; }; \
-
435  struct { detail::_swizzle<4,T, Q, 2,0,2,1> E2 ## E0 ## E2 ## E1; }; \
-
436  struct { detail::_swizzle<4,T, Q, 2,0,2,2> E2 ## E0 ## E2 ## E2; }; \
-
437  struct { detail::_swizzle<4,T, Q, 2,1,0,0> E2 ## E1 ## E0 ## E0; }; \
-
438  struct { detail::_swizzle<4,T, Q, 2,1,0,1> E2 ## E1 ## E0 ## E1; }; \
-
439  struct { detail::_swizzle<4,T, Q, 2,1,0,2> E2 ## E1 ## E0 ## E2; }; \
-
440  struct { detail::_swizzle<4,T, Q, 2,1,1,0> E2 ## E1 ## E1 ## E0; }; \
-
441  struct { detail::_swizzle<4,T, Q, 2,1,1,1> E2 ## E1 ## E1 ## E1; }; \
-
442  struct { detail::_swizzle<4,T, Q, 2,1,1,2> E2 ## E1 ## E1 ## E2; }; \
-
443  struct { detail::_swizzle<4,T, Q, 2,1,2,0> E2 ## E1 ## E2 ## E0; }; \
-
444  struct { detail::_swizzle<4,T, Q, 2,1,2,1> E2 ## E1 ## E2 ## E1; }; \
-
445  struct { detail::_swizzle<4,T, Q, 2,1,2,2> E2 ## E1 ## E2 ## E2; }; \
-
446  struct { detail::_swizzle<4,T, Q, 2,2,0,0> E2 ## E2 ## E0 ## E0; }; \
-
447  struct { detail::_swizzle<4,T, Q, 2,2,0,1> E2 ## E2 ## E0 ## E1; }; \
-
448  struct { detail::_swizzle<4,T, Q, 2,2,0,2> E2 ## E2 ## E0 ## E2; }; \
-
449  struct { detail::_swizzle<4,T, Q, 2,2,1,0> E2 ## E2 ## E1 ## E0; }; \
-
450  struct { detail::_swizzle<4,T, Q, 2,2,1,1> E2 ## E2 ## E1 ## E1; }; \
-
451  struct { detail::_swizzle<4,T, Q, 2,2,1,2> E2 ## E2 ## E1 ## E2; }; \
-
452  struct { detail::_swizzle<4,T, Q, 2,2,2,0> E2 ## E2 ## E2 ## E0; }; \
-
453  struct { detail::_swizzle<4,T, Q, 2,2,2,1> E2 ## E2 ## E2 ## E1; }; \
-
454  struct { detail::_swizzle<4,T, Q, 2,2,2,2> E2 ## E2 ## E2 ## E2; };
-
455 
-
456 #define GLM_SWIZZLE4_2_MEMBERS(T, Q, E0,E1,E2,E3) \
-
457  struct { detail::_swizzle<2,T, Q, 0,0,-1,-2> E0 ## E0; }; \
-
458  struct { detail::_swizzle<2,T, Q, 0,1,-1,-2> E0 ## E1; }; \
-
459  struct { detail::_swizzle<2,T, Q, 0,2,-1,-2> E0 ## E2; }; \
-
460  struct { detail::_swizzle<2,T, Q, 0,3,-1,-2> E0 ## E3; }; \
-
461  struct { detail::_swizzle<2,T, Q, 1,0,-1,-2> E1 ## E0; }; \
-
462  struct { detail::_swizzle<2,T, Q, 1,1,-1,-2> E1 ## E1; }; \
-
463  struct { detail::_swizzle<2,T, Q, 1,2,-1,-2> E1 ## E2; }; \
-
464  struct { detail::_swizzle<2,T, Q, 1,3,-1,-2> E1 ## E3; }; \
-
465  struct { detail::_swizzle<2,T, Q, 2,0,-1,-2> E2 ## E0; }; \
-
466  struct { detail::_swizzle<2,T, Q, 2,1,-1,-2> E2 ## E1; }; \
-
467  struct { detail::_swizzle<2,T, Q, 2,2,-1,-2> E2 ## E2; }; \
-
468  struct { detail::_swizzle<2,T, Q, 2,3,-1,-2> E2 ## E3; }; \
-
469  struct { detail::_swizzle<2,T, Q, 3,0,-1,-2> E3 ## E0; }; \
-
470  struct { detail::_swizzle<2,T, Q, 3,1,-1,-2> E3 ## E1; }; \
-
471  struct { detail::_swizzle<2,T, Q, 3,2,-1,-2> E3 ## E2; }; \
-
472  struct { detail::_swizzle<2,T, Q, 3,3,-1,-2> E3 ## E3; };
-
473 
-
474 #define GLM_SWIZZLE4_3_MEMBERS(T, Q, E0,E1,E2,E3) \
-
475  struct { detail::_swizzle<3, T, Q, 0,0,0,-1> E0 ## E0 ## E0; }; \
-
476  struct { detail::_swizzle<3, T, Q, 0,0,1,-1> E0 ## E0 ## E1; }; \
-
477  struct { detail::_swizzle<3, T, Q, 0,0,2,-1> E0 ## E0 ## E2; }; \
-
478  struct { detail::_swizzle<3, T, Q, 0,0,3,-1> E0 ## E0 ## E3; }; \
-
479  struct { detail::_swizzle<3, T, Q, 0,1,0,-1> E0 ## E1 ## E0; }; \
-
480  struct { detail::_swizzle<3, T, Q, 0,1,1,-1> E0 ## E1 ## E1; }; \
-
481  struct { detail::_swizzle<3, T, Q, 0,1,2,-1> E0 ## E1 ## E2; }; \
-
482  struct { detail::_swizzle<3, T, Q, 0,1,3,-1> E0 ## E1 ## E3; }; \
-
483  struct { detail::_swizzle<3, T, Q, 0,2,0,-1> E0 ## E2 ## E0; }; \
-
484  struct { detail::_swizzle<3, T, Q, 0,2,1,-1> E0 ## E2 ## E1; }; \
-
485  struct { detail::_swizzle<3, T, Q, 0,2,2,-1> E0 ## E2 ## E2; }; \
-
486  struct { detail::_swizzle<3, T, Q, 0,2,3,-1> E0 ## E2 ## E3; }; \
-
487  struct { detail::_swizzle<3, T, Q, 0,3,0,-1> E0 ## E3 ## E0; }; \
-
488  struct { detail::_swizzle<3, T, Q, 0,3,1,-1> E0 ## E3 ## E1; }; \
-
489  struct { detail::_swizzle<3, T, Q, 0,3,2,-1> E0 ## E3 ## E2; }; \
-
490  struct { detail::_swizzle<3, T, Q, 0,3,3,-1> E0 ## E3 ## E3; }; \
-
491  struct { detail::_swizzle<3, T, Q, 1,0,0,-1> E1 ## E0 ## E0; }; \
-
492  struct { detail::_swizzle<3, T, Q, 1,0,1,-1> E1 ## E0 ## E1; }; \
-
493  struct { detail::_swizzle<3, T, Q, 1,0,2,-1> E1 ## E0 ## E2; }; \
-
494  struct { detail::_swizzle<3, T, Q, 1,0,3,-1> E1 ## E0 ## E3; }; \
-
495  struct { detail::_swizzle<3, T, Q, 1,1,0,-1> E1 ## E1 ## E0; }; \
-
496  struct { detail::_swizzle<3, T, Q, 1,1,1,-1> E1 ## E1 ## E1; }; \
-
497  struct { detail::_swizzle<3, T, Q, 1,1,2,-1> E1 ## E1 ## E2; }; \
-
498  struct { detail::_swizzle<3, T, Q, 1,1,3,-1> E1 ## E1 ## E3; }; \
-
499  struct { detail::_swizzle<3, T, Q, 1,2,0,-1> E1 ## E2 ## E0; }; \
-
500  struct { detail::_swizzle<3, T, Q, 1,2,1,-1> E1 ## E2 ## E1; }; \
-
501  struct { detail::_swizzle<3, T, Q, 1,2,2,-1> E1 ## E2 ## E2; }; \
-
502  struct { detail::_swizzle<3, T, Q, 1,2,3,-1> E1 ## E2 ## E3; }; \
-
503  struct { detail::_swizzle<3, T, Q, 1,3,0,-1> E1 ## E3 ## E0; }; \
-
504  struct { detail::_swizzle<3, T, Q, 1,3,1,-1> E1 ## E3 ## E1; }; \
-
505  struct { detail::_swizzle<3, T, Q, 1,3,2,-1> E1 ## E3 ## E2; }; \
-
506  struct { detail::_swizzle<3, T, Q, 1,3,3,-1> E1 ## E3 ## E3; }; \
-
507  struct { detail::_swizzle<3, T, Q, 2,0,0,-1> E2 ## E0 ## E0; }; \
-
508  struct { detail::_swizzle<3, T, Q, 2,0,1,-1> E2 ## E0 ## E1; }; \
-
509  struct { detail::_swizzle<3, T, Q, 2,0,2,-1> E2 ## E0 ## E2; }; \
-
510  struct { detail::_swizzle<3, T, Q, 2,0,3,-1> E2 ## E0 ## E3; }; \
-
511  struct { detail::_swizzle<3, T, Q, 2,1,0,-1> E2 ## E1 ## E0; }; \
-
512  struct { detail::_swizzle<3, T, Q, 2,1,1,-1> E2 ## E1 ## E1; }; \
-
513  struct { detail::_swizzle<3, T, Q, 2,1,2,-1> E2 ## E1 ## E2; }; \
-
514  struct { detail::_swizzle<3, T, Q, 2,1,3,-1> E2 ## E1 ## E3; }; \
-
515  struct { detail::_swizzle<3, T, Q, 2,2,0,-1> E2 ## E2 ## E0; }; \
-
516  struct { detail::_swizzle<3, T, Q, 2,2,1,-1> E2 ## E2 ## E1; }; \
-
517  struct { detail::_swizzle<3, T, Q, 2,2,2,-1> E2 ## E2 ## E2; }; \
-
518  struct { detail::_swizzle<3, T, Q, 2,2,3,-1> E2 ## E2 ## E3; }; \
-
519  struct { detail::_swizzle<3, T, Q, 2,3,0,-1> E2 ## E3 ## E0; }; \
-
520  struct { detail::_swizzle<3, T, Q, 2,3,1,-1> E2 ## E3 ## E1; }; \
-
521  struct { detail::_swizzle<3, T, Q, 2,3,2,-1> E2 ## E3 ## E2; }; \
-
522  struct { detail::_swizzle<3, T, Q, 2,3,3,-1> E2 ## E3 ## E3; }; \
-
523  struct { detail::_swizzle<3, T, Q, 3,0,0,-1> E3 ## E0 ## E0; }; \
-
524  struct { detail::_swizzle<3, T, Q, 3,0,1,-1> E3 ## E0 ## E1; }; \
-
525  struct { detail::_swizzle<3, T, Q, 3,0,2,-1> E3 ## E0 ## E2; }; \
-
526  struct { detail::_swizzle<3, T, Q, 3,0,3,-1> E3 ## E0 ## E3; }; \
-
527  struct { detail::_swizzle<3, T, Q, 3,1,0,-1> E3 ## E1 ## E0; }; \
-
528  struct { detail::_swizzle<3, T, Q, 3,1,1,-1> E3 ## E1 ## E1; }; \
-
529  struct { detail::_swizzle<3, T, Q, 3,1,2,-1> E3 ## E1 ## E2; }; \
-
530  struct { detail::_swizzle<3, T, Q, 3,1,3,-1> E3 ## E1 ## E3; }; \
-
531  struct { detail::_swizzle<3, T, Q, 3,2,0,-1> E3 ## E2 ## E0; }; \
-
532  struct { detail::_swizzle<3, T, Q, 3,2,1,-1> E3 ## E2 ## E1; }; \
-
533  struct { detail::_swizzle<3, T, Q, 3,2,2,-1> E3 ## E2 ## E2; }; \
-
534  struct { detail::_swizzle<3, T, Q, 3,2,3,-1> E3 ## E2 ## E3; }; \
-
535  struct { detail::_swizzle<3, T, Q, 3,3,0,-1> E3 ## E3 ## E0; }; \
-
536  struct { detail::_swizzle<3, T, Q, 3,3,1,-1> E3 ## E3 ## E1; }; \
-
537  struct { detail::_swizzle<3, T, Q, 3,3,2,-1> E3 ## E3 ## E2; }; \
-
538  struct { detail::_swizzle<3, T, Q, 3,3,3,-1> E3 ## E3 ## E3; };
-
539 
-
540 #define GLM_SWIZZLE4_4_MEMBERS(T, Q, E0,E1,E2,E3) \
-
541  struct { detail::_swizzle<4, T, Q, 0,0,0,0> E0 ## E0 ## E0 ## E0; }; \
-
542  struct { detail::_swizzle<4, T, Q, 0,0,0,1> E0 ## E0 ## E0 ## E1; }; \
-
543  struct { detail::_swizzle<4, T, Q, 0,0,0,2> E0 ## E0 ## E0 ## E2; }; \
-
544  struct { detail::_swizzle<4, T, Q, 0,0,0,3> E0 ## E0 ## E0 ## E3; }; \
-
545  struct { detail::_swizzle<4, T, Q, 0,0,1,0> E0 ## E0 ## E1 ## E0; }; \
-
546  struct { detail::_swizzle<4, T, Q, 0,0,1,1> E0 ## E0 ## E1 ## E1; }; \
-
547  struct { detail::_swizzle<4, T, Q, 0,0,1,2> E0 ## E0 ## E1 ## E2; }; \
-
548  struct { detail::_swizzle<4, T, Q, 0,0,1,3> E0 ## E0 ## E1 ## E3; }; \
-
549  struct { detail::_swizzle<4, T, Q, 0,0,2,0> E0 ## E0 ## E2 ## E0; }; \
-
550  struct { detail::_swizzle<4, T, Q, 0,0,2,1> E0 ## E0 ## E2 ## E1; }; \
-
551  struct { detail::_swizzle<4, T, Q, 0,0,2,2> E0 ## E0 ## E2 ## E2; }; \
-
552  struct { detail::_swizzle<4, T, Q, 0,0,2,3> E0 ## E0 ## E2 ## E3; }; \
-
553  struct { detail::_swizzle<4, T, Q, 0,0,3,0> E0 ## E0 ## E3 ## E0; }; \
-
554  struct { detail::_swizzle<4, T, Q, 0,0,3,1> E0 ## E0 ## E3 ## E1; }; \
-
555  struct { detail::_swizzle<4, T, Q, 0,0,3,2> E0 ## E0 ## E3 ## E2; }; \
-
556  struct { detail::_swizzle<4, T, Q, 0,0,3,3> E0 ## E0 ## E3 ## E3; }; \
-
557  struct { detail::_swizzle<4, T, Q, 0,1,0,0> E0 ## E1 ## E0 ## E0; }; \
-
558  struct { detail::_swizzle<4, T, Q, 0,1,0,1> E0 ## E1 ## E0 ## E1; }; \
-
559  struct { detail::_swizzle<4, T, Q, 0,1,0,2> E0 ## E1 ## E0 ## E2; }; \
-
560  struct { detail::_swizzle<4, T, Q, 0,1,0,3> E0 ## E1 ## E0 ## E3; }; \
-
561  struct { detail::_swizzle<4, T, Q, 0,1,1,0> E0 ## E1 ## E1 ## E0; }; \
-
562  struct { detail::_swizzle<4, T, Q, 0,1,1,1> E0 ## E1 ## E1 ## E1; }; \
-
563  struct { detail::_swizzle<4, T, Q, 0,1,1,2> E0 ## E1 ## E1 ## E2; }; \
-
564  struct { detail::_swizzle<4, T, Q, 0,1,1,3> E0 ## E1 ## E1 ## E3; }; \
-
565  struct { detail::_swizzle<4, T, Q, 0,1,2,0> E0 ## E1 ## E2 ## E0; }; \
-
566  struct { detail::_swizzle<4, T, Q, 0,1,2,1> E0 ## E1 ## E2 ## E1; }; \
-
567  struct { detail::_swizzle<4, T, Q, 0,1,2,2> E0 ## E1 ## E2 ## E2; }; \
-
568  struct { detail::_swizzle<4, T, Q, 0,1,2,3> E0 ## E1 ## E2 ## E3; }; \
-
569  struct { detail::_swizzle<4, T, Q, 0,1,3,0> E0 ## E1 ## E3 ## E0; }; \
-
570  struct { detail::_swizzle<4, T, Q, 0,1,3,1> E0 ## E1 ## E3 ## E1; }; \
-
571  struct { detail::_swizzle<4, T, Q, 0,1,3,2> E0 ## E1 ## E3 ## E2; }; \
-
572  struct { detail::_swizzle<4, T, Q, 0,1,3,3> E0 ## E1 ## E3 ## E3; }; \
-
573  struct { detail::_swizzle<4, T, Q, 0,2,0,0> E0 ## E2 ## E0 ## E0; }; \
-
574  struct { detail::_swizzle<4, T, Q, 0,2,0,1> E0 ## E2 ## E0 ## E1; }; \
-
575  struct { detail::_swizzle<4, T, Q, 0,2,0,2> E0 ## E2 ## E0 ## E2; }; \
-
576  struct { detail::_swizzle<4, T, Q, 0,2,0,3> E0 ## E2 ## E0 ## E3; }; \
-
577  struct { detail::_swizzle<4, T, Q, 0,2,1,0> E0 ## E2 ## E1 ## E0; }; \
-
578  struct { detail::_swizzle<4, T, Q, 0,2,1,1> E0 ## E2 ## E1 ## E1; }; \
-
579  struct { detail::_swizzle<4, T, Q, 0,2,1,2> E0 ## E2 ## E1 ## E2; }; \
-
580  struct { detail::_swizzle<4, T, Q, 0,2,1,3> E0 ## E2 ## E1 ## E3; }; \
-
581  struct { detail::_swizzle<4, T, Q, 0,2,2,0> E0 ## E2 ## E2 ## E0; }; \
-
582  struct { detail::_swizzle<4, T, Q, 0,2,2,1> E0 ## E2 ## E2 ## E1; }; \
-
583  struct { detail::_swizzle<4, T, Q, 0,2,2,2> E0 ## E2 ## E2 ## E2; }; \
-
584  struct { detail::_swizzle<4, T, Q, 0,2,2,3> E0 ## E2 ## E2 ## E3; }; \
-
585  struct { detail::_swizzle<4, T, Q, 0,2,3,0> E0 ## E2 ## E3 ## E0; }; \
-
586  struct { detail::_swizzle<4, T, Q, 0,2,3,1> E0 ## E2 ## E3 ## E1; }; \
-
587  struct { detail::_swizzle<4, T, Q, 0,2,3,2> E0 ## E2 ## E3 ## E2; }; \
-
588  struct { detail::_swizzle<4, T, Q, 0,2,3,3> E0 ## E2 ## E3 ## E3; }; \
-
589  struct { detail::_swizzle<4, T, Q, 0,3,0,0> E0 ## E3 ## E0 ## E0; }; \
-
590  struct { detail::_swizzle<4, T, Q, 0,3,0,1> E0 ## E3 ## E0 ## E1; }; \
-
591  struct { detail::_swizzle<4, T, Q, 0,3,0,2> E0 ## E3 ## E0 ## E2; }; \
-
592  struct { detail::_swizzle<4, T, Q, 0,3,0,3> E0 ## E3 ## E0 ## E3; }; \
-
593  struct { detail::_swizzle<4, T, Q, 0,3,1,0> E0 ## E3 ## E1 ## E0; }; \
-
594  struct { detail::_swizzle<4, T, Q, 0,3,1,1> E0 ## E3 ## E1 ## E1; }; \
-
595  struct { detail::_swizzle<4, T, Q, 0,3,1,2> E0 ## E3 ## E1 ## E2; }; \
-
596  struct { detail::_swizzle<4, T, Q, 0,3,1,3> E0 ## E3 ## E1 ## E3; }; \
-
597  struct { detail::_swizzle<4, T, Q, 0,3,2,0> E0 ## E3 ## E2 ## E0; }; \
-
598  struct { detail::_swizzle<4, T, Q, 0,3,2,1> E0 ## E3 ## E2 ## E1; }; \
-
599  struct { detail::_swizzle<4, T, Q, 0,3,2,2> E0 ## E3 ## E2 ## E2; }; \
-
600  struct { detail::_swizzle<4, T, Q, 0,3,2,3> E0 ## E3 ## E2 ## E3; }; \
-
601  struct { detail::_swizzle<4, T, Q, 0,3,3,0> E0 ## E3 ## E3 ## E0; }; \
-
602  struct { detail::_swizzle<4, T, Q, 0,3,3,1> E0 ## E3 ## E3 ## E1; }; \
-
603  struct { detail::_swizzle<4, T, Q, 0,3,3,2> E0 ## E3 ## E3 ## E2; }; \
-
604  struct { detail::_swizzle<4, T, Q, 0,3,3,3> E0 ## E3 ## E3 ## E3; }; \
-
605  struct { detail::_swizzle<4, T, Q, 1,0,0,0> E1 ## E0 ## E0 ## E0; }; \
-
606  struct { detail::_swizzle<4, T, Q, 1,0,0,1> E1 ## E0 ## E0 ## E1; }; \
-
607  struct { detail::_swizzle<4, T, Q, 1,0,0,2> E1 ## E0 ## E0 ## E2; }; \
-
608  struct { detail::_swizzle<4, T, Q, 1,0,0,3> E1 ## E0 ## E0 ## E3; }; \
-
609  struct { detail::_swizzle<4, T, Q, 1,0,1,0> E1 ## E0 ## E1 ## E0; }; \
-
610  struct { detail::_swizzle<4, T, Q, 1,0,1,1> E1 ## E0 ## E1 ## E1; }; \
-
611  struct { detail::_swizzle<4, T, Q, 1,0,1,2> E1 ## E0 ## E1 ## E2; }; \
-
612  struct { detail::_swizzle<4, T, Q, 1,0,1,3> E1 ## E0 ## E1 ## E3; }; \
-
613  struct { detail::_swizzle<4, T, Q, 1,0,2,0> E1 ## E0 ## E2 ## E0; }; \
-
614  struct { detail::_swizzle<4, T, Q, 1,0,2,1> E1 ## E0 ## E2 ## E1; }; \
-
615  struct { detail::_swizzle<4, T, Q, 1,0,2,2> E1 ## E0 ## E2 ## E2; }; \
-
616  struct { detail::_swizzle<4, T, Q, 1,0,2,3> E1 ## E0 ## E2 ## E3; }; \
-
617  struct { detail::_swizzle<4, T, Q, 1,0,3,0> E1 ## E0 ## E3 ## E0; }; \
-
618  struct { detail::_swizzle<4, T, Q, 1,0,3,1> E1 ## E0 ## E3 ## E1; }; \
-
619  struct { detail::_swizzle<4, T, Q, 1,0,3,2> E1 ## E0 ## E3 ## E2; }; \
-
620  struct { detail::_swizzle<4, T, Q, 1,0,3,3> E1 ## E0 ## E3 ## E3; }; \
-
621  struct { detail::_swizzle<4, T, Q, 1,1,0,0> E1 ## E1 ## E0 ## E0; }; \
-
622  struct { detail::_swizzle<4, T, Q, 1,1,0,1> E1 ## E1 ## E0 ## E1; }; \
-
623  struct { detail::_swizzle<4, T, Q, 1,1,0,2> E1 ## E1 ## E0 ## E2; }; \
-
624  struct { detail::_swizzle<4, T, Q, 1,1,0,3> E1 ## E1 ## E0 ## E3; }; \
-
625  struct { detail::_swizzle<4, T, Q, 1,1,1,0> E1 ## E1 ## E1 ## E0; }; \
-
626  struct { detail::_swizzle<4, T, Q, 1,1,1,1> E1 ## E1 ## E1 ## E1; }; \
-
627  struct { detail::_swizzle<4, T, Q, 1,1,1,2> E1 ## E1 ## E1 ## E2; }; \
-
628  struct { detail::_swizzle<4, T, Q, 1,1,1,3> E1 ## E1 ## E1 ## E3; }; \
-
629  struct { detail::_swizzle<4, T, Q, 1,1,2,0> E1 ## E1 ## E2 ## E0; }; \
-
630  struct { detail::_swizzle<4, T, Q, 1,1,2,1> E1 ## E1 ## E2 ## E1; }; \
-
631  struct { detail::_swizzle<4, T, Q, 1,1,2,2> E1 ## E1 ## E2 ## E2; }; \
-
632  struct { detail::_swizzle<4, T, Q, 1,1,2,3> E1 ## E1 ## E2 ## E3; }; \
-
633  struct { detail::_swizzle<4, T, Q, 1,1,3,0> E1 ## E1 ## E3 ## E0; }; \
-
634  struct { detail::_swizzle<4, T, Q, 1,1,3,1> E1 ## E1 ## E3 ## E1; }; \
-
635  struct { detail::_swizzle<4, T, Q, 1,1,3,2> E1 ## E1 ## E3 ## E2; }; \
-
636  struct { detail::_swizzle<4, T, Q, 1,1,3,3> E1 ## E1 ## E3 ## E3; }; \
-
637  struct { detail::_swizzle<4, T, Q, 1,2,0,0> E1 ## E2 ## E0 ## E0; }; \
-
638  struct { detail::_swizzle<4, T, Q, 1,2,0,1> E1 ## E2 ## E0 ## E1; }; \
-
639  struct { detail::_swizzle<4, T, Q, 1,2,0,2> E1 ## E2 ## E0 ## E2; }; \
-
640  struct { detail::_swizzle<4, T, Q, 1,2,0,3> E1 ## E2 ## E0 ## E3; }; \
-
641  struct { detail::_swizzle<4, T, Q, 1,2,1,0> E1 ## E2 ## E1 ## E0; }; \
-
642  struct { detail::_swizzle<4, T, Q, 1,2,1,1> E1 ## E2 ## E1 ## E1; }; \
-
643  struct { detail::_swizzle<4, T, Q, 1,2,1,2> E1 ## E2 ## E1 ## E2; }; \
-
644  struct { detail::_swizzle<4, T, Q, 1,2,1,3> E1 ## E2 ## E1 ## E3; }; \
-
645  struct { detail::_swizzle<4, T, Q, 1,2,2,0> E1 ## E2 ## E2 ## E0; }; \
-
646  struct { detail::_swizzle<4, T, Q, 1,2,2,1> E1 ## E2 ## E2 ## E1; }; \
-
647  struct { detail::_swizzle<4, T, Q, 1,2,2,2> E1 ## E2 ## E2 ## E2; }; \
-
648  struct { detail::_swizzle<4, T, Q, 1,2,2,3> E1 ## E2 ## E2 ## E3; }; \
-
649  struct { detail::_swizzle<4, T, Q, 1,2,3,0> E1 ## E2 ## E3 ## E0; }; \
-
650  struct { detail::_swizzle<4, T, Q, 1,2,3,1> E1 ## E2 ## E3 ## E1; }; \
-
651  struct { detail::_swizzle<4, T, Q, 1,2,3,2> E1 ## E2 ## E3 ## E2; }; \
-
652  struct { detail::_swizzle<4, T, Q, 1,2,3,3> E1 ## E2 ## E3 ## E3; }; \
-
653  struct { detail::_swizzle<4, T, Q, 1,3,0,0> E1 ## E3 ## E0 ## E0; }; \
-
654  struct { detail::_swizzle<4, T, Q, 1,3,0,1> E1 ## E3 ## E0 ## E1; }; \
-
655  struct { detail::_swizzle<4, T, Q, 1,3,0,2> E1 ## E3 ## E0 ## E2; }; \
-
656  struct { detail::_swizzle<4, T, Q, 1,3,0,3> E1 ## E3 ## E0 ## E3; }; \
-
657  struct { detail::_swizzle<4, T, Q, 1,3,1,0> E1 ## E3 ## E1 ## E0; }; \
-
658  struct { detail::_swizzle<4, T, Q, 1,3,1,1> E1 ## E3 ## E1 ## E1; }; \
-
659  struct { detail::_swizzle<4, T, Q, 1,3,1,2> E1 ## E3 ## E1 ## E2; }; \
-
660  struct { detail::_swizzle<4, T, Q, 1,3,1,3> E1 ## E3 ## E1 ## E3; }; \
-
661  struct { detail::_swizzle<4, T, Q, 1,3,2,0> E1 ## E3 ## E2 ## E0; }; \
-
662  struct { detail::_swizzle<4, T, Q, 1,3,2,1> E1 ## E3 ## E2 ## E1; }; \
-
663  struct { detail::_swizzle<4, T, Q, 1,3,2,2> E1 ## E3 ## E2 ## E2; }; \
-
664  struct { detail::_swizzle<4, T, Q, 1,3,2,3> E1 ## E3 ## E2 ## E3; }; \
-
665  struct { detail::_swizzle<4, T, Q, 1,3,3,0> E1 ## E3 ## E3 ## E0; }; \
-
666  struct { detail::_swizzle<4, T, Q, 1,3,3,1> E1 ## E3 ## E3 ## E1; }; \
-
667  struct { detail::_swizzle<4, T, Q, 1,3,3,2> E1 ## E3 ## E3 ## E2; }; \
-
668  struct { detail::_swizzle<4, T, Q, 1,3,3,3> E1 ## E3 ## E3 ## E3; }; \
-
669  struct { detail::_swizzle<4, T, Q, 2,0,0,0> E2 ## E0 ## E0 ## E0; }; \
-
670  struct { detail::_swizzle<4, T, Q, 2,0,0,1> E2 ## E0 ## E0 ## E1; }; \
-
671  struct { detail::_swizzle<4, T, Q, 2,0,0,2> E2 ## E0 ## E0 ## E2; }; \
-
672  struct { detail::_swizzle<4, T, Q, 2,0,0,3> E2 ## E0 ## E0 ## E3; }; \
-
673  struct { detail::_swizzle<4, T, Q, 2,0,1,0> E2 ## E0 ## E1 ## E0; }; \
-
674  struct { detail::_swizzle<4, T, Q, 2,0,1,1> E2 ## E0 ## E1 ## E1; }; \
-
675  struct { detail::_swizzle<4, T, Q, 2,0,1,2> E2 ## E0 ## E1 ## E2; }; \
-
676  struct { detail::_swizzle<4, T, Q, 2,0,1,3> E2 ## E0 ## E1 ## E3; }; \
-
677  struct { detail::_swizzle<4, T, Q, 2,0,2,0> E2 ## E0 ## E2 ## E0; }; \
-
678  struct { detail::_swizzle<4, T, Q, 2,0,2,1> E2 ## E0 ## E2 ## E1; }; \
-
679  struct { detail::_swizzle<4, T, Q, 2,0,2,2> E2 ## E0 ## E2 ## E2; }; \
-
680  struct { detail::_swizzle<4, T, Q, 2,0,2,3> E2 ## E0 ## E2 ## E3; }; \
-
681  struct { detail::_swizzle<4, T, Q, 2,0,3,0> E2 ## E0 ## E3 ## E0; }; \
-
682  struct { detail::_swizzle<4, T, Q, 2,0,3,1> E2 ## E0 ## E3 ## E1; }; \
-
683  struct { detail::_swizzle<4, T, Q, 2,0,3,2> E2 ## E0 ## E3 ## E2; }; \
-
684  struct { detail::_swizzle<4, T, Q, 2,0,3,3> E2 ## E0 ## E3 ## E3; }; \
-
685  struct { detail::_swizzle<4, T, Q, 2,1,0,0> E2 ## E1 ## E0 ## E0; }; \
-
686  struct { detail::_swizzle<4, T, Q, 2,1,0,1> E2 ## E1 ## E0 ## E1; }; \
-
687  struct { detail::_swizzle<4, T, Q, 2,1,0,2> E2 ## E1 ## E0 ## E2; }; \
-
688  struct { detail::_swizzle<4, T, Q, 2,1,0,3> E2 ## E1 ## E0 ## E3; }; \
-
689  struct { detail::_swizzle<4, T, Q, 2,1,1,0> E2 ## E1 ## E1 ## E0; }; \
-
690  struct { detail::_swizzle<4, T, Q, 2,1,1,1> E2 ## E1 ## E1 ## E1; }; \
-
691  struct { detail::_swizzle<4, T, Q, 2,1,1,2> E2 ## E1 ## E1 ## E2; }; \
-
692  struct { detail::_swizzle<4, T, Q, 2,1,1,3> E2 ## E1 ## E1 ## E3; }; \
-
693  struct { detail::_swizzle<4, T, Q, 2,1,2,0> E2 ## E1 ## E2 ## E0; }; \
-
694  struct { detail::_swizzle<4, T, Q, 2,1,2,1> E2 ## E1 ## E2 ## E1; }; \
-
695  struct { detail::_swizzle<4, T, Q, 2,1,2,2> E2 ## E1 ## E2 ## E2; }; \
-
696  struct { detail::_swizzle<4, T, Q, 2,1,2,3> E2 ## E1 ## E2 ## E3; }; \
-
697  struct { detail::_swizzle<4, T, Q, 2,1,3,0> E2 ## E1 ## E3 ## E0; }; \
-
698  struct { detail::_swizzle<4, T, Q, 2,1,3,1> E2 ## E1 ## E3 ## E1; }; \
-
699  struct { detail::_swizzle<4, T, Q, 2,1,3,2> E2 ## E1 ## E3 ## E2; }; \
-
700  struct { detail::_swizzle<4, T, Q, 2,1,3,3> E2 ## E1 ## E3 ## E3; }; \
-
701  struct { detail::_swizzle<4, T, Q, 2,2,0,0> E2 ## E2 ## E0 ## E0; }; \
-
702  struct { detail::_swizzle<4, T, Q, 2,2,0,1> E2 ## E2 ## E0 ## E1; }; \
-
703  struct { detail::_swizzle<4, T, Q, 2,2,0,2> E2 ## E2 ## E0 ## E2; }; \
-
704  struct { detail::_swizzle<4, T, Q, 2,2,0,3> E2 ## E2 ## E0 ## E3; }; \
-
705  struct { detail::_swizzle<4, T, Q, 2,2,1,0> E2 ## E2 ## E1 ## E0; }; \
-
706  struct { detail::_swizzle<4, T, Q, 2,2,1,1> E2 ## E2 ## E1 ## E1; }; \
-
707  struct { detail::_swizzle<4, T, Q, 2,2,1,2> E2 ## E2 ## E1 ## E2; }; \
-
708  struct { detail::_swizzle<4, T, Q, 2,2,1,3> E2 ## E2 ## E1 ## E3; }; \
-
709  struct { detail::_swizzle<4, T, Q, 2,2,2,0> E2 ## E2 ## E2 ## E0; }; \
-
710  struct { detail::_swizzle<4, T, Q, 2,2,2,1> E2 ## E2 ## E2 ## E1; }; \
-
711  struct { detail::_swizzle<4, T, Q, 2,2,2,2> E2 ## E2 ## E2 ## E2; }; \
-
712  struct { detail::_swizzle<4, T, Q, 2,2,2,3> E2 ## E2 ## E2 ## E3; }; \
-
713  struct { detail::_swizzle<4, T, Q, 2,2,3,0> E2 ## E2 ## E3 ## E0; }; \
-
714  struct { detail::_swizzle<4, T, Q, 2,2,3,1> E2 ## E2 ## E3 ## E1; }; \
-
715  struct { detail::_swizzle<4, T, Q, 2,2,3,2> E2 ## E2 ## E3 ## E2; }; \
-
716  struct { detail::_swizzle<4, T, Q, 2,2,3,3> E2 ## E2 ## E3 ## E3; }; \
-
717  struct { detail::_swizzle<4, T, Q, 2,3,0,0> E2 ## E3 ## E0 ## E0; }; \
-
718  struct { detail::_swizzle<4, T, Q, 2,3,0,1> E2 ## E3 ## E0 ## E1; }; \
-
719  struct { detail::_swizzle<4, T, Q, 2,3,0,2> E2 ## E3 ## E0 ## E2; }; \
-
720  struct { detail::_swizzle<4, T, Q, 2,3,0,3> E2 ## E3 ## E0 ## E3; }; \
-
721  struct { detail::_swizzle<4, T, Q, 2,3,1,0> E2 ## E3 ## E1 ## E0; }; \
-
722  struct { detail::_swizzle<4, T, Q, 2,3,1,1> E2 ## E3 ## E1 ## E1; }; \
-
723  struct { detail::_swizzle<4, T, Q, 2,3,1,2> E2 ## E3 ## E1 ## E2; }; \
-
724  struct { detail::_swizzle<4, T, Q, 2,3,1,3> E2 ## E3 ## E1 ## E3; }; \
-
725  struct { detail::_swizzle<4, T, Q, 2,3,2,0> E2 ## E3 ## E2 ## E0; }; \
-
726  struct { detail::_swizzle<4, T, Q, 2,3,2,1> E2 ## E3 ## E2 ## E1; }; \
-
727  struct { detail::_swizzle<4, T, Q, 2,3,2,2> E2 ## E3 ## E2 ## E2; }; \
-
728  struct { detail::_swizzle<4, T, Q, 2,3,2,3> E2 ## E3 ## E2 ## E3; }; \
-
729  struct { detail::_swizzle<4, T, Q, 2,3,3,0> E2 ## E3 ## E3 ## E0; }; \
-
730  struct { detail::_swizzle<4, T, Q, 2,3,3,1> E2 ## E3 ## E3 ## E1; }; \
-
731  struct { detail::_swizzle<4, T, Q, 2,3,3,2> E2 ## E3 ## E3 ## E2; }; \
-
732  struct { detail::_swizzle<4, T, Q, 2,3,3,3> E2 ## E3 ## E3 ## E3; }; \
-
733  struct { detail::_swizzle<4, T, Q, 3,0,0,0> E3 ## E0 ## E0 ## E0; }; \
-
734  struct { detail::_swizzle<4, T, Q, 3,0,0,1> E3 ## E0 ## E0 ## E1; }; \
-
735  struct { detail::_swizzle<4, T, Q, 3,0,0,2> E3 ## E0 ## E0 ## E2; }; \
-
736  struct { detail::_swizzle<4, T, Q, 3,0,0,3> E3 ## E0 ## E0 ## E3; }; \
-
737  struct { detail::_swizzle<4, T, Q, 3,0,1,0> E3 ## E0 ## E1 ## E0; }; \
-
738  struct { detail::_swizzle<4, T, Q, 3,0,1,1> E3 ## E0 ## E1 ## E1; }; \
-
739  struct { detail::_swizzle<4, T, Q, 3,0,1,2> E3 ## E0 ## E1 ## E2; }; \
-
740  struct { detail::_swizzle<4, T, Q, 3,0,1,3> E3 ## E0 ## E1 ## E3; }; \
-
741  struct { detail::_swizzle<4, T, Q, 3,0,2,0> E3 ## E0 ## E2 ## E0; }; \
-
742  struct { detail::_swizzle<4, T, Q, 3,0,2,1> E3 ## E0 ## E2 ## E1; }; \
-
743  struct { detail::_swizzle<4, T, Q, 3,0,2,2> E3 ## E0 ## E2 ## E2; }; \
-
744  struct { detail::_swizzle<4, T, Q, 3,0,2,3> E3 ## E0 ## E2 ## E3; }; \
-
745  struct { detail::_swizzle<4, T, Q, 3,0,3,0> E3 ## E0 ## E3 ## E0; }; \
-
746  struct { detail::_swizzle<4, T, Q, 3,0,3,1> E3 ## E0 ## E3 ## E1; }; \
-
747  struct { detail::_swizzle<4, T, Q, 3,0,3,2> E3 ## E0 ## E3 ## E2; }; \
-
748  struct { detail::_swizzle<4, T, Q, 3,0,3,3> E3 ## E0 ## E3 ## E3; }; \
-
749  struct { detail::_swizzle<4, T, Q, 3,1,0,0> E3 ## E1 ## E0 ## E0; }; \
-
750  struct { detail::_swizzle<4, T, Q, 3,1,0,1> E3 ## E1 ## E0 ## E1; }; \
-
751  struct { detail::_swizzle<4, T, Q, 3,1,0,2> E3 ## E1 ## E0 ## E2; }; \
-
752  struct { detail::_swizzle<4, T, Q, 3,1,0,3> E3 ## E1 ## E0 ## E3; }; \
-
753  struct { detail::_swizzle<4, T, Q, 3,1,1,0> E3 ## E1 ## E1 ## E0; }; \
-
754  struct { detail::_swizzle<4, T, Q, 3,1,1,1> E3 ## E1 ## E1 ## E1; }; \
-
755  struct { detail::_swizzle<4, T, Q, 3,1,1,2> E3 ## E1 ## E1 ## E2; }; \
-
756  struct { detail::_swizzle<4, T, Q, 3,1,1,3> E3 ## E1 ## E1 ## E3; }; \
-
757  struct { detail::_swizzle<4, T, Q, 3,1,2,0> E3 ## E1 ## E2 ## E0; }; \
-
758  struct { detail::_swizzle<4, T, Q, 3,1,2,1> E3 ## E1 ## E2 ## E1; }; \
-
759  struct { detail::_swizzle<4, T, Q, 3,1,2,2> E3 ## E1 ## E2 ## E2; }; \
-
760  struct { detail::_swizzle<4, T, Q, 3,1,2,3> E3 ## E1 ## E2 ## E3; }; \
-
761  struct { detail::_swizzle<4, T, Q, 3,1,3,0> E3 ## E1 ## E3 ## E0; }; \
-
762  struct { detail::_swizzle<4, T, Q, 3,1,3,1> E3 ## E1 ## E3 ## E1; }; \
-
763  struct { detail::_swizzle<4, T, Q, 3,1,3,2> E3 ## E1 ## E3 ## E2; }; \
-
764  struct { detail::_swizzle<4, T, Q, 3,1,3,3> E3 ## E1 ## E3 ## E3; }; \
-
765  struct { detail::_swizzle<4, T, Q, 3,2,0,0> E3 ## E2 ## E0 ## E0; }; \
-
766  struct { detail::_swizzle<4, T, Q, 3,2,0,1> E3 ## E2 ## E0 ## E1; }; \
-
767  struct { detail::_swizzle<4, T, Q, 3,2,0,2> E3 ## E2 ## E0 ## E2; }; \
-
768  struct { detail::_swizzle<4, T, Q, 3,2,0,3> E3 ## E2 ## E0 ## E3; }; \
-
769  struct { detail::_swizzle<4, T, Q, 3,2,1,0> E3 ## E2 ## E1 ## E0; }; \
-
770  struct { detail::_swizzle<4, T, Q, 3,2,1,1> E3 ## E2 ## E1 ## E1; }; \
-
771  struct { detail::_swizzle<4, T, Q, 3,2,1,2> E3 ## E2 ## E1 ## E2; }; \
-
772  struct { detail::_swizzle<4, T, Q, 3,2,1,3> E3 ## E2 ## E1 ## E3; }; \
-
773  struct { detail::_swizzle<4, T, Q, 3,2,2,0> E3 ## E2 ## E2 ## E0; }; \
-
774  struct { detail::_swizzle<4, T, Q, 3,2,2,1> E3 ## E2 ## E2 ## E1; }; \
-
775  struct { detail::_swizzle<4, T, Q, 3,2,2,2> E3 ## E2 ## E2 ## E2; }; \
-
776  struct { detail::_swizzle<4, T, Q, 3,2,2,3> E3 ## E2 ## E2 ## E3; }; \
-
777  struct { detail::_swizzle<4, T, Q, 3,2,3,0> E3 ## E2 ## E3 ## E0; }; \
-
778  struct { detail::_swizzle<4, T, Q, 3,2,3,1> E3 ## E2 ## E3 ## E1; }; \
-
779  struct { detail::_swizzle<4, T, Q, 3,2,3,2> E3 ## E2 ## E3 ## E2; }; \
-
780  struct { detail::_swizzle<4, T, Q, 3,2,3,3> E3 ## E2 ## E3 ## E3; }; \
-
781  struct { detail::_swizzle<4, T, Q, 3,3,0,0> E3 ## E3 ## E0 ## E0; }; \
-
782  struct { detail::_swizzle<4, T, Q, 3,3,0,1> E3 ## E3 ## E0 ## E1; }; \
-
783  struct { detail::_swizzle<4, T, Q, 3,3,0,2> E3 ## E3 ## E0 ## E2; }; \
-
784  struct { detail::_swizzle<4, T, Q, 3,3,0,3> E3 ## E3 ## E0 ## E3; }; \
-
785  struct { detail::_swizzle<4, T, Q, 3,3,1,0> E3 ## E3 ## E1 ## E0; }; \
-
786  struct { detail::_swizzle<4, T, Q, 3,3,1,1> E3 ## E3 ## E1 ## E1; }; \
-
787  struct { detail::_swizzle<4, T, Q, 3,3,1,2> E3 ## E3 ## E1 ## E2; }; \
-
788  struct { detail::_swizzle<4, T, Q, 3,3,1,3> E3 ## E3 ## E1 ## E3; }; \
-
789  struct { detail::_swizzle<4, T, Q, 3,3,2,0> E3 ## E3 ## E2 ## E0; }; \
-
790  struct { detail::_swizzle<4, T, Q, 3,3,2,1> E3 ## E3 ## E2 ## E1; }; \
-
791  struct { detail::_swizzle<4, T, Q, 3,3,2,2> E3 ## E3 ## E2 ## E2; }; \
-
792  struct { detail::_swizzle<4, T, Q, 3,3,2,3> E3 ## E3 ## E2 ## E3; }; \
-
793  struct { detail::_swizzle<4, T, Q, 3,3,3,0> E3 ## E3 ## E3 ## E0; }; \
-
794  struct { detail::_swizzle<4, T, Q, 3,3,3,1> E3 ## E3 ## E3 ## E1; }; \
-
795  struct { detail::_swizzle<4, T, Q, 3,3,3,2> E3 ## E3 ## E3 ## E2; }; \
-
796  struct { detail::_swizzle<4, T, Q, 3,3,3,3> E3 ## E3 ## E3 ## E3; };
-
GLM_FUNC_DECL GLM_CONSTEXPR genType e()
Return e constant.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00005.html b/doc/api/a00005.html deleted file mode 100644 index bd221ad8..00000000 --- a/doc/api/a00005.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: _swizzle_func.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_swizzle_func.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file _swizzle_func.hpp.

-
- - - - diff --git a/doc/api/a00005_source.html b/doc/api/a00005_source.html index a337f5f9..b86dbee9 100644 --- a/doc/api/a00005_source.html +++ b/doc/api/a00005_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: _swizzle_func.hpp Source File + + +0.9.9 API documenation: _features.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
_swizzle_func.hpp
+
_features.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #define GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, CONST, A, B) \
-
7  vec<2, T, Q> A ## B() CONST \
-
8  { \
-
9  return vec<2, T, Q>(this->A, this->B); \
-
10  }
-
11 
-
12 #define GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, CONST, A, B, C) \
-
13  vec<3, T, Q> A ## B ## C() CONST \
-
14  { \
-
15  return vec<3, T, Q>(this->A, this->B, this->C); \
-
16  }
-
17 
-
18 #define GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, CONST, A, B, C, D) \
-
19  vec<4, T, Q> A ## B ## C ## D() CONST \
-
20  { \
-
21  return vec<4, T, Q>(this->A, this->B, this->C, this->D); \
-
22  }
-
23 
-
24 #define GLM_SWIZZLE_GEN_VEC2_ENTRY_DEF(T, P, L, CONST, A, B) \
-
25  template<typename T> \
-
26  vec<L, T, Q> vec<L, T, Q>::A ## B() CONST \
-
27  { \
-
28  return vec<2, T, Q>(this->A, this->B); \
-
29  }
-
30 
-
31 #define GLM_SWIZZLE_GEN_VEC3_ENTRY_DEF(T, P, L, CONST, A, B, C) \
-
32  template<typename T> \
-
33  vec<3, T, Q> vec<L, T, Q>::A ## B ## C() CONST \
-
34  { \
-
35  return vec<3, T, Q>(this->A, this->B, this->C); \
-
36  }
-
37 
-
38 #define GLM_SWIZZLE_GEN_VEC4_ENTRY_DEF(T, P, L, CONST, A, B, C, D) \
-
39  template<typename T> \
-
40  vec<4, T, Q> vec<L, T, Q>::A ## B ## C ## D() CONST \
-
41  { \
-
42  return vec<4, T, Q>(this->A, this->B, this->C, this->D); \
-
43  }
-
44 
-
45 #define GLM_MUTABLE
-
46 
-
47 #define GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, A, B) \
-
48  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, 2, GLM_MUTABLE, A, B) \
-
49  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, 2, GLM_MUTABLE, B, A)
-
50 
-
51 #define GLM_SWIZZLE_GEN_REF_FROM_VEC2(T, P) \
-
52  GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, x, y) \
-
53  GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, r, g) \
-
54  GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, s, t)
-
55 
-
56 #define GLM_SWIZZLE_GEN_REF2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
57  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, B) \
-
58  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, C) \
-
59  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, A) \
-
60  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, C) \
-
61  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, A) \
-
62  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, B)
-
63 
-
64 #define GLM_SWIZZLE_GEN_REF3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
65  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, A, B, C) \
-
66  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, A, C, B) \
-
67  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, B, A, C) \
-
68  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, B, C, A) \
-
69  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, C, A, B) \
-
70  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, C, B, A)
-
71 
-
72 #define GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, A, B, C) \
-
73  GLM_SWIZZLE_GEN_REF3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
74  GLM_SWIZZLE_GEN_REF2_FROM_VEC3_SWIZZLE(T, P, A, B, C)
-
75 
-
76 #define GLM_SWIZZLE_GEN_REF_FROM_VEC3(T, P) \
-
77  GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, x, y, z) \
-
78  GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, r, g, b) \
-
79  GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, s, t, p)
-
80 
-
81 #define GLM_SWIZZLE_GEN_REF2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
82  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, B) \
-
83  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, C) \
-
84  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, D) \
-
85  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, A) \
-
86  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, C) \
-
87  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, D) \
-
88  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, A) \
-
89  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, B) \
-
90  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, D) \
-
91  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, A) \
-
92  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, B) \
-
93  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, C)
-
94 
-
95 #define GLM_SWIZZLE_GEN_REF3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
96  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, B, C) \
-
97  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, B, D) \
-
98  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, C, B) \
-
99  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, C, D) \
-
100  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, D, B) \
-
101  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, D, C) \
-
102  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, A, C) \
-
103  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, A, D) \
-
104  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, C, A) \
-
105  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, C, D) \
-
106  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, D, A) \
-
107  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, D, C) \
-
108  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, A, B) \
-
109  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, A, D) \
-
110  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, B, A) \
-
111  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, B, D) \
-
112  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, D, A) \
-
113  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, D, B) \
-
114  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, A, B) \
-
115  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, A, C) \
-
116  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, B, A) \
-
117  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, B, C) \
-
118  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, C, A) \
-
119  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, C, B)
-
120 
-
121 #define GLM_SWIZZLE_GEN_REF4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
122  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, C, B, D) \
-
123  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, C, D, B) \
-
124  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, D, B, C) \
-
125  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, D, C, B) \
-
126  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, B, D, C) \
-
127  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, B, C, D) \
-
128  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, C, A, D) \
-
129  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, C, D, A) \
-
130  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, D, A, C) \
-
131  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, D, C, A) \
-
132  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, A, D, C) \
-
133  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, A, C, D) \
-
134  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, B, A, D) \
-
135  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, B, D, A) \
-
136  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, D, A, B) \
-
137  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, D, B, A) \
-
138  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, A, D, B) \
-
139  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, A, B, D) \
-
140  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, C, B, A) \
-
141  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, C, A, B) \
-
142  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, A, B, C) \
-
143  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, A, C, B) \
-
144  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, B, A, C) \
-
145  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, B, C, A)
-
146 
-
147 #define GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, A, B, C, D) \
-
148  GLM_SWIZZLE_GEN_REF2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
149  GLM_SWIZZLE_GEN_REF3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
150  GLM_SWIZZLE_GEN_REF4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D)
-
151 
-
152 #define GLM_SWIZZLE_GEN_REF_FROM_VEC4(T, P) \
-
153  GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, x, y, z, w) \
-
154  GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, r, g, b, a) \
-
155  GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, s, t, p, q)
-
156 
-
157 #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC2_SWIZZLE(T, P, A, B) \
-
158  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
-
159  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
-
160  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
-
161  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B)
-
162 
-
163 #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC2_SWIZZLE(T, P, A, B) \
-
164  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
-
165  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
-
166  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
-
167  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
-
168  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
-
169  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
-
170  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
-
171  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B)
-
172 
-
173 #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC2_SWIZZLE(T, P, A, B) \
-
174  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
-
175  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
-
176  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
-
177  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
-
178  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
-
179  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
-
180  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
-
181  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
-
182  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
-
183  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
-
184  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
-
185  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
-
186  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
-
187  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
-
188  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
-
189  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B)
-
190 
-
191 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, A, B) \
-
192  GLM_SWIZZLE_GEN_VEC2_FROM_VEC2_SWIZZLE(T, P, A, B) \
-
193  GLM_SWIZZLE_GEN_VEC3_FROM_VEC2_SWIZZLE(T, P, A, B) \
-
194  GLM_SWIZZLE_GEN_VEC4_FROM_VEC2_SWIZZLE(T, P, A, B)
-
195 
-
196 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC2(T, P) \
-
197  GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, x, y) \
-
198  GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, r, g) \
-
199  GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, s, t)
-
200 
-
201 #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
202  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
-
203  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
-
204  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, C) \
-
205  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
-
206  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B) \
-
207  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, C) \
-
208  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, A) \
-
209  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, B) \
-
210  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, C)
-
211 
-
212 #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
213  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
-
214  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
-
215  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, C) \
-
216  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
-
217  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
-
218  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, C) \
-
219  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, A) \
-
220  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, B) \
-
221  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, C) \
-
222  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
-
223  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
-
224  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, C) \
-
225  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
-
226  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B) \
-
227  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, C) \
-
228  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, A) \
-
229  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, B) \
-
230  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, C) \
-
231  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, A) \
-
232  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, B) \
-
233  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, C) \
-
234  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, A) \
-
235  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, B) \
-
236  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, C) \
-
237  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, A) \
-
238  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, B) \
-
239  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, C)
-
240 
-
241 #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
242  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
-
243  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
-
244  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, C) \
-
245  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
-
246  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
-
247  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, C) \
-
248  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, A) \
-
249  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, B) \
-
250  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, C) \
-
251  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
-
252  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
-
253  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, C) \
-
254  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
-
255  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
-
256  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, C) \
-
257  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, A) \
-
258  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, B) \
-
259  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, C) \
-
260  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, A) \
-
261  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, B) \
-
262  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, C) \
-
263  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, A) \
-
264  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, B) \
-
265  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, C) \
-
266  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, A) \
-
267  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, B) \
-
268  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, C) \
-
269  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
-
270  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
-
271  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, C) \
-
272  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
-
273  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
-
274  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, C) \
-
275  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, A) \
-
276  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, B) \
-
277  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, C) \
-
278  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
-
279  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
-
280  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, C) \
-
281  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
-
282  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B) \
-
283  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, C) \
-
284  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, A) \
-
285  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, B) \
-
286  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, C) \
-
287  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, A) \
-
288  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, B) \
-
289  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, C) \
-
290  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, A) \
-
291  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, B) \
-
292  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, C) \
-
293  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, A) \
-
294  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, B) \
-
295  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, C) \
-
296  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, A) \
-
297  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, B) \
-
298  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, C) \
-
299  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, A) \
-
300  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, B) \
-
301  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, C) \
-
302  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, A) \
-
303  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, B) \
-
304  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, C) \
-
305  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, A) \
-
306  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, B) \
-
307  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, C) \
-
308  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, A) \
-
309  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, B) \
-
310  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, C) \
-
311  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, A) \
-
312  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, B) \
-
313  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, C) \
-
314  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, A) \
-
315  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, B) \
-
316  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, C) \
-
317  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, A) \
-
318  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, B) \
-
319  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, C) \
-
320  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, A) \
-
321  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, B) \
-
322  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, C)
-
323 
-
324 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, A, B, C) \
-
325  GLM_SWIZZLE_GEN_VEC2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
326  GLM_SWIZZLE_GEN_VEC3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
-
327  GLM_SWIZZLE_GEN_VEC4_FROM_VEC3_SWIZZLE(T, P, A, B, C)
-
328 
-
329 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, P) \
-
330  GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, x, y, z) \
-
331  GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, r, g, b) \
-
332  GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, s, t, p)
-
333 
-
334 #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
335  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
-
336  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
-
337  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, C) \
-
338  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, D) \
-
339  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
-
340  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B) \
-
341  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, C) \
-
342  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, D) \
-
343  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, A) \
-
344  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, B) \
-
345  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, C) \
-
346  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, D) \
-
347  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, A) \
-
348  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, B) \
-
349  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, C) \
-
350  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, D)
-
351 
-
352 #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
353  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
-
354  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
-
355  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, C) \
-
356  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, D) \
-
357  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
-
358  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
-
359  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, C) \
-
360  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, D) \
-
361  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, A) \
-
362  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, B) \
-
363  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, C) \
-
364  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, D) \
-
365  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, A) \
-
366  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, B) \
-
367  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, C) \
-
368  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, D) \
-
369  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
-
370  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
-
371  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, C) \
-
372  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, D) \
-
373  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
-
374  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B) \
-
375  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, C) \
-
376  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, D) \
-
377  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, A) \
-
378  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, B) \
-
379  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, C) \
-
380  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, D) \
-
381  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, A) \
-
382  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, B) \
-
383  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, C) \
-
384  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, D) \
-
385  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, A) \
-
386  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, B) \
-
387  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, C) \
-
388  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, D) \
-
389  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, A) \
-
390  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, B) \
-
391  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, C) \
-
392  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, D) \
-
393  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, A) \
-
394  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, B) \
-
395  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, C) \
-
396  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, D) \
-
397  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, A) \
-
398  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, B) \
-
399  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, C) \
-
400  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, D) \
-
401  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, A) \
-
402  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, B) \
-
403  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, C) \
-
404  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, D) \
-
405  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, A) \
-
406  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, B) \
-
407  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, C) \
-
408  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, D) \
-
409  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, A) \
-
410  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, B) \
-
411  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, C) \
-
412  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, D) \
-
413  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, A) \
-
414  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, B) \
-
415  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, C) \
-
416  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, D)
-
417 
-
418 #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
419  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
-
420  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
-
421  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, C) \
-
422  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, D) \
-
423  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
-
424  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
-
425  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, C) \
-
426  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, D) \
-
427  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, A) \
-
428  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, B) \
-
429  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, C) \
-
430  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, D) \
-
431  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, A) \
-
432  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, B) \
-
433  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, C) \
-
434  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, D) \
-
435  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
-
436  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
-
437  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, C) \
-
438  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, D) \
-
439  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
-
440  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
-
441  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, C) \
-
442  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, D) \
-
443  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, A) \
-
444  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, B) \
-
445  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, C) \
-
446  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, D) \
-
447  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, A) \
-
448  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, B) \
-
449  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, C) \
-
450  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, D) \
-
451  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, A) \
-
452  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, B) \
-
453  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, C) \
-
454  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, D) \
-
455  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, A) \
-
456  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, B) \
-
457  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, C) \
-
458  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, D) \
-
459  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, A) \
-
460  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, B) \
-
461  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, C) \
-
462  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, D) \
-
463  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, A) \
-
464  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, B) \
-
465  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, C) \
-
466  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, D) \
-
467  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, A) \
-
468  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, B) \
-
469  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, C) \
-
470  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, D) \
-
471  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, A) \
-
472  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, B) \
-
473  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, C) \
-
474  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, D) \
-
475  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, A) \
-
476  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, B) \
-
477  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, C) \
-
478  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, D) \
-
479  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, A) \
-
480  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, B) \
-
481  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, C) \
-
482  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, D) \
-
483  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
-
484  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
-
485  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, C) \
-
486  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, D) \
-
487  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
-
488  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
-
489  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, C) \
-
490  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, D) \
-
491  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, A) \
-
492  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, B) \
-
493  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, C) \
-
494  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, D) \
-
495  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, A) \
-
496  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, B) \
-
497  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, C) \
-
498  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, D) \
-
499  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
-
500  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
-
501  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, C) \
-
502  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, D) \
-
503  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
-
504  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B) \
-
505  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, C) \
-
506  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, D) \
-
507  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, A) \
-
508  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, B) \
-
509  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, C) \
-
510  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, D) \
-
511  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, A) \
-
512  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, B) \
-
513  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, C) \
-
514  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, D) \
-
515  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, A) \
-
516  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, B) \
-
517  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, C) \
-
518  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, D) \
-
519  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, A) \
-
520  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, B) \
-
521  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, C) \
-
522  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, D) \
-
523  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, A) \
-
524  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, B) \
-
525  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, C) \
-
526  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, D) \
-
527  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, A) \
-
528  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, B) \
-
529  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, C) \
-
530  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, D) \
-
531  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, A) \
-
532  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, B) \
-
533  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, C) \
-
534  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, D) \
-
535  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, A) \
-
536  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, B) \
-
537  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, C) \
-
538  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, D) \
-
539  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, A) \
-
540  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, B) \
-
541  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, C) \
-
542  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, D) \
-
543  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, A) \
-
544  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, B) \
-
545  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, C) \
-
546  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, D) \
-
547  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, A) \
-
548  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, B) \
-
549  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, C) \
-
550  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, D) \
-
551  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, A) \
-
552  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, B) \
-
553  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, C) \
-
554  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, D) \
-
555  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, A) \
-
556  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, B) \
-
557  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, C) \
-
558  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, D) \
-
559  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, A) \
-
560  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, B) \
-
561  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, C) \
-
562  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, D) \
-
563  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, A) \
-
564  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, B) \
-
565  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, C) \
-
566  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, D) \
-
567  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, A) \
-
568  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, B) \
-
569  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, C) \
-
570  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, D) \
-
571  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, A) \
-
572  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, B) \
-
573  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, C) \
-
574  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, D) \
-
575  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, A) \
-
576  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, B) \
-
577  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, C) \
-
578  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, D) \
-
579  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, A) \
-
580  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, B) \
-
581  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, C) \
-
582  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, D) \
-
583  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, A) \
-
584  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, B) \
-
585  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, C) \
-
586  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, D) \
-
587  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, A) \
-
588  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, B) \
-
589  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, C) \
-
590  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, D) \
-
591  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, A) \
-
592  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, B) \
-
593  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, C) \
-
594  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, D) \
-
595  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, A) \
-
596  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, B) \
-
597  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, C) \
-
598  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, D) \
-
599  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, A) \
-
600  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, B) \
-
601  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, C) \
-
602  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, D) \
-
603  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, A) \
-
604  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, B) \
-
605  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, C) \
-
606  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, D) \
-
607  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, A) \
-
608  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, B) \
-
609  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, C) \
-
610  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, D) \
-
611  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, A) \
-
612  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, B) \
-
613  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, C) \
-
614  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, D) \
-
615  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, A) \
-
616  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, B) \
-
617  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, C) \
-
618  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, D) \
-
619  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, A) \
-
620  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, B) \
-
621  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, C) \
-
622  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, D) \
-
623  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, A) \
-
624  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, B) \
-
625  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, C) \
-
626  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, D) \
-
627  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, A) \
-
628  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, B) \
-
629  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, C) \
-
630  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, D) \
-
631  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, A) \
-
632  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, B) \
-
633  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, C) \
-
634  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, D) \
-
635  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, A) \
-
636  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, B) \
-
637  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, C) \
-
638  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, D) \
-
639  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, A) \
-
640  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, B) \
-
641  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, C) \
-
642  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, D) \
-
643  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, A) \
-
644  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, B) \
-
645  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, C) \
-
646  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, D) \
-
647  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, A) \
-
648  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, B) \
-
649  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, C) \
-
650  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, D) \
-
651  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, A) \
-
652  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, B) \
-
653  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, C) \
-
654  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, D) \
-
655  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, A) \
-
656  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, B) \
-
657  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, C) \
-
658  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, D) \
-
659  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, A) \
-
660  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, B) \
-
661  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, C) \
-
662  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, D) \
-
663  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, A) \
-
664  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, B) \
-
665  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, C) \
-
666  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, D) \
-
667  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, A) \
-
668  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, B) \
-
669  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, C) \
-
670  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, D) \
-
671  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, A) \
-
672  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, B) \
-
673  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, C) \
-
674  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, D)
-
675 
-
676 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, A, B, C, D) \
-
677  GLM_SWIZZLE_GEN_VEC2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
678  GLM_SWIZZLE_GEN_VEC3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
-
679  GLM_SWIZZLE_GEN_VEC4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D)
-
680 
-
681 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P) \
-
682  GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, x, y, z, w) \
-
683  GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, r, g, b, a) \
-
684  GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, s, t, p, q)
-
685 
-
+
1 #pragma once
2 
3 // #define GLM_CXX98_EXCEPTIONS
4 // #define GLM_CXX98_RTTI
5 
6 // #define GLM_CXX11_RVALUE_REFERENCES
7 // Rvalue references - GCC 4.3
8 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n2118.html
9 
10 // GLM_CXX11_TRAILING_RETURN
11 // Rvalue references for *this - GCC not supported
12 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2439.htm
13 
14 // GLM_CXX11_NONSTATIC_MEMBER_INIT
15 // Initialization of class objects by rvalues - GCC any
16 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1610.html
17 
18 // GLM_CXX11_NONSTATIC_MEMBER_INIT
19 // Non-static data member initializers - GCC 4.7
20 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2008/n2756.htm
21 
22 // #define GLM_CXX11_VARIADIC_TEMPLATE
23 // Variadic templates - GCC 4.3
24 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2242.pdf
25 
26 //
27 // Extending variadic template template parameters - GCC 4.4
28 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2555.pdf
29 
30 // #define GLM_CXX11_GENERALIZED_INITIALIZERS
31 // Initializer lists - GCC 4.4
32 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm
33 
34 // #define GLM_CXX11_STATIC_ASSERT
35 // Static assertions - GCC 4.3
36 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1720.html
37 
38 // #define GLM_CXX11_AUTO_TYPE
39 // auto-typed variables - GCC 4.4
40 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1984.pdf
41 
42 // #define GLM_CXX11_AUTO_TYPE
43 // Multi-declarator auto - GCC 4.4
44 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1737.pdf
45 
46 // #define GLM_CXX11_AUTO_TYPE
47 // Removal of auto as a storage-class specifier - GCC 4.4
48 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2546.htm
49 
50 // #define GLM_CXX11_AUTO_TYPE
51 // New function declarator syntax - GCC 4.4
52 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2541.htm
53 
54 // #define GLM_CXX11_LAMBDAS
55 // New wording for C++0x lambdas - GCC 4.5
56 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2927.pdf
57 
58 // #define GLM_CXX11_DECLTYPE
59 // Declared type of an expression - GCC 4.3
60 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2343.pdf
61 
62 //
63 // Right angle brackets - GCC 4.3
64 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1757.html
65 
66 //
67 // Default template arguments for function templates DR226 GCC 4.3
68 // http://www.open-std.org/jtc1/sc22/wg21/docs/cwg_defects.html#226
69 
70 //
71 // Solving the SFINAE problem for expressions DR339 GCC 4.4
72 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2634.html
73 
74 // #define GLM_CXX11_ALIAS_TEMPLATE
75 // Template aliases N2258 GCC 4.7
76 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf
77 
78 //
79 // Extern templates N1987 Yes
80 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1987.htm
81 
82 // #define GLM_CXX11_NULLPTR
83 // Null pointer constant N2431 GCC 4.6
84 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2431.pdf
85 
86 // #define GLM_CXX11_STRONG_ENUMS
87 // Strongly-typed enums N2347 GCC 4.4
88 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2347.pdf
89 
90 //
91 // Forward declarations for enums N2764 GCC 4.6
92 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2764.pdf
93 
94 //
95 // Generalized attributes N2761 GCC 4.8
96 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2761.pdf
97 
98 //
99 // Generalized constant expressions N2235 GCC 4.6
100 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf
101 
102 //
103 // Alignment support N2341 GCC 4.8
104 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
105 
106 // #define GLM_CXX11_DELEGATING_CONSTRUCTORS
107 // Delegating constructors N1986 GCC 4.7
108 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1986.pdf
109 
110 //
111 // Inheriting constructors N2540 GCC 4.8
112 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2540.htm
113 
114 // #define GLM_CXX11_EXPLICIT_CONVERSIONS
115 // Explicit conversion operators N2437 GCC 4.5
116 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
117 
118 //
119 // New character types N2249 GCC 4.4
120 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2249.html
121 
122 //
123 // Unicode string literals N2442 GCC 4.5
124 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
125 
126 //
127 // Raw string literals N2442 GCC 4.5
128 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2442.htm
129 
130 //
131 // Universal character name literals N2170 GCC 4.5
132 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2170.html
133 
134 // #define GLM_CXX11_USER_LITERALS
135 // User-defined literals N2765 GCC 4.7
136 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2765.pdf
137 
138 //
139 // Standard Layout Types N2342 GCC 4.5
140 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2342.htm
141 
142 // #define GLM_CXX11_DEFAULTED_FUNCTIONS
143 // #define GLM_CXX11_DELETED_FUNCTIONS
144 // Defaulted and deleted functions N2346 GCC 4.4
145 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2346.htm
146 
147 //
148 // Extended friend declarations N1791 GCC 4.7
149 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1791.pdf
150 
151 //
152 // Extending sizeof N2253 GCC 4.4
153 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2253.html
154 
155 // #define GLM_CXX11_INLINE_NAMESPACES
156 // Inline namespaces N2535 GCC 4.4
157 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2535.htm
158 
159 // #define GLM_CXX11_UNRESTRICTED_UNIONS
160 // Unrestricted unions N2544 GCC 4.6
161 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf
162 
163 // #define GLM_CXX11_LOCAL_TYPE_TEMPLATE_ARGS
164 // Local and unnamed types as template arguments N2657 GCC 4.5
165 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2657.htm
166 
167 // #define GLM_CXX11_RANGE_FOR
168 // Range-based for N2930 GCC 4.6
169 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2930.html
170 
171 // #define GLM_CXX11_OVERRIDE_CONTROL
172 // Explicit virtual overrides N2928 N3206 N3272 GCC 4.7
173 // http://www.open-std.org/JTC1/SC22/WG21/docs/papers/2009/n2928.htm
174 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3206.htm
175 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3272.htm
176 
177 //
178 // Minimal support for garbage collection and reachability-based leak detection N2670 No
179 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2670.htm
180 
181 // #define GLM_CXX11_NOEXCEPT
182 // Allowing move constructors to throw [noexcept] N3050 GCC 4.6 (core language only)
183 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3050.html
184 
185 //
186 // Defining move special member functions N3053 GCC 4.6
187 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2010/n3053.html
188 
189 //
190 // Sequence points N2239 Yes
191 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2239.html
192 
193 //
194 // Atomic operations N2427 GCC 4.4
195 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2239.html
196 
197 //
198 // Strong Compare and Exchange N2748 GCC 4.5
199 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2427.html
200 
201 //
202 // Bidirectional Fences N2752 GCC 4.8
203 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2752.htm
204 
205 //
206 // Memory model N2429 GCC 4.8
207 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2429.htm
208 
209 //
210 // Data-dependency ordering: atomics and memory model N2664 GCC 4.4
211 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2664.htm
212 
213 //
214 // Propagating exceptions N2179 GCC 4.4
215 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2179.html
216 
217 //
218 // Abandoning a process and at_quick_exit N2440 GCC 4.8
219 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2440.htm
220 
221 //
222 // Allow atomics use in signal handlers N2547 Yes
223 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2547.htm
224 
225 //
226 // Thread-local storage N2659 GCC 4.8
227 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2659.htm
228 
229 //
230 // Dynamic initialization and destruction with concurrency N2660 GCC 4.3
231 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2660.htm
232 
233 //
234 // __func__ predefined identifier N2340 GCC 4.3
235 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2340.htm
236 
237 //
238 // C99 preprocessor N1653 GCC 4.3
239 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1653.htm
240 
241 //
242 // long long N1811 GCC 4.3
243 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2005/n1811.pdf
244 
245 //
246 // Extended integral types N1988 Yes
247 // http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2006/n1988.pdf
248 
249 #if(GLM_COMPILER & GLM_COMPILER_GCC)
250 
251 # define GLM_CXX11_STATIC_ASSERT
252 
253 #elif(GLM_COMPILER & GLM_COMPILER_CLANG)
254 # if(__has_feature(cxx_exceptions))
255 # define GLM_CXX98_EXCEPTIONS
256 # endif
257 
258 # if(__has_feature(cxx_rtti))
259 # define GLM_CXX98_RTTI
260 # endif
261 
262 # if(__has_feature(cxx_access_control_sfinae))
263 # define GLM_CXX11_ACCESS_CONTROL_SFINAE
264 # endif
265 
266 # if(__has_feature(cxx_alias_templates))
267 # define GLM_CXX11_ALIAS_TEMPLATE
268 # endif
269 
270 # if(__has_feature(cxx_alignas))
271 # define GLM_CXX11_ALIGNAS
272 # endif
273 
274 # if(__has_feature(cxx_attributes))
275 # define GLM_CXX11_ATTRIBUTES
276 # endif
277 
278 # if(__has_feature(cxx_constexpr))
279 # define GLM_CXX11_CONSTEXPR
280 # endif
281 
282 # if(__has_feature(cxx_decltype))
283 # define GLM_CXX11_DECLTYPE
284 # endif
285 
286 # if(__has_feature(cxx_default_function_template_args))
287 # define GLM_CXX11_DEFAULT_FUNCTION_TEMPLATE_ARGS
288 # endif
289 
290 # if(__has_feature(cxx_defaulted_functions))
291 # define GLM_CXX11_DEFAULTED_FUNCTIONS
292 # endif
293 
294 # if(__has_feature(cxx_delegating_constructors))
295 # define GLM_CXX11_DELEGATING_CONSTRUCTORS
296 # endif
297 
298 # if(__has_feature(cxx_deleted_functions))
299 # define GLM_CXX11_DELETED_FUNCTIONS
300 # endif
301 
302 # if(__has_feature(cxx_explicit_conversions))
303 # define GLM_CXX11_EXPLICIT_CONVERSIONS
304 # endif
305 
306 # if(__has_feature(cxx_generalized_initializers))
307 # define GLM_CXX11_GENERALIZED_INITIALIZERS
308 # endif
309 
310 # if(__has_feature(cxx_implicit_moves))
311 # define GLM_CXX11_IMPLICIT_MOVES
312 # endif
313 
314 # if(__has_feature(cxx_inheriting_constructors))
315 # define GLM_CXX11_INHERITING_CONSTRUCTORS
316 # endif
317 
318 # if(__has_feature(cxx_inline_namespaces))
319 # define GLM_CXX11_INLINE_NAMESPACES
320 # endif
321 
322 # if(__has_feature(cxx_lambdas))
323 # define GLM_CXX11_LAMBDAS
324 # endif
325 
326 # if(__has_feature(cxx_local_type_template_args))
327 # define GLM_CXX11_LOCAL_TYPE_TEMPLATE_ARGS
328 # endif
329 
330 # if(__has_feature(cxx_noexcept))
331 # define GLM_CXX11_NOEXCEPT
332 # endif
333 
334 # if(__has_feature(cxx_nonstatic_member_init))
335 # define GLM_CXX11_NONSTATIC_MEMBER_INIT
336 # endif
337 
338 # if(__has_feature(cxx_nullptr))
339 # define GLM_CXX11_NULLPTR
340 # endif
341 
342 # if(__has_feature(cxx_override_control))
343 # define GLM_CXX11_OVERRIDE_CONTROL
344 # endif
345 
346 # if(__has_feature(cxx_reference_qualified_functions))
347 # define GLM_CXX11_REFERENCE_QUALIFIED_FUNCTIONS
348 # endif
349 
350 # if(__has_feature(cxx_range_for))
351 # define GLM_CXX11_RANGE_FOR
352 # endif
353 
354 # if(__has_feature(cxx_raw_string_literals))
355 # define GLM_CXX11_RAW_STRING_LITERALS
356 # endif
357 
358 # if(__has_feature(cxx_rvalue_references))
359 # define GLM_CXX11_RVALUE_REFERENCES
360 # endif
361 
362 # if(__has_feature(cxx_static_assert))
363 # define GLM_CXX11_STATIC_ASSERT
364 # endif
365 
366 # if(__has_feature(cxx_auto_type))
367 # define GLM_CXX11_AUTO_TYPE
368 # endif
369 
370 # if(__has_feature(cxx_strong_enums))
371 # define GLM_CXX11_STRONG_ENUMS
372 # endif
373 
374 # if(__has_feature(cxx_trailing_return))
375 # define GLM_CXX11_TRAILING_RETURN
376 # endif
377 
378 # if(__has_feature(cxx_unicode_literals))
379 # define GLM_CXX11_UNICODE_LITERALS
380 # endif
381 
382 # if(__has_feature(cxx_unrestricted_unions))
383 # define GLM_CXX11_UNRESTRICTED_UNIONS
384 # endif
385 
386 # if(__has_feature(cxx_user_literals))
387 # define GLM_CXX11_USER_LITERALS
388 # endif
389 
390 # if(__has_feature(cxx_variadic_templates))
391 # define GLM_CXX11_VARIADIC_TEMPLATES
392 # endif
393 
394 #endif//(GLM_COMPILER & GLM_COMPILER_CLANG)
diff --git a/doc/api/a00006.html b/doc/api/a00006.html deleted file mode 100644 index 3a452b67..00000000 --- a/doc/api/a00006.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: _vectorize.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_vectorize.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file _vectorize.hpp.

-
- - - - diff --git a/doc/api/a00006_source.html b/doc/api/a00006_source.html deleted file mode 100644 index f39a1729..00000000 --- a/doc/api/a00006_source.html +++ /dev/null @@ -1,232 +0,0 @@ - - - - - - -0.9.9 API documenation: _vectorize.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
_vectorize.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "type_vec1.hpp"
-
7 #include "type_vec2.hpp"
-
8 #include "type_vec3.hpp"
-
9 #include "type_vec4.hpp"
-
10 
-
11 namespace glm{
-
12 namespace detail
-
13 {
-
14  template<length_t L, typename R, typename T, qualifier Q>
-
15  struct functor1{};
-
16 
-
17  template<typename R, typename T, qualifier Q>
-
18  struct functor1<1, R, T, Q>
-
19  {
-
20  GLM_FUNC_QUALIFIER static vec<1, R, Q> call(R (*Func) (T x), vec<1, T, Q> const& v)
-
21  {
-
22  return vec<1, R, Q>(Func(v.x));
-
23  }
-
24  };
-
25 
-
26  template<typename R, typename T, qualifier Q>
-
27  struct functor1<2, R, T, Q>
-
28  {
-
29  GLM_FUNC_QUALIFIER static vec<2, R, Q> call(R (*Func) (T x), vec<2, T, Q> const& v)
-
30  {
-
31  return vec<2, R, Q>(Func(v.x), Func(v.y));
-
32  }
-
33  };
-
34 
-
35  template<typename R, typename T, qualifier Q>
-
36  struct functor1<3, R, T, Q>
-
37  {
-
38  GLM_FUNC_QUALIFIER static vec<3, R, Q> call(R (*Func) (T x), vec<3, T, Q> const& v)
-
39  {
-
40  return vec<3, R, Q>(Func(v.x), Func(v.y), Func(v.z));
-
41  }
-
42  };
-
43 
-
44  template<typename R, typename T, qualifier Q>
-
45  struct functor1<4, R, T, Q>
-
46  {
-
47  GLM_FUNC_QUALIFIER static vec<4, R, Q> call(R (*Func) (T x), vec<4, T, Q> const& v)
-
48  {
-
49  return vec<4, R, Q>(Func(v.x), Func(v.y), Func(v.z), Func(v.w));
-
50  }
-
51  };
-
52 
-
53  template<length_t L, typename T, qualifier Q>
-
54  struct functor2{};
-
55 
-
56  template<typename T, qualifier Q>
-
57  struct functor2<1, T, Q>
-
58  {
-
59  GLM_FUNC_QUALIFIER static vec<1, T, Q> call(T (*Func) (T x, T y), vec<1, T, Q> const& a, vec<1, T, Q> const& b)
-
60  {
-
61  return vec<1, T, Q>(Func(a.x, b.x));
-
62  }
-
63  };
-
64 
-
65  template<typename T, qualifier Q>
-
66  struct functor2<2, T, Q>
-
67  {
-
68  GLM_FUNC_QUALIFIER static vec<2, T, Q> call(T (*Func) (T x, T y), vec<2, T, Q> const& a, vec<2, T, Q> const& b)
-
69  {
-
70  return vec<2, T, Q>(Func(a.x, b.x), Func(a.y, b.y));
-
71  }
-
72  };
-
73 
-
74  template<typename T, qualifier Q>
-
75  struct functor2<3, T, Q>
-
76  {
-
77  GLM_FUNC_QUALIFIER static vec<3, T, Q> call(T (*Func) (T x, T y), vec<3, T, Q> const& a, vec<3, T, Q> const& b)
-
78  {
-
79  return vec<3, T, Q>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z));
-
80  }
-
81  };
-
82 
-
83  template<typename T, qualifier Q>
-
84  struct functor2<4, T, Q>
-
85  {
-
86  GLM_FUNC_QUALIFIER static vec<4, T, Q> call(T (*Func) (T x, T y), vec<4, T, Q> const& a, vec<4, T, Q> const& b)
-
87  {
-
88  return vec<4, T, Q>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z), Func(a.w, b.w));
-
89  }
-
90  };
-
91 
-
92  template<length_t L, typename T, qualifier Q>
-
93  struct functor2_vec_sca{};
-
94 
-
95  template<typename T, qualifier Q>
-
96  struct functor2_vec_sca<1, T, Q>
-
97  {
-
98  GLM_FUNC_QUALIFIER static vec<1, T, Q> call(T (*Func) (T x, T y), vec<1, T, Q> const& a, T b)
-
99  {
-
100  return vec<1, T, Q>(Func(a.x, b));
-
101  }
-
102  };
-
103 
-
104  template<typename T, qualifier Q>
-
105  struct functor2_vec_sca<2, T, Q>
-
106  {
-
107  GLM_FUNC_QUALIFIER static vec<2, T, Q> call(T (*Func) (T x, T y), vec<2, T, Q> const& a, T b)
-
108  {
-
109  return vec<2, T, Q>(Func(a.x, b), Func(a.y, b));
-
110  }
-
111  };
-
112 
-
113  template<typename T, qualifier Q>
-
114  struct functor2_vec_sca<3, T, Q>
-
115  {
-
116  GLM_FUNC_QUALIFIER static vec<3, T, Q> call(T (*Func) (T x, T y), vec<3, T, Q> const& a, T b)
-
117  {
-
118  return vec<3, T, Q>(Func(a.x, b), Func(a.y, b), Func(a.z, b));
-
119  }
-
120  };
-
121 
-
122  template<typename T, qualifier Q>
-
123  struct functor2_vec_sca<4, T, Q>
-
124  {
-
125  GLM_FUNC_QUALIFIER static vec<4, T, Q> call(T (*Func) (T x, T y), vec<4, T, Q> const& a, T b)
-
126  {
-
127  return vec<4, T, Q>(Func(a.x, b), Func(a.y, b), Func(a.z, b), Func(a.w, b));
-
128  }
-
129  };
-
130 }//namespace detail
-
131 }//namespace glm
-
Core features
-
Core features
-
Definition: common.hpp:20
-
Core features
-
- - - - diff --git a/doc/api/a00007_source.html b/doc/api/a00007_source.html deleted file mode 100644 index be209eca..00000000 --- a/doc/api/a00007_source.html +++ /dev/null @@ -1,250 +0,0 @@ - - - - - - -0.9.9 API documenation: associated_min_max.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
associated_min_max.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GTX_associated_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_associated_min_max extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename T, typename U, qualifier Q>
-
35  GLM_FUNC_DECL U associatedMin(T x, U a, T y, U b);
-
36 
-
39  template<length_t L, typename T, typename U, qualifier Q>
-
40  GLM_FUNC_DECL vec<2, U, Q> associatedMin(
-
41  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
-
42  vec<L, T, Q> const& y, vec<L, U, Q> const& b);
-
43 
-
46  template<length_t L, typename T, typename U, qualifier Q>
-
47  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
-
48  T x, const vec<L, U, Q>& a,
-
49  T y, const vec<L, U, Q>& b);
-
50 
-
53  template<length_t L, typename T, typename U, qualifier Q>
-
54  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
-
55  vec<L, T, Q> const& x, U a,
-
56  vec<L, T, Q> const& y, U b);
-
57 
-
60  template<typename T, typename U>
-
61  GLM_FUNC_DECL U associatedMin(
-
62  T x, U a,
-
63  T y, U b,
-
64  T z, U c);
-
65 
-
68  template<length_t L, typename T, typename U, qualifier Q>
-
69  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
-
70  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
-
71  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
-
72  vec<L, T, Q> const& z, vec<L, U, Q> const& c);
-
73 
-
76  template<typename T, typename U>
-
77  GLM_FUNC_DECL U associatedMin(
-
78  T x, U a,
-
79  T y, U b,
-
80  T z, U c,
-
81  T w, U d);
-
82 
-
85  template<length_t L, typename T, typename U, qualifier Q>
-
86  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
-
87  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
-
88  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
-
89  vec<L, T, Q> const& z, vec<L, U, Q> const& c,
-
90  vec<L, T, Q> const& w, vec<L, U, Q> const& d);
-
91 
-
94  template<length_t L, typename T, typename U, qualifier Q>
-
95  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
-
96  T x, vec<L, U, Q> const& a,
-
97  T y, vec<L, U, Q> const& b,
-
98  T z, vec<L, U, Q> const& c,
-
99  T w, vec<L, U, Q> const& d);
-
100 
-
103  template<length_t L, typename T, typename U, qualifier Q>
-
104  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
-
105  vec<L, T, Q> const& x, U a,
-
106  vec<L, T, Q> const& y, U b,
-
107  vec<L, T, Q> const& z, U c,
-
108  vec<L, T, Q> const& w, U d);
-
109 
-
112  template<typename T, typename U>
-
113  GLM_FUNC_DECL U associatedMax(T x, U a, T y, U b);
-
114 
-
117  template<length_t L, typename T, typename U, qualifier Q>
-
118  GLM_FUNC_DECL vec<2, U, Q> associatedMax(
-
119  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
-
120  vec<L, T, Q> const& y, vec<L, U, Q> const& b);
-
121 
-
124  template<length_t L, typename T, typename U, qualifier Q>
-
125  GLM_FUNC_DECL vec<L, T, Q> associatedMax(
-
126  T x, vec<L, U, Q> const& a,
-
127  T y, vec<L, U, Q> const& b);
-
128 
-
131  template<length_t L, typename T, typename U, qualifier Q>
-
132  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
-
133  vec<L, T, Q> const& x, U a,
-
134  vec<L, T, Q> const& y, U b);
-
135 
-
138  template<typename T, typename U>
-
139  GLM_FUNC_DECL U associatedMax(
-
140  T x, U a,
-
141  T y, U b,
-
142  T z, U c);
-
143 
-
146  template<length_t L, typename T, typename U, qualifier Q>
-
147  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
-
148  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
-
149  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
-
150  vec<L, T, Q> const& z, vec<L, U, Q> const& c);
-
151 
-
154  template<length_t L, typename T, typename U, qualifier Q>
-
155  GLM_FUNC_DECL vec<L, T, Q> associatedMax(
-
156  T x, vec<L, U, Q> const& a,
-
157  T y, vec<L, U, Q> const& b,
-
158  T z, vec<L, U, Q> const& c);
-
159 
-
162  template<length_t L, typename T, typename U, qualifier Q>
-
163  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
-
164  vec<L, T, Q> const& x, U a,
-
165  vec<L, T, Q> const& y, U b,
-
166  vec<L, T, Q> const& z, U c);
-
167 
-
170  template<typename T, typename U>
-
171  GLM_FUNC_DECL U associatedMax(
-
172  T x, U a,
-
173  T y, U b,
-
174  T z, U c,
-
175  T w, U d);
-
176 
-
179  template<length_t L, typename T, typename U, qualifier Q>
-
180  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
-
181  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
-
182  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
-
183  vec<L, T, Q> const& z, vec<L, U, Q> const& c,
-
184  vec<L, T, Q> const& w, vec<L, U, Q> const& d);
-
185 
-
188  template<length_t L, typename T, typename U, qualifier Q>
-
189  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
-
190  T x, vec<L, U, Q> const& a,
-
191  T y, vec<L, U, Q> const& b,
-
192  T z, vec<L, U, Q> const& c,
-
193  T w, vec<L, U, Q> const& d);
-
194 
-
197  template<length_t L, typename T, typename U, qualifier Q>
-
198  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
-
199  vec<L, T, Q> const& x, U a,
-
200  vec<L, T, Q> const& y, U b,
-
201  vec<L, T, Q> const& z, U c,
-
202  vec<L, T, Q> const& w, U d);
-
203 
-
205 } //namespace glm
-
206 
-
207 #include "associated_min_max.inl"
-
GLM_FUNC_DECL vec< L, U, Q > associatedMin(vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
Minimum comparison between 4 variables and returns 4 associated variable values.
-
GLM_FUNC_DECL vec< L, U, Q > associatedMax(vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
Maximum comparison between 4 variables and returns 4 associated variable values.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00008_source.html b/doc/api/a00008_source.html index 3fa56ce6..41e3fe80 100644 --- a/doc/api/a00008_source.html +++ b/doc/api/a00008_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: bit.hpp Source File + + +0.9.9 API documenation: _fixes.hpp Source File - @@ -32,38 +30,22 @@ - + - - + + + +
-
bit.hpp
+
_fixes.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../gtc/bitfield.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_bit is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_bit extension is deprecated, include GLM_GTC_bitfield and GLM_GTC_integer instead")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
32  template<typename genIUType>
-
33  GLM_FUNC_DECL genIUType highestBitValue(genIUType Value);
-
34 
-
36  template<typename genIUType>
-
37  GLM_FUNC_DECL genIUType lowestBitValue(genIUType Value);
-
38 
-
42  template<length_t L, typename T, qualifier Q>
-
43  GLM_FUNC_DECL vec<L, T, Q> highestBitValue(vec<L, T, Q> const& value);
-
44 
-
50  template<typename genIUType>
-
51  GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
-
52 
-
58  template<length_t L, typename T, qualifier Q>
-
59  GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoAbove(vec<L, T, Q> const& value);
-
60 
-
66  template<typename genIUType>
-
67  GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
-
68 
-
74  template<length_t L, typename T, qualifier Q>
-
75  GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoBelow(vec<L, T, Q> const& value);
-
76 
-
82  template<typename genIUType>
-
83  GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
-
84 
-
90  template<length_t L, typename T, qualifier Q>
-
91  GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoNearest(vec<L, T, Q> const& value);
-
92 
-
94 } //namespace glm
-
95 
-
96 
-
97 #include "bit.inl"
-
98 
-
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoBelow(vec< L, T, Q > const &value)
Return the power of two number which value is just lower the input value.
-
GLM_FUNC_DECL vec< L, T, Q > highestBitValue(vec< L, T, Q > const &value)
Find the highest bit set to 1 in a integer variable and return its value.
-
GLM_FUNC_DECL genIUType lowestBitValue(genIUType Value)
-
Definition: common.hpp:20
-
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoNearest(vec< L, T, Q > const &value)
Return the power of two number which value is the closet to the input value.
-
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoAbove(vec< L, T, Q > const &value)
Return the power of two number which value is just higher the input value.
-
+
1 #include <cmath>
2 
4 #ifdef max
5 #undef max
6 #endif
7 
9 #ifdef min
10 #undef min
11 #endif
12 
14 #ifdef isnan
15 #undef isnan
16 #endif
17 
19 #ifdef isinf
20 #undef isinf
21 #endif
22 
24 #ifdef log2
25 #undef log2
26 #endif
27 
diff --git a/doc/api/a00009_source.html b/doc/api/a00009_source.html deleted file mode 100644 index 41ab8a21..00000000 --- a/doc/api/a00009_source.html +++ /dev/null @@ -1,189 +0,0 @@ - - - - - - -0.9.9 API documenation: bitfield.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
bitfield.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #include "../detail/setup.hpp"
-
15 
-
16 #pragma once
-
17 
-
18 // Dependencies
-
19 #include "../detail/qualifier.hpp"
-
20 #include "../detail/type_int.hpp"
-
21 #include "../detail/_vectorize.hpp"
-
22 #include <limits>
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTC_bitfield extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
36  template<typename genIUType>
-
37  GLM_FUNC_DECL genIUType mask(genIUType Bits);
-
38 
-
46  template<length_t L, typename T, qualifier Q>
-
47  GLM_FUNC_DECL vec<L, T, Q> mask(vec<L, T, Q> const& v);
-
48 
-
52  template<typename genIUType>
-
53  GLM_FUNC_DECL genIUType bitfieldRotateRight(genIUType In, int Shift);
-
54 
-
62  template<length_t L, typename T, qualifier Q>
-
63  GLM_FUNC_DECL vec<L, T, Q> bitfieldRotateRight(vec<L, T, Q> const& In, int Shift);
-
64 
-
68  template<typename genIUType>
-
69  GLM_FUNC_DECL genIUType bitfieldRotateLeft(genIUType In, int Shift);
-
70 
-
78  template<length_t L, typename T, qualifier Q>
-
79  GLM_FUNC_DECL vec<L, T, Q> bitfieldRotateLeft(vec<L, T, Q> const& In, int Shift);
-
80 
-
84  template<typename genIUType>
-
85  GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount);
-
86 
-
94  template<length_t L, typename T, qualifier Q>
-
95  GLM_FUNC_DECL vec<L, T, Q> bitfieldFillOne(vec<L, T, Q> const& Value, int FirstBit, int BitCount);
-
96 
-
100  template<typename genIUType>
-
101  GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount);
-
102 
-
110  template<length_t L, typename T, qualifier Q>
-
111  GLM_FUNC_DECL vec<L, T, Q> bitfieldFillZero(vec<L, T, Q> const& Value, int FirstBit, int BitCount);
-
112 
-
118  GLM_FUNC_DECL int16 bitfieldInterleave(int8 x, int8 y);
-
119 
-
125  GLM_FUNC_DECL uint16 bitfieldInterleave(uint8 x, uint8 y);
-
126 
-
132  GLM_FUNC_DECL int32 bitfieldInterleave(int16 x, int16 y);
-
133 
-
139  GLM_FUNC_DECL uint32 bitfieldInterleave(uint16 x, uint16 y);
-
140 
-
146  GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y);
-
147 
-
153  GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y);
-
154 
-
160  GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z);
-
161 
-
167  GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z);
-
168 
-
174  GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z);
-
175 
-
181  GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z);
-
182 
-
188  GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y, int32 z);
-
189 
-
195  GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y, uint32 z);
-
196 
-
202  GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z, int8 w);
-
203 
-
209  GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z, uint8 w);
-
210 
-
216  GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z, int16 w);
-
217 
-
223  GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w);
-
224 
-
226 } //namespace glm
-
227 
-
228 #include "bitfield.inl"
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft(vec< L, T, Q > const &In, int Shift)
Rotate all bits to the left.
-
GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w)
Interleaves the bits of x, y, z and w.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > mask(vec< L, T, Q > const &v)
Build a mask of 'count' bits.
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne(vec< L, T, Q > const &Value, int FirstBit, int BitCount)
Set to 1 a range of bits.
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight(vec< L, T, Q > const &In, int Shift)
Rotate all bits to the right.
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero(vec< L, T, Q > const &Value, int FirstBit, int BitCount)
Set to 0 a range of bits.
-
- - - - diff --git a/doc/api/a00010_source.html b/doc/api/a00010_source.html deleted file mode 100644 index 136d1f2d..00000000 --- a/doc/api/a00010_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -0.9.9 API documenation: closest_point.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
closest_point.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_closest_point is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_closest_point extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T, qualifier Q>
-
34  GLM_FUNC_DECL vec<3, T, Q> closestPointOnLine(
-
35  vec<3, T, Q> const& point,
-
36  vec<3, T, Q> const& a,
-
37  vec<3, T, Q> const& b);
-
38 
-
40  template<typename T, qualifier Q>
-
41  GLM_FUNC_DECL vec<2, T, Q> closestPointOnLine(
-
42  vec<2, T, Q> const& point,
-
43  vec<2, T, Q> const& a,
-
44  vec<2, T, Q> const& b);
-
45 
-
47 }// namespace glm
-
48 
-
49 #include "closest_point.inl"
-
GLM_FUNC_DECL vec< 2, T, Q > closestPointOnLine(vec< 2, T, Q > const &point, vec< 2, T, Q > const &a, vec< 2, T, Q > const &b)
2d lines work as well
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00011_source.html b/doc/api/a00011_source.html index 3c2eaf60..cf58e67a 100644 --- a/doc/api/a00011_source.html +++ b/doc/api/a00011_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: color_encoding.hpp Source File + + +0.9.9 API documenation: _noise.hpp Source File - @@ -32,38 +30,22 @@ - + - - + + + +
-
color_encoding.hpp
+
_noise.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 #include "../vec3.hpp"
-
20 #include <limits>
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTC_color_encoding extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
32  template<typename T, qualifier Q>
-
33  GLM_FUNC_DECL vec<3, T, Q> convertLinearSRGBToD65XYZ(vec<3, T, Q> const& ColorLinearSRGB);
-
34 
-
36  template<typename T, qualifier Q>
-
37  GLM_FUNC_DECL vec<3, T, Q> convertLinearSRGBToD50XYZ(vec<3, T, Q> const& ColorLinearSRGB);
-
38 
-
40  template<typename T, qualifier Q>
-
41  GLM_FUNC_DECL vec<3, T, Q> convertD65XYZToLinearSRGB(vec<3, T, Q> const& ColorD65XYZ);
-
42 
-
44  template<typename T, qualifier Q>
-
45  GLM_FUNC_DECL vec<3, T, Q> convertD65XYZToD50XYZ(vec<3, T, Q> const& ColorD65XYZ);
-
46 
-
48 } //namespace glm
-
49 
-
50 #include "color_encoding.inl"
-
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ(vec< 3, T, Q > const &ColorLinearSRGB)
Convert a linear sRGB color to D50 YUV.
-
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ(vec< 3, T, Q > const &ColorD65XYZ)
Convert a D65 YUV color to D50 YUV.
-
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ(vec< 3, T, Q > const &ColorLinearSRGB)
Convert a linear sRGB color to D65 YUV.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB(vec< 3, T, Q > const &ColorD65XYZ)
Convert a D65 YUV color to linear sRGB.
+
1 #pragma once
2 
3 #include "../common.hpp"
4 
5 namespace glm{
6 namespace detail
7 {
8  template<typename T>
9  GLM_FUNC_QUALIFIER T mod289(T const& x)
10  {
11  return x - floor(x * (static_cast<T>(1.0) / static_cast<T>(289.0))) * static_cast<T>(289.0);
12  }
13 
14  template<typename T>
15  GLM_FUNC_QUALIFIER T permute(T const& x)
16  {
17  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
18  }
19 
20  template<typename T, qualifier Q>
21  GLM_FUNC_QUALIFIER vec<2, T, Q> permute(vec<2, T, Q> const& x)
22  {
23  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
24  }
25 
26  template<typename T, qualifier Q>
27  GLM_FUNC_QUALIFIER vec<3, T, Q> permute(vec<3, T, Q> const& x)
28  {
29  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
30  }
31 
32  template<typename T, qualifier Q>
33  GLM_FUNC_QUALIFIER vec<4, T, Q> permute(vec<4, T, Q> const& x)
34  {
35  return mod289(((x * static_cast<T>(34)) + static_cast<T>(1)) * x);
36  }
37 
38  template<typename T>
39  GLM_FUNC_QUALIFIER T taylorInvSqrt(T const& r)
40  {
41  return static_cast<T>(1.79284291400159) - static_cast<T>(0.85373472095314) * r;
42  }
43 
44  template<typename T, qualifier Q>
45  GLM_FUNC_QUALIFIER vec<2, T, Q> taylorInvSqrt(vec<2, T, Q> const& r)
46  {
47  return static_cast<T>(1.79284291400159) - static_cast<T>(0.85373472095314) * r;
48  }
49 
50  template<typename T, qualifier Q>
51  GLM_FUNC_QUALIFIER vec<3, T, Q> taylorInvSqrt(vec<3, T, Q> const& r)
52  {
53  return static_cast<T>(1.79284291400159) - static_cast<T>(0.85373472095314) * r;
54  }
55 
56  template<typename T, qualifier Q>
57  GLM_FUNC_QUALIFIER vec<4, T, Q> taylorInvSqrt(vec<4, T, Q> const& r)
58  {
59  return static_cast<T>(1.79284291400159) - static_cast<T>(0.85373472095314) * r;
60  }
61 
62  template<typename T, qualifier Q>
63  GLM_FUNC_QUALIFIER vec<2, T, Q> fade(vec<2, T, Q> const& t)
64  {
65  return (t * t * t) * (t * (t * static_cast<T>(6) - static_cast<T>(15)) + static_cast<T>(10));
66  }
67 
68  template<typename T, qualifier Q>
69  GLM_FUNC_QUALIFIER vec<3, T, Q> fade(vec<3, T, Q> const& t)
70  {
71  return (t * t * t) * (t * (t * static_cast<T>(6) - static_cast<T>(15)) + static_cast<T>(10));
72  }
73 
74  template<typename T, qualifier Q>
75  GLM_FUNC_QUALIFIER vec<4, T, Q> fade(vec<4, T, Q> const& t)
76  {
77  return (t * t * t) * (t * (t * static_cast<T>(6) - static_cast<T>(15)) + static_cast<T>(10));
78  }
79 }//namespace detail
80 }//namespace glm
81 
GLM_FUNC_DECL vec< L, T, Q > floor(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is less then or equal to x.
+
Definition: common.hpp:20
diff --git a/doc/api/a00012_source.html b/doc/api/a00012_source.html deleted file mode 100644 index 02006e95..00000000 --- a/doc/api/a00012_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - -0.9.9 API documenation: color_space.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gtc/color_space.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 #include "../exponential.hpp"
-
20 #include "../vec3.hpp"
-
21 #include "../vec4.hpp"
-
22 #include <limits>
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTC_color_space extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<length_t L, typename T, qualifier Q>
-
36  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear);
-
37 
-
40  template<length_t L, typename T, qualifier Q>
-
41  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear, T Gamma);
-
42 
-
45  template<length_t L, typename T, qualifier Q>
-
46  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB);
-
47 
-
49  // IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
-
50  template<length_t L, typename T, qualifier Q>
-
51  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB, T Gamma);
-
52 
-
54 } //namespace glm
-
55 
-
56 #include "color_space.inl"
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB(vec< L, T, Q > const &ColorLinear, T Gamma)
Convert a linear color to sRGB color using a custom gamma correction.
-
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear(vec< L, T, Q > const &ColorSRGB, T Gamma)
Convert a sRGB color to linear color using a custom gamma correction.
-
- - - - diff --git a/doc/api/a00013_source.html b/doc/api/a00013_source.html deleted file mode 100644 index c44f9385..00000000 --- a/doc/api/a00013_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -0.9.9 API documenation: color_space.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gtx/color_space.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_color_space is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_color_space extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T, qualifier Q>
-
34  GLM_FUNC_DECL vec<3, T, Q> rgbColor(
-
35  vec<3, T, Q> const& hsvValue);
-
36 
-
39  template<typename T, qualifier Q>
-
40  GLM_FUNC_DECL vec<3, T, Q> hsvColor(
-
41  vec<3, T, Q> const& rgbValue);
-
42 
-
45  template<typename T>
-
46  GLM_FUNC_DECL mat<4, 4, T, defaultp> saturation(
-
47  T const s);
-
48 
-
51  template<typename T, qualifier Q>
-
52  GLM_FUNC_DECL vec<3, T, Q> saturation(
-
53  T const s,
-
54  vec<3, T, Q> const& color);
-
55 
-
58  template<typename T, qualifier Q>
-
59  GLM_FUNC_DECL vec<4, T, Q> saturation(
-
60  T const s,
-
61  vec<4, T, Q> const& color);
-
62 
-
65  template<typename T, qualifier Q>
-
66  GLM_FUNC_DECL T luminosity(
-
67  vec<3, T, Q> const& color);
-
68 
-
70 }//namespace glm
-
71 
-
72 #include "color_space.inl"
-
GLM_FUNC_DECL T luminosity(vec< 3, T, Q > const &color)
Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 3, T, Q > rgbColor(vec< 3, T, Q > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.
-
GLM_FUNC_DECL vec< 3, T, Q > hsvColor(vec< 3, T, Q > const &rgbValue)
Converts a color from RGB color space to its color in HSV color space.
-
GLM_FUNC_DECL vec< 4, T, Q > saturation(T const s, vec< 4, T, Q > const &color)
Modify the saturation of a color.
-
- - - - diff --git a/doc/api/a00014_source.html b/doc/api/a00014_source.html index 1bcde723..8242ca5c 100644 --- a/doc/api/a00014_source.html +++ b/doc/api/a00014_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: color_space_YCoCg.hpp Source File + + +0.9.9 API documenation: _swizzle.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
color_space_YCoCg.hpp
+
_swizzle.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_color_space_YCoCg is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_color_space_YCoCg extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T, qualifier Q>
-
34  GLM_FUNC_DECL vec<3, T, Q> rgb2YCoCg(
-
35  vec<3, T, Q> const& rgbColor);
-
36 
-
39  template<typename T, qualifier Q>
-
40  GLM_FUNC_DECL vec<3, T, Q> YCoCg2rgb(
-
41  vec<3, T, Q> const& YCoCgColor);
-
42 
-
46  template<typename T, qualifier Q>
-
47  GLM_FUNC_DECL vec<3, T, Q> rgb2YCoCgR(
-
48  vec<3, T, Q> const& rgbColor);
-
49 
-
53  template<typename T, qualifier Q>
-
54  GLM_FUNC_DECL vec<3, T, Q> YCoCgR2rgb(
-
55  vec<3, T, Q> const& YCoCgColor);
-
56 
-
58 }//namespace glm
-
59 
-
60 #include "color_space_YCoCg.inl"
-
GLM_FUNC_DECL vec< 3, T, Q > YCoCg2rgb(vec< 3, T, Q > const &YCoCgColor)
Convert a color from YCoCg color space to RGB color space.
-
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCg(vec< 3, T, Q > const &rgbColor)
Convert a color from RGB color space to YCoCg color space.
-
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCgR(vec< 3, T, Q > const &rgbColor)
Convert a color from RGB color space to YCoCgR color space.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 3, T, Q > rgbColor(vec< 3, T, Q > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.
-
GLM_FUNC_DECL vec< 3, T, Q > YCoCgR2rgb(vec< 3, T, Q > const &YCoCgColor)
Convert a color from YCoCgR color space to RGB color space.
+
1 #pragma once
2 
3 namespace glm{
4 namespace detail
5 {
6  // Internal class for implementing swizzle operators
7  template<typename T, int N>
8  struct _swizzle_base0
9  {
10  protected:
11  GLM_FUNC_QUALIFIER T& elem(size_t i){ return (reinterpret_cast<T*>(_buffer))[i]; }
12  GLM_FUNC_QUALIFIER T const& elem(size_t i) const{ return (reinterpret_cast<const T*>(_buffer))[i]; }
13 
14  // Use an opaque buffer to *ensure* the compiler doesn't call a constructor.
15  // The size 1 buffer is assumed to aligned to the actual members so that the
16  // elem()
17  char _buffer[1];
18  };
19 
20  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3, bool Aligned>
21  struct _swizzle_base1 : public _swizzle_base0<T, N>
22  {
23  };
24 
25  template<typename T, qualifier Q, int E0, int E1, bool Aligned>
26  struct _swizzle_base1<2, T, Q, E0,E1,-1,-2, Aligned> : public _swizzle_base0<T, 2>
27  {
28  GLM_FUNC_QUALIFIER vec<2, T, Q> operator ()() const { return vec<2, T, Q>(this->elem(E0), this->elem(E1)); }
29  };
30 
31  template<typename T, qualifier Q, int E0, int E1, int E2, bool Aligned>
32  struct _swizzle_base1<3, T, Q, E0,E1,E2,-1, Aligned> : public _swizzle_base0<T, 3>
33  {
34  GLM_FUNC_QUALIFIER vec<3, T, Q> operator ()() const { return vec<3, T, Q>(this->elem(E0), this->elem(E1), this->elem(E2)); }
35  };
36 
37  template<typename T, qualifier Q, int E0, int E1, int E2, int E3, bool Aligned>
38  struct _swizzle_base1<4, T, Q, E0,E1,E2,E3, Aligned> : public _swizzle_base0<T, 4>
39  {
40  GLM_FUNC_QUALIFIER vec<4, T, Q> operator ()() const { return vec<4, T, Q>(this->elem(E0), this->elem(E1), this->elem(E2), this->elem(E3)); }
41  };
42 
43  // Internal class for implementing swizzle operators
44  /*
45  Template parameters:
46 
47  T = type of scalar values (e.g. float, double)
48  N = number of components in the vector (e.g. 3)
49  E0...3 = what index the n-th element of this swizzle refers to in the unswizzled vec
50 
51  DUPLICATE_ELEMENTS = 1 if there is a repeated element, 0 otherwise (used to specialize swizzles
52  containing duplicate elements so that they cannot be used as r-values).
53  */
54  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3, int DUPLICATE_ELEMENTS>
55  struct _swizzle_base2 : public _swizzle_base1<N, T, Q, E0,E1,E2,E3, detail::is_aligned<Q>::value>
56  {
57  struct op_equal
58  {
59  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) const{ e = t; }
60  };
61 
62  struct op_minus
63  {
64  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) const{ e -= t; }
65  };
66 
67  struct op_plus
68  {
69  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) const{ e += t; }
70  };
71 
72  struct op_mul
73  {
74  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) const{ e *= t; }
75  };
76 
77  struct op_div
78  {
79  GLM_FUNC_QUALIFIER void operator() (T& e, T& t) const{ e /= t; }
80  };
81 
82  public:
83  GLM_FUNC_QUALIFIER _swizzle_base2& operator= (const T& t)
84  {
85  for (int i = 0; i < N; ++i)
86  (*this)[i] = t;
87  return *this;
88  }
89 
90  GLM_FUNC_QUALIFIER _swizzle_base2& operator= (vec<N, T, Q> const& that)
91  {
92  _apply_op(that, op_equal());
93  return *this;
94  }
95 
96  GLM_FUNC_QUALIFIER void operator -= (vec<N, T, Q> const& that)
97  {
98  _apply_op(that, op_minus());
99  }
100 
101  GLM_FUNC_QUALIFIER void operator += (vec<N, T, Q> const& that)
102  {
103  _apply_op(that, op_plus());
104  }
105 
106  GLM_FUNC_QUALIFIER void operator *= (vec<N, T, Q> const& that)
107  {
108  _apply_op(that, op_mul());
109  }
110 
111  GLM_FUNC_QUALIFIER void operator /= (vec<N, T, Q> const& that)
112  {
113  _apply_op(that, op_div());
114  }
115 
116  GLM_FUNC_QUALIFIER T& operator[](size_t i)
117  {
118  const int offset_dst[4] = { E0, E1, E2, E3 };
119  return this->elem(offset_dst[i]);
120  }
121  GLM_FUNC_QUALIFIER T operator[](size_t i) const
122  {
123  const int offset_dst[4] = { E0, E1, E2, E3 };
124  return this->elem(offset_dst[i]);
125  }
126 
127  protected:
128  template<typename U>
129  GLM_FUNC_QUALIFIER void _apply_op(vec<N, T, Q> const& that, const U& op)
130  {
131  // Make a copy of the data in this == &that.
132  // The copier should optimize out the copy in cases where the function is
133  // properly inlined and the copy is not necessary.
134  T t[N];
135  for (int i = 0; i < N; ++i)
136  t[i] = that[i];
137  for (int i = 0; i < N; ++i)
138  op( (*this)[i], t[i] );
139  }
140  };
141 
142  // Specialization for swizzles containing duplicate elements. These cannot be modified.
143  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3>
144  struct _swizzle_base2<N, T, Q, E0,E1,E2,E3, 1> : public _swizzle_base1<N, T, Q, E0,E1,E2,E3, detail::is_aligned<Q>::value>
145  {
146  struct Stub {};
147 
148  GLM_FUNC_QUALIFIER _swizzle_base2& operator= (Stub const&) { return *this; }
149 
150  GLM_FUNC_QUALIFIER T operator[] (size_t i) const
151  {
152  const int offset_dst[4] = { E0, E1, E2, E3 };
153  return this->elem(offset_dst[i]);
154  }
155  };
156 
157  template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3>
158  struct _swizzle : public _swizzle_base2<N, T, Q, E0, E1, E2, E3, (E0 == E1 || E0 == E2 || E0 == E3 || E1 == E2 || E1 == E3 || E2 == E3)>
159  {
160  typedef _swizzle_base2<N, T, Q, E0, E1, E2, E3, (E0 == E1 || E0 == E2 || E0 == E3 || E1 == E2 || E1 == E3 || E2 == E3)> base_type;
161 
162  using base_type::operator=;
163 
164  GLM_FUNC_QUALIFIER operator vec<N, T, Q> () const { return (*this)(); }
165  };
166 
167 //
168 // To prevent the C++ syntax from getting entirely overwhelming, define some alias macros
169 //
170 #define GLM_SWIZZLE_TEMPLATE1 template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3>
171 #define GLM_SWIZZLE_TEMPLATE2 template<int N, typename T, qualifier Q, int E0, int E1, int E2, int E3, int F0, int F1, int F2, int F3>
172 #define GLM_SWIZZLE_TYPE1 _swizzle<N, T, Q, E0, E1, E2, E3>
173 #define GLM_SWIZZLE_TYPE2 _swizzle<N, T, Q, F0, F1, F2, F3>
174 
175 //
176 // Wrapper for a binary operator (e.g. u.yy + v.zy)
177 //
178 #define GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(OPERAND) \
179  GLM_SWIZZLE_TEMPLATE2 \
180  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE2& b) \
181  { \
182  return a() OPERAND b(); \
183  } \
184  GLM_SWIZZLE_TEMPLATE1 \
185  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const GLM_SWIZZLE_TYPE1& a, const vec<N, T, Q>& b) \
186  { \
187  return a() OPERAND b; \
188  } \
189  GLM_SWIZZLE_TEMPLATE1 \
190  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const vec<N, T, Q>& a, const GLM_SWIZZLE_TYPE1& b) \
191  { \
192  return a OPERAND b(); \
193  }
194 
195 //
196 // Wrapper for a operand between a swizzle and a binary (e.g. 1.0f - u.xyz)
197 //
198 #define GLM_SWIZZLE_SCALAR_BINARY_OPERATOR_IMPLEMENTATION(OPERAND) \
199  GLM_SWIZZLE_TEMPLATE1 \
200  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const GLM_SWIZZLE_TYPE1& a, const T& b) \
201  { \
202  return a() OPERAND b; \
203  } \
204  GLM_SWIZZLE_TEMPLATE1 \
205  GLM_FUNC_QUALIFIER vec<N, T, Q> operator OPERAND ( const T& a, const GLM_SWIZZLE_TYPE1& b) \
206  { \
207  return a OPERAND b(); \
208  }
209 
210 //
211 // Macro for wrapping a function taking one argument (e.g. abs())
212 //
213 #define GLM_SWIZZLE_FUNCTION_1_ARGS(RETURN_TYPE,FUNCTION) \
214  GLM_SWIZZLE_TEMPLATE1 \
215  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a) \
216  { \
217  return FUNCTION(a()); \
218  }
219 
220 //
221 // Macro for wrapping a function taking two vector arguments (e.g. dot()).
222 //
223 #define GLM_SWIZZLE_FUNCTION_2_ARGS(RETURN_TYPE,FUNCTION) \
224  GLM_SWIZZLE_TEMPLATE2 \
225  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE2& b) \
226  { \
227  return FUNCTION(a(), b()); \
228  } \
229  GLM_SWIZZLE_TEMPLATE1 \
230  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE1& b) \
231  { \
232  return FUNCTION(a(), b()); \
233  } \
234  GLM_SWIZZLE_TEMPLATE1 \
235  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const typename V& b) \
236  { \
237  return FUNCTION(a(), b); \
238  } \
239  GLM_SWIZZLE_TEMPLATE1 \
240  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const V& a, const GLM_SWIZZLE_TYPE1& b) \
241  { \
242  return FUNCTION(a, b()); \
243  }
244 
245 //
246 // Macro for wrapping a function take 2 vec arguments followed by a scalar (e.g. mix()).
247 //
248 #define GLM_SWIZZLE_FUNCTION_2_ARGS_SCALAR(RETURN_TYPE,FUNCTION) \
249  GLM_SWIZZLE_TEMPLATE2 \
250  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE2& b, const T& c) \
251  { \
252  return FUNCTION(a(), b(), c); \
253  } \
254  GLM_SWIZZLE_TEMPLATE1 \
255  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const GLM_SWIZZLE_TYPE1& b, const T& c) \
256  { \
257  return FUNCTION(a(), b(), c); \
258  } \
259  GLM_SWIZZLE_TEMPLATE1 \
260  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const GLM_SWIZZLE_TYPE1& a, const typename S0::vec_type& b, const T& c)\
261  { \
262  return FUNCTION(a(), b, c); \
263  } \
264  GLM_SWIZZLE_TEMPLATE1 \
265  GLM_FUNC_QUALIFIER typename GLM_SWIZZLE_TYPE1::RETURN_TYPE FUNCTION(const typename V& a, const GLM_SWIZZLE_TYPE1& b, const T& c) \
266  { \
267  return FUNCTION(a, b(), c); \
268  }
269 
270 }//namespace detail
271 }//namespace glm
272 
273 namespace glm
274 {
275  namespace detail
276  {
277  GLM_SWIZZLE_SCALAR_BINARY_OPERATOR_IMPLEMENTATION(-)
278  GLM_SWIZZLE_SCALAR_BINARY_OPERATOR_IMPLEMENTATION(*)
279  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(+)
280  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(-)
281  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(*)
282  GLM_SWIZZLE_VECTOR_BINARY_OPERATOR_IMPLEMENTATION(/)
283  }
284 
285  //
286  // Swizzles are distinct types from the unswizzled type. The below macros will
287  // provide template specializations for the swizzle types for the given functions
288  // so that the compiler does not have any ambiguity to choosing how to handle
289  // the function.
290  //
291  // The alternative is to use the operator()() when calling the function in order
292  // to explicitly convert the swizzled type to the unswizzled type.
293  //
294 
295  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, abs);
296  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, acos);
297  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, acosh);
298  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, all);
299  //GLM_SWIZZLE_FUNCTION_1_ARGS(vec_type, any);
300 
301  //GLM_SWIZZLE_FUNCTION_2_ARGS(value_type, dot);
302  //GLM_SWIZZLE_FUNCTION_2_ARGS(vec_type, cross);
303  //GLM_SWIZZLE_FUNCTION_2_ARGS(vec_type, step);
304  //GLM_SWIZZLE_FUNCTION_2_ARGS_SCALAR(vec_type, mix);
305 }
306 
307 #define GLM_SWIZZLE2_2_MEMBERS(T, Q, E0,E1) \
308  struct { detail::_swizzle<2, T, Q, 0,0,-1,-2> E0 ## E0; }; \
309  struct { detail::_swizzle<2, T, Q, 0,1,-1,-2> E0 ## E1; }; \
310  struct { detail::_swizzle<2, T, Q, 1,0,-1,-2> E1 ## E0; }; \
311  struct { detail::_swizzle<2, T, Q, 1,1,-1,-2> E1 ## E1; };
312 
313 #define GLM_SWIZZLE2_3_MEMBERS(T, Q, E0,E1) \
314  struct { detail::_swizzle<3,T, Q, 0,0,0,-1> E0 ## E0 ## E0; }; \
315  struct { detail::_swizzle<3,T, Q, 0,0,1,-1> E0 ## E0 ## E1; }; \
316  struct { detail::_swizzle<3,T, Q, 0,1,0,-1> E0 ## E1 ## E0; }; \
317  struct { detail::_swizzle<3,T, Q, 0,1,1,-1> E0 ## E1 ## E1; }; \
318  struct { detail::_swizzle<3,T, Q, 1,0,0,-1> E1 ## E0 ## E0; }; \
319  struct { detail::_swizzle<3,T, Q, 1,0,1,-1> E1 ## E0 ## E1; }; \
320  struct { detail::_swizzle<3,T, Q, 1,1,0,-1> E1 ## E1 ## E0; }; \
321  struct { detail::_swizzle<3,T, Q, 1,1,1,-1> E1 ## E1 ## E1; };
322 
323 #define GLM_SWIZZLE2_4_MEMBERS(T, Q, E0,E1) \
324  struct { detail::_swizzle<4,T, Q, 0,0,0,0> E0 ## E0 ## E0 ## E0; }; \
325  struct { detail::_swizzle<4,T, Q, 0,0,0,1> E0 ## E0 ## E0 ## E1; }; \
326  struct { detail::_swizzle<4,T, Q, 0,0,1,0> E0 ## E0 ## E1 ## E0; }; \
327  struct { detail::_swizzle<4,T, Q, 0,0,1,1> E0 ## E0 ## E1 ## E1; }; \
328  struct { detail::_swizzle<4,T, Q, 0,1,0,0> E0 ## E1 ## E0 ## E0; }; \
329  struct { detail::_swizzle<4,T, Q, 0,1,0,1> E0 ## E1 ## E0 ## E1; }; \
330  struct { detail::_swizzle<4,T, Q, 0,1,1,0> E0 ## E1 ## E1 ## E0; }; \
331  struct { detail::_swizzle<4,T, Q, 0,1,1,1> E0 ## E1 ## E1 ## E1; }; \
332  struct { detail::_swizzle<4,T, Q, 1,0,0,0> E1 ## E0 ## E0 ## E0; }; \
333  struct { detail::_swizzle<4,T, Q, 1,0,0,1> E1 ## E0 ## E0 ## E1; }; \
334  struct { detail::_swizzle<4,T, Q, 1,0,1,0> E1 ## E0 ## E1 ## E0; }; \
335  struct { detail::_swizzle<4,T, Q, 1,0,1,1> E1 ## E0 ## E1 ## E1; }; \
336  struct { detail::_swizzle<4,T, Q, 1,1,0,0> E1 ## E1 ## E0 ## E0; }; \
337  struct { detail::_swizzle<4,T, Q, 1,1,0,1> E1 ## E1 ## E0 ## E1; }; \
338  struct { detail::_swizzle<4,T, Q, 1,1,1,0> E1 ## E1 ## E1 ## E0; }; \
339  struct { detail::_swizzle<4,T, Q, 1,1,1,1> E1 ## E1 ## E1 ## E1; };
340 
341 #define GLM_SWIZZLE3_2_MEMBERS(T, Q, E0,E1,E2) \
342  struct { detail::_swizzle<2,T, Q, 0,0,-1,-2> E0 ## E0; }; \
343  struct { detail::_swizzle<2,T, Q, 0,1,-1,-2> E0 ## E1; }; \
344  struct { detail::_swizzle<2,T, Q, 0,2,-1,-2> E0 ## E2; }; \
345  struct { detail::_swizzle<2,T, Q, 1,0,-1,-2> E1 ## E0; }; \
346  struct { detail::_swizzle<2,T, Q, 1,1,-1,-2> E1 ## E1; }; \
347  struct { detail::_swizzle<2,T, Q, 1,2,-1,-2> E1 ## E2; }; \
348  struct { detail::_swizzle<2,T, Q, 2,0,-1,-2> E2 ## E0; }; \
349  struct { detail::_swizzle<2,T, Q, 2,1,-1,-2> E2 ## E1; }; \
350  struct { detail::_swizzle<2,T, Q, 2,2,-1,-2> E2 ## E2; };
351 
352 #define GLM_SWIZZLE3_3_MEMBERS(T, Q ,E0,E1,E2) \
353  struct { detail::_swizzle<3, T, Q, 0,0,0,-1> E0 ## E0 ## E0; }; \
354  struct { detail::_swizzle<3, T, Q, 0,0,1,-1> E0 ## E0 ## E1; }; \
355  struct { detail::_swizzle<3, T, Q, 0,0,2,-1> E0 ## E0 ## E2; }; \
356  struct { detail::_swizzle<3, T, Q, 0,1,0,-1> E0 ## E1 ## E0; }; \
357  struct { detail::_swizzle<3, T, Q, 0,1,1,-1> E0 ## E1 ## E1; }; \
358  struct { detail::_swizzle<3, T, Q, 0,1,2,-1> E0 ## E1 ## E2; }; \
359  struct { detail::_swizzle<3, T, Q, 0,2,0,-1> E0 ## E2 ## E0; }; \
360  struct { detail::_swizzle<3, T, Q, 0,2,1,-1> E0 ## E2 ## E1; }; \
361  struct { detail::_swizzle<3, T, Q, 0,2,2,-1> E0 ## E2 ## E2; }; \
362  struct { detail::_swizzle<3, T, Q, 1,0,0,-1> E1 ## E0 ## E0; }; \
363  struct { detail::_swizzle<3, T, Q, 1,0,1,-1> E1 ## E0 ## E1; }; \
364  struct { detail::_swizzle<3, T, Q, 1,0,2,-1> E1 ## E0 ## E2; }; \
365  struct { detail::_swizzle<3, T, Q, 1,1,0,-1> E1 ## E1 ## E0; }; \
366  struct { detail::_swizzle<3, T, Q, 1,1,1,-1> E1 ## E1 ## E1; }; \
367  struct { detail::_swizzle<3, T, Q, 1,1,2,-1> E1 ## E1 ## E2; }; \
368  struct { detail::_swizzle<3, T, Q, 1,2,0,-1> E1 ## E2 ## E0; }; \
369  struct { detail::_swizzle<3, T, Q, 1,2,1,-1> E1 ## E2 ## E1; }; \
370  struct { detail::_swizzle<3, T, Q, 1,2,2,-1> E1 ## E2 ## E2; }; \
371  struct { detail::_swizzle<3, T, Q, 2,0,0,-1> E2 ## E0 ## E0; }; \
372  struct { detail::_swizzle<3, T, Q, 2,0,1,-1> E2 ## E0 ## E1; }; \
373  struct { detail::_swizzle<3, T, Q, 2,0,2,-1> E2 ## E0 ## E2; }; \
374  struct { detail::_swizzle<3, T, Q, 2,1,0,-1> E2 ## E1 ## E0; }; \
375  struct { detail::_swizzle<3, T, Q, 2,1,1,-1> E2 ## E1 ## E1; }; \
376  struct { detail::_swizzle<3, T, Q, 2,1,2,-1> E2 ## E1 ## E2; }; \
377  struct { detail::_swizzle<3, T, Q, 2,2,0,-1> E2 ## E2 ## E0; }; \
378  struct { detail::_swizzle<3, T, Q, 2,2,1,-1> E2 ## E2 ## E1; }; \
379  struct { detail::_swizzle<3, T, Q, 2,2,2,-1> E2 ## E2 ## E2; };
380 
381 #define GLM_SWIZZLE3_4_MEMBERS(T, Q, E0,E1,E2) \
382  struct { detail::_swizzle<4,T, Q, 0,0,0,0> E0 ## E0 ## E0 ## E0; }; \
383  struct { detail::_swizzle<4,T, Q, 0,0,0,1> E0 ## E0 ## E0 ## E1; }; \
384  struct { detail::_swizzle<4,T, Q, 0,0,0,2> E0 ## E0 ## E0 ## E2; }; \
385  struct { detail::_swizzle<4,T, Q, 0,0,1,0> E0 ## E0 ## E1 ## E0; }; \
386  struct { detail::_swizzle<4,T, Q, 0,0,1,1> E0 ## E0 ## E1 ## E1; }; \
387  struct { detail::_swizzle<4,T, Q, 0,0,1,2> E0 ## E0 ## E1 ## E2; }; \
388  struct { detail::_swizzle<4,T, Q, 0,0,2,0> E0 ## E0 ## E2 ## E0; }; \
389  struct { detail::_swizzle<4,T, Q, 0,0,2,1> E0 ## E0 ## E2 ## E1; }; \
390  struct { detail::_swizzle<4,T, Q, 0,0,2,2> E0 ## E0 ## E2 ## E2; }; \
391  struct { detail::_swizzle<4,T, Q, 0,1,0,0> E0 ## E1 ## E0 ## E0; }; \
392  struct { detail::_swizzle<4,T, Q, 0,1,0,1> E0 ## E1 ## E0 ## E1; }; \
393  struct { detail::_swizzle<4,T, Q, 0,1,0,2> E0 ## E1 ## E0 ## E2; }; \
394  struct { detail::_swizzle<4,T, Q, 0,1,1,0> E0 ## E1 ## E1 ## E0; }; \
395  struct { detail::_swizzle<4,T, Q, 0,1,1,1> E0 ## E1 ## E1 ## E1; }; \
396  struct { detail::_swizzle<4,T, Q, 0,1,1,2> E0 ## E1 ## E1 ## E2; }; \
397  struct { detail::_swizzle<4,T, Q, 0,1,2,0> E0 ## E1 ## E2 ## E0; }; \
398  struct { detail::_swizzle<4,T, Q, 0,1,2,1> E0 ## E1 ## E2 ## E1; }; \
399  struct { detail::_swizzle<4,T, Q, 0,1,2,2> E0 ## E1 ## E2 ## E2; }; \
400  struct { detail::_swizzle<4,T, Q, 0,2,0,0> E0 ## E2 ## E0 ## E0; }; \
401  struct { detail::_swizzle<4,T, Q, 0,2,0,1> E0 ## E2 ## E0 ## E1; }; \
402  struct { detail::_swizzle<4,T, Q, 0,2,0,2> E0 ## E2 ## E0 ## E2; }; \
403  struct { detail::_swizzle<4,T, Q, 0,2,1,0> E0 ## E2 ## E1 ## E0; }; \
404  struct { detail::_swizzle<4,T, Q, 0,2,1,1> E0 ## E2 ## E1 ## E1; }; \
405  struct { detail::_swizzle<4,T, Q, 0,2,1,2> E0 ## E2 ## E1 ## E2; }; \
406  struct { detail::_swizzle<4,T, Q, 0,2,2,0> E0 ## E2 ## E2 ## E0; }; \
407  struct { detail::_swizzle<4,T, Q, 0,2,2,1> E0 ## E2 ## E2 ## E1; }; \
408  struct { detail::_swizzle<4,T, Q, 0,2,2,2> E0 ## E2 ## E2 ## E2; }; \
409  struct { detail::_swizzle<4,T, Q, 1,0,0,0> E1 ## E0 ## E0 ## E0; }; \
410  struct { detail::_swizzle<4,T, Q, 1,0,0,1> E1 ## E0 ## E0 ## E1; }; \
411  struct { detail::_swizzle<4,T, Q, 1,0,0,2> E1 ## E0 ## E0 ## E2; }; \
412  struct { detail::_swizzle<4,T, Q, 1,0,1,0> E1 ## E0 ## E1 ## E0; }; \
413  struct { detail::_swizzle<4,T, Q, 1,0,1,1> E1 ## E0 ## E1 ## E1; }; \
414  struct { detail::_swizzle<4,T, Q, 1,0,1,2> E1 ## E0 ## E1 ## E2; }; \
415  struct { detail::_swizzle<4,T, Q, 1,0,2,0> E1 ## E0 ## E2 ## E0; }; \
416  struct { detail::_swizzle<4,T, Q, 1,0,2,1> E1 ## E0 ## E2 ## E1; }; \
417  struct { detail::_swizzle<4,T, Q, 1,0,2,2> E1 ## E0 ## E2 ## E2; }; \
418  struct { detail::_swizzle<4,T, Q, 1,1,0,0> E1 ## E1 ## E0 ## E0; }; \
419  struct { detail::_swizzle<4,T, Q, 1,1,0,1> E1 ## E1 ## E0 ## E1; }; \
420  struct { detail::_swizzle<4,T, Q, 1,1,0,2> E1 ## E1 ## E0 ## E2; }; \
421  struct { detail::_swizzle<4,T, Q, 1,1,1,0> E1 ## E1 ## E1 ## E0; }; \
422  struct { detail::_swizzle<4,T, Q, 1,1,1,1> E1 ## E1 ## E1 ## E1; }; \
423  struct { detail::_swizzle<4,T, Q, 1,1,1,2> E1 ## E1 ## E1 ## E2; }; \
424  struct { detail::_swizzle<4,T, Q, 1,1,2,0> E1 ## E1 ## E2 ## E0; }; \
425  struct { detail::_swizzle<4,T, Q, 1,1,2,1> E1 ## E1 ## E2 ## E1; }; \
426  struct { detail::_swizzle<4,T, Q, 1,1,2,2> E1 ## E1 ## E2 ## E2; }; \
427  struct { detail::_swizzle<4,T, Q, 1,2,0,0> E1 ## E2 ## E0 ## E0; }; \
428  struct { detail::_swizzle<4,T, Q, 1,2,0,1> E1 ## E2 ## E0 ## E1; }; \
429  struct { detail::_swizzle<4,T, Q, 1,2,0,2> E1 ## E2 ## E0 ## E2; }; \
430  struct { detail::_swizzle<4,T, Q, 1,2,1,0> E1 ## E2 ## E1 ## E0; }; \
431  struct { detail::_swizzle<4,T, Q, 1,2,1,1> E1 ## E2 ## E1 ## E1; }; \
432  struct { detail::_swizzle<4,T, Q, 1,2,1,2> E1 ## E2 ## E1 ## E2; }; \
433  struct { detail::_swizzle<4,T, Q, 1,2,2,0> E1 ## E2 ## E2 ## E0; }; \
434  struct { detail::_swizzle<4,T, Q, 1,2,2,1> E1 ## E2 ## E2 ## E1; }; \
435  struct { detail::_swizzle<4,T, Q, 1,2,2,2> E1 ## E2 ## E2 ## E2; }; \
436  struct { detail::_swizzle<4,T, Q, 2,0,0,0> E2 ## E0 ## E0 ## E0; }; \
437  struct { detail::_swizzle<4,T, Q, 2,0,0,1> E2 ## E0 ## E0 ## E1; }; \
438  struct { detail::_swizzle<4,T, Q, 2,0,0,2> E2 ## E0 ## E0 ## E2; }; \
439  struct { detail::_swizzle<4,T, Q, 2,0,1,0> E2 ## E0 ## E1 ## E0; }; \
440  struct { detail::_swizzle<4,T, Q, 2,0,1,1> E2 ## E0 ## E1 ## E1; }; \
441  struct { detail::_swizzle<4,T, Q, 2,0,1,2> E2 ## E0 ## E1 ## E2; }; \
442  struct { detail::_swizzle<4,T, Q, 2,0,2,0> E2 ## E0 ## E2 ## E0; }; \
443  struct { detail::_swizzle<4,T, Q, 2,0,2,1> E2 ## E0 ## E2 ## E1; }; \
444  struct { detail::_swizzle<4,T, Q, 2,0,2,2> E2 ## E0 ## E2 ## E2; }; \
445  struct { detail::_swizzle<4,T, Q, 2,1,0,0> E2 ## E1 ## E0 ## E0; }; \
446  struct { detail::_swizzle<4,T, Q, 2,1,0,1> E2 ## E1 ## E0 ## E1; }; \
447  struct { detail::_swizzle<4,T, Q, 2,1,0,2> E2 ## E1 ## E0 ## E2; }; \
448  struct { detail::_swizzle<4,T, Q, 2,1,1,0> E2 ## E1 ## E1 ## E0; }; \
449  struct { detail::_swizzle<4,T, Q, 2,1,1,1> E2 ## E1 ## E1 ## E1; }; \
450  struct { detail::_swizzle<4,T, Q, 2,1,1,2> E2 ## E1 ## E1 ## E2; }; \
451  struct { detail::_swizzle<4,T, Q, 2,1,2,0> E2 ## E1 ## E2 ## E0; }; \
452  struct { detail::_swizzle<4,T, Q, 2,1,2,1> E2 ## E1 ## E2 ## E1; }; \
453  struct { detail::_swizzle<4,T, Q, 2,1,2,2> E2 ## E1 ## E2 ## E2; }; \
454  struct { detail::_swizzle<4,T, Q, 2,2,0,0> E2 ## E2 ## E0 ## E0; }; \
455  struct { detail::_swizzle<4,T, Q, 2,2,0,1> E2 ## E2 ## E0 ## E1; }; \
456  struct { detail::_swizzle<4,T, Q, 2,2,0,2> E2 ## E2 ## E0 ## E2; }; \
457  struct { detail::_swizzle<4,T, Q, 2,2,1,0> E2 ## E2 ## E1 ## E0; }; \
458  struct { detail::_swizzle<4,T, Q, 2,2,1,1> E2 ## E2 ## E1 ## E1; }; \
459  struct { detail::_swizzle<4,T, Q, 2,2,1,2> E2 ## E2 ## E1 ## E2; }; \
460  struct { detail::_swizzle<4,T, Q, 2,2,2,0> E2 ## E2 ## E2 ## E0; }; \
461  struct { detail::_swizzle<4,T, Q, 2,2,2,1> E2 ## E2 ## E2 ## E1; }; \
462  struct { detail::_swizzle<4,T, Q, 2,2,2,2> E2 ## E2 ## E2 ## E2; };
463 
464 #define GLM_SWIZZLE4_2_MEMBERS(T, Q, E0,E1,E2,E3) \
465  struct { detail::_swizzle<2,T, Q, 0,0,-1,-2> E0 ## E0; }; \
466  struct { detail::_swizzle<2,T, Q, 0,1,-1,-2> E0 ## E1; }; \
467  struct { detail::_swizzle<2,T, Q, 0,2,-1,-2> E0 ## E2; }; \
468  struct { detail::_swizzle<2,T, Q, 0,3,-1,-2> E0 ## E3; }; \
469  struct { detail::_swizzle<2,T, Q, 1,0,-1,-2> E1 ## E0; }; \
470  struct { detail::_swizzle<2,T, Q, 1,1,-1,-2> E1 ## E1; }; \
471  struct { detail::_swizzle<2,T, Q, 1,2,-1,-2> E1 ## E2; }; \
472  struct { detail::_swizzle<2,T, Q, 1,3,-1,-2> E1 ## E3; }; \
473  struct { detail::_swizzle<2,T, Q, 2,0,-1,-2> E2 ## E0; }; \
474  struct { detail::_swizzle<2,T, Q, 2,1,-1,-2> E2 ## E1; }; \
475  struct { detail::_swizzle<2,T, Q, 2,2,-1,-2> E2 ## E2; }; \
476  struct { detail::_swizzle<2,T, Q, 2,3,-1,-2> E2 ## E3; }; \
477  struct { detail::_swizzle<2,T, Q, 3,0,-1,-2> E3 ## E0; }; \
478  struct { detail::_swizzle<2,T, Q, 3,1,-1,-2> E3 ## E1; }; \
479  struct { detail::_swizzle<2,T, Q, 3,2,-1,-2> E3 ## E2; }; \
480  struct { detail::_swizzle<2,T, Q, 3,3,-1,-2> E3 ## E3; };
481 
482 #define GLM_SWIZZLE4_3_MEMBERS(T, Q, E0,E1,E2,E3) \
483  struct { detail::_swizzle<3, T, Q, 0,0,0,-1> E0 ## E0 ## E0; }; \
484  struct { detail::_swizzle<3, T, Q, 0,0,1,-1> E0 ## E0 ## E1; }; \
485  struct { detail::_swizzle<3, T, Q, 0,0,2,-1> E0 ## E0 ## E2; }; \
486  struct { detail::_swizzle<3, T, Q, 0,0,3,-1> E0 ## E0 ## E3; }; \
487  struct { detail::_swizzle<3, T, Q, 0,1,0,-1> E0 ## E1 ## E0; }; \
488  struct { detail::_swizzle<3, T, Q, 0,1,1,-1> E0 ## E1 ## E1; }; \
489  struct { detail::_swizzle<3, T, Q, 0,1,2,-1> E0 ## E1 ## E2; }; \
490  struct { detail::_swizzle<3, T, Q, 0,1,3,-1> E0 ## E1 ## E3; }; \
491  struct { detail::_swizzle<3, T, Q, 0,2,0,-1> E0 ## E2 ## E0; }; \
492  struct { detail::_swizzle<3, T, Q, 0,2,1,-1> E0 ## E2 ## E1; }; \
493  struct { detail::_swizzle<3, T, Q, 0,2,2,-1> E0 ## E2 ## E2; }; \
494  struct { detail::_swizzle<3, T, Q, 0,2,3,-1> E0 ## E2 ## E3; }; \
495  struct { detail::_swizzle<3, T, Q, 0,3,0,-1> E0 ## E3 ## E0; }; \
496  struct { detail::_swizzle<3, T, Q, 0,3,1,-1> E0 ## E3 ## E1; }; \
497  struct { detail::_swizzle<3, T, Q, 0,3,2,-1> E0 ## E3 ## E2; }; \
498  struct { detail::_swizzle<3, T, Q, 0,3,3,-1> E0 ## E3 ## E3; }; \
499  struct { detail::_swizzle<3, T, Q, 1,0,0,-1> E1 ## E0 ## E0; }; \
500  struct { detail::_swizzle<3, T, Q, 1,0,1,-1> E1 ## E0 ## E1; }; \
501  struct { detail::_swizzle<3, T, Q, 1,0,2,-1> E1 ## E0 ## E2; }; \
502  struct { detail::_swizzle<3, T, Q, 1,0,3,-1> E1 ## E0 ## E3; }; \
503  struct { detail::_swizzle<3, T, Q, 1,1,0,-1> E1 ## E1 ## E0; }; \
504  struct { detail::_swizzle<3, T, Q, 1,1,1,-1> E1 ## E1 ## E1; }; \
505  struct { detail::_swizzle<3, T, Q, 1,1,2,-1> E1 ## E1 ## E2; }; \
506  struct { detail::_swizzle<3, T, Q, 1,1,3,-1> E1 ## E1 ## E3; }; \
507  struct { detail::_swizzle<3, T, Q, 1,2,0,-1> E1 ## E2 ## E0; }; \
508  struct { detail::_swizzle<3, T, Q, 1,2,1,-1> E1 ## E2 ## E1; }; \
509  struct { detail::_swizzle<3, T, Q, 1,2,2,-1> E1 ## E2 ## E2; }; \
510  struct { detail::_swizzle<3, T, Q, 1,2,3,-1> E1 ## E2 ## E3; }; \
511  struct { detail::_swizzle<3, T, Q, 1,3,0,-1> E1 ## E3 ## E0; }; \
512  struct { detail::_swizzle<3, T, Q, 1,3,1,-1> E1 ## E3 ## E1; }; \
513  struct { detail::_swizzle<3, T, Q, 1,3,2,-1> E1 ## E3 ## E2; }; \
514  struct { detail::_swizzle<3, T, Q, 1,3,3,-1> E1 ## E3 ## E3; }; \
515  struct { detail::_swizzle<3, T, Q, 2,0,0,-1> E2 ## E0 ## E0; }; \
516  struct { detail::_swizzle<3, T, Q, 2,0,1,-1> E2 ## E0 ## E1; }; \
517  struct { detail::_swizzle<3, T, Q, 2,0,2,-1> E2 ## E0 ## E2; }; \
518  struct { detail::_swizzle<3, T, Q, 2,0,3,-1> E2 ## E0 ## E3; }; \
519  struct { detail::_swizzle<3, T, Q, 2,1,0,-1> E2 ## E1 ## E0; }; \
520  struct { detail::_swizzle<3, T, Q, 2,1,1,-1> E2 ## E1 ## E1; }; \
521  struct { detail::_swizzle<3, T, Q, 2,1,2,-1> E2 ## E1 ## E2; }; \
522  struct { detail::_swizzle<3, T, Q, 2,1,3,-1> E2 ## E1 ## E3; }; \
523  struct { detail::_swizzle<3, T, Q, 2,2,0,-1> E2 ## E2 ## E0; }; \
524  struct { detail::_swizzle<3, T, Q, 2,2,1,-1> E2 ## E2 ## E1; }; \
525  struct { detail::_swizzle<3, T, Q, 2,2,2,-1> E2 ## E2 ## E2; }; \
526  struct { detail::_swizzle<3, T, Q, 2,2,3,-1> E2 ## E2 ## E3; }; \
527  struct { detail::_swizzle<3, T, Q, 2,3,0,-1> E2 ## E3 ## E0; }; \
528  struct { detail::_swizzle<3, T, Q, 2,3,1,-1> E2 ## E3 ## E1; }; \
529  struct { detail::_swizzle<3, T, Q, 2,3,2,-1> E2 ## E3 ## E2; }; \
530  struct { detail::_swizzle<3, T, Q, 2,3,3,-1> E2 ## E3 ## E3; }; \
531  struct { detail::_swizzle<3, T, Q, 3,0,0,-1> E3 ## E0 ## E0; }; \
532  struct { detail::_swizzle<3, T, Q, 3,0,1,-1> E3 ## E0 ## E1; }; \
533  struct { detail::_swizzle<3, T, Q, 3,0,2,-1> E3 ## E0 ## E2; }; \
534  struct { detail::_swizzle<3, T, Q, 3,0,3,-1> E3 ## E0 ## E3; }; \
535  struct { detail::_swizzle<3, T, Q, 3,1,0,-1> E3 ## E1 ## E0; }; \
536  struct { detail::_swizzle<3, T, Q, 3,1,1,-1> E3 ## E1 ## E1; }; \
537  struct { detail::_swizzle<3, T, Q, 3,1,2,-1> E3 ## E1 ## E2; }; \
538  struct { detail::_swizzle<3, T, Q, 3,1,3,-1> E3 ## E1 ## E3; }; \
539  struct { detail::_swizzle<3, T, Q, 3,2,0,-1> E3 ## E2 ## E0; }; \
540  struct { detail::_swizzle<3, T, Q, 3,2,1,-1> E3 ## E2 ## E1; }; \
541  struct { detail::_swizzle<3, T, Q, 3,2,2,-1> E3 ## E2 ## E2; }; \
542  struct { detail::_swizzle<3, T, Q, 3,2,3,-1> E3 ## E2 ## E3; }; \
543  struct { detail::_swizzle<3, T, Q, 3,3,0,-1> E3 ## E3 ## E0; }; \
544  struct { detail::_swizzle<3, T, Q, 3,3,1,-1> E3 ## E3 ## E1; }; \
545  struct { detail::_swizzle<3, T, Q, 3,3,2,-1> E3 ## E3 ## E2; }; \
546  struct { detail::_swizzle<3, T, Q, 3,3,3,-1> E3 ## E3 ## E3; };
547 
548 #define GLM_SWIZZLE4_4_MEMBERS(T, Q, E0,E1,E2,E3) \
549  struct { detail::_swizzle<4, T, Q, 0,0,0,0> E0 ## E0 ## E0 ## E0; }; \
550  struct { detail::_swizzle<4, T, Q, 0,0,0,1> E0 ## E0 ## E0 ## E1; }; \
551  struct { detail::_swizzle<4, T, Q, 0,0,0,2> E0 ## E0 ## E0 ## E2; }; \
552  struct { detail::_swizzle<4, T, Q, 0,0,0,3> E0 ## E0 ## E0 ## E3; }; \
553  struct { detail::_swizzle<4, T, Q, 0,0,1,0> E0 ## E0 ## E1 ## E0; }; \
554  struct { detail::_swizzle<4, T, Q, 0,0,1,1> E0 ## E0 ## E1 ## E1; }; \
555  struct { detail::_swizzle<4, T, Q, 0,0,1,2> E0 ## E0 ## E1 ## E2; }; \
556  struct { detail::_swizzle<4, T, Q, 0,0,1,3> E0 ## E0 ## E1 ## E3; }; \
557  struct { detail::_swizzle<4, T, Q, 0,0,2,0> E0 ## E0 ## E2 ## E0; }; \
558  struct { detail::_swizzle<4, T, Q, 0,0,2,1> E0 ## E0 ## E2 ## E1; }; \
559  struct { detail::_swizzle<4, T, Q, 0,0,2,2> E0 ## E0 ## E2 ## E2; }; \
560  struct { detail::_swizzle<4, T, Q, 0,0,2,3> E0 ## E0 ## E2 ## E3; }; \
561  struct { detail::_swizzle<4, T, Q, 0,0,3,0> E0 ## E0 ## E3 ## E0; }; \
562  struct { detail::_swizzle<4, T, Q, 0,0,3,1> E0 ## E0 ## E3 ## E1; }; \
563  struct { detail::_swizzle<4, T, Q, 0,0,3,2> E0 ## E0 ## E3 ## E2; }; \
564  struct { detail::_swizzle<4, T, Q, 0,0,3,3> E0 ## E0 ## E3 ## E3; }; \
565  struct { detail::_swizzle<4, T, Q, 0,1,0,0> E0 ## E1 ## E0 ## E0; }; \
566  struct { detail::_swizzle<4, T, Q, 0,1,0,1> E0 ## E1 ## E0 ## E1; }; \
567  struct { detail::_swizzle<4, T, Q, 0,1,0,2> E0 ## E1 ## E0 ## E2; }; \
568  struct { detail::_swizzle<4, T, Q, 0,1,0,3> E0 ## E1 ## E0 ## E3; }; \
569  struct { detail::_swizzle<4, T, Q, 0,1,1,0> E0 ## E1 ## E1 ## E0; }; \
570  struct { detail::_swizzle<4, T, Q, 0,1,1,1> E0 ## E1 ## E1 ## E1; }; \
571  struct { detail::_swizzle<4, T, Q, 0,1,1,2> E0 ## E1 ## E1 ## E2; }; \
572  struct { detail::_swizzle<4, T, Q, 0,1,1,3> E0 ## E1 ## E1 ## E3; }; \
573  struct { detail::_swizzle<4, T, Q, 0,1,2,0> E0 ## E1 ## E2 ## E0; }; \
574  struct { detail::_swizzle<4, T, Q, 0,1,2,1> E0 ## E1 ## E2 ## E1; }; \
575  struct { detail::_swizzle<4, T, Q, 0,1,2,2> E0 ## E1 ## E2 ## E2; }; \
576  struct { detail::_swizzle<4, T, Q, 0,1,2,3> E0 ## E1 ## E2 ## E3; }; \
577  struct { detail::_swizzle<4, T, Q, 0,1,3,0> E0 ## E1 ## E3 ## E0; }; \
578  struct { detail::_swizzle<4, T, Q, 0,1,3,1> E0 ## E1 ## E3 ## E1; }; \
579  struct { detail::_swizzle<4, T, Q, 0,1,3,2> E0 ## E1 ## E3 ## E2; }; \
580  struct { detail::_swizzle<4, T, Q, 0,1,3,3> E0 ## E1 ## E3 ## E3; }; \
581  struct { detail::_swizzle<4, T, Q, 0,2,0,0> E0 ## E2 ## E0 ## E0; }; \
582  struct { detail::_swizzle<4, T, Q, 0,2,0,1> E0 ## E2 ## E0 ## E1; }; \
583  struct { detail::_swizzle<4, T, Q, 0,2,0,2> E0 ## E2 ## E0 ## E2; }; \
584  struct { detail::_swizzle<4, T, Q, 0,2,0,3> E0 ## E2 ## E0 ## E3; }; \
585  struct { detail::_swizzle<4, T, Q, 0,2,1,0> E0 ## E2 ## E1 ## E0; }; \
586  struct { detail::_swizzle<4, T, Q, 0,2,1,1> E0 ## E2 ## E1 ## E1; }; \
587  struct { detail::_swizzle<4, T, Q, 0,2,1,2> E0 ## E2 ## E1 ## E2; }; \
588  struct { detail::_swizzle<4, T, Q, 0,2,1,3> E0 ## E2 ## E1 ## E3; }; \
589  struct { detail::_swizzle<4, T, Q, 0,2,2,0> E0 ## E2 ## E2 ## E0; }; \
590  struct { detail::_swizzle<4, T, Q, 0,2,2,1> E0 ## E2 ## E2 ## E1; }; \
591  struct { detail::_swizzle<4, T, Q, 0,2,2,2> E0 ## E2 ## E2 ## E2; }; \
592  struct { detail::_swizzle<4, T, Q, 0,2,2,3> E0 ## E2 ## E2 ## E3; }; \
593  struct { detail::_swizzle<4, T, Q, 0,2,3,0> E0 ## E2 ## E3 ## E0; }; \
594  struct { detail::_swizzle<4, T, Q, 0,2,3,1> E0 ## E2 ## E3 ## E1; }; \
595  struct { detail::_swizzle<4, T, Q, 0,2,3,2> E0 ## E2 ## E3 ## E2; }; \
596  struct { detail::_swizzle<4, T, Q, 0,2,3,3> E0 ## E2 ## E3 ## E3; }; \
597  struct { detail::_swizzle<4, T, Q, 0,3,0,0> E0 ## E3 ## E0 ## E0; }; \
598  struct { detail::_swizzle<4, T, Q, 0,3,0,1> E0 ## E3 ## E0 ## E1; }; \
599  struct { detail::_swizzle<4, T, Q, 0,3,0,2> E0 ## E3 ## E0 ## E2; }; \
600  struct { detail::_swizzle<4, T, Q, 0,3,0,3> E0 ## E3 ## E0 ## E3; }; \
601  struct { detail::_swizzle<4, T, Q, 0,3,1,0> E0 ## E3 ## E1 ## E0; }; \
602  struct { detail::_swizzle<4, T, Q, 0,3,1,1> E0 ## E3 ## E1 ## E1; }; \
603  struct { detail::_swizzle<4, T, Q, 0,3,1,2> E0 ## E3 ## E1 ## E2; }; \
604  struct { detail::_swizzle<4, T, Q, 0,3,1,3> E0 ## E3 ## E1 ## E3; }; \
605  struct { detail::_swizzle<4, T, Q, 0,3,2,0> E0 ## E3 ## E2 ## E0; }; \
606  struct { detail::_swizzle<4, T, Q, 0,3,2,1> E0 ## E3 ## E2 ## E1; }; \
607  struct { detail::_swizzle<4, T, Q, 0,3,2,2> E0 ## E3 ## E2 ## E2; }; \
608  struct { detail::_swizzle<4, T, Q, 0,3,2,3> E0 ## E3 ## E2 ## E3; }; \
609  struct { detail::_swizzle<4, T, Q, 0,3,3,0> E0 ## E3 ## E3 ## E0; }; \
610  struct { detail::_swizzle<4, T, Q, 0,3,3,1> E0 ## E3 ## E3 ## E1; }; \
611  struct { detail::_swizzle<4, T, Q, 0,3,3,2> E0 ## E3 ## E3 ## E2; }; \
612  struct { detail::_swizzle<4, T, Q, 0,3,3,3> E0 ## E3 ## E3 ## E3; }; \
613  struct { detail::_swizzle<4, T, Q, 1,0,0,0> E1 ## E0 ## E0 ## E0; }; \
614  struct { detail::_swizzle<4, T, Q, 1,0,0,1> E1 ## E0 ## E0 ## E1; }; \
615  struct { detail::_swizzle<4, T, Q, 1,0,0,2> E1 ## E0 ## E0 ## E2; }; \
616  struct { detail::_swizzle<4, T, Q, 1,0,0,3> E1 ## E0 ## E0 ## E3; }; \
617  struct { detail::_swizzle<4, T, Q, 1,0,1,0> E1 ## E0 ## E1 ## E0; }; \
618  struct { detail::_swizzle<4, T, Q, 1,0,1,1> E1 ## E0 ## E1 ## E1; }; \
619  struct { detail::_swizzle<4, T, Q, 1,0,1,2> E1 ## E0 ## E1 ## E2; }; \
620  struct { detail::_swizzle<4, T, Q, 1,0,1,3> E1 ## E0 ## E1 ## E3; }; \
621  struct { detail::_swizzle<4, T, Q, 1,0,2,0> E1 ## E0 ## E2 ## E0; }; \
622  struct { detail::_swizzle<4, T, Q, 1,0,2,1> E1 ## E0 ## E2 ## E1; }; \
623  struct { detail::_swizzle<4, T, Q, 1,0,2,2> E1 ## E0 ## E2 ## E2; }; \
624  struct { detail::_swizzle<4, T, Q, 1,0,2,3> E1 ## E0 ## E2 ## E3; }; \
625  struct { detail::_swizzle<4, T, Q, 1,0,3,0> E1 ## E0 ## E3 ## E0; }; \
626  struct { detail::_swizzle<4, T, Q, 1,0,3,1> E1 ## E0 ## E3 ## E1; }; \
627  struct { detail::_swizzle<4, T, Q, 1,0,3,2> E1 ## E0 ## E3 ## E2; }; \
628  struct { detail::_swizzle<4, T, Q, 1,0,3,3> E1 ## E0 ## E3 ## E3; }; \
629  struct { detail::_swizzle<4, T, Q, 1,1,0,0> E1 ## E1 ## E0 ## E0; }; \
630  struct { detail::_swizzle<4, T, Q, 1,1,0,1> E1 ## E1 ## E0 ## E1; }; \
631  struct { detail::_swizzle<4, T, Q, 1,1,0,2> E1 ## E1 ## E0 ## E2; }; \
632  struct { detail::_swizzle<4, T, Q, 1,1,0,3> E1 ## E1 ## E0 ## E3; }; \
633  struct { detail::_swizzle<4, T, Q, 1,1,1,0> E1 ## E1 ## E1 ## E0; }; \
634  struct { detail::_swizzle<4, T, Q, 1,1,1,1> E1 ## E1 ## E1 ## E1; }; \
635  struct { detail::_swizzle<4, T, Q, 1,1,1,2> E1 ## E1 ## E1 ## E2; }; \
636  struct { detail::_swizzle<4, T, Q, 1,1,1,3> E1 ## E1 ## E1 ## E3; }; \
637  struct { detail::_swizzle<4, T, Q, 1,1,2,0> E1 ## E1 ## E2 ## E0; }; \
638  struct { detail::_swizzle<4, T, Q, 1,1,2,1> E1 ## E1 ## E2 ## E1; }; \
639  struct { detail::_swizzle<4, T, Q, 1,1,2,2> E1 ## E1 ## E2 ## E2; }; \
640  struct { detail::_swizzle<4, T, Q, 1,1,2,3> E1 ## E1 ## E2 ## E3; }; \
641  struct { detail::_swizzle<4, T, Q, 1,1,3,0> E1 ## E1 ## E3 ## E0; }; \
642  struct { detail::_swizzle<4, T, Q, 1,1,3,1> E1 ## E1 ## E3 ## E1; }; \
643  struct { detail::_swizzle<4, T, Q, 1,1,3,2> E1 ## E1 ## E3 ## E2; }; \
644  struct { detail::_swizzle<4, T, Q, 1,1,3,3> E1 ## E1 ## E3 ## E3; }; \
645  struct { detail::_swizzle<4, T, Q, 1,2,0,0> E1 ## E2 ## E0 ## E0; }; \
646  struct { detail::_swizzle<4, T, Q, 1,2,0,1> E1 ## E2 ## E0 ## E1; }; \
647  struct { detail::_swizzle<4, T, Q, 1,2,0,2> E1 ## E2 ## E0 ## E2; }; \
648  struct { detail::_swizzle<4, T, Q, 1,2,0,3> E1 ## E2 ## E0 ## E3; }; \
649  struct { detail::_swizzle<4, T, Q, 1,2,1,0> E1 ## E2 ## E1 ## E0; }; \
650  struct { detail::_swizzle<4, T, Q, 1,2,1,1> E1 ## E2 ## E1 ## E1; }; \
651  struct { detail::_swizzle<4, T, Q, 1,2,1,2> E1 ## E2 ## E1 ## E2; }; \
652  struct { detail::_swizzle<4, T, Q, 1,2,1,3> E1 ## E2 ## E1 ## E3; }; \
653  struct { detail::_swizzle<4, T, Q, 1,2,2,0> E1 ## E2 ## E2 ## E0; }; \
654  struct { detail::_swizzle<4, T, Q, 1,2,2,1> E1 ## E2 ## E2 ## E1; }; \
655  struct { detail::_swizzle<4, T, Q, 1,2,2,2> E1 ## E2 ## E2 ## E2; }; \
656  struct { detail::_swizzle<4, T, Q, 1,2,2,3> E1 ## E2 ## E2 ## E3; }; \
657  struct { detail::_swizzle<4, T, Q, 1,2,3,0> E1 ## E2 ## E3 ## E0; }; \
658  struct { detail::_swizzle<4, T, Q, 1,2,3,1> E1 ## E2 ## E3 ## E1; }; \
659  struct { detail::_swizzle<4, T, Q, 1,2,3,2> E1 ## E2 ## E3 ## E2; }; \
660  struct { detail::_swizzle<4, T, Q, 1,2,3,3> E1 ## E2 ## E3 ## E3; }; \
661  struct { detail::_swizzle<4, T, Q, 1,3,0,0> E1 ## E3 ## E0 ## E0; }; \
662  struct { detail::_swizzle<4, T, Q, 1,3,0,1> E1 ## E3 ## E0 ## E1; }; \
663  struct { detail::_swizzle<4, T, Q, 1,3,0,2> E1 ## E3 ## E0 ## E2; }; \
664  struct { detail::_swizzle<4, T, Q, 1,3,0,3> E1 ## E3 ## E0 ## E3; }; \
665  struct { detail::_swizzle<4, T, Q, 1,3,1,0> E1 ## E3 ## E1 ## E0; }; \
666  struct { detail::_swizzle<4, T, Q, 1,3,1,1> E1 ## E3 ## E1 ## E1; }; \
667  struct { detail::_swizzle<4, T, Q, 1,3,1,2> E1 ## E3 ## E1 ## E2; }; \
668  struct { detail::_swizzle<4, T, Q, 1,3,1,3> E1 ## E3 ## E1 ## E3; }; \
669  struct { detail::_swizzle<4, T, Q, 1,3,2,0> E1 ## E3 ## E2 ## E0; }; \
670  struct { detail::_swizzle<4, T, Q, 1,3,2,1> E1 ## E3 ## E2 ## E1; }; \
671  struct { detail::_swizzle<4, T, Q, 1,3,2,2> E1 ## E3 ## E2 ## E2; }; \
672  struct { detail::_swizzle<4, T, Q, 1,3,2,3> E1 ## E3 ## E2 ## E3; }; \
673  struct { detail::_swizzle<4, T, Q, 1,3,3,0> E1 ## E3 ## E3 ## E0; }; \
674  struct { detail::_swizzle<4, T, Q, 1,3,3,1> E1 ## E3 ## E3 ## E1; }; \
675  struct { detail::_swizzle<4, T, Q, 1,3,3,2> E1 ## E3 ## E3 ## E2; }; \
676  struct { detail::_swizzle<4, T, Q, 1,3,3,3> E1 ## E3 ## E3 ## E3; }; \
677  struct { detail::_swizzle<4, T, Q, 2,0,0,0> E2 ## E0 ## E0 ## E0; }; \
678  struct { detail::_swizzle<4, T, Q, 2,0,0,1> E2 ## E0 ## E0 ## E1; }; \
679  struct { detail::_swizzle<4, T, Q, 2,0,0,2> E2 ## E0 ## E0 ## E2; }; \
680  struct { detail::_swizzle<4, T, Q, 2,0,0,3> E2 ## E0 ## E0 ## E3; }; \
681  struct { detail::_swizzle<4, T, Q, 2,0,1,0> E2 ## E0 ## E1 ## E0; }; \
682  struct { detail::_swizzle<4, T, Q, 2,0,1,1> E2 ## E0 ## E1 ## E1; }; \
683  struct { detail::_swizzle<4, T, Q, 2,0,1,2> E2 ## E0 ## E1 ## E2; }; \
684  struct { detail::_swizzle<4, T, Q, 2,0,1,3> E2 ## E0 ## E1 ## E3; }; \
685  struct { detail::_swizzle<4, T, Q, 2,0,2,0> E2 ## E0 ## E2 ## E0; }; \
686  struct { detail::_swizzle<4, T, Q, 2,0,2,1> E2 ## E0 ## E2 ## E1; }; \
687  struct { detail::_swizzle<4, T, Q, 2,0,2,2> E2 ## E0 ## E2 ## E2; }; \
688  struct { detail::_swizzle<4, T, Q, 2,0,2,3> E2 ## E0 ## E2 ## E3; }; \
689  struct { detail::_swizzle<4, T, Q, 2,0,3,0> E2 ## E0 ## E3 ## E0; }; \
690  struct { detail::_swizzle<4, T, Q, 2,0,3,1> E2 ## E0 ## E3 ## E1; }; \
691  struct { detail::_swizzle<4, T, Q, 2,0,3,2> E2 ## E0 ## E3 ## E2; }; \
692  struct { detail::_swizzle<4, T, Q, 2,0,3,3> E2 ## E0 ## E3 ## E3; }; \
693  struct { detail::_swizzle<4, T, Q, 2,1,0,0> E2 ## E1 ## E0 ## E0; }; \
694  struct { detail::_swizzle<4, T, Q, 2,1,0,1> E2 ## E1 ## E0 ## E1; }; \
695  struct { detail::_swizzle<4, T, Q, 2,1,0,2> E2 ## E1 ## E0 ## E2; }; \
696  struct { detail::_swizzle<4, T, Q, 2,1,0,3> E2 ## E1 ## E0 ## E3; }; \
697  struct { detail::_swizzle<4, T, Q, 2,1,1,0> E2 ## E1 ## E1 ## E0; }; \
698  struct { detail::_swizzle<4, T, Q, 2,1,1,1> E2 ## E1 ## E1 ## E1; }; \
699  struct { detail::_swizzle<4, T, Q, 2,1,1,2> E2 ## E1 ## E1 ## E2; }; \
700  struct { detail::_swizzle<4, T, Q, 2,1,1,3> E2 ## E1 ## E1 ## E3; }; \
701  struct { detail::_swizzle<4, T, Q, 2,1,2,0> E2 ## E1 ## E2 ## E0; }; \
702  struct { detail::_swizzle<4, T, Q, 2,1,2,1> E2 ## E1 ## E2 ## E1; }; \
703  struct { detail::_swizzle<4, T, Q, 2,1,2,2> E2 ## E1 ## E2 ## E2; }; \
704  struct { detail::_swizzle<4, T, Q, 2,1,2,3> E2 ## E1 ## E2 ## E3; }; \
705  struct { detail::_swizzle<4, T, Q, 2,1,3,0> E2 ## E1 ## E3 ## E0; }; \
706  struct { detail::_swizzle<4, T, Q, 2,1,3,1> E2 ## E1 ## E3 ## E1; }; \
707  struct { detail::_swizzle<4, T, Q, 2,1,3,2> E2 ## E1 ## E3 ## E2; }; \
708  struct { detail::_swizzle<4, T, Q, 2,1,3,3> E2 ## E1 ## E3 ## E3; }; \
709  struct { detail::_swizzle<4, T, Q, 2,2,0,0> E2 ## E2 ## E0 ## E0; }; \
710  struct { detail::_swizzle<4, T, Q, 2,2,0,1> E2 ## E2 ## E0 ## E1; }; \
711  struct { detail::_swizzle<4, T, Q, 2,2,0,2> E2 ## E2 ## E0 ## E2; }; \
712  struct { detail::_swizzle<4, T, Q, 2,2,0,3> E2 ## E2 ## E0 ## E3; }; \
713  struct { detail::_swizzle<4, T, Q, 2,2,1,0> E2 ## E2 ## E1 ## E0; }; \
714  struct { detail::_swizzle<4, T, Q, 2,2,1,1> E2 ## E2 ## E1 ## E1; }; \
715  struct { detail::_swizzle<4, T, Q, 2,2,1,2> E2 ## E2 ## E1 ## E2; }; \
716  struct { detail::_swizzle<4, T, Q, 2,2,1,3> E2 ## E2 ## E1 ## E3; }; \
717  struct { detail::_swizzle<4, T, Q, 2,2,2,0> E2 ## E2 ## E2 ## E0; }; \
718  struct { detail::_swizzle<4, T, Q, 2,2,2,1> E2 ## E2 ## E2 ## E1; }; \
719  struct { detail::_swizzle<4, T, Q, 2,2,2,2> E2 ## E2 ## E2 ## E2; }; \
720  struct { detail::_swizzle<4, T, Q, 2,2,2,3> E2 ## E2 ## E2 ## E3; }; \
721  struct { detail::_swizzle<4, T, Q, 2,2,3,0> E2 ## E2 ## E3 ## E0; }; \
722  struct { detail::_swizzle<4, T, Q, 2,2,3,1> E2 ## E2 ## E3 ## E1; }; \
723  struct { detail::_swizzle<4, T, Q, 2,2,3,2> E2 ## E2 ## E3 ## E2; }; \
724  struct { detail::_swizzle<4, T, Q, 2,2,3,3> E2 ## E2 ## E3 ## E3; }; \
725  struct { detail::_swizzle<4, T, Q, 2,3,0,0> E2 ## E3 ## E0 ## E0; }; \
726  struct { detail::_swizzle<4, T, Q, 2,3,0,1> E2 ## E3 ## E0 ## E1; }; \
727  struct { detail::_swizzle<4, T, Q, 2,3,0,2> E2 ## E3 ## E0 ## E2; }; \
728  struct { detail::_swizzle<4, T, Q, 2,3,0,3> E2 ## E3 ## E0 ## E3; }; \
729  struct { detail::_swizzle<4, T, Q, 2,3,1,0> E2 ## E3 ## E1 ## E0; }; \
730  struct { detail::_swizzle<4, T, Q, 2,3,1,1> E2 ## E3 ## E1 ## E1; }; \
731  struct { detail::_swizzle<4, T, Q, 2,3,1,2> E2 ## E3 ## E1 ## E2; }; \
732  struct { detail::_swizzle<4, T, Q, 2,3,1,3> E2 ## E3 ## E1 ## E3; }; \
733  struct { detail::_swizzle<4, T, Q, 2,3,2,0> E2 ## E3 ## E2 ## E0; }; \
734  struct { detail::_swizzle<4, T, Q, 2,3,2,1> E2 ## E3 ## E2 ## E1; }; \
735  struct { detail::_swizzle<4, T, Q, 2,3,2,2> E2 ## E3 ## E2 ## E2; }; \
736  struct { detail::_swizzle<4, T, Q, 2,3,2,3> E2 ## E3 ## E2 ## E3; }; \
737  struct { detail::_swizzle<4, T, Q, 2,3,3,0> E2 ## E3 ## E3 ## E0; }; \
738  struct { detail::_swizzle<4, T, Q, 2,3,3,1> E2 ## E3 ## E3 ## E1; }; \
739  struct { detail::_swizzle<4, T, Q, 2,3,3,2> E2 ## E3 ## E3 ## E2; }; \
740  struct { detail::_swizzle<4, T, Q, 2,3,3,3> E2 ## E3 ## E3 ## E3; }; \
741  struct { detail::_swizzle<4, T, Q, 3,0,0,0> E3 ## E0 ## E0 ## E0; }; \
742  struct { detail::_swizzle<4, T, Q, 3,0,0,1> E3 ## E0 ## E0 ## E1; }; \
743  struct { detail::_swizzle<4, T, Q, 3,0,0,2> E3 ## E0 ## E0 ## E2; }; \
744  struct { detail::_swizzle<4, T, Q, 3,0,0,3> E3 ## E0 ## E0 ## E3; }; \
745  struct { detail::_swizzle<4, T, Q, 3,0,1,0> E3 ## E0 ## E1 ## E0; }; \
746  struct { detail::_swizzle<4, T, Q, 3,0,1,1> E3 ## E0 ## E1 ## E1; }; \
747  struct { detail::_swizzle<4, T, Q, 3,0,1,2> E3 ## E0 ## E1 ## E2; }; \
748  struct { detail::_swizzle<4, T, Q, 3,0,1,3> E3 ## E0 ## E1 ## E3; }; \
749  struct { detail::_swizzle<4, T, Q, 3,0,2,0> E3 ## E0 ## E2 ## E0; }; \
750  struct { detail::_swizzle<4, T, Q, 3,0,2,1> E3 ## E0 ## E2 ## E1; }; \
751  struct { detail::_swizzle<4, T, Q, 3,0,2,2> E3 ## E0 ## E2 ## E2; }; \
752  struct { detail::_swizzle<4, T, Q, 3,0,2,3> E3 ## E0 ## E2 ## E3; }; \
753  struct { detail::_swizzle<4, T, Q, 3,0,3,0> E3 ## E0 ## E3 ## E0; }; \
754  struct { detail::_swizzle<4, T, Q, 3,0,3,1> E3 ## E0 ## E3 ## E1; }; \
755  struct { detail::_swizzle<4, T, Q, 3,0,3,2> E3 ## E0 ## E3 ## E2; }; \
756  struct { detail::_swizzle<4, T, Q, 3,0,3,3> E3 ## E0 ## E3 ## E3; }; \
757  struct { detail::_swizzle<4, T, Q, 3,1,0,0> E3 ## E1 ## E0 ## E0; }; \
758  struct { detail::_swizzle<4, T, Q, 3,1,0,1> E3 ## E1 ## E0 ## E1; }; \
759  struct { detail::_swizzle<4, T, Q, 3,1,0,2> E3 ## E1 ## E0 ## E2; }; \
760  struct { detail::_swizzle<4, T, Q, 3,1,0,3> E3 ## E1 ## E0 ## E3; }; \
761  struct { detail::_swizzle<4, T, Q, 3,1,1,0> E3 ## E1 ## E1 ## E0; }; \
762  struct { detail::_swizzle<4, T, Q, 3,1,1,1> E3 ## E1 ## E1 ## E1; }; \
763  struct { detail::_swizzle<4, T, Q, 3,1,1,2> E3 ## E1 ## E1 ## E2; }; \
764  struct { detail::_swizzle<4, T, Q, 3,1,1,3> E3 ## E1 ## E1 ## E3; }; \
765  struct { detail::_swizzle<4, T, Q, 3,1,2,0> E3 ## E1 ## E2 ## E0; }; \
766  struct { detail::_swizzle<4, T, Q, 3,1,2,1> E3 ## E1 ## E2 ## E1; }; \
767  struct { detail::_swizzle<4, T, Q, 3,1,2,2> E3 ## E1 ## E2 ## E2; }; \
768  struct { detail::_swizzle<4, T, Q, 3,1,2,3> E3 ## E1 ## E2 ## E3; }; \
769  struct { detail::_swizzle<4, T, Q, 3,1,3,0> E3 ## E1 ## E3 ## E0; }; \
770  struct { detail::_swizzle<4, T, Q, 3,1,3,1> E3 ## E1 ## E3 ## E1; }; \
771  struct { detail::_swizzle<4, T, Q, 3,1,3,2> E3 ## E1 ## E3 ## E2; }; \
772  struct { detail::_swizzle<4, T, Q, 3,1,3,3> E3 ## E1 ## E3 ## E3; }; \
773  struct { detail::_swizzle<4, T, Q, 3,2,0,0> E3 ## E2 ## E0 ## E0; }; \
774  struct { detail::_swizzle<4, T, Q, 3,2,0,1> E3 ## E2 ## E0 ## E1; }; \
775  struct { detail::_swizzle<4, T, Q, 3,2,0,2> E3 ## E2 ## E0 ## E2; }; \
776  struct { detail::_swizzle<4, T, Q, 3,2,0,3> E3 ## E2 ## E0 ## E3; }; \
777  struct { detail::_swizzle<4, T, Q, 3,2,1,0> E3 ## E2 ## E1 ## E0; }; \
778  struct { detail::_swizzle<4, T, Q, 3,2,1,1> E3 ## E2 ## E1 ## E1; }; \
779  struct { detail::_swizzle<4, T, Q, 3,2,1,2> E3 ## E2 ## E1 ## E2; }; \
780  struct { detail::_swizzle<4, T, Q, 3,2,1,3> E3 ## E2 ## E1 ## E3; }; \
781  struct { detail::_swizzle<4, T, Q, 3,2,2,0> E3 ## E2 ## E2 ## E0; }; \
782  struct { detail::_swizzle<4, T, Q, 3,2,2,1> E3 ## E2 ## E2 ## E1; }; \
783  struct { detail::_swizzle<4, T, Q, 3,2,2,2> E3 ## E2 ## E2 ## E2; }; \
784  struct { detail::_swizzle<4, T, Q, 3,2,2,3> E3 ## E2 ## E2 ## E3; }; \
785  struct { detail::_swizzle<4, T, Q, 3,2,3,0> E3 ## E2 ## E3 ## E0; }; \
786  struct { detail::_swizzle<4, T, Q, 3,2,3,1> E3 ## E2 ## E3 ## E1; }; \
787  struct { detail::_swizzle<4, T, Q, 3,2,3,2> E3 ## E2 ## E3 ## E2; }; \
788  struct { detail::_swizzle<4, T, Q, 3,2,3,3> E3 ## E2 ## E3 ## E3; }; \
789  struct { detail::_swizzle<4, T, Q, 3,3,0,0> E3 ## E3 ## E0 ## E0; }; \
790  struct { detail::_swizzle<4, T, Q, 3,3,0,1> E3 ## E3 ## E0 ## E1; }; \
791  struct { detail::_swizzle<4, T, Q, 3,3,0,2> E3 ## E3 ## E0 ## E2; }; \
792  struct { detail::_swizzle<4, T, Q, 3,3,0,3> E3 ## E3 ## E0 ## E3; }; \
793  struct { detail::_swizzle<4, T, Q, 3,3,1,0> E3 ## E3 ## E1 ## E0; }; \
794  struct { detail::_swizzle<4, T, Q, 3,3,1,1> E3 ## E3 ## E1 ## E1; }; \
795  struct { detail::_swizzle<4, T, Q, 3,3,1,2> E3 ## E3 ## E1 ## E2; }; \
796  struct { detail::_swizzle<4, T, Q, 3,3,1,3> E3 ## E3 ## E1 ## E3; }; \
797  struct { detail::_swizzle<4, T, Q, 3,3,2,0> E3 ## E3 ## E2 ## E0; }; \
798  struct { detail::_swizzle<4, T, Q, 3,3,2,1> E3 ## E3 ## E2 ## E1; }; \
799  struct { detail::_swizzle<4, T, Q, 3,3,2,2> E3 ## E3 ## E2 ## E2; }; \
800  struct { detail::_swizzle<4, T, Q, 3,3,2,3> E3 ## E3 ## E2 ## E3; }; \
801  struct { detail::_swizzle<4, T, Q, 3,3,3,0> E3 ## E3 ## E3 ## E0; }; \
802  struct { detail::_swizzle<4, T, Q, 3,3,3,1> E3 ## E3 ## E3 ## E1; }; \
803  struct { detail::_swizzle<4, T, Q, 3,3,3,2> E3 ## E3 ## E3 ## E2; }; \
804  struct { detail::_swizzle<4, T, Q, 3,3,3,3> E3 ## E3 ## E3 ## E3; };
GLM_FUNC_DECL GLM_CONSTEXPR genType e()
Return e constant.
+
Definition: common.hpp:20
diff --git a/doc/api/a00015.html b/doc/api/a00015.html deleted file mode 100644 index c1161245..00000000 --- a/doc/api/a00015.html +++ /dev/null @@ -1,267 +0,0 @@ - - - - - - -0.9.9 API documenation: common.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
common.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename genType >
GLM_FUNC_DECL genType abs (genType x)
 Returns x if x >= 0; otherwise, it returns -x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > abs (vec< L, T, Q > const &x)
 Returns x if x >= 0; otherwise, it returns -x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceil (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer that is greater than or equal to x. More...
 
template<typename genType >
GLM_FUNC_DECL genType clamp (genType x, genType minVal, genType maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > clamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > clamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal. More...
 
GLM_FUNC_DECL int floatBitsToInt (float const &v)
 Returns a signed integer value representing the encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt (vec< L, float, Q > const &v)
 Returns a signed integer value representing the encoding of a floating-point value. More...
 
GLM_FUNC_DECL uint floatBitsToUint (float const &v)
 Returns a unsigned integer value representing the encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint (vec< L, float, Q > const &v)
 Returns a unsigned integer value representing the encoding of a floating-point value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floor (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer that is less then or equal to x. More...
 
template<typename genType >
GLM_FUNC_DECL genType fma (genType const &a, genType const &b, genType const &c)
 Computes and returns a * b + c. More...
 
template<typename genType >
GLM_FUNC_DECL genType fract (genType x)
 Return x - floor(x). More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fract (vec< L, T, Q > const &x)
 Return x - floor(x). More...
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType frexp (genType const &x, genIType &exp)
 Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two, such that: x = significand * exp(2, exponent) More...
 
GLM_FUNC_DECL float intBitsToFloat (int const &v)
 Returns a floating-point value corresponding to a signed integer encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat (vec< L, int, Q > const &v)
 Returns a floating-point value corresponding to a signed integer encoding of a floating-point value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isinf (vec< L, T, Q > const &x)
 Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isnan (vec< L, T, Q > const &x)
 Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. More...
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType ldexp (genType const &x, genIType const &exp)
 Builds a floating-point number from x and the corresponding integral exponent of two in exp, returning: significand * exp(2, exponent) More...
 
template<typename genType >
GLM_FUNC_DECL genType max (genType x, genType y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > max (vec< L, T, Q > const &x, T y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<typename genType >
GLM_FUNC_DECL genType min (genType x, genType y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > min (vec< L, T, Q > const &x, T y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > min (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT mix (genTypeT x, genTypeT y, genTypeU a)
 If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mod (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Modulus. More...
 
template<typename genType >
GLM_FUNC_DECL genType modf (genType x, genType &i)
 Returns the fractional part of x and sets i to the integer part (as a whole number floating point value). More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > round (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundEven (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x)
 Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0. More...
 
template<typename genType >
GLM_FUNC_DECL genType smoothstep (genType edge0, genType edge1, genType x)
 Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1. More...
 
template<typename genType >
GLM_FUNC_DECL genType step (genType edge, genType x)
 Returns 0.0 if x < edge, otherwise it returns 1.0 for each component of a genType. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (T edge, vec< L, T, Q > const &x)
 Returns 0.0 if x < edge, otherwise it returns 1.0. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (vec< L, T, Q > const &edge, vec< L, T, Q > const &x)
 Returns 0.0 if x < edge, otherwise it returns 1.0. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > trunc (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x. More...
 
GLM_FUNC_DECL float uintBitsToFloat (uint const &v)
 Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat (vec< L, uint, Q > const &v)
 Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value. More...
 
-

Detailed Description

-
- - - - diff --git a/doc/api/a00015_source.html b/doc/api/a00015_source.html deleted file mode 100644 index 3a5f2691..00000000 --- a/doc/api/a00015_source.html +++ /dev/null @@ -1,277 +0,0 @@ - - - - - - -0.9.9 API documenation: common.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
common.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #include "detail/setup.hpp"
-
16 #include "detail/qualifier.hpp"
-
17 #include "detail/type_int.hpp"
-
18 #include "detail/_fixes.hpp"
-
19 
-
20 namespace glm
-
21 {
-
24 
-
32  template<typename genType>
-
33  GLM_FUNC_DECL genType abs(genType x);
-
34 
-
43  template<length_t L, typename T, qualifier Q>
-
44  GLM_FUNC_DECL vec<L, T, Q> abs(vec<L, T, Q> const& x);
-
45 
-
54  template<length_t L, typename T, qualifier Q>
-
55  GLM_FUNC_DECL vec<L, T, Q> sign(vec<L, T, Q> const& x);
-
56 
-
65  template<length_t L, typename T, qualifier Q>
-
66  GLM_FUNC_DECL vec<L, T, Q> floor(vec<L, T, Q> const& x);
-
67 
-
77  template<length_t L, typename T, qualifier Q>
-
78  GLM_FUNC_DECL vec<L, T, Q> trunc(vec<L, T, Q> const& x);
-
79 
-
92  template<length_t L, typename T, qualifier Q>
-
93  GLM_FUNC_DECL vec<L, T, Q> round(vec<L, T, Q> const& x);
-
94 
-
106  template<length_t L, typename T, qualifier Q>
-
107  GLM_FUNC_DECL vec<L, T, Q> roundEven(vec<L, T, Q> const& x);
-
108 
-
118  template<length_t L, typename T, qualifier Q>
-
119  GLM_FUNC_DECL vec<L, T, Q> ceil(vec<L, T, Q> const& x);
-
120 
-
127  template<typename genType>
-
128  GLM_FUNC_DECL genType fract(genType x);
-
129 
-
138  template<length_t L, typename T, qualifier Q>
-
139  GLM_FUNC_DECL vec<L, T, Q> fract(vec<L, T, Q> const& x);
-
140 
-
141  template<typename genType>
-
142  GLM_FUNC_DECL genType mod(genType x, genType y);
-
143 
-
144  template<length_t L, typename T, qualifier Q>
-
145  GLM_FUNC_DECL vec<L, T, Q> mod(vec<L, T, Q> const& x, T y);
-
146 
-
156  template<length_t L, typename T, qualifier Q>
-
157  GLM_FUNC_DECL vec<L, T, Q> mod(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
158 
-
168  template<typename genType>
-
169  GLM_FUNC_DECL genType modf(genType x, genType& i);
-
170 
-
177  template<typename genType>
-
178  GLM_FUNC_DECL genType min(genType x, genType y);
-
179 
-
188  template<length_t L, typename T, qualifier Q>
-
189  GLM_FUNC_DECL vec<L, T, Q> min(vec<L, T, Q> const& x, T y);
-
190 
-
199  template<length_t L, typename T, qualifier Q>
-
200  GLM_FUNC_DECL vec<L, T, Q> min(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
201 
-
208  template<typename genType>
-
209  GLM_FUNC_DECL genType max(genType x, genType y);
-
210 
-
219  template<length_t L, typename T, qualifier Q>
-
220  GLM_FUNC_DECL vec<L, T, Q> max(vec<L, T, Q> const& x, T y);
-
221 
-
230  template<length_t L, typename T, qualifier Q>
-
231  GLM_FUNC_DECL vec<L, T, Q> max(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
232 
-
240  template<typename genType>
-
241  GLM_FUNC_DECL genType clamp(genType x, genType minVal, genType maxVal);
-
242 
-
252  template<length_t L, typename T, qualifier Q>
-
253  GLM_FUNC_DECL vec<L, T, Q> clamp(vec<L, T, Q> const& x, T minVal, T maxVal);
-
254 
-
264  template<length_t L, typename T, qualifier Q>
-
265  GLM_FUNC_DECL vec<L, T, Q> clamp(vec<L, T, Q> const& x, vec<L, T, Q> const& minVal, vec<L, T, Q> const& maxVal);
-
266 
-
309  template<typename genTypeT, typename genTypeU>
-
310  GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a);
-
311 
-
312  template<length_t L, typename T, typename U, qualifier Q>
-
313  GLM_FUNC_DECL vec<L, T, Q> mix(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, U, Q> const& a);
-
314 
-
315  template<length_t L, typename T, typename U, qualifier Q>
-
316  GLM_FUNC_DECL vec<L, T, Q> mix(vec<L, T, Q> const& x, vec<L, T, Q> const& y, U a);
-
317 
-
322  template<typename genType>
-
323  GLM_FUNC_DECL genType step(genType edge, genType x);
-
324 
-
333  template<length_t L, typename T, qualifier Q>
-
334  GLM_FUNC_DECL vec<L, T, Q> step(T edge, vec<L, T, Q> const& x);
-
335 
-
344  template<length_t L, typename T, qualifier Q>
-
345  GLM_FUNC_DECL vec<L, T, Q> step(vec<L, T, Q> const& edge, vec<L, T, Q> const& x);
-
346 
-
361  template<typename genType>
-
362  GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x);
-
363 
-
364  template<length_t L, typename T, qualifier Q>
-
365  GLM_FUNC_DECL vec<L, T, Q> smoothstep(T edge0, T edge1, vec<L, T, Q> const& x);
-
366 
-
367  template<length_t L, typename T, qualifier Q>
-
368  GLM_FUNC_DECL vec<L, T, Q> smoothstep(vec<L, T, Q> const& edge0, vec<L, T, Q> const& edge1, vec<L, T, Q> const& x);
-
369 
-
384  template<length_t L, typename T, qualifier Q>
-
385  GLM_FUNC_DECL vec<L, bool, Q> isnan(vec<L, T, Q> const& x);
-
386 
-
399  template<length_t L, typename T, qualifier Q>
-
400  GLM_FUNC_DECL vec<L, bool, Q> isinf(vec<L, T, Q> const& x);
-
401 
-
408  GLM_FUNC_DECL int floatBitsToInt(float const& v);
-
409 
-
419  template<length_t L, qualifier Q>
-
420  GLM_FUNC_DECL vec<L, int, Q> floatBitsToInt(vec<L, float, Q> const& v);
-
421 
-
428  GLM_FUNC_DECL uint floatBitsToUint(float const& v);
-
429 
-
439  template<length_t L, qualifier Q>
-
440  GLM_FUNC_DECL vec<L, uint, Q> floatBitsToUint(vec<L, float, Q> const& v);
-
441 
-
450  GLM_FUNC_DECL float intBitsToFloat(int const& v);
-
451 
-
463  template<length_t L, qualifier Q>
-
464  GLM_FUNC_DECL vec<L, float, Q> intBitsToFloat(vec<L, int, Q> const& v);
-
465 
-
474  GLM_FUNC_DECL float uintBitsToFloat(uint const& v);
-
475 
-
487  template<length_t L, qualifier Q>
-
488  GLM_FUNC_DECL vec<L, float, Q> uintBitsToFloat(vec<L, uint, Q> const& v);
-
489 
-
496  template<typename genType>
-
497  GLM_FUNC_DECL genType fma(genType const& a, genType const& b, genType const& c);
-
498 
-
513  template<typename genType, typename genIType>
-
514  GLM_FUNC_DECL genType frexp(genType const& x, genIType& exp);
-
515 
-
527  template<typename genType, typename genIType>
-
528  GLM_FUNC_DECL genType ldexp(genType const& x, genIType const& exp);
-
529 
-
531 }//namespace glm
-
532 
-
533 #include "detail/func_common.inl"
-
534 
-
GLM_FUNC_DECL vec< L, T, Q > trunc(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolut...
-
GLM_FUNC_DECL vec< L, T, Q > sign(vec< L, T, Q > const &x)
Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.
-
GLM_FUNC_DECL vec< L, T, Q > floor(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is less then or equal to x.
-
GLM_FUNC_DECL genType frexp(genType const &x, genIType &exp)
Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two...
-
GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat(vec< L, int, Q > const &v)
Returns a floating-point value corresponding to a signed integer encoding of a floating-point value...
-
GLM_FUNC_DECL vec< L, T, Q > round(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
-
GLM_FUNC_DECL vec< L, T, Q > mod(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Modulus.
-
Core features
-
GLM_FUNC_DECL genType fma(genType const &a, genType const &b, genType const &c)
Computes and returns a * b + c.
-
GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat(vec< L, uint, Q > const &v)
Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt(vec< L, float, Q > const &v)
Returns a signed integer value representing the encoding of a floating-point value.
-
GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint(vec< L, float, Q > const &v)
Returns a unsigned integer value representing the encoding of a floating-point value.
-
GLM_FUNC_DECL vec< L, T, Q > ceil(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer that is greater than or equal to x.
-
GLM_FUNC_DECL vec< L, T, Q > max(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns y if x < y; otherwise, it returns x.
-
GLM_FUNC_DECL vec< L, T, Q > exp(vec< L, T, Q > const &v)
Returns the natural exponentiation of x, i.e., e^x.
-
GLM_FUNC_DECL genType ldexp(genType const &x, genIType const &exp)
Builds a floating-point number from x and the corresponding integral exponent of two in exp...
-
GLM_FUNC_DECL vec< L, bool, Q > isinf(vec< L, T, Q > const &x)
Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...
-
GLM_FUNC_DECL vec< L, bool, Q > isnan(vec< L, T, Q > const &x)
Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of...
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
GLM_FUNC_DECL genType modf(genType x, genType &i)
Returns the fractional part of x and sets i to the integer part (as a whole number floating point val...
-
GLM_FUNC_DECL vec< L, T, Q > fract(vec< L, T, Q > const &x)
Return x - floor(x).
-
GLM_FUNC_DECL vec< L, T, Q > clamp(vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...
-
GLM_FUNC_DECL vec< L, T, Q > roundEven(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
-
GLM_FUNC_DECL vec< L, T, Q > min(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns y if y < x; otherwise, it returns x.
-
GLM_FUNC_DECL vec< L, T, Q > abs(vec< L, T, Q > const &x)
Returns x if x >= 0; otherwise, it returns -x.
-
GLM_FUNC_DECL genType smoothstep(genType edge0, genType edge1, genType x)
Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 a...
-
Core features
-
GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a)
If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > step(vec< L, T, Q > const &edge, vec< L, T, Q > const &x)
Returns 0.0 if x < edge, otherwise it returns 1.0.
-
Core features
-
- - - - diff --git a/doc/api/a00016_source.html b/doc/api/a00016_source.html deleted file mode 100644 index 9532a3fa..00000000 --- a/doc/api/a00016_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -0.9.9 API documenation: common.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
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 experimental 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<length_t L, typename T, qualifier Q>
-
51  GLM_FUNC_DECL vec<L, T, Q> fmod(vec<L, T, Q> const& v);
-
52 
-
60  template <length_t L, typename T, qualifier Q>
-
61  GLM_FUNC_DECL vec<L, bool, Q> openBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
-
62 
-
70  template <length_t L, typename T, qualifier Q>
-
71  GLM_FUNC_DECL vec<L, bool, Q> closeBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
-
72 
-
74 }//namespace glm
-
75 
-
76 #include "common.inl"
-
GLM_FUNC_DECL vec< L, bool, Q > openBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
-
Definition: common.hpp:20
-
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_FUNC_DECL vec< L, T, Q > fmod(vec< L, T, Q > const &v)
Similar to 'mod' but with a different rounding and integer support.
-
GLM_FUNC_DECL vec< L, bool, Q > closeBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
-
- - - - diff --git a/doc/api/a00017.html b/doc/api/a00017.html deleted file mode 100644 index 0aca206b..00000000 --- a/doc/api/a00017.html +++ /dev/null @@ -1,443 +0,0 @@ - - - - - - -0.9.9 API documenation: compatibility.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
compatibility.hpp File Reference
-
-
- -

GLM_GTX_compatibility -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef bool bool1
 boolean type with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef bool bool1x1
 boolean matrix with 1 x 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, bool, highp > bool2
 boolean type with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, bool, highp > bool2x2
 boolean matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, bool, highp > bool2x3
 boolean matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, bool, highp > bool2x4
 boolean matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, bool, highp > bool3
 boolean type with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, bool, highp > bool3x2
 boolean matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, bool, highp > bool3x3
 boolean matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, bool, highp > bool3x4
 boolean matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, bool, highp > bool4
 boolean type with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, bool, highp > bool4x2
 boolean matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, bool, highp > bool4x3
 boolean matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, bool, highp > bool4x4
 boolean matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef double double1
 double-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef double double1x1
 double-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, double, highp > double2
 double-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, double, highp > double2x2
 double-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, double, highp > double2x3
 double-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, double, highp > double2x4
 double-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, double, highp > double3
 double-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, double, highp > double3x2
 double-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, double, highp > double3x3
 double-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, double, highp > double3x4
 double-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, double, highp > double4
 double-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, double, highp > double4x2
 double-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, double, highp > double4x3
 double-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, double, highp > double4x4
 double-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef float float1
 single-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef float float1x1
 single-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, float, highp > float2
 single-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, float, highp > float2x2
 single-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, float, highp > float2x3
 single-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, float, highp > float2x4
 single-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, float, highp > float3
 single-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, float, highp > float3x2
 single-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, float, highp > float3x3
 single-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, float, highp > float3x4
 single-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, float, highp > float4
 single-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, float, highp > float4x2
 single-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, float, highp > float4x3
 single-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, float, highp > float4x4
 single-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef int int1
 integer vector with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef int int1x1
 integer matrix with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, int, highp > int2
 integer vector with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, int, highp > int2x2
 integer matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, int, highp > int2x3
 integer matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, int, highp > int2x4
 integer matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, int, highp > int3
 integer vector with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, int, highp > int3x2
 integer matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, int, highp > int3x3
 integer matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, int, highp > int3x4
 integer matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, int, highp > int4
 integer vector with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, int, highp > int4x2
 integer matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, int, highp > int4x3
 integer matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, int, highp > int4x4
 integer matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T atan2 (T x, T y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > atan2 (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > atan2 (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2 (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename genType >
GLM_FUNC_DECL bool isfinite (genType const &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, bool, Q > isfinite (const vec< 1, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, bool, Q > isfinite (const vec< 2, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, bool, Q > isfinite (const vec< 3, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isfinite (const vec< 4, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T >
GLM_FUNC_QUALIFIER T lerp (T x, T y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, const vec< 2, T, Q > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, const vec< 3, T, Q > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, const vec< 4, T, Q > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T saturate (T x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > saturate (const vec< 2, T, Q > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > saturate (const vec< 3, T, Q > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > saturate (const vec< 4, T, Q > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-

Detailed Description

-

GLM_GTX_compatibility

-
See also
Core features (dependence)
- -

Definition in file compatibility.hpp.

-
- - - - diff --git a/doc/api/a00017_source.html b/doc/api/a00017_source.html index 29fd740f..ecc1f01d 100644 --- a/doc/api/a00017_source.html +++ b/doc/api/a00017_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: compatibility.hpp Source File + + +0.9.9 API documenation: _swizzle_func.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
compatibility.hpp
+
_swizzle_func.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 #include "../gtc/quaternion.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_compatibility extension included")
-
25 #endif
-
26 
-
27 #if GLM_COMPILER & GLM_COMPILER_VC
-
28 # include <cfloat>
-
29 #elif GLM_COMPILER & GLM_COMPILER_GCC
-
30 # include <cmath>
-
31 # if(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
-
32 # undef isfinite
-
33 # endif
-
34 #endif//GLM_COMPILER
-
35 
-
36 namespace glm
-
37 {
-
40 
-
41  template<typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);}
-
42  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> lerp(const vec<2, T, Q>& x, const vec<2, T, Q>& y, T a){return mix(x, y, a);}
-
43 
-
44  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> lerp(const vec<3, T, Q>& x, const vec<3, T, Q>& y, T a){return mix(x, y, a);}
-
45  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> lerp(const vec<4, T, Q>& x, const vec<4, T, Q>& y, T a){return mix(x, y, a);}
-
46  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> lerp(const vec<2, T, Q>& x, const vec<2, T, Q>& y, const vec<2, T, Q>& a){return mix(x, y, a);}
-
47  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> lerp(const vec<3, T, Q>& x, const vec<3, T, Q>& y, const vec<3, T, Q>& a){return mix(x, y, a);}
-
48  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> lerp(const vec<4, T, Q>& x, const vec<4, T, Q>& y, const vec<4, T, Q>& a){return mix(x, y, a);}
-
49 
-
50  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER T saturate(T x){return clamp(x, T(0), T(1));}
-
51  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> saturate(const vec<2, T, Q>& x){return clamp(x, T(0), T(1));}
-
52  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> saturate(const vec<3, T, Q>& x){return clamp(x, T(0), T(1));}
-
53  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> saturate(const vec<4, T, Q>& x){return clamp(x, T(0), T(1));}
-
54 
-
55  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER T atan2(T x, T y){return atan(x, y);}
-
56  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> atan2(const vec<2, T, Q>& x, const vec<2, T, Q>& y){return atan(x, y);}
-
57  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> atan2(const vec<3, T, Q>& x, const vec<3, T, Q>& y){return atan(x, y);}
-
58  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> atan2(const vec<4, T, Q>& x, const vec<4, T, Q>& y){return atan(x, y);}
-
59 
-
60  template<typename genType> GLM_FUNC_DECL bool isfinite(genType const& x);
-
61  template<typename T, qualifier Q> GLM_FUNC_DECL vec<1, bool, Q> isfinite(const vec<1, T, Q>& x);
-
62  template<typename T, qualifier Q> GLM_FUNC_DECL vec<2, bool, Q> isfinite(const vec<2, T, Q>& x);
-
63  template<typename T, qualifier Q> GLM_FUNC_DECL vec<3, bool, Q> isfinite(const vec<3, T, Q>& x);
-
64  template<typename T, qualifier Q> GLM_FUNC_DECL vec<4, bool, Q> isfinite(const vec<4, T, Q>& x);
-
65 
-
66  typedef bool bool1;
-
67  typedef vec<2, bool, highp> bool2;
-
68  typedef vec<3, bool, highp> bool3;
-
69  typedef vec<4, bool, highp> bool4;
-
70 
-
71  typedef bool bool1x1;
-
72  typedef mat<2, 2, bool, highp> bool2x2;
-
73  typedef mat<2, 3, bool, highp> bool2x3;
-
74  typedef mat<2, 4, bool, highp> bool2x4;
-
75  typedef mat<3, 2, bool, highp> bool3x2;
-
76  typedef mat<3, 3, bool, highp> bool3x3;
-
77  typedef mat<3, 4, bool, highp> bool3x4;
-
78  typedef mat<4, 2, bool, highp> bool4x2;
-
79  typedef mat<4, 3, bool, highp> bool4x3;
-
80  typedef mat<4, 4, bool, highp> bool4x4;
-
81 
-
82  typedef int int1;
-
83  typedef vec<2, int, highp> int2;
-
84  typedef vec<3, int, highp> int3;
-
85  typedef vec<4, int, highp> int4;
-
86 
-
87  typedef int int1x1;
-
88  typedef mat<2, 2, int, highp> int2x2;
-
89  typedef mat<2, 3, int, highp> int2x3;
-
90  typedef mat<2, 4, int, highp> int2x4;
-
91  typedef mat<3, 2, int, highp> int3x2;
-
92  typedef mat<3, 3, int, highp> int3x3;
-
93  typedef mat<3, 4, int, highp> int3x4;
-
94  typedef mat<4, 2, int, highp> int4x2;
-
95  typedef mat<4, 3, int, highp> int4x3;
-
96  typedef mat<4, 4, int, highp> int4x4;
-
97 
-
98  typedef float float1;
-
99  typedef vec<2, float, highp> float2;
-
100  typedef vec<3, float, highp> float3;
-
101  typedef vec<4, float, highp> float4;
-
102 
-
103  typedef float float1x1;
-
104  typedef mat<2, 2, float, highp> float2x2;
-
105  typedef mat<2, 3, float, highp> float2x3;
-
106  typedef mat<2, 4, float, highp> float2x4;
-
107  typedef mat<3, 2, float, highp> float3x2;
-
108  typedef mat<3, 3, float, highp> float3x3;
-
109  typedef mat<3, 4, float, highp> float3x4;
-
110  typedef mat<4, 2, float, highp> float4x2;
-
111  typedef mat<4, 3, float, highp> float4x3;
-
112  typedef mat<4, 4, float, highp> float4x4;
-
113 
-
114  typedef double double1;
-
115  typedef vec<2, double, highp> double2;
-
116  typedef vec<3, double, highp> double3;
-
117  typedef vec<4, double, highp> double4;
-
118 
-
119  typedef double double1x1;
-
120  typedef mat<2, 2, double, highp> double2x2;
-
121  typedef mat<2, 3, double, highp> double2x3;
-
122  typedef mat<2, 4, double, highp> double2x4;
-
123  typedef mat<3, 2, double, highp> double3x2;
-
124  typedef mat<3, 3, double, highp> double3x3;
-
125  typedef mat<3, 4, double, highp> double3x4;
-
126  typedef mat<4, 2, double, highp> double4x2;
-
127  typedef mat<4, 3, double, highp> double4x3;
-
128  typedef mat<4, 4, double, highp> double4x4;
-
129 
-
131 }//namespace glm
-
132 
-
133 #include "compatibility.inl"
-
mat< 2, 2, bool, highp > bool2x2
boolean matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
-
vec< 3, double, highp > double3
double-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension) ...
-
bool bool1x1
boolean matrix with 1 x 1 component. (From GLM_GTX_compatibility extension)
-
mat< 2, 2, int, highp > int2x2
integer matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
-
mat< 3, 4, bool, highp > bool3x4
boolean matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
-
GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2(const vec< 4, T, Q > &x, const vec< 4, T, Q > &y)
Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what q...
-
mat< 2, 4, float, highp > float2x4
single-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension) ...
-
mat< 3, 4, float, highp > float3x4
single-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension) ...
-
vec< 4, bool, highp > bool4
boolean type with 4 components. (From GLM_GTX_compatibility extension)
-
float float1
single-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension) ...
-
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp(const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, const vec< 4, T, Q > &a)
Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using v...
-
mat< 2, 3, bool, highp > bool2x3
boolean matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
-
mat< 2, 4, int, highp > int2x4
integer matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
-
double double1
double-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension) ...
-
mat< 2, 4, double, highp > double2x4
double-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension) ...
-
mat< 3, 4, double, highp > double3x4
double-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension) ...
-
mat< 4, 2, bool, highp > bool4x2
boolean matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
-
mat< 3, 3, double, highp > double3x3
double-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension) ...
-
vec< 2, bool, highp > bool2
boolean type with 2 components. (From GLM_GTX_compatibility extension)
-
GLM_FUNC_DECL vec< L, T, Q > atan(vec< L, T, Q > const &y, vec< L, T, Q > const &x)
Arc tangent.
-
GLM_FUNC_DECL genType clamp(genType x, genType minVal, genType maxVal)
Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...
-
mat< 3, 2, int, highp > int3x2
integer matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
-
mat< 3, 3, int, highp > int3x3
integer matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
-
mat< 4, 3, int, highp > int4x3
integer matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
-
mat< 3, 4, int, highp > int3x4
integer matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
-
Definition: common.hpp:20
-
mat< 3, 3, float, highp > float3x3
single-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension) ...
-
double double1x1
double-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension) ...
-
mat< 2, 3, double, highp > double2x3
double-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension) ...
-
mat< 4, 2, double, highp > double4x2
double-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension) ...
-
mat< 2, 4, bool, highp > bool2x4
boolean matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
-
mat< 3, 2, float, highp > float3x2
single-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) ...
-
mat< 4, 3, bool, highp > bool4x3
boolean matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
-
mat< 4, 2, int, highp > int4x2
integer matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
-
GLM_FUNC_DECL vec< 4, bool, Q > isfinite(const vec< 4, T, Q > &x)
Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)...
-
vec< 3, int, highp > int3
integer vector with 3 components. (From GLM_GTX_compatibility extension)
-
mat< 4, 3, double, highp > double4x3
double-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) ...
-
mat< 2, 2, float, highp > float2x2
single-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension) ...
-
vec< 4, float, highp > float4
single-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension) ...
-
vec< 2, int, highp > int2
integer vector with 2 components. (From GLM_GTX_compatibility extension)
-
mat< 3, 2, double, highp > double3x2
double-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) ...
-
vec< 3, bool, highp > bool3
boolean type with 3 components. (From GLM_GTX_compatibility extension)
-
mat< 4, 2, float, highp > float4x2
single-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension) ...
-
mat< 3, 3, bool, highp > bool3x3
boolean matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
-
int int1
integer vector with 1 component. (From GLM_GTX_compatibility extension)
-
mat< 2, 3, int, highp > int2x3
integer matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
-
mat< 4, 3, float, highp > float4x3
single-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) ...
-
vec< 4, int, highp > int4
integer vector with 4 components. (From GLM_GTX_compatibility extension)
-
vec< 3, float, highp > float3
single-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension) ...
-
mat< 2, 3, float, highp > float2x3
single-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension) ...
-
float float1x1
single-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension) ...
-
mat< 4, 4, int, highp > int4x4
integer matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
-
bool bool1
boolean type with 1 component. (From GLM_GTX_compatibility extension)
-
vec< 4, double, highp > double4
double-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension) ...
-
vec< 2, double, highp > double2
double-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension) ...
-
mat< 3, 2, bool, highp > bool3x2
boolean matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
-
GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a)
If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...
-
mat< 4, 4, double, highp > double4x4
double-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension) ...
-
mat< 4, 4, float, highp > float4x4
single-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension) ...
-
int int1x1
integer matrix with 1 component. (From GLM_GTX_compatibility extension)
-
mat< 2, 2, double, highp > double2x2
double-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension) ...
-
mat< 4, 4, bool, highp > bool4x4
boolean matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
-
vec< 2, float, highp > float2
single-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension) ...
-
GLM_FUNC_QUALIFIER vec< 4, T, Q > saturate(const vec< 4, T, Q > &x)
Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
-
+
1 #pragma once
2 
3 #define GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, CONST, A, B) \
4  vec<2, T, Q> A ## B() CONST \
5  { \
6  return vec<2, T, Q>(this->A, this->B); \
7  }
8 
9 #define GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, CONST, A, B, C) \
10  vec<3, T, Q> A ## B ## C() CONST \
11  { \
12  return vec<3, T, Q>(this->A, this->B, this->C); \
13  }
14 
15 #define GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, CONST, A, B, C, D) \
16  vec<4, T, Q> A ## B ## C ## D() CONST \
17  { \
18  return vec<4, T, Q>(this->A, this->B, this->C, this->D); \
19  }
20 
21 #define GLM_SWIZZLE_GEN_VEC2_ENTRY_DEF(T, P, L, CONST, A, B) \
22  template<typename T> \
23  vec<L, T, Q> vec<L, T, Q>::A ## B() CONST \
24  { \
25  return vec<2, T, Q>(this->A, this->B); \
26  }
27 
28 #define GLM_SWIZZLE_GEN_VEC3_ENTRY_DEF(T, P, L, CONST, A, B, C) \
29  template<typename T> \
30  vec<3, T, Q> vec<L, T, Q>::A ## B ## C() CONST \
31  { \
32  return vec<3, T, Q>(this->A, this->B, this->C); \
33  }
34 
35 #define GLM_SWIZZLE_GEN_VEC4_ENTRY_DEF(T, P, L, CONST, A, B, C, D) \
36  template<typename T> \
37  vec<4, T, Q> vec<L, T, Q>::A ## B ## C ## D() CONST \
38  { \
39  return vec<4, T, Q>(this->A, this->B, this->C, this->D); \
40  }
41 
42 #define GLM_MUTABLE
43 
44 #define GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, A, B) \
45  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, 2, GLM_MUTABLE, A, B) \
46  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, 2, GLM_MUTABLE, B, A)
47 
48 #define GLM_SWIZZLE_GEN_REF_FROM_VEC2(T, P) \
49  GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, x, y) \
50  GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, r, g) \
51  GLM_SWIZZLE_GEN_REF2_FROM_VEC2_SWIZZLE(T, P, s, t)
52 
53 #define GLM_SWIZZLE_GEN_REF2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
54  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, B) \
55  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, C) \
56  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, A) \
57  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, C) \
58  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, A) \
59  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, B)
60 
61 #define GLM_SWIZZLE_GEN_REF3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
62  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, A, B, C) \
63  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, A, C, B) \
64  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, B, A, C) \
65  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, B, C, A) \
66  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, C, A, B) \
67  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, GLM_MUTABLE, C, B, A)
68 
69 #define GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, A, B, C) \
70  GLM_SWIZZLE_GEN_REF3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
71  GLM_SWIZZLE_GEN_REF2_FROM_VEC3_SWIZZLE(T, P, A, B, C)
72 
73 #define GLM_SWIZZLE_GEN_REF_FROM_VEC3(T, P) \
74  GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, x, y, z) \
75  GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, r, g, b) \
76  GLM_SWIZZLE_GEN_REF_FROM_VEC3_COMP(T, P, s, t, p)
77 
78 #define GLM_SWIZZLE_GEN_REF2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
79  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, B) \
80  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, C) \
81  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, A, D) \
82  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, A) \
83  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, C) \
84  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, B, D) \
85  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, A) \
86  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, B) \
87  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, C, D) \
88  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, A) \
89  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, B) \
90  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, GLM_MUTABLE, D, C)
91 
92 #define GLM_SWIZZLE_GEN_REF3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
93  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, B, C) \
94  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, B, D) \
95  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, C, B) \
96  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, C, D) \
97  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, D, B) \
98  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , A, D, C) \
99  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, A, C) \
100  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, A, D) \
101  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, C, A) \
102  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, C, D) \
103  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, D, A) \
104  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , B, D, C) \
105  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, A, B) \
106  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, A, D) \
107  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, B, A) \
108  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, B, D) \
109  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, D, A) \
110  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , C, D, B) \
111  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, A, B) \
112  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, A, C) \
113  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, B, A) \
114  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, B, C) \
115  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, C, A) \
116  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, , D, C, B)
117 
118 #define GLM_SWIZZLE_GEN_REF4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
119  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, C, B, D) \
120  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, C, D, B) \
121  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, D, B, C) \
122  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, D, C, B) \
123  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, B, D, C) \
124  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , A, B, C, D) \
125  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, C, A, D) \
126  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, C, D, A) \
127  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, D, A, C) \
128  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, D, C, A) \
129  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, A, D, C) \
130  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , B, A, C, D) \
131  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, B, A, D) \
132  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, B, D, A) \
133  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, D, A, B) \
134  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, D, B, A) \
135  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, A, D, B) \
136  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , C, A, B, D) \
137  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, C, B, A) \
138  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, C, A, B) \
139  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, A, B, C) \
140  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, A, C, B) \
141  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, B, A, C) \
142  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, , D, B, C, A)
143 
144 #define GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, A, B, C, D) \
145  GLM_SWIZZLE_GEN_REF2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
146  GLM_SWIZZLE_GEN_REF3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
147  GLM_SWIZZLE_GEN_REF4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D)
148 
149 #define GLM_SWIZZLE_GEN_REF_FROM_VEC4(T, P) \
150  GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, x, y, z, w) \
151  GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, r, g, b, a) \
152  GLM_SWIZZLE_GEN_REF_FROM_VEC4_COMP(T, P, s, t, p, q)
153 
154 #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC2_SWIZZLE(T, P, A, B) \
155  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
156  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
157  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
158  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B)
159 
160 #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC2_SWIZZLE(T, P, A, B) \
161  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
162  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
163  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
164  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
165  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
166  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
167  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
168  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B)
169 
170 #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC2_SWIZZLE(T, P, A, B) \
171  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
172  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
173  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
174  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
175  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
176  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
177  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
178  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
179  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
180  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
181  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
182  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
183  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
184  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
185  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
186  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B)
187 
188 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, A, B) \
189  GLM_SWIZZLE_GEN_VEC2_FROM_VEC2_SWIZZLE(T, P, A, B) \
190  GLM_SWIZZLE_GEN_VEC3_FROM_VEC2_SWIZZLE(T, P, A, B) \
191  GLM_SWIZZLE_GEN_VEC4_FROM_VEC2_SWIZZLE(T, P, A, B)
192 
193 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC2(T, P) \
194  GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, x, y) \
195  GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, r, g) \
196  GLM_SWIZZLE_GEN_VEC_FROM_VEC2_COMP(T, P, s, t)
197 
198 #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
199  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
200  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
201  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, C) \
202  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
203  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B) \
204  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, C) \
205  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, A) \
206  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, B) \
207  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, C)
208 
209 #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
210  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
211  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
212  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, C) \
213  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
214  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
215  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, C) \
216  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, A) \
217  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, B) \
218  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, C) \
219  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
220  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
221  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, C) \
222  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
223  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B) \
224  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, C) \
225  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, A) \
226  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, B) \
227  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, C) \
228  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, A) \
229  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, B) \
230  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, C) \
231  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, A) \
232  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, B) \
233  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, C) \
234  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, A) \
235  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, B) \
236  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, C)
237 
238 #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
239  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
240  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
241  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, C) \
242  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
243  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
244  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, C) \
245  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, A) \
246  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, B) \
247  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, C) \
248  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
249  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
250  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, C) \
251  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
252  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
253  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, C) \
254  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, A) \
255  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, B) \
256  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, C) \
257  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, A) \
258  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, B) \
259  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, C) \
260  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, A) \
261  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, B) \
262  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, C) \
263  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, A) \
264  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, B) \
265  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, C) \
266  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
267  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
268  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, C) \
269  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
270  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
271  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, C) \
272  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, A) \
273  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, B) \
274  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, C) \
275  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
276  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
277  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, C) \
278  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
279  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B) \
280  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, C) \
281  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, A) \
282  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, B) \
283  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, C) \
284  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, A) \
285  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, B) \
286  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, C) \
287  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, A) \
288  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, B) \
289  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, C) \
290  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, A) \
291  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, B) \
292  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, C) \
293  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, A) \
294  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, B) \
295  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, C) \
296  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, A) \
297  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, B) \
298  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, C) \
299  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, A) \
300  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, B) \
301  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, C) \
302  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, A) \
303  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, B) \
304  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, C) \
305  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, A) \
306  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, B) \
307  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, C) \
308  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, A) \
309  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, B) \
310  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, C) \
311  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, A) \
312  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, B) \
313  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, C) \
314  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, A) \
315  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, B) \
316  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, C) \
317  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, A) \
318  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, B) \
319  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, C)
320 
321 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, A, B, C) \
322  GLM_SWIZZLE_GEN_VEC2_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
323  GLM_SWIZZLE_GEN_VEC3_FROM_VEC3_SWIZZLE(T, P, A, B, C) \
324  GLM_SWIZZLE_GEN_VEC4_FROM_VEC3_SWIZZLE(T, P, A, B, C)
325 
326 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, P) \
327  GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, x, y, z) \
328  GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, r, g, b) \
329  GLM_SWIZZLE_GEN_VEC_FROM_VEC3_COMP(T, P, s, t, p)
330 
331 #define GLM_SWIZZLE_GEN_VEC2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
332  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, A) \
333  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, B) \
334  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, C) \
335  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, A, D) \
336  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, A) \
337  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, B) \
338  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, C) \
339  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, B, D) \
340  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, A) \
341  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, B) \
342  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, C) \
343  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, C, D) \
344  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, A) \
345  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, B) \
346  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, C) \
347  GLM_SWIZZLE_GEN_VEC2_ENTRY(T, P, const, D, D)
348 
349 #define GLM_SWIZZLE_GEN_VEC3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
350  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, A) \
351  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, B) \
352  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, C) \
353  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, A, D) \
354  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, A) \
355  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, B) \
356  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, C) \
357  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, B, D) \
358  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, A) \
359  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, B) \
360  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, C) \
361  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, C, D) \
362  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, A) \
363  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, B) \
364  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, C) \
365  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, A, D, D) \
366  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, A) \
367  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, B) \
368  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, C) \
369  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, A, D) \
370  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, A) \
371  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, B) \
372  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, C) \
373  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, B, D) \
374  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, A) \
375  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, B) \
376  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, C) \
377  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, C, D) \
378  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, A) \
379  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, B) \
380  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, C) \
381  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, B, D, D) \
382  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, A) \
383  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, B) \
384  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, C) \
385  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, A, D) \
386  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, A) \
387  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, B) \
388  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, C) \
389  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, B, D) \
390  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, A) \
391  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, B) \
392  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, C) \
393  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, C, D) \
394  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, A) \
395  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, B) \
396  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, C) \
397  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, C, D, D) \
398  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, A) \
399  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, B) \
400  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, C) \
401  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, A, D) \
402  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, A) \
403  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, B) \
404  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, C) \
405  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, B, D) \
406  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, A) \
407  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, B) \
408  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, C) \
409  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, C, D) \
410  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, A) \
411  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, B) \
412  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, C) \
413  GLM_SWIZZLE_GEN_VEC3_ENTRY(T, P, const, D, D, D)
414 
415 #define GLM_SWIZZLE_GEN_VEC4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
416  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, A) \
417  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, B) \
418  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, C) \
419  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, A, D) \
420  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, A) \
421  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, B) \
422  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, C) \
423  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, B, D) \
424  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, A) \
425  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, B) \
426  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, C) \
427  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, C, D) \
428  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, A) \
429  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, B) \
430  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, C) \
431  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, A, D, D) \
432  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, A) \
433  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, B) \
434  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, C) \
435  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, A, D) \
436  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, A) \
437  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, B) \
438  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, C) \
439  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, B, D) \
440  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, A) \
441  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, B) \
442  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, C) \
443  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, C, D) \
444  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, A) \
445  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, B) \
446  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, C) \
447  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, B, D, D) \
448  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, A) \
449  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, B) \
450  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, C) \
451  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, A, D) \
452  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, A) \
453  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, B) \
454  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, C) \
455  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, B, D) \
456  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, A) \
457  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, B) \
458  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, C) \
459  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, C, D) \
460  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, A) \
461  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, B) \
462  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, C) \
463  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, C, D, D) \
464  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, A) \
465  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, B) \
466  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, C) \
467  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, A, D) \
468  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, A) \
469  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, B) \
470  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, C) \
471  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, B, D) \
472  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, A) \
473  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, B) \
474  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, C) \
475  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, C, D) \
476  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, A) \
477  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, B) \
478  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, C) \
479  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, A, D, D, D) \
480  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, A) \
481  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, B) \
482  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, C) \
483  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, A, D) \
484  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, A) \
485  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, B) \
486  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, C) \
487  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, B, D) \
488  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, A) \
489  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, B) \
490  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, C) \
491  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, C, D) \
492  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, A) \
493  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, B) \
494  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, C) \
495  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, A, D, D) \
496  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, A) \
497  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, B) \
498  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, C) \
499  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, A, D) \
500  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, A) \
501  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, B) \
502  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, C) \
503  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, B, D) \
504  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, A) \
505  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, B) \
506  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, C) \
507  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, C, D) \
508  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, A) \
509  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, B) \
510  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, C) \
511  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, B, D, D) \
512  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, A) \
513  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, B) \
514  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, C) \
515  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, A, D) \
516  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, A) \
517  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, B) \
518  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, C) \
519  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, B, D) \
520  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, A) \
521  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, B) \
522  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, C) \
523  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, C, D) \
524  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, A) \
525  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, B) \
526  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, C) \
527  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, C, D, D) \
528  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, A) \
529  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, B) \
530  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, C) \
531  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, A, D) \
532  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, A) \
533  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, B) \
534  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, C) \
535  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, B, D) \
536  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, A) \
537  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, B) \
538  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, C) \
539  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, C, D) \
540  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, A) \
541  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, B) \
542  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, C) \
543  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, B, D, D, D) \
544  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, A) \
545  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, B) \
546  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, C) \
547  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, A, D) \
548  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, A) \
549  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, B) \
550  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, C) \
551  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, B, D) \
552  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, A) \
553  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, B) \
554  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, C) \
555  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, C, D) \
556  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, A) \
557  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, B) \
558  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, C) \
559  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, A, D, D) \
560  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, A) \
561  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, B) \
562  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, C) \
563  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, A, D) \
564  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, A) \
565  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, B) \
566  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, C) \
567  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, B, D) \
568  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, A) \
569  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, B) \
570  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, C) \
571  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, C, D) \
572  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, A) \
573  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, B) \
574  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, C) \
575  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, B, D, D) \
576  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, A) \
577  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, B) \
578  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, C) \
579  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, A, D) \
580  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, A) \
581  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, B) \
582  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, C) \
583  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, B, D) \
584  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, A) \
585  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, B) \
586  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, C) \
587  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, C, D) \
588  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, A) \
589  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, B) \
590  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, C) \
591  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, C, D, D) \
592  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, A) \
593  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, B) \
594  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, C) \
595  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, A, D) \
596  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, A) \
597  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, B) \
598  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, C) \
599  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, B, D) \
600  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, A) \
601  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, B) \
602  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, C) \
603  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, C, D) \
604  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, A) \
605  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, B) \
606  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, C) \
607  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, C, D, D, D) \
608  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, A) \
609  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, B) \
610  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, C) \
611  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, A, D) \
612  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, A) \
613  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, B) \
614  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, C) \
615  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, B, D) \
616  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, A) \
617  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, B) \
618  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, C) \
619  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, C, D) \
620  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, A) \
621  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, B) \
622  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, C) \
623  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, A, D, D) \
624  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, A) \
625  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, B) \
626  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, C) \
627  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, A, D) \
628  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, A) \
629  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, B) \
630  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, C) \
631  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, B, D) \
632  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, A) \
633  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, B) \
634  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, C) \
635  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, C, D) \
636  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, A) \
637  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, B) \
638  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, C) \
639  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, B, D, D) \
640  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, A) \
641  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, B) \
642  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, C) \
643  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, A, D) \
644  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, A) \
645  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, B) \
646  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, C) \
647  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, B, D) \
648  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, A) \
649  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, B) \
650  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, C) \
651  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, C, D) \
652  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, A) \
653  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, B) \
654  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, C) \
655  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, C, D, D) \
656  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, A) \
657  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, B) \
658  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, C) \
659  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, A, D) \
660  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, A) \
661  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, B) \
662  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, C) \
663  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, B, D) \
664  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, A) \
665  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, B) \
666  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, C) \
667  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, C, D) \
668  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, A) \
669  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, B) \
670  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, C) \
671  GLM_SWIZZLE_GEN_VEC4_ENTRY(T, P, const, D, D, D, D)
672 
673 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, A, B, C, D) \
674  GLM_SWIZZLE_GEN_VEC2_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
675  GLM_SWIZZLE_GEN_VEC3_FROM_VEC4_SWIZZLE(T, P, A, B, C, D) \
676  GLM_SWIZZLE_GEN_VEC4_FROM_VEC4_SWIZZLE(T, P, A, B, C, D)
677 
678 #define GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P) \
679  GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, x, y, z, w) \
680  GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, r, g, b, a) \
681  GLM_SWIZZLE_GEN_VEC_FROM_VEC4_COMP(T, P, s, t, p, q)
682 
diff --git a/doc/api/a00018_source.html b/doc/api/a00018_source.html deleted file mode 100644 index 514f77d8..00000000 --- a/doc/api/a00018_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -0.9.9 API documenation: component_wise.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
component_wise.hpp
-
-
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 // Dependencies
-
18 #include "../detail/setup.hpp"
-
19 #include "../detail/qualifier.hpp"
-
20 
-
21 #ifndef GLM_ENABLE_EXPERIMENTAL
-
22 # error "GLM: GLM_GTX_component_wise is an experimental 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_component_wise extension included")
-
27 #endif
-
28 
-
29 namespace glm
-
30 {
-
33 
-
37  template<typename floatType, length_t L, typename T, qualifier Q>
-
38  GLM_FUNC_DECL vec<L, floatType, Q> compNormalize(vec<L, T, Q> const& v);
-
39 
-
43  template<length_t L, typename T, typename floatType, qualifier Q>
-
44  GLM_FUNC_DECL vec<L, T, Q> compScale(vec<L, floatType, Q> const& v);
-
45 
-
48  template<typename genType>
-
49  GLM_FUNC_DECL typename genType::value_type compAdd(genType const& v);
-
50 
-
53  template<typename genType>
-
54  GLM_FUNC_DECL typename genType::value_type compMul(genType const& v);
-
55 
-
58  template<typename genType>
-
59  GLM_FUNC_DECL typename genType::value_type compMin(genType const& v);
-
60 
-
63  template<typename genType>
-
64  GLM_FUNC_DECL typename genType::value_type compMax(genType const& v);
-
65 
-
67 }//namespace glm
-
68 
-
69 #include "component_wise.inl"
-
GLM_FUNC_DECL genType::value_type compMax(genType const &v)
Find the maximum value between single vector components.
-
GLM_FUNC_DECL genType::value_type compMin(genType const &v)
Find the minimum value between single vector components.
-
GLM_FUNC_DECL vec< L, floatType, Q > compNormalize(vec< L, T, Q > const &v)
Convert an integer vector to a normalized float vector.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType::value_type compAdd(genType const &v)
Add all vector components together.
-
GLM_FUNC_DECL vec< L, T, Q > compScale(vec< L, floatType, Q > const &v)
Convert a normalized float vector to an integer vector.
-
GLM_FUNC_DECL genType::value_type compMul(genType const &v)
Multiply all vector components together.
-
- - - - diff --git a/doc/api/a00019_source.html b/doc/api/a00019_source.html deleted file mode 100644 index c4a46508..00000000 --- a/doc/api/a00019_source.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -0.9.9 API documenation: compute_vector_relational.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
compute_vector_relational.hpp
-
-
-
1 #pragma once
-
2 
-
3 #include "setup.hpp"
-
4 #include <cstring>
-
5 #include <limits>
-
6 
-
7 namespace glm{
-
8 namespace detail
-
9 {
-
10  template <typename T, bool isFloat = std::numeric_limits<T>::is_iec559>
-
11  struct compute_equal
-
12  {
-
13  GLM_FUNC_QUALIFIER static bool call(T a, T b)
-
14  {
-
15  return a == b;
-
16  }
-
17  };
-
18 
-
19  template <typename T>
-
20  struct compute_equal<T, true>
-
21  {
-
22  GLM_FUNC_QUALIFIER static bool call(T a, T b)
-
23  {
-
24  return std::memcmp(&a, &b, sizeof(T)) == 0;
-
25  }
-
26  };
-
27 }//namespace detail
-
28 }//namespace glm
-
Definition: common.hpp:20
-
Core features
-
- - - - diff --git a/doc/api/a00020_source.html b/doc/api/a00020_source.html index 967a8292..319f9104 100644 --- a/doc/api/a00020_source.html +++ b/doc/api/a00020_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: constants.hpp Source File + + +0.9.9 API documenation: _vectorize.hpp Source File - @@ -32,38 +30,22 @@ - + - - + + + +
-
constants.hpp
+
_vectorize.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../detail/setup.hpp"
-
17 
-
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
19 # pragma message("GLM: GLM_GTC_constants extension included")
-
20 #endif
-
21 
-
22 namespace glm
-
23 {
-
26 
-
29  template<typename genType>
-
30  GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon();
-
31 
-
34  template<typename genType>
-
35  GLM_FUNC_DECL GLM_CONSTEXPR genType zero();
-
36 
-
39  template<typename genType>
-
40  GLM_FUNC_DECL GLM_CONSTEXPR genType one();
-
41 
-
44  template<typename genType>
-
45  GLM_FUNC_DECL GLM_CONSTEXPR genType pi();
-
46 
-
49  template<typename genType>
-
50  GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi();
-
51 
-
54  template<typename genType>
-
55  GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi();
-
56 
-
59  template<typename genType>
-
60  GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi();
-
61 
-
64  template<typename genType>
-
65  GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi();
-
66 
-
69  template<typename genType>
-
70  GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi();
-
71 
-
74  template<typename genType>
-
75  GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi();
-
76 
-
79  template<typename genType>
-
80  GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi();
-
81 
-
84  template<typename genType>
-
85  GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi();
-
86 
-
89  template<typename genType>
-
90  GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi();
-
91 
-
94  template<typename genType>
-
95  GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi();
-
96 
-
99  template<typename genType>
-
100  GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two();
-
101 
-
104  template<typename genType>
-
105  GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi();
-
106 
-
109  template<typename genType>
-
110  GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi();
-
111 
-
114  template<typename genType>
-
115  GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four();
-
116 
-
119  template<typename genType>
-
120  GLM_FUNC_DECL GLM_CONSTEXPR genType e();
-
121 
-
124  template<typename genType>
-
125  GLM_FUNC_DECL GLM_CONSTEXPR genType euler();
-
126 
-
129  template<typename genType>
-
130  GLM_FUNC_DECL GLM_CONSTEXPR genType root_two();
-
131 
-
134  template<typename genType>
-
135  GLM_FUNC_DECL GLM_CONSTEXPR genType root_three();
-
136 
-
139  template<typename genType>
-
140  GLM_FUNC_DECL GLM_CONSTEXPR genType root_five();
-
141 
-
144  template<typename genType>
-
145  GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two();
-
146 
-
149  template<typename genType>
-
150  GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten();
-
151 
-
154  template<typename genType>
-
155  GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two();
-
156 
-
159  template<typename genType>
-
160  GLM_FUNC_DECL GLM_CONSTEXPR genType third();
-
161 
-
164  template<typename genType>
-
165  GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds();
-
166 
-
169  template<typename genType>
-
170  GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio();
-
171 
-
173 } //namespace glm
-
174 
-
175 #include "constants.inl"
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four()
Return sqrt(ln(4)).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi()
Return 1 / pi.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi()
Return pi / 2 * 3.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType pi()
Return the pi constant.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio()
Return the golden ratio constant.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_three()
Return sqrt(3).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType e()
Return e constant.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi()
Return sqrt(pi / 2).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten()
Return ln(10).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two()
Return sqrt(2).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi()
Return 1 / (pi * 2).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType zero()
Return 0.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL GLM_CONSTEXPR genType third()
Return 1 / 3.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi()
Return 2 / pi.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi()
Return square root of pi.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds()
Return 2 / 3.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType one()
Return 1.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi()
Return 2 / sqrt(pi).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi()
Return pi / 2.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two()
Return ln(ln(2)).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two()
Return 1 / sqrt(2).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType euler()
Return Euler's constant.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi()
Return 4 / pi.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi()
Return pi * 2.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_five()
Return sqrt(5).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi()
Return pi / 4.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi()
Return sqrt(2 * pi).
-
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two()
Return ln(2).
+
1 #pragma once
2 
3 namespace glm{
4 namespace detail
5 {
6  template<template<length_t L, typename T, qualifier Q> class vec, length_t L, typename R, typename T, qualifier Q>
7  struct functor1{};
8 
9  template<template<length_t L, typename T, qualifier Q> class vec, typename R, typename T, qualifier Q>
10  struct functor1<vec, 1, R, T, Q>
11  {
12  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static vec<1, R, Q> call(R (*Func) (T x), vec<1, T, Q> const& v)
13  {
14  return vec<1, R, Q>(Func(v.x));
15  }
16  };
17 
18  template<template<length_t L, typename T, qualifier Q> class vec, typename R, typename T, qualifier Q>
19  struct functor1<vec, 2, R, T, Q>
20  {
21  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static vec<2, R, Q> call(R (*Func) (T x), vec<2, T, Q> const& v)
22  {
23  return vec<2, R, Q>(Func(v.x), Func(v.y));
24  }
25  };
26 
27  template<template<length_t L, typename T, qualifier Q> class vec, typename R, typename T, qualifier Q>
28  struct functor1<vec, 3, R, T, Q>
29  {
30  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static vec<3, R, Q> call(R (*Func) (T x), vec<3, T, Q> const& v)
31  {
32  return vec<3, R, Q>(Func(v.x), Func(v.y), Func(v.z));
33  }
34  };
35 
36  template<template<length_t L, typename T, qualifier Q> class vec, typename R, typename T, qualifier Q>
37  struct functor1<vec, 4, R, T, Q>
38  {
39  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static vec<4, R, Q> call(R (*Func) (T x), vec<4, T, Q> const& v)
40  {
41  return vec<4, R, Q>(Func(v.x), Func(v.y), Func(v.z), Func(v.w));
42  }
43  };
44 
45  template<template<length_t L, typename T, qualifier Q> class vec, length_t L, typename T, qualifier Q>
46  struct functor2{};
47 
48  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
49  struct functor2<vec, 1, T, Q>
50  {
51  GLM_FUNC_QUALIFIER static vec<1, T, Q> call(T (*Func) (T x, T y), vec<1, T, Q> const& a, vec<1, T, Q> const& b)
52  {
53  return vec<1, T, Q>(Func(a.x, b.x));
54  }
55  };
56 
57  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
58  struct functor2<vec, 2, T, Q>
59  {
60  GLM_FUNC_QUALIFIER static vec<2, T, Q> call(T (*Func) (T x, T y), vec<2, T, Q> const& a, vec<2, T, Q> const& b)
61  {
62  return vec<2, T, Q>(Func(a.x, b.x), Func(a.y, b.y));
63  }
64  };
65 
66  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
67  struct functor2<vec, 3, T, Q>
68  {
69  GLM_FUNC_QUALIFIER static vec<3, T, Q> call(T (*Func) (T x, T y), vec<3, T, Q> const& a, vec<3, T, Q> const& b)
70  {
71  return vec<3, T, Q>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z));
72  }
73  };
74 
75  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
76  struct functor2<vec, 4, T, Q>
77  {
78  GLM_FUNC_QUALIFIER static vec<4, T, Q> call(T (*Func) (T x, T y), vec<4, T, Q> const& a, vec<4, T, Q> const& b)
79  {
80  return vec<4, T, Q>(Func(a.x, b.x), Func(a.y, b.y), Func(a.z, b.z), Func(a.w, b.w));
81  }
82  };
83 
84  template<template<length_t L, typename T, qualifier Q> class vec, length_t L, typename T, qualifier Q>
85  struct functor2_vec_sca{};
86 
87  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
88  struct functor2_vec_sca<vec, 1, T, Q>
89  {
90  GLM_FUNC_QUALIFIER static vec<1, T, Q> call(T (*Func) (T x, T y), vec<1, T, Q> const& a, T b)
91  {
92  return vec<1, T, Q>(Func(a.x, b));
93  }
94  };
95 
96  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
97  struct functor2_vec_sca<vec, 2, T, Q>
98  {
99  GLM_FUNC_QUALIFIER static vec<2, T, Q> call(T (*Func) (T x, T y), vec<2, T, Q> const& a, T b)
100  {
101  return vec<2, T, Q>(Func(a.x, b), Func(a.y, b));
102  }
103  };
104 
105  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
106  struct functor2_vec_sca<vec, 3, T, Q>
107  {
108  GLM_FUNC_QUALIFIER static vec<3, T, Q> call(T (*Func) (T x, T y), vec<3, T, Q> const& a, T b)
109  {
110  return vec<3, T, Q>(Func(a.x, b), Func(a.y, b), Func(a.z, b));
111  }
112  };
113 
114  template<template<length_t L, typename T, qualifier Q> class vec, typename T, qualifier Q>
115  struct functor2_vec_sca<vec, 4, T, Q>
116  {
117  GLM_FUNC_QUALIFIER static vec<4, T, Q> call(T (*Func) (T x, T y), vec<4, T, Q> const& a, T b)
118  {
119  return vec<4, T, Q>(Func(a.x, b), Func(a.y, b), Func(a.z, b), Func(a.w, b));
120  }
121  };
122 }//namespace detail
123 }//namespace glm
Definition: common.hpp:20
diff --git a/doc/api/a00021_source.html b/doc/api/a00021_source.html deleted file mode 100644 index 59b309e0..00000000 --- a/doc/api/a00021_source.html +++ /dev/null @@ -1,317 +0,0 @@ - - - - - - -0.9.9 API documenation: dual_quaternion.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
dual_quaternion.hpp
-
-
-Go to the documentation of this file.
1 
-
16 #pragma once
-
17 
-
18 // Dependency:
-
19 #include "../glm.hpp"
-
20 #include "../gtc/constants.hpp"
-
21 #include "../gtc/quaternion.hpp"
-
22 
-
23 #ifndef GLM_ENABLE_EXPERIMENTAL
-
24 # error "GLM: GLM_GTX_dual_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
25 #endif
-
26 
-
27 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
28 # pragma message("GLM: GLM_GTX_dual_quaternion extension included")
-
29 #endif
-
30 
-
31 namespace glm
-
32 {
-
35 
-
36  template<typename T, qualifier Q = defaultp>
-
37  struct tdualquat
-
38  {
-
39  // -- Implementation detail --
-
40 
-
41  typedef T value_type;
-
42  typedef glm::tquat<T, Q> part_type;
-
43 
-
44  // -- Data --
-
45 
-
46  glm::tquat<T, Q> real, dual;
-
47 
-
48  // -- Component accesses --
-
49 
-
50  typedef length_t length_type;
-
52  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 2;}
-
53 
-
54  GLM_FUNC_DECL part_type & operator[](length_type i);
-
55  GLM_FUNC_DECL part_type const& operator[](length_type i) const;
-
56 
-
57  // -- Implicit basic constructors --
-
58 
-
59  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat() GLM_DEFAULT_CTOR;
-
60  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tdualquat<T, Q> const& d) GLM_DEFAULT;
-
61  template<qualifier P>
-
62  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tdualquat<T, P> const& d);
-
63 
-
64  // -- Explicit basic constructors --
-
65 
-
66  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, Q> const& real);
-
67  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, Q> const& orientation, vec<3, T, Q> const& translation);
-
68  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tquat<T, Q> const& real, tquat<T, Q> const& dual);
-
69 
-
70  // -- Conversion constructors --
-
71 
-
72  template<typename U, qualifier P>
-
73  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT tdualquat(tdualquat<U, P> const& q);
-
74 
-
75  GLM_FUNC_DECL GLM_EXPLICIT tdualquat(mat<2, 4, T, Q> const& holder_mat);
-
76  GLM_FUNC_DECL GLM_EXPLICIT tdualquat(mat<3, 4, T, Q> const& aug_mat);
-
77 
-
78  // -- Unary arithmetic operators --
-
79 
-
80  GLM_FUNC_DECL tdualquat<T, Q> & operator=(tdualquat<T, Q> const& m) GLM_DEFAULT;
-
81 
-
82  template<typename U>
-
83  GLM_FUNC_DECL tdualquat<T, Q> & operator=(tdualquat<U, Q> const& m);
-
84  template<typename U>
-
85  GLM_FUNC_DECL tdualquat<T, Q> & operator*=(U s);
-
86  template<typename U>
-
87  GLM_FUNC_DECL tdualquat<T, Q> & operator/=(U s);
-
88  };
-
89 
-
90  // -- Unary bit operators --
-
91 
-
92  template<typename T, qualifier Q>
-
93  GLM_FUNC_DECL tdualquat<T, Q> operator+(tdualquat<T, Q> const& q);
-
94 
-
95  template<typename T, qualifier Q>
-
96  GLM_FUNC_DECL tdualquat<T, Q> operator-(tdualquat<T, Q> const& q);
-
97 
-
98  // -- Binary operators --
-
99 
-
100  template<typename T, qualifier Q>
-
101  GLM_FUNC_DECL tdualquat<T, Q> operator+(tdualquat<T, Q> const& q, tdualquat<T, Q> const& p);
-
102 
-
103  template<typename T, qualifier Q>
-
104  GLM_FUNC_DECL tdualquat<T, Q> operator*(tdualquat<T, Q> const& q, tdualquat<T, Q> const& p);
-
105 
-
106  template<typename T, qualifier Q>
-
107  GLM_FUNC_DECL vec<3, T, Q> operator*(tdualquat<T, Q> const& q, vec<3, T, Q> const& v);
-
108 
-
109  template<typename T, qualifier Q>
-
110  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v, tdualquat<T, Q> const& q);
-
111 
-
112  template<typename T, qualifier Q>
-
113  GLM_FUNC_DECL vec<4, T, Q> operator*(tdualquat<T, Q> const& q, vec<4, T, Q> const& v);
-
114 
-
115  template<typename T, qualifier Q>
-
116  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, tdualquat<T, Q> const& q);
-
117 
-
118  template<typename T, qualifier Q>
-
119  GLM_FUNC_DECL tdualquat<T, Q> operator*(tdualquat<T, Q> const& q, T const& s);
-
120 
-
121  template<typename T, qualifier Q>
-
122  GLM_FUNC_DECL tdualquat<T, Q> operator*(T const& s, tdualquat<T, Q> const& q);
-
123 
-
124  template<typename T, qualifier Q>
-
125  GLM_FUNC_DECL tdualquat<T, Q> operator/(tdualquat<T, Q> const& q, T const& s);
-
126 
-
127  // -- Boolean operators --
-
128 
-
129  template<typename T, qualifier Q>
-
130  GLM_FUNC_DECL bool operator==(tdualquat<T, Q> const& q1, tdualquat<T, Q> const& q2);
-
131 
-
132  template<typename T, qualifier Q>
-
133  GLM_FUNC_DECL bool operator!=(tdualquat<T, Q> const& q1, tdualquat<T, Q> const& q2);
-
134 
-
138  template <typename T, qualifier Q>
-
139  GLM_FUNC_DECL tdualquat<T, Q> dual_quat_identity();
-
140 
-
144  template<typename T, qualifier Q>
-
145  GLM_FUNC_DECL tdualquat<T, Q> normalize(tdualquat<T, Q> const& q);
-
146 
-
150  template<typename T, qualifier Q>
-
151  GLM_FUNC_DECL tdualquat<T, Q> lerp(tdualquat<T, Q> const& x, tdualquat<T, Q> const& y, T const& a);
-
152 
-
156  template<typename T, qualifier Q>
-
157  GLM_FUNC_DECL tdualquat<T, Q> inverse(tdualquat<T, Q> const& q);
-
158 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL mat<2, 4, T, Q> mat2x4_cast(tdualquat<T, Q> const& x);
-
164 
-
168  template<typename T, qualifier Q>
-
169  GLM_FUNC_DECL mat<3, 4, T, Q> mat3x4_cast(tdualquat<T, Q> const& x);
-
170 
-
174  template<typename T, qualifier Q>
-
175  GLM_FUNC_DECL tdualquat<T, Q> dualquat_cast(mat<2, 4, T, Q> const& x);
-
176 
-
180  template<typename T, qualifier Q>
-
181  GLM_FUNC_DECL tdualquat<T, Q> dualquat_cast(mat<3, 4, T, Q> const& x);
-
182 
-
183 
-
187  typedef tdualquat<float, lowp> lowp_dualquat;
-
188 
-
192  typedef tdualquat<float, mediump> mediump_dualquat;
-
193 
-
197  typedef tdualquat<float, highp> highp_dualquat;
-
198 
-
199 
-
203  typedef tdualquat<float, lowp> lowp_fdualquat;
-
204 
-
208  typedef tdualquat<float, mediump> mediump_fdualquat;
-
209 
-
213  typedef tdualquat<float, highp> highp_fdualquat;
-
214 
-
215 
-
219  typedef tdualquat<double, lowp> lowp_ddualquat;
-
220 
-
224  typedef tdualquat<double, mediump> mediump_ddualquat;
-
225 
-
229  typedef tdualquat<double, highp> highp_ddualquat;
-
230 
-
231 
-
232 #if(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
233  typedef highp_fdualquat dualquat;
-
237 
-
241  typedef highp_fdualquat fdualquat;
-
242 #elif(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
243  typedef highp_fdualquat dualquat;
-
244  typedef highp_fdualquat fdualquat;
-
245 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
246  typedef mediump_fdualquat dualquat;
-
247  typedef mediump_fdualquat fdualquat;
-
248 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
-
249  typedef lowp_fdualquat dualquat;
-
250  typedef lowp_fdualquat fdualquat;
-
251 #else
-
252 # error "GLM error: multiple default precision requested for single-precision floating-point types"
-
253 #endif
-
254 
-
255 
-
256 #if(!defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
-
257  typedef highp_ddualquat ddualquat;
-
261 #elif(defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
-
262  typedef highp_ddualquat ddualquat;
-
263 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
-
264  typedef mediump_ddualquat ddualquat;
-
265 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && defined(GLM_PRECISION_LOWP_DOUBLE))
-
266  typedef lowp_ddualquat ddualquat;
-
267 #else
-
268 # error "GLM error: Multiple default precision requested for double-precision floating-point types"
-
269 #endif
-
270 
-
272 } //namespace glm
-
273 
-
274 #include "dual_quaternion.inl"
-
tdualquat< float, highp > highp_dualquat
Dual-quaternion of high single-qualifier floating-point numbers.
-
tdualquat< float, mediump > mediump_fdualquat
Dual-quaternion of medium single-qualifier floating-point numbers.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
Build a rotation matrix from a normal and a up vector.
-
GLM_FUNC_DECL tdualquat< T, Q > lerp(tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
Returns the linear interpolation of two dual quaternion.
-
tdualquat< float, mediump > mediump_dualquat
Dual-quaternion of medium single-qualifier floating-point numbers.
-
highp_fdualquat fdualquat
Dual-quaternion of single-qualifier floating-point numbers.
-
tdualquat< float, lowp > lowp_dualquat
Dual-quaternion of low single-qualifier floating-point numbers.
-
tdualquat< double, mediump > mediump_ddualquat
Dual-quaternion of medium double-qualifier floating-point numbers.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL tdualquat< T, Q > normalize(tdualquat< T, Q > const &q)
Returns the normalized quaternion.
-
tdualquat< double, lowp > lowp_ddualquat
Dual-quaternion of low double-qualifier floating-point numbers.
-
GLM_FUNC_DECL mat< 3, 4, T, Q > mat3x4_cast(tdualquat< T, Q > const &x)
Converts a quaternion to a 3 * 4 matrix.
-
tdualquat< double, highp > highp_ddualquat
Dual-quaternion of high double-qualifier floating-point numbers.
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
highp_ddualquat ddualquat
Dual-quaternion of default double-qualifier floating-point numbers.
-
GLM_FUNC_DECL tdualquat< T, Q > inverse(tdualquat< T, Q > const &q)
Returns the q inverse.
-
GLM_FUNC_DECL tdualquat< T, Q > dual_quat_identity()
Creates an identity dual quaternion.
-
GLM_FUNC_DECL mat< 2, 4, T, Q > mat2x4_cast(tdualquat< T, Q > const &x)
Converts a quaternion to a 2 * 4 matrix.
-
tdualquat< float, lowp > lowp_fdualquat
Dual-quaternion of low single-qualifier floating-point numbers.
-
tdualquat< float, highp > highp_fdualquat
Dual-quaternion of high single-qualifier floating-point numbers.
-
highp_fdualquat dualquat
Dual-quaternion of floating-point numbers.
-
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast(mat< 3, 4, T, Q > const &x)
Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion.
-
- - - - diff --git a/doc/api/a00022_source.html b/doc/api/a00022_source.html deleted file mode 100644 index 9957a6f0..00000000 --- a/doc/api/a00022_source.html +++ /dev/null @@ -1,256 +0,0 @@ - - - - - - -0.9.9 API documenation: easing.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
easing.hpp
-
-
-Go to the documentation of this file.
1 
-
17 #pragma once
-
18 
-
19 // Dependency:
-
20 #include "../glm.hpp"
-
21 #include "../detail/setup.hpp"
-
22 #include "../detail/qualifier.hpp"
-
23 #include "../detail/type_int.hpp"
-
24 #include "../gtc/constants.hpp"
-
25 
-
26 #ifndef GLM_ENABLE_EXPERIMENTAL
-
27 # error "GLM: GLM_GTX_easing is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
28 #endif
-
29 
-
30 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
31 # pragma message("GLM: GLM_GTX_easing extension included")
-
32 #endif
-
33 
-
34 namespace glm{
-
37 
-
40  template <typename genType>
-
41  GLM_FUNC_DECL genType linearInterpolation(genType const & a);
-
42 
-
45  template <typename genType>
-
46  GLM_FUNC_DECL genType quadraticEaseIn(genType const & a);
-
47 
-
50  template <typename genType>
-
51  GLM_FUNC_DECL genType quadraticEaseOut(genType const & a);
-
52 
-
57  template <typename genType>
-
58  GLM_FUNC_DECL genType quadraticEaseInOut(genType const & a);
-
59 
-
61  template <typename genType>
-
62  GLM_FUNC_DECL genType cubicEaseIn(genType const & a);
-
63 
-
66  template <typename genType>
-
67  GLM_FUNC_DECL genType cubicEaseOut(genType const & a);
-
68 
-
73  template <typename genType>
-
74  GLM_FUNC_DECL genType cubicEaseInOut(genType const & a);
-
75 
-
78  template <typename genType>
-
79  GLM_FUNC_DECL genType quarticEaseIn(genType const & a);
-
80 
-
83  template <typename genType>
-
84  GLM_FUNC_DECL genType quarticEaseOut(genType const & a);
-
85 
-
90  template <typename genType>
-
91  GLM_FUNC_DECL genType quarticEaseInOut(genType const & a);
-
92 
-
95  template <typename genType>
-
96  GLM_FUNC_DECL genType quinticEaseIn(genType const & a);
-
97 
-
100  template <typename genType>
-
101  GLM_FUNC_DECL genType quinticEaseOut(genType const & a);
-
102 
-
107  template <typename genType>
-
108  GLM_FUNC_DECL genType quinticEaseInOut(genType const & a);
-
109 
-
112  template <typename genType>
-
113  GLM_FUNC_DECL genType sineEaseIn(genType const & a);
-
114 
-
117  template <typename genType>
-
118  GLM_FUNC_DECL genType sineEaseOut(genType const & a);
-
119 
-
122  template <typename genType>
-
123  GLM_FUNC_DECL genType sineEaseInOut(genType const & a);
-
124 
-
127  template <typename genType>
-
128  GLM_FUNC_DECL genType circularEaseIn(genType const & a);
-
129 
-
132  template <typename genType>
-
133  GLM_FUNC_DECL genType circularEaseOut(genType const & a);
-
134 
-
139  template <typename genType>
-
140  GLM_FUNC_DECL genType circularEaseInOut(genType const & a);
-
141 
-
144  template <typename genType>
-
145  GLM_FUNC_DECL genType exponentialEaseIn(genType const & a);
-
146 
-
149  template <typename genType>
-
150  GLM_FUNC_DECL genType exponentialEaseOut(genType const & a);
-
151 
-
156  template <typename genType>
-
157  GLM_FUNC_DECL genType exponentialEaseInOut(genType const & a);
-
158 
-
161  template <typename genType>
-
162  GLM_FUNC_DECL genType elasticEaseIn(genType const & a);
-
163 
-
166  template <typename genType>
-
167  GLM_FUNC_DECL genType elasticEaseOut(genType const & a);
-
168 
-
173  template <typename genType>
-
174  GLM_FUNC_DECL genType elasticEaseInOut(genType const & a);
-
175 
-
177  template <typename genType>
-
178  GLM_FUNC_DECL genType backEaseIn(genType const& a);
-
179 
-
181  template <typename genType>
-
182  GLM_FUNC_DECL genType backEaseOut(genType const& a);
-
183 
-
185  template <typename genType>
-
186  GLM_FUNC_DECL genType backEaseInOut(genType const& a);
-
187 
-
191  template <typename genType>
-
192  GLM_FUNC_DECL genType backEaseIn(genType const& a, genType const& o);
-
193 
-
197  template <typename genType>
-
198  GLM_FUNC_DECL genType backEaseOut(genType const& a, genType const& o);
-
199 
-
203  template <typename genType>
-
204  GLM_FUNC_DECL genType backEaseInOut(genType const& a, genType const& o);
-
205 
-
207  template <typename genType>
-
208  GLM_FUNC_DECL genType bounceEaseIn(genType const& a);
-
209 
-
211  template <typename genType>
-
212  GLM_FUNC_DECL genType bounceEaseOut(genType const& a);
-
213 
-
215  template <typename genType>
-
216  GLM_FUNC_DECL genType bounceEaseInOut(genType const& a);
-
217 
-
219 }//namespace glm
-
220 
-
221 #include "easing.inl"
-
GLM_FUNC_DECL genType elasticEaseOut(genType const &a)
Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.
-
GLM_FUNC_DECL genType quarticEaseIn(genType const &a)
Modelled after the quartic x^4.
-
GLM_FUNC_DECL genType quarticEaseOut(genType const &a)
Modelled after the quartic y = 1 - (x - 1)^4.
-
GLM_FUNC_DECL genType circularEaseInOut(genType const &a)
Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1].
-
GLM_FUNC_DECL genType quadraticEaseIn(genType const &a)
Modelled after the parabola y = x^2.
-
GLM_FUNC_DECL genType quinticEaseInOut(genType const &a)
Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0...
-
GLM_FUNC_DECL genType exponentialEaseIn(genType const &a)
Modelled after the exponential function y = 2^(10(x - 1))
-
GLM_FUNC_DECL genType backEaseOut(genType const &a, genType const &o)
-
GLM_FUNC_DECL genType quadraticEaseOut(genType const &a)
Modelled after the parabola y = -x^2 + 2x.
-
GLM_FUNC_DECL genType backEaseInOut(genType const &a, genType const &o)
-
GLM_FUNC_DECL genType bounceEaseInOut(genType const &a)
-
GLM_FUNC_DECL genType sineEaseIn(genType const &a)
Modelled after quarter-cycle of sine wave.
-
GLM_FUNC_DECL genType quadraticEaseInOut(genType const &a)
Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType elasticEaseInOut(genType const &a)
Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1].
-
GLM_FUNC_DECL genType exponentialEaseInOut(genType const &a)
Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))...
-
GLM_FUNC_DECL genType circularEaseIn(genType const &a)
Modelled after shifted quadrant IV of unit circle.
-
GLM_FUNC_DECL genType backEaseIn(genType const &a, genType const &o)
-
GLM_FUNC_DECL genType quinticEaseOut(genType const &a)
Modelled after the quintic y = (x - 1)^5 + 1.
-
GLM_FUNC_DECL genType sineEaseInOut(genType const &a)
Modelled after half sine wave.
-
GLM_FUNC_DECL genType cubicEaseOut(genType const &a)
Modelled after the cubic y = (x - 1)^3 + 1.
-
GLM_FUNC_DECL genType linearInterpolation(genType const &a)
Modelled after the line y = x.
-
GLM_FUNC_DECL genType exponentialEaseOut(genType const &a)
Modelled after the exponential function y = -2^(-10x) + 1.
-
GLM_FUNC_DECL genType elasticEaseIn(genType const &a)
Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))
-
GLM_FUNC_DECL genType circularEaseOut(genType const &a)
Modelled after shifted quadrant II of unit circle.
-
GLM_FUNC_DECL genType bounceEaseIn(genType const &a)
-
GLM_FUNC_DECL genType quinticEaseIn(genType const &a)
Modelled after the quintic y = x^5.
-
GLM_FUNC_DECL genType cubicEaseInOut(genType const &a)
Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0...
-
GLM_FUNC_DECL genType cubicEaseIn(genType const &a)
Modelled after the cubic y = x^3.
-
GLM_FUNC_DECL genType quarticEaseInOut(genType const &a)
Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0...
-
GLM_FUNC_DECL genType sineEaseOut(genType const &a)
Modelled after quarter-cycle of sine wave (different phase)
-
GLM_FUNC_DECL genType bounceEaseOut(genType const &a)
-
- - - - diff --git a/doc/api/a00023_source.html b/doc/api/a00023_source.html index 1f7e3671..1860b793 100644 --- a/doc/api/a00023_source.html +++ b/doc/api/a00023_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: epsilon.hpp Source File + + +0.9.9 API documenation: compute_common.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
epsilon.hpp
+
compute_common.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 
-
20 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
21 # pragma message("GLM: GLM_GTC_epsilon extension included")
-
22 #endif
-
23 
-
24 namespace glm
-
25 {
-
28 
-
33  template<length_t L, typename T, qualifier Q>
-
34  GLM_FUNC_DECL vec<L, bool, Q> epsilonEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T const& epsilon);
-
35 
-
40  template<typename genType>
-
41  GLM_FUNC_DECL bool epsilonEqual(genType const& x, genType const& y, genType const& epsilon);
-
42 
-
47  template<length_t L, typename T, qualifier Q>
-
48  GLM_FUNC_DECL vec<L, bool, Q> epsilonNotEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T const& epsilon);
-
49 
-
54  template<typename genType>
-
55  GLM_FUNC_DECL bool epsilonNotEqual(genType const& x, genType const& y, genType const& epsilon);
-
56 
-
58 }//namespace glm
-
59 
-
60 #include "epsilon.inl"
-
GLM_FUNC_DECL bool epsilonNotEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
-
GLM_FUNC_DECL bool epsilonEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
1 #pragma once
2 
3 #include "setup.hpp"
4 #include <limits>
5 
6 namespace glm{
7 namespace detail
8 {
9  template<typename genFIType, bool /*signed*/>
10  struct compute_abs
11  {};
12 
13  template<typename genFIType>
14  struct compute_abs<genFIType, true>
15  {
16  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genFIType call(genFIType x)
17  {
18  GLM_STATIC_ASSERT(
19  std::numeric_limits<genFIType>::is_iec559 || std::numeric_limits<genFIType>::is_signed,
20  "'abs' only accept floating-point and integer scalar or vector inputs");
21 
22  return x >= genFIType(0) ? x : -x;
23  // TODO, perf comp with: *(((int *) &x) + 1) &= 0x7fffffff;
24  }
25  };
26 
27 #if GLM_COMPILER & GLM_COMPILER_CUDA
28  template<>
29  struct compute_abs<float, true>
30  {
31  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static float call(float x)
32  {
33  return fabsf(x);
34  }
35  };
36 #endif
37 
38  template<typename genFIType>
39  struct compute_abs<genFIType, false>
40  {
41  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genFIType call(genFIType x)
42  {
43  GLM_STATIC_ASSERT(
44  (!std::numeric_limits<genFIType>::is_signed && std::numeric_limits<genFIType>::is_integer),
45  "'abs' only accept floating-point and integer scalar or vector inputs");
46  return x;
47  }
48  };
49 }//namespace detail
50 }//namespace glm
Definition: common.hpp:20
diff --git a/doc/api/a00024_source.html b/doc/api/a00024_source.html deleted file mode 100644 index d5a6a0ce..00000000 --- a/doc/api/a00024_source.html +++ /dev/null @@ -1,380 +0,0 @@ - - - - - - -0.9.9 API documenation: euler_angles.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
euler_angles.hpp
-
-
-Go to the documentation of this file.
1 
-
16 #pragma once
-
17 
-
18 // Dependency:
-
19 #include "../glm.hpp"
-
20 
-
21 #ifndef GLM_ENABLE_EXPERIMENTAL
-
22 # error "GLM: GLM_GTX_euler_angles is an experimental 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_euler_angles extension included")
-
27 #endif
-
28 
-
29 namespace glm
-
30 {
-
33 
-
36  template<typename T>
-
37  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleX(
-
38  T const& angleX);
-
39 
-
42  template<typename T>
-
43  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleY(
-
44  T const& angleY);
-
45 
-
48  template<typename T>
-
49  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZ(
-
50  T const& angleZ);
-
51 
-
54  template <typename T>
-
55  GLM_FUNC_DECL mat<4, 4, T, defaultp> derivedEulerAngleX(
-
56  T const & angleX, T const & angularVelocityX);
-
57 
-
60  template <typename T>
-
61  GLM_FUNC_DECL mat<4, 4, T, defaultp> derivedEulerAngleY(
-
62  T const & angleY, T const & angularVelocityY);
-
63 
-
66  template <typename T>
-
67  GLM_FUNC_DECL mat<4, 4, T, defaultp> derivedEulerAngleZ(
-
68  T const & angleZ, T const & angularVelocityZ);
-
69 
-
72  template<typename T>
-
73  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXY(
-
74  T const& angleX,
-
75  T const& angleY);
-
76 
-
79  template<typename T>
-
80  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYX(
-
81  T const& angleY,
-
82  T const& angleX);
-
83 
-
86  template<typename T>
-
87  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXZ(
-
88  T const& angleX,
-
89  T const& angleZ);
-
90 
-
93  template<typename T>
-
94  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZX(
-
95  T const& angle,
-
96  T const& angleX);
-
97 
-
100  template<typename T>
-
101  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYZ(
-
102  T const& angleY,
-
103  T const& angleZ);
-
104 
-
107  template<typename T>
-
108  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZY(
-
109  T const& angleZ,
-
110  T const& angleY);
-
111 
-
114  template<typename T>
-
115  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXYZ(
-
116  T const& t1,
-
117  T const& t2,
-
118  T const& t3);
-
119 
-
122  template<typename T>
-
123  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYXZ(
-
124  T const& yaw,
-
125  T const& pitch,
-
126  T const& roll);
-
127 
-
130  template <typename T>
-
131  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXZX(
-
132  T const & t1,
-
133  T const & t2,
-
134  T const & t3);
-
135 
-
138  template <typename T>
-
139  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXYX(
-
140  T const & t1,
-
141  T const & t2,
-
142  T const & t3);
-
143 
-
146  template <typename T>
-
147  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYXY(
-
148  T const & t1,
-
149  T const & t2,
-
150  T const & t3);
-
151 
-
154  template <typename T>
-
155  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYZY(
-
156  T const & t1,
-
157  T const & t2,
-
158  T const & t3);
-
159 
-
162  template <typename T>
-
163  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZYZ(
-
164  T const & t1,
-
165  T const & t2,
-
166  T const & t3);
-
167 
-
170  template <typename T>
-
171  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZXZ(
-
172  T const & t1,
-
173  T const & t2,
-
174  T const & t3);
-
175 
-
178  template <typename T>
-
179  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXZY(
-
180  T const & t1,
-
181  T const & t2,
-
182  T const & t3);
-
183 
-
186  template <typename T>
-
187  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYZX(
-
188  T const & t1,
-
189  T const & t2,
-
190  T const & t3);
-
191 
-
194  template <typename T>
-
195  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZYX(
-
196  T const & t1,
-
197  T const & t2,
-
198  T const & t3);
-
199 
-
202  template <typename T>
-
203  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZXY(
-
204  T const & t1,
-
205  T const & t2,
-
206  T const & t3);
-
207 
-
210  template<typename T>
-
211  GLM_FUNC_DECL mat<4, 4, T, defaultp> yawPitchRoll(
-
212  T const& yaw,
-
213  T const& pitch,
-
214  T const& roll);
-
215 
-
218  template<typename T>
-
219  GLM_FUNC_DECL mat<2, 2, T, defaultp> orientate2(T const& angle);
-
220 
-
223  template<typename T>
-
224  GLM_FUNC_DECL mat<3, 3, T, defaultp> orientate3(T const& angle);
-
225 
-
228  template<typename T, qualifier Q>
-
229  GLM_FUNC_DECL mat<3, 3, T, Q> orientate3(vec<3, T, Q> const& angles);
-
230 
-
233  template<typename T, qualifier Q>
-
234  GLM_FUNC_DECL mat<4, 4, T, Q> orientate4(vec<3, T, Q> const& angles);
-
235 
-
238  template<typename T>
-
239  GLM_FUNC_DECL void extractEulerAngleXYZ(mat<4, 4, T, defaultp> const& M,
-
240  T & t1,
-
241  T & t2,
-
242  T & t3);
-
243 
-
246  template <typename T>
-
247  GLM_FUNC_DECL void extractEulerAngleYXZ(mat<4, 4, T, defaultp> const & M,
-
248  T & t1,
-
249  T & t2,
-
250  T & t3);
-
251 
-
254  template <typename T>
-
255  GLM_FUNC_DECL void extractEulerAngleXZX(mat<4, 4, T, defaultp> const & M,
-
256  T & t1,
-
257  T & t2,
-
258  T & t3);
-
259 
-
262  template <typename T>
-
263  GLM_FUNC_DECL void extractEulerAngleXYX(mat<4, 4, T, defaultp> const & M,
-
264  T & t1,
-
265  T & t2,
-
266  T & t3);
-
267 
-
270  template <typename T>
-
271  GLM_FUNC_DECL void extractEulerAngleYXY(mat<4, 4, T, defaultp> const & M,
-
272  T & t1,
-
273  T & t2,
-
274  T & t3);
-
275 
-
278  template <typename T>
-
279  GLM_FUNC_DECL void extractEulerAngleYZY(mat<4, 4, T, defaultp> const & M,
-
280  T & t1,
-
281  T & t2,
-
282  T & t3);
-
283 
-
286  template <typename T>
-
287  GLM_FUNC_DECL void extractEulerAngleZYZ(mat<4, 4, T, defaultp> const & M,
-
288  T & t1,
-
289  T & t2,
-
290  T & t3);
-
291 
-
294  template <typename T>
-
295  GLM_FUNC_DECL void extractEulerAngleZXZ(mat<4, 4, T, defaultp> const & M,
-
296  T & t1,
-
297  T & t2,
-
298  T & t3);
-
299 
-
302  template <typename T>
-
303  GLM_FUNC_DECL void extractEulerAngleXZY(mat<4, 4, T, defaultp> const & M,
-
304  T & t1,
-
305  T & t2,
-
306  T & t3);
-
307 
-
310  template <typename T>
-
311  GLM_FUNC_DECL void extractEulerAngleYZX(mat<4, 4, T, defaultp> const & M,
-
312  T & t1,
-
313  T & t2,
-
314  T & t3);
-
315 
-
318  template <typename T>
-
319  GLM_FUNC_DECL void extractEulerAngleZYX(mat<4, 4, T, defaultp> const & M,
-
320  T & t1,
-
321  T & t2,
-
322  T & t3);
-
323 
-
326  template <typename T>
-
327  GLM_FUNC_DECL void extractEulerAngleZXY(mat<4, 4, T, defaultp> const & M,
-
328  T & t1,
-
329  T & t2,
-
330  T & t3);
-
331 
-
333 }//namespace glm
-
334 
-
335 #include "euler_angles.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * Y).
-
GLM_FUNC_DECL void extractEulerAngleZYX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * Y * X) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZ(T const &angleZ)
Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Z.
-
GLM_FUNC_DECL void extractEulerAngleYZX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * Z * X) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYX(T const &angleY, T const &angleX)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X).
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL void extractEulerAngleYXZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * X * Z) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * X).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYZ(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZX(T const &angle, T const &angleX)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X).
-
GLM_FUNC_DECL void extractEulerAngleXYZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Y * Z) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Y).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleZ(T const &angleZ, T const &angularVelocityZ)
Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Z-axis.
-
GLM_FUNC_DECL T pitch(tquat< T, Q > const &x)
Returns pitch value of euler angles expressed in radians.
-
GLM_FUNC_DECL T yaw(tquat< T, Q > const &x)
Returns yaw value of euler angles expressed in radians.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZ(T const &angleY, T const &angleZ)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYZ(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleX(T const &angleX)
Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle X.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXY(T const &angleX, T const &angleY)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y).
-
GLM_FUNC_DECL void extractEulerAngleXZY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Z * Y) Euler angles from the rotation matrix M.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL void extractEulerAngleXYX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Y * X) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > orientate3(vec< 3, T, Q > const &angles)
Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * Y).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleY(T const &angleY)
Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Y.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleY(T const &angleY, T const &angularVelocityY)
Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Y-axis.
-
GLM_FUNC_DECL void extractEulerAngleYXY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * X * Y) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL void extractEulerAngleZXZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * X * Z) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > yawPitchRoll(T const &yaw, T const &pitch, T const &roll)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXZ(T const &yaw, T const &pitch, T const &roll)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).
-
GLM_FUNC_DECL T roll(tquat< T, Q > const &x)
Returns roll value of euler angles expressed in radians.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Y).
-
GLM_FUNC_DECL mat< 4, 4, T, Q > orientate4(vec< 3, T, Q > const &angles)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * X).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * X).
-
GLM_FUNC_DECL mat< 2, 2, T, defaultp > orientate2(T const &angle)
Creates a 2D 2 * 2 rotation matrix from an euler angle.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleX(T const &angleX, T const &angularVelocityX)
Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about X-axis.
-
GLM_FUNC_DECL void extractEulerAngleYZY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * Z * Y) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL void extractEulerAngleZYZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * Y * Z) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL void extractEulerAngleZXY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * X * Y) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL void extractEulerAngleXZX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Z * X) Euler angles from the rotation matrix M.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZ(T const &angleX, T const &angleZ)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * X).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXZ(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Z).
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZY(T const &angleZ, T const &angleY)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y).
-
- - - - diff --git a/doc/api/a00025.html b/doc/api/a00025.html deleted file mode 100644 index d1d57569..00000000 --- a/doc/api/a00025.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - - -0.9.9 API documenation: exponential.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
exponential.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > exp (vec< L, T, Q > const &v)
 Returns the natural exponentiation of x, i.e., e^x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > exp2 (vec< L, T, Q > const &v)
 Returns 2 raised to the v power. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > inversesqrt (vec< L, T, Q > const &v)
 Returns the reciprocal of the positive square root of v. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > log (vec< L, T, Q > const &v)
 Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > log2 (vec< L, T, Q > const &v)
 Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > pow (vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
 Returns 'base' raised to the power 'exponent'. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sqrt (vec< L, T, Q > const &v)
 Returns the positive square root of v. More...
 
-

Detailed Description

-
- - - - diff --git a/doc/api/a00025_source.html b/doc/api/a00025_source.html deleted file mode 100644 index cb699eb8..00000000 --- a/doc/api/a00025_source.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - -0.9.9 API documenation: exponential.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
exponential.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #include "detail/type_vec1.hpp"
-
16 #include "detail/type_vec2.hpp"
-
17 #include "detail/type_vec3.hpp"
-
18 #include "detail/type_vec4.hpp"
-
19 #include <cmath>
-
20 
-
21 namespace glm
-
22 {
-
25 
-
33  template<length_t L, typename T, qualifier Q>
-
34  GLM_FUNC_DECL vec<L, T, Q> pow(vec<L, T, Q> const& base, vec<L, T, Q> const& exponent);
-
35 
-
44  template<length_t L, typename T, qualifier Q>
-
45  GLM_FUNC_DECL vec<L, T, Q> exp(vec<L, T, Q> const& v);
-
46 
-
57  template<length_t L, typename T, qualifier Q>
-
58  GLM_FUNC_DECL vec<L, T, Q> log(vec<L, T, Q> const& v);
-
59 
-
68  template<length_t L, typename T, qualifier Q>
-
69  GLM_FUNC_DECL vec<L, T, Q> exp2(vec<L, T, Q> const& v);
-
70 
-
80  template<length_t L, typename T, qualifier Q>
-
81  GLM_FUNC_DECL vec<L, T, Q> log2(vec<L, T, Q> const& v);
-
82 
-
91  template<length_t L, typename T, qualifier Q>
-
92  GLM_FUNC_DECL vec<L, T, Q> sqrt(vec<L, T, Q> const& v);
-
93 
-
102  template<length_t L, typename T, qualifier Q>
-
103  GLM_FUNC_DECL vec<L, T, Q> inversesqrt(vec<L, T, Q> const& v);
-
104 
-
106 }//namespace glm
-
107 
-
108 #include "detail/func_exponential.inl"
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > log(vec< L, T, Q > const &v)
Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y...
-
GLM_FUNC_DECL vec< L, T, Q > exp2(vec< L, T, Q > const &v)
Returns 2 raised to the v power.
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > pow(vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
Returns 'base' raised to the power 'exponent'.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > sqrt(vec< L, T, Q > const &v)
Returns the positive square root of v.
-
GLM_FUNC_DECL vec< L, T, Q > exp(vec< L, T, Q > const &v)
Returns the natural exponentiation of x, i.e., e^x.
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > log2(vec< L, T, Q > const &v)
Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y...
-
GLM_FUNC_DECL vec< L, T, Q > inversesqrt(vec< L, T, Q > const &v)
Returns the reciprocal of the positive square root of v.
-
- - - - diff --git a/doc/api/a00026_source.html b/doc/api/a00026_source.html index 7c37ee5c..00a28031 100644 --- a/doc/api/a00026_source.html +++ b/doc/api/a00026_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: ext.hpp Source File + + +0.9.9 API documenation: compute_vector_relational.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
ext.hpp
+
compute_vector_relational.hpp
-Go to the documentation of this file.
1 
-
5 #include "detail/setup.hpp"
-
6 
-
7 #pragma once
-
8 
-
9 #include "glm.hpp"
-
10 
-
11 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED)
-
12 # define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
-
13 # pragma message("GLM: All extensions included (not recommended)")
-
14 #endif//GLM_MESSAGES
-
15 
-
16 #include "./ext/vec1.hpp"
- -
18 
-
19 #include "./gtc/bitfield.hpp"
-
20 #include "./gtc/color_space.hpp"
-
21 #include "./gtc/constants.hpp"
-
22 #include "./gtc/epsilon.hpp"
-
23 #include "./gtc/integer.hpp"
-
24 #include "./gtc/matrix_access.hpp"
-
25 #include "./gtc/matrix_integer.hpp"
-
26 #include "./gtc/matrix_inverse.hpp"
- -
28 #include "./gtc/noise.hpp"
-
29 #include "./gtc/packing.hpp"
-
30 #include "./gtc/quaternion.hpp"
-
31 #include "./gtc/random.hpp"
-
32 #include "./gtc/reciprocal.hpp"
-
33 #include "./gtc/round.hpp"
-
34 //#include "./gtc/type_aligned.hpp"
-
35 #include "./gtc/type_precision.hpp"
-
36 #include "./gtc/type_ptr.hpp"
-
37 #include "./gtc/ulp.hpp"
-
38 #include "./gtc/vec1.hpp"
-
39 #if GLM_HAS_ALIGNED_TYPE
-
40 # include "./gtc/type_aligned.hpp"
-
41 #endif
-
42 
-
43 #ifdef GLM_ENABLE_EXPERIMENTAL
- -
45 #include "./gtx/bit.hpp"
-
46 #include "./gtx/closest_point.hpp"
-
47 #include "./gtx/color_encoding.hpp"
-
48 #include "./gtx/color_space.hpp"
- -
50 #include "./gtx/compatibility.hpp"
-
51 #include "./gtx/component_wise.hpp"
- -
53 #include "./gtx/euler_angles.hpp"
-
54 #include "./gtx/extend.hpp"
- - - - -
59 #include "./gtx/functions.hpp"
-
60 #include "./gtx/gradient_paint.hpp"
- -
62 #include "./gtx/integer.hpp"
-
63 #include "./gtx/intersect.hpp"
-
64 #include "./gtx/log_base.hpp"
- - - - -
69 #include "./gtx/matrix_query.hpp"
-
70 #include "./gtx/mixed_product.hpp"
-
71 #include "./gtx/norm.hpp"
-
72 #include "./gtx/normal.hpp"
-
73 #include "./gtx/normalize_dot.hpp"
- -
75 #include "./gtx/optimum_pow.hpp"
-
76 #include "./gtx/orthonormalize.hpp"
-
77 #include "./gtx/perpendicular.hpp"
- -
79 #include "./gtx/projection.hpp"
-
80 #include "./gtx/quaternion.hpp"
-
81 #include "./gtx/raw_data.hpp"
-
82 #include "./gtx/rotate_vector.hpp"
-
83 #include "./gtx/spline.hpp"
-
84 #include "./gtx/std_based_type.hpp"
-
85 #if !(GLM_COMPILER & GLM_COMPILER_CUDA)
-
86 # include "./gtx/string_cast.hpp"
-
87 #endif
-
88 #include "./gtx/transform.hpp"
-
89 #include "./gtx/transform2.hpp"
-
90 #include "./gtx/vec_swizzle.hpp"
-
91 #include "./gtx/vector_angle.hpp"
-
92 #include "./gtx/vector_query.hpp"
-
93 #include "./gtx/wrap.hpp"
-
94 
-
95 #if GLM_HAS_TEMPLATE_ALIASES
- -
97 #endif
-
98 
-
99 #if GLM_HAS_RANGE_FOR
-
100 # include "./gtx/range.hpp"
-
101 #endif
-
102 #endif//GLM_ENABLE_EXPERIMENTAL
-
GLM_GTX_euler_angles
-
GLM_GTX_closest_point
-
GLM_GTC_round
-
GLM_GTX_extend
-
GLM_EXT_vec1
-
GLM_GTX_fast_exponential
-
GLM_GTC_reciprocal
-
GLM_GTX_orthonormalize
-
GLM_GTX_matrix_major_storage
-
GLM_EXT_vector_relational
-
GLM_GTX_matrix_interpolation
-
GLM_GTC_epsilon
-
GLM_GTX_dual_quaternion
-
GLM_GTX_perpendicular
-
GLM_GTX_std_based_type
-
GLM_GTC_matrix_transform
-
GLM_GTX_quaternion
-
GLM_GTX_intersect
-
GLM_GTX_component_wise
-
GLM_GTC_type_precision
-
GLM_GTC_noise
-
GLM_GTX_integer
-
GLM_GTX_transform
-
GLM_GTX_raw_data
-
GLM_GTX_optimum_pow
-
GLM_GTC_matrix_inverse
-
GLM_GTX_handed_coordinate_space
-
GLM_GTC_bitfield
-
GLM_GTX_rotate_vector
-
GLM_GTC_matrix_integer
-
GLM_GTC_ulp
-
GLM_GTX_color_space_YCoCg
-
GLM_GTC_color_space
-
GLM_GTX_spline
-
GLM_GTC_quaternion
-
GLM_GTX_transform2
-
GLM_GTX_matrix_cross_product
-
GLM_GTX_projection
-
GLM_GTX_compatibility
-
GLM_GTX_vector_query
-
GLM_GTX_fast_trigonometry
-
GLM_GTX_vec_swizzle
-
GLM_GTC_constants
-
GLM_GTX_matrix_query
-
GLM_GTX_gradient_paint
-
GLM_GTX_wrap
-
GLM_GTX_color_space
-
GLM_GTC_integer
-
GLM_GTX_color_encoding
-
GLM_GTX_mixed_producte
-
GLM_GTX_range
-
GLM_GTC_matrix_access
-
GLM_GTX_number_precision
-
GLM_GTX_log_base
-
GLM_GTX_normal
-
GLM_GTX_functions
-
GLM_GTX_bit
-
GLM_GTX_vector_angle
-
GLM_GTX_fast_square_root
-
GLM_GTC_packing
-
Core features
-
GLM_GTX_matrix_operation
-
Experimental extensions
-
GLM_GTX_extented_min_max
-
GLM_GTC_vec1
-
GLM_GTX_polar_coordinates
-
GLM_GTX_string_cast
-
GLM_GTC_random
-
GLM_GTC_type_aligned
-
GLM_GTX_normalize_dot
-
GLM_GTC_type_ptr
-
GLM_GTX_norm
-
Core features
-
GLM_GTX_associated_min_max
+
1 #pragma once
2 
3 //#include "compute_common.hpp"
4 #include "setup.hpp"
5 #include <limits>
6 
7 namespace glm{
8 namespace detail
9 {
10  template <typename T, bool isFloat>
11  struct compute_equal
12  {
13  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static bool call(T a, T b)
14  {
15  return a == b;
16  }
17  };
18 /*
19  template <typename T>
20  struct compute_equal<T, true>
21  {
22  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static bool call(T a, T b)
23  {
24  return detail::compute_abs<T, std::numeric_limits<T>::is_signed>::call(b - a) <= static_cast<T>(0);
25  //return std::memcmp(&a, &b, sizeof(T)) == 0;
26  }
27  };
28 */
29 }//namespace detail
30 }//namespace glm
Definition: common.hpp:20
diff --git a/doc/api/a00027_source.html b/doc/api/a00027_source.html deleted file mode 100644 index d701adf7..00000000 --- a/doc/api/a00027_source.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -0.9.9 API documenation: extend.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
extend.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_extend is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_extend extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename genType>
-
34  GLM_FUNC_DECL genType extend(
-
35  genType const& Origin,
-
36  genType const& Source,
-
37  typename genType::value_type const Length);
-
38 
-
40 }//namespace glm
-
41 
-
42 #include "extend.inl"
-
GLM_FUNC_DECL genType extend(genType const &Origin, genType const &Source, typename genType::value_type const Length)
Extends of Length the Origin position using the (Source - Origin) direction.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00028_source.html b/doc/api/a00028_source.html deleted file mode 100644 index 49379874..00000000 --- a/doc/api/a00028_source.html +++ /dev/null @@ -1,231 +0,0 @@ - - - - - - -0.9.9 API documenation: extended_min_max.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
extended_min_max.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_extented_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_extented_min_max extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T>
-
34  GLM_FUNC_DECL T min(
-
35  T const& x,
-
36  T const& y,
-
37  T const& z);
-
38 
-
41  template<typename T, template<typename> class C>
-
42  GLM_FUNC_DECL C<T> min(
-
43  C<T> const& x,
-
44  typename C<T>::T const& y,
-
45  typename C<T>::T const& z);
-
46 
-
49  template<typename T, template<typename> class C>
-
50  GLM_FUNC_DECL C<T> min(
-
51  C<T> const& x,
-
52  C<T> const& y,
-
53  C<T> const& z);
-
54 
-
57  template<typename T>
-
58  GLM_FUNC_DECL T min(
-
59  T const& x,
-
60  T const& y,
-
61  T const& z,
-
62  T const& w);
-
63 
-
66  template<typename T, template<typename> class C>
-
67  GLM_FUNC_DECL C<T> min(
-
68  C<T> const& x,
-
69  typename C<T>::T const& y,
-
70  typename C<T>::T const& z,
-
71  typename C<T>::T const& w);
-
72 
-
75  template<typename T, template<typename> class C>
-
76  GLM_FUNC_DECL C<T> min(
-
77  C<T> const& x,
-
78  C<T> const& y,
-
79  C<T> const& z,
-
80  C<T> const& w);
-
81 
-
84  template<typename T>
-
85  GLM_FUNC_DECL T max(
-
86  T const& x,
-
87  T const& y,
-
88  T const& z);
-
89 
-
92  template<typename T, template<typename> class C>
-
93  GLM_FUNC_DECL C<T> max(
-
94  C<T> const& x,
-
95  typename C<T>::T const& y,
-
96  typename C<T>::T const& z);
-
97 
-
100  template<typename T, template<typename> class C>
-
101  GLM_FUNC_DECL C<T> max(
-
102  C<T> const& x,
-
103  C<T> const& y,
-
104  C<T> const& z);
-
105 
-
108  template<typename T>
-
109  GLM_FUNC_DECL T max(
-
110  T const& x,
-
111  T const& y,
-
112  T const& z,
-
113  T const& w);
-
114 
-
117  template<typename T, template<typename> class C>
-
118  GLM_FUNC_DECL C<T> max(
-
119  C<T> const& x,
-
120  typename C<T>::T const& y,
-
121  typename C<T>::T const& z,
-
122  typename C<T>::T const& w);
-
123 
-
126  template<typename T, template<typename> class C>
-
127  GLM_FUNC_DECL C<T> max(
-
128  C<T> const& x,
-
129  C<T> const& y,
-
130  C<T> const& z,
-
131  C<T> const& w);
-
132 
-
138  template<typename genType>
-
139  GLM_FUNC_DECL genType fmin(genType x, genType y);
-
140 
-
149  template<length_t L, typename T, qualifier Q>
-
150  GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, T y);
-
151 
-
160  template<length_t L, typename T, qualifier Q>
-
161  GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
162 
-
169  template<typename genType>
-
170  GLM_FUNC_DECL genType fmax(genType x, genType y);
-
171 
-
180  template<length_t L, typename T, qualifier Q>
-
181  GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& x, T y);
-
182 
-
191  template<length_t L, typename T, qualifier Q>
-
192  GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
193 
-
199  template<typename genType>
-
200  GLM_FUNC_DECL genType fclamp(genType x, genType minVal, genType maxVal);
-
201 
-
209  template<length_t L, typename T, qualifier Q>
-
210  GLM_FUNC_DECL vec<L, T, Q> fclamp(vec<L, T, Q> const& x, T minVal, T maxVal);
-
211 
-
219  template<length_t L, typename T, qualifier Q>
-
220  GLM_FUNC_DECL vec<L, T, Q> fclamp(vec<L, T, Q> const& x, vec<L, T, Q> const& minVal, vec<L, T, Q> const& maxVal);
-
221 
-
222 
-
224 }//namespace glm
-
225 
-
226 #include "extended_min_max.inl"
-
GLM_FUNC_DECL C< T > max(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the maximum component-wise values of 4 inputs.
-
GLM_FUNC_DECL vec< L, T, Q > fclamp(vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
Returns min(max(x, minVal), maxVal) for each component in x.
-
GLM_FUNC_DECL C< T > min(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the minimum component-wise values of 4 inputs.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > fmax(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns y if x < y; otherwise, it returns x.
-
GLM_FUNC_DECL vec< L, T, Q > fmin(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns y if y < x; otherwise, it returns x.
-
- - - - diff --git a/doc/api/a00029_source.html b/doc/api/a00029_source.html index e5df808b..ca814a13 100644 --- a/doc/api/a00029_source.html +++ b/doc/api/a00029_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: exterior_product.hpp Source File + + +0.9.9 API documenation: qualifier.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
exterior_product.hpp
+
qualifier.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 
-
20 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
21 # pragma message("GLM: GLM_GTX_exterior_product extension included")
-
22 #endif
-
23 
-
24 namespace glm
-
25 {
-
28 
-
35  template<typename T, qualifier Q>
-
36  GLM_FUNC_DECL T cross(vec<2, T, Q> const& v, vec<2, T, Q> const& u);
-
37 
-
39 } //namespace glm
-
40 
-
41 #include "exterior_product.inl"
-
GLM_FUNC_DECL T cross(vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
Returns the cross product of x and y.
-
Definition: common.hpp:20
+
1 #pragma once
2 
3 #include "setup.hpp"
4 
5 namespace glm
6 {
8  enum qualifier
9  {
10  packed_highp,
11  packed_mediump,
12  packed_lowp,
13 
14 # if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
15  aligned_highp,
16  aligned_mediump,
17  aligned_lowp, // ///< Typed data is aligned in memory allowing SIMD optimizations and operations are executed with high precision in term of ULPs to maximize performance
18  aligned = aligned_highp,
19 # endif
20 
21  highp = packed_highp,
22  mediump = packed_mediump,
23  lowp = packed_lowp,
24  packed = packed_highp,
25 
26 # if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE && defined(GLM_FORCE_DEFAULT_ALIGNED_GENTYPES)
27  defaultp = aligned_highp
28 # else
29  defaultp = highp
30 # endif
31  };
32 
33  typedef qualifier precision;
34 
35  template<length_t L, typename T, qualifier Q = defaultp> struct vec;
36  template<length_t C, length_t R, typename T, qualifier Q = defaultp> struct mat;
37  template<typename T, qualifier Q = defaultp> struct qua;
38 
39 # if GLM_HAS_TEMPLATE_ALIASES
40  template <typename T, qualifier Q = defaultp> using tvec1 = vec<1, T, Q>;
41  template <typename T, qualifier Q = defaultp> using tvec2 = vec<2, T, Q>;
42  template <typename T, qualifier Q = defaultp> using tvec3 = vec<3, T, Q>;
43  template <typename T, qualifier Q = defaultp> using tvec4 = vec<4, T, Q>;
44  template <typename T, qualifier Q = defaultp> using tmat2x2 = mat<2, 2, T, Q>;
45  template <typename T, qualifier Q = defaultp> using tmat2x3 = mat<2, 3, T, Q>;
46  template <typename T, qualifier Q = defaultp> using tmat2x4 = mat<2, 4, T, Q>;
47  template <typename T, qualifier Q = defaultp> using tmat3x2 = mat<3, 2, T, Q>;
48  template <typename T, qualifier Q = defaultp> using tmat3x3 = mat<3, 3, T, Q>;
49  template <typename T, qualifier Q = defaultp> using tmat3x4 = mat<3, 4, T, Q>;
50  template <typename T, qualifier Q = defaultp> using tmat4x2 = mat<4, 2, T, Q>;
51  template <typename T, qualifier Q = defaultp> using tmat4x3 = mat<4, 3, T, Q>;
52  template <typename T, qualifier Q = defaultp> using tmat4x4 = mat<4, 4, T, Q>;
53  template <typename T, qualifier Q = defaultp> using tquat = qua<T, Q>;
54 # endif
55 
56 namespace detail
57 {
58  template<glm::qualifier P>
59  struct is_aligned
60  {
61  static const bool value = false;
62  };
63 
64 # if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
65  template<>
66  struct is_aligned<glm::aligned_lowp>
67  {
68  static const bool value = true;
69  };
70 
71  template<>
72  struct is_aligned<glm::aligned_mediump>
73  {
74  static const bool value = true;
75  };
76 
77  template<>
78  struct is_aligned<glm::aligned_highp>
79  {
80  static const bool value = true;
81  };
82 # endif
83 
84  template<length_t L, typename T, bool is_aligned>
85  struct storage
86  {
87  typedef struct type {
88  T data[L];
89  } type;
90  };
91 
92 # if GLM_HAS_ALIGNOF
93  template<length_t L, typename T>
94  struct storage<L, T, true>
95  {
96  typedef struct alignas(L * sizeof(T)) type {
97  T data[L];
98  } type;
99  };
100 
101  template<typename T>
102  struct storage<3, T, true>
103  {
104  typedef struct alignas(4 * sizeof(T)) type {
105  T data[4];
106  } type;
107  };
108 # endif
109 
110 # if GLM_ARCH & GLM_ARCH_SSE2_BIT
111  template<>
112  struct storage<4, float, true>
113  {
114  typedef glm_f32vec4 type;
115  };
116 
117  template<>
118  struct storage<4, int, true>
119  {
120  typedef glm_i32vec4 type;
121  };
122 
123  template<>
124  struct storage<4, unsigned int, true>
125  {
126  typedef glm_u32vec4 type;
127  };
128 
129  template<>
130  struct storage<2, double, true>
131  {
132  typedef glm_f64vec2 type;
133  };
134 
135  template<>
136  struct storage<2, detail::int64, true>
137  {
138  typedef glm_i64vec2 type;
139  };
140 
141  template<>
142  struct storage<2, detail::uint64, true>
143  {
144  typedef glm_u64vec2 type;
145  };
146 # endif
147 
148 # if (GLM_ARCH & GLM_ARCH_AVX_BIT)
149  template<>
150  struct storage<4, double, true>
151  {
152  typedef glm_f64vec4 type;
153  };
154 # endif
155 
156 # if (GLM_ARCH & GLM_ARCH_AVX2_BIT)
157  template<>
158  struct storage<4, detail::int64, true>
159  {
160  typedef glm_i64vec4 type;
161  };
162 
163  template<>
164  struct storage<4, detail::uint64, true>
165  {
166  typedef glm_u64vec4 type;
167  };
168 # endif
169 
170  enum genTypeEnum
171  {
172  GENTYPE_VEC,
173  GENTYPE_MAT,
174  GENTYPE_QUAT
175  };
176 
177  template <typename genType>
178  struct genTypeTrait
179  {};
180 
181  template <length_t C, length_t R, typename T>
182  struct genTypeTrait<mat<C, R, T> >
183  {
184  static const genTypeEnum GENTYPE = GENTYPE_MAT;
185  };
186 
187  template<typename genType, genTypeEnum type>
188  struct init_gentype
189  {
190  };
191 
192  template<typename genType>
193  struct init_gentype<genType, GENTYPE_QUAT>
194  {
195  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genType identity()
196  {
197  return genType(1, 0, 0, 0);
198  }
199  };
200 
201  template<typename genType>
202  struct init_gentype<genType, GENTYPE_MAT>
203  {
204  GLM_FUNC_QUALIFIER GLM_CONSTEXPR static genType identity()
205  {
206  return genType(1);
207  }
208  };
209 }//namespace detail
210 }//namespace glm
GLM_FUNC_DECL GLM_CONSTEXPR genType identity()
Builds an identity matrix.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
detail::int64 int64
64 bit signed integer type.
+
Definition: common.hpp:20
diff --git a/doc/api/a00030_source.html b/doc/api/a00030_source.html deleted file mode 100644 index e61e25e3..00000000 --- a/doc/api/a00030_source.html +++ /dev/null @@ -1,161 +0,0 @@ - - - - - - -0.9.9 API documenation: fast_exponential.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
fast_exponential.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_fast_exponential is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_fast_exponential extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename genType>
-
35  GLM_FUNC_DECL genType fastPow(genType x, genType y);
-
36 
-
39  template<length_t L, typename T, qualifier Q>
-
40  GLM_FUNC_DECL vec<L, T, Q> fastPow(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
41 
-
44  template<typename genTypeT, typename genTypeU>
-
45  GLM_FUNC_DECL genTypeT fastPow(genTypeT x, genTypeU y);
-
46 
-
49  template<length_t L, typename T, qualifier Q>
-
50  GLM_FUNC_DECL vec<L, T, Q> fastPow(vec<L, T, Q> const& x);
-
51 
-
54  template<typename T>
-
55  GLM_FUNC_DECL T fastExp(T x);
-
56 
-
59  template<length_t L, typename T, qualifier Q>
-
60  GLM_FUNC_DECL vec<L, T, Q> fastExp(vec<L, T, Q> const& x);
-
61 
-
64  template<typename T>
-
65  GLM_FUNC_DECL T fastLog(T x);
-
66 
-
69  template<length_t L, typename T, qualifier Q>
-
70  GLM_FUNC_DECL vec<L, T, Q> fastLog(vec<L, T, Q> const& x);
-
71 
-
74  template<typename T>
-
75  GLM_FUNC_DECL T fastExp2(T x);
-
76 
-
79  template<length_t L, typename T, qualifier Q>
-
80  GLM_FUNC_DECL vec<L, T, Q> fastExp2(vec<L, T, Q> const& x);
-
81 
-
84  template<typename T>
-
85  GLM_FUNC_DECL T fastLog2(T x);
-
86 
-
89  template<length_t L, typename T, qualifier Q>
-
90  GLM_FUNC_DECL vec<L, T, Q> fastLog2(vec<L, T, Q> const& x);
-
91 
-
93 }//namespace glm
-
94 
-
95 #include "fast_exponential.inl"
-
GLM_FUNC_DECL vec< L, T, Q > fastExp(vec< L, T, Q > const &x)
Faster than the common exp function but less accurate.
-
GLM_FUNC_DECL vec< L, T, Q > fastLog2(vec< L, T, Q > const &x)
Faster than the common log2 function but less accurate.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > fastPow(vec< L, T, Q > const &x)
Faster than the common pow function but less accurate.
-
GLM_FUNC_DECL vec< L, T, Q > fastLog(vec< L, T, Q > const &x)
Faster than the common exp2 function but less accurate.
-
GLM_FUNC_DECL vec< L, T, Q > fastExp2(vec< L, T, Q > const &x)
Faster than the common exp2 function but less accurate.
-
- - - - diff --git a/doc/api/a00031_source.html b/doc/api/a00031_source.html deleted file mode 100644 index 6ae1729f..00000000 --- a/doc/api/a00031_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -0.9.9 API documenation: fast_square_root.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
fast_square_root.hpp
-
-
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 // Dependency:
-
18 #include "../common.hpp"
-
19 #include "../exponential.hpp"
-
20 #include "../geometric.hpp"
-
21 
-
22 #ifndef GLM_ENABLE_EXPERIMENTAL
-
23 # error "GLM: GLM_GTX_fast_square_root is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
24 #endif
-
25 
-
26 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
27 # pragma message("GLM: GLM_GTX_fast_square_root extension included")
-
28 #endif
-
29 
-
30 namespace glm
-
31 {
-
34 
-
38  template<typename genType>
-
39  GLM_FUNC_DECL genType fastSqrt(genType x);
-
40 
-
44  template<length_t L, typename T, qualifier Q>
-
45  GLM_FUNC_DECL vec<L, T, Q> fastSqrt(vec<L, T, Q> const& x);
-
46 
-
50  template<typename genType>
-
51  GLM_FUNC_DECL genType fastInverseSqrt(genType x);
-
52 
-
56  template<length_t L, typename T, qualifier Q>
-
57  GLM_FUNC_DECL vec<L, T, Q> fastInverseSqrt(vec<L, T, Q> const& x);
-
58 
-
62  template<typename genType>
-
63  GLM_FUNC_DECL genType fastLength(genType x);
-
64 
-
68  template<length_t L, typename T, qualifier Q>
-
69  GLM_FUNC_DECL T fastLength(vec<L, T, Q> const& x);
-
70 
-
74  template<typename genType>
-
75  GLM_FUNC_DECL genType fastDistance(genType x, genType y);
-
76 
-
80  template<length_t L, typename T, qualifier Q>
-
81  GLM_FUNC_DECL T fastDistance(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
82 
-
86  template<typename genType>
-
87  GLM_FUNC_DECL genType fastNormalize(genType const& x);
-
88 
-
90 }// namespace glm
-
91 
-
92 #include "fast_square_root.inl"
-
GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt(vec< L, T, Q > const &x)
Faster than the common inversesqrt function but less accurate.
-
GLM_FUNC_DECL T fastDistance(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Faster than the common distance function but less accurate.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T fastLength(vec< L, T, Q > const &x)
Faster than the common length function but less accurate.
-
GLM_FUNC_DECL vec< L, T, Q > fastSqrt(vec< L, T, Q > const &x)
Faster than the common sqrt function but less accurate.
-
GLM_FUNC_DECL genType fastNormalize(genType const &x)
Faster than the common normalize function but less accurate.
-
- - - - diff --git a/doc/api/a00032_source.html b/doc/api/a00032_source.html index fc9e0b9e..077bee2f 100644 --- a/doc/api/a00032_source.html +++ b/doc/api/a00032_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: fast_trigonometry.hpp Source File + + +0.9.9 API documenation: setup.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
fast_trigonometry.hpp
+
setup.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../gtc/constants.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_fast_trigonometry is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_fast_trigonometry extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T>
-
34  GLM_FUNC_DECL T wrapAngle(T angle);
-
35 
-
38  template<typename T>
-
39  GLM_FUNC_DECL T fastSin(T angle);
-
40 
-
43  template<typename T>
-
44  GLM_FUNC_DECL T fastCos(T angle);
-
45 
-
49  template<typename T>
-
50  GLM_FUNC_DECL T fastTan(T angle);
-
51 
-
55  template<typename T>
-
56  GLM_FUNC_DECL T fastAsin(T angle);
-
57 
-
61  template<typename T>
-
62  GLM_FUNC_DECL T fastAcos(T angle);
-
63 
-
67  template<typename T>
-
68  GLM_FUNC_DECL T fastAtan(T y, T x);
-
69 
-
73  template<typename T>
-
74  GLM_FUNC_DECL T fastAtan(T angle);
-
75 
-
77 }//namespace glm
-
78 
-
79 #include "fast_trigonometry.inl"
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL T fastTan(T angle)
Faster than the common tan function but less accurate.
-
GLM_FUNC_DECL T fastAcos(T angle)
Faster than the common acos function but less accurate.
-
GLM_FUNC_DECL T fastAtan(T angle)
Faster than the common atan function but less accurate.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T fastCos(T angle)
Faster than the common cos function but less accurate.
-
GLM_FUNC_DECL T wrapAngle(T angle)
Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension.
-
GLM_FUNC_DECL T fastSin(T angle)
Faster than the common sin function but less accurate.
-
GLM_FUNC_DECL T fastAsin(T angle)
Faster than the common asin function but less accurate.
+
1 #ifndef GLM_SETUP_INCLUDED
2 
3 #include <cassert>
4 #include <cstddef>
5 
6 #define GLM_VERSION_MAJOR 0
7 #define GLM_VERSION_MINOR 9
8 #define GLM_VERSION_PATCH 9
9 #define GLM_VERSION_REVISION 1
10 #define GLM_VERSION 991
11 #define GLM_VERSION_MESSAGE "GLM: version 0.9.9.1"
12 
13 #define GLM_SETUP_INCLUDED GLM_VERSION
14 
16 // Active states
17 
18 #define GLM_DISABLE 0
19 #define GLM_ENABLE 1
20 
22 // Messages
23 
24 #if defined(GLM_FORCE_MESSAGES)
25 # define GLM_MESSAGES GLM_ENABLE
26 #else
27 # define GLM_MESSAGES GLM_DISABLE
28 #endif
29 
31 // Detect the platform
32 
33 #include "../simd/platform.h"
34 
36 // Build model
37 
38 #if defined(__arch64__) || defined(__LP64__) || defined(_M_X64) || defined(__ppc64__) || defined(__x86_64__)
39 # define GLM_MODEL GLM_MODEL_64
40 #elif defined(__i386__) || defined(__ppc__)
41 # define GLM_MODEL GLM_MODEL_32
42 #else
43 # define GLM_MODEL GLM_MODEL_32
44 #endif//
45 
46 #if !defined(GLM_MODEL) && GLM_COMPILER != 0
47 # error "GLM_MODEL undefined, your compiler may not be supported by GLM. Add #define GLM_MODEL 0 to ignore this message."
48 #endif//GLM_MODEL
49 
51 // C++ Version
52 
53 // User defines: GLM_FORCE_CXX98, GLM_FORCE_CXX03, GLM_FORCE_CXX11, GLM_FORCE_CXX14, GLM_FORCE_CXX17, GLM_FORCE_CXX2A
54 
55 #define GLM_LANG_CXX98_FLAG (1 << 1)
56 #define GLM_LANG_CXX03_FLAG (1 << 2)
57 #define GLM_LANG_CXX0X_FLAG (1 << 3)
58 #define GLM_LANG_CXX11_FLAG (1 << 4)
59 #define GLM_LANG_CXX14_FLAG (1 << 5)
60 #define GLM_LANG_CXX17_FLAG (1 << 6)
61 #define GLM_LANG_CXX2A_FLAG (1 << 7)
62 #define GLM_LANG_CXXMS_FLAG (1 << 8)
63 #define GLM_LANG_CXXGNU_FLAG (1 << 9)
64 
65 #define GLM_LANG_CXX98 GLM_LANG_CXX98_FLAG
66 #define GLM_LANG_CXX03 (GLM_LANG_CXX98 | GLM_LANG_CXX03_FLAG)
67 #define GLM_LANG_CXX0X (GLM_LANG_CXX03 | GLM_LANG_CXX0X_FLAG)
68 #define GLM_LANG_CXX11 (GLM_LANG_CXX0X | GLM_LANG_CXX11_FLAG)
69 #define GLM_LANG_CXX14 (GLM_LANG_CXX11 | GLM_LANG_CXX14_FLAG)
70 #define GLM_LANG_CXX17 (GLM_LANG_CXX14 | GLM_LANG_CXX17_FLAG)
71 #define GLM_LANG_CXX2A (GLM_LANG_CXX17 | GLM_LANG_CXX2A_FLAG)
72 #define GLM_LANG_CXXMS GLM_LANG_CXXMS_FLAG
73 #define GLM_LANG_CXXGNU GLM_LANG_CXXGNU_FLAG
74 
75 #if (defined(_MSC_EXTENSIONS))
76 # define GLM_LANG_EXT GLM_LANG_CXXMS_FLAG
77 #elif ((GLM_COMPILER & (GLM_COMPILER_CLANG | GLM_COMPILER_GCC)) && (GLM_ARCH & GLM_ARCH_SIMD_BIT))
78 # define GLM_LANG_EXT GLM_LANG_CXXMS_FLAG
79 #else
80 # define GLM_LANG_EXT 0
81 #endif
82 
83 #if (defined(GLM_FORCE_CXX_UNKNOWN))
84 # define GLM_LANG 0
85 #elif defined(GLM_FORCE_CXX2A)
86 # define GLM_LANG (GLM_LANG_CXX2A | GLM_LANG_EXT)
87 # define GLM_LANG_STL11_FORCED
88 #elif defined(GLM_FORCE_CXX17)
89 # define GLM_LANG (GLM_LANG_CXX17 | GLM_LANG_EXT)
90 # define GLM_LANG_STL11_FORCED
91 #elif defined(GLM_FORCE_CXX14)
92 # define GLM_LANG (GLM_LANG_CXX14 | GLM_LANG_EXT)
93 # define GLM_LANG_STL11_FORCED
94 #elif defined(GLM_FORCE_CXX11)
95 # define GLM_LANG (GLM_LANG_CXX11 | GLM_LANG_EXT)
96 # define GLM_LANG_STL11_FORCED
97 #elif defined(GLM_FORCE_CXX03)
98 # define GLM_LANG (GLM_LANG_CXX03 | GLM_LANG_EXT)
99 #elif defined(GLM_FORCE_CXX98)
100 # define GLM_LANG (GLM_LANG_CXX98 | GLM_LANG_EXT)
101 #else
102 # if GLM_COMPILER & GLM_COMPILER_VC && defined(_MSVC_LANG)
103 # if GLM_COMPILER >= GLM_COMPILER_VC15_7
104 # define GLM_LANG_PLATFORM _MSVC_LANG
105 # elif GLM_COMPILER >= GLM_COMPILER_VC15
106 # if _MSVC_LANG > 201402L
107 # define GLM_LANG_PLATFORM 201402L
108 # else
109 # define GLM_LANG_PLATFORM _MSVC_LANG
110 # endif
111 # else
112 # define GLM_LANG_PLATFORM 0
113 # endif
114 # else
115 # define GLM_LANG_PLATFORM 0
116 # endif
117 
118 # if __cplusplus > 201703L || GLM_LANG_PLATFORM > 201703L
119 # define GLM_LANG (GLM_LANG_CXX2A | GLM_LANG_EXT)
120 # elif __cplusplus == 201703L || GLM_LANG_PLATFORM == 201703L
121 # define GLM_LANG (GLM_LANG_CXX17 | GLM_LANG_EXT)
122 # elif __cplusplus == 201402L || GLM_LANG_PLATFORM == 201402L
123 # define GLM_LANG (GLM_LANG_CXX14 | GLM_LANG_EXT)
124 # elif __cplusplus == 201103L || GLM_LANG_PLATFORM == 201103L
125 # define GLM_LANG (GLM_LANG_CXX11 | GLM_LANG_EXT)
126 # elif defined(__INTEL_CXX11_MODE__) || defined(_MSC_VER) || defined(__GXX_EXPERIMENTAL_CXX0X__)
127 # define GLM_LANG (GLM_LANG_CXX0X | GLM_LANG_EXT)
128 # elif __cplusplus == 199711L
129 # define GLM_LANG (GLM_LANG_CXX98 | GLM_LANG_EXT)
130 # else
131 # define GLM_LANG (0 | GLM_LANG_EXT)
132 # endif
133 #endif
134 
136 // Has of C++ features
137 
138 // http://clang.llvm.org/cxx_status.html
139 // http://gcc.gnu.org/projects/cxx0x.html
140 // http://msdn.microsoft.com/en-us/library/vstudio/hh567368(v=vs.120).aspx
141 
142 // Android has multiple STLs but C++11 STL detection doesn't always work #284 #564
143 #if GLM_PLATFORM == GLM_PLATFORM_ANDROID && !defined(GLM_LANG_STL11_FORCED)
144 # define GLM_HAS_CXX11_STL 0
145 #elif GLM_COMPILER & GLM_COMPILER_CLANG
146 # if (defined(_LIBCPP_VERSION) && GLM_LANG & GLM_LANG_CXX11_FLAG) || defined(GLM_LANG_STL11_FORCED)
147 # define GLM_HAS_CXX11_STL 1
148 # else
149 # define GLM_HAS_CXX11_STL 0
150 # endif
151 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
152 # define GLM_HAS_CXX11_STL 1
153 #else
154 # define GLM_HAS_CXX11_STL ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
155  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC48)) || \
156  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
157  ((GLM_PLATFORM != GLM_PLATFORM_WINDOWS) && (GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL15))))
158 #endif
159 
160 // N1720
161 #if GLM_COMPILER & GLM_COMPILER_CLANG
162 # define GLM_HAS_STATIC_ASSERT __has_feature(cxx_static_assert)
163 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
164 # define GLM_HAS_STATIC_ASSERT 1
165 #else
166 # define GLM_HAS_STATIC_ASSERT ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
167  ((GLM_COMPILER & GLM_COMPILER_CUDA)) || \
168  ((GLM_COMPILER & GLM_COMPILER_VC))))
169 #endif
170 
171 // N1988
172 #if GLM_LANG & GLM_LANG_CXX11_FLAG
173 # define GLM_HAS_EXTENDED_INTEGER_TYPE 1
174 #else
175 # define GLM_HAS_EXTENDED_INTEGER_TYPE (\
176  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_VC)) || \
177  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_CUDA)) || \
178  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_CLANG)))
179 #endif
180 
181 // N2672 Initializer lists http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2672.htm
182 #if GLM_COMPILER & GLM_COMPILER_CLANG
183 # define GLM_HAS_INITIALIZER_LISTS __has_feature(cxx_generalized_initializers)
184 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
185 # define GLM_HAS_INITIALIZER_LISTS 1
186 #else
187 # define GLM_HAS_INITIALIZER_LISTS ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
188  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15)) || \
189  ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL14)) || \
190  ((GLM_COMPILER & GLM_COMPILER_CUDA) && (GLM_COMPILER >= GLM_COMPILER_CUDA75))))
191 #endif
192 
193 // N2544 Unrestricted unions http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf
194 #if GLM_COMPILER & GLM_COMPILER_CLANG
195 # define GLM_HAS_UNRESTRICTED_UNIONS __has_feature(cxx_unrestricted_unions)
196 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
197 # define GLM_HAS_UNRESTRICTED_UNIONS 1
198 #else
199 # define GLM_HAS_UNRESTRICTED_UNIONS (GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
200  (GLM_COMPILER & GLM_COMPILER_VC) || \
201  ((GLM_COMPILER & GLM_COMPILER_CUDA) && (GLM_COMPILER >= GLM_COMPILER_CUDA75)))
202 #endif
203 
204 // N2346
205 #if GLM_COMPILER & GLM_COMPILER_CLANG
206 # define GLM_HAS_DEFAULTED_FUNCTIONS __has_feature(cxx_defaulted_functions)
207 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
208 # define GLM_HAS_DEFAULTED_FUNCTIONS 1
209 #else
210 # define GLM_HAS_DEFAULTED_FUNCTIONS ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
211  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
212  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
213  (GLM_COMPILER & GLM_COMPILER_CUDA)))
214 #endif
215 
216 // N2118
217 #if GLM_COMPILER & GLM_COMPILER_CLANG
218 # define GLM_HAS_RVALUE_REFERENCES __has_feature(cxx_rvalue_references)
219 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
220 # define GLM_HAS_RVALUE_REFERENCES 1
221 #else
222 # define GLM_HAS_RVALUE_REFERENCES ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
223  ((GLM_COMPILER & GLM_COMPILER_VC)) || \
224  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
225 #endif
226 
227 // N2437 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
228 #if GLM_COMPILER & GLM_COMPILER_CLANG
229 # define GLM_HAS_EXPLICIT_CONVERSION_OPERATORS __has_feature(cxx_explicit_conversions)
230 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
231 # define GLM_HAS_EXPLICIT_CONVERSION_OPERATORS 1
232 #else
233 # define GLM_HAS_EXPLICIT_CONVERSION_OPERATORS ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
234  ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL14)) || \
235  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
236  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
237 #endif
238 
239 // N2258 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf
240 #if GLM_COMPILER & GLM_COMPILER_CLANG
241 # define GLM_HAS_TEMPLATE_ALIASES __has_feature(cxx_alias_templates)
242 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
243 # define GLM_HAS_TEMPLATE_ALIASES 1
244 #else
245 # define GLM_HAS_TEMPLATE_ALIASES ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
246  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
247  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
248  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
249 #endif
250 
251 // N2930 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2930.html
252 #if GLM_COMPILER & GLM_COMPILER_CLANG
253 # define GLM_HAS_RANGE_FOR __has_feature(cxx_range_for)
254 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
255 # define GLM_HAS_RANGE_FOR 1
256 #else
257 # define GLM_HAS_RANGE_FOR ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
258  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
259  ((GLM_COMPILER & GLM_COMPILER_VC)) || \
260  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
261 #endif
262 
263 // N2341 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
264 #if GLM_COMPILER & GLM_COMPILER_CLANG
265 # define GLM_HAS_ALIGNOF __has_feature(cxx_alignas)
266 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
267 # define GLM_HAS_ALIGNOF 1
268 #else
269 # define GLM_HAS_ALIGNOF ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
270  ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL15)) || \
271  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC14)) || \
272  ((GLM_COMPILER & GLM_COMPILER_CUDA) && (GLM_COMPILER >= GLM_COMPILER_CUDA70))))
273 #endif
274 
275 // N2235 Generalized Constant Expressions http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2235.pdf
276 // N3652 Extended Constant Expressions http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2013/n3652.html
277 #if (GLM_ARCH & GLM_ARCH_SIMD_BIT) // Compiler SIMD intrinsics don't support constexpr...
278 # define GLM_HAS_CONSTEXPR 0
279 #elif (GLM_COMPILER & GLM_COMPILER_CLANG)
280 # define GLM_HAS_CONSTEXPR __has_feature(cxx_relaxed_constexpr)
281 #elif (GLM_LANG & GLM_LANG_CXX14_FLAG)
282 # define GLM_HAS_CONSTEXPR 1
283 #else
284 # define GLM_HAS_CONSTEXPR ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && GLM_HAS_INITIALIZER_LISTS && (\
285  ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL17)) || \
286  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15))))
287 #endif
288 
289 #if GLM_HAS_CONSTEXPR
290 # define GLM_CONSTEXPR constexpr
291 #else
292 # define GLM_CONSTEXPR
293 #endif
294 
295 //
296 #if GLM_LANG & GLM_LANG_CXX11_FLAG
297 # define GLM_HAS_ASSIGNABLE 1
298 #else
299 # define GLM_HAS_ASSIGNABLE ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
300  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15)) || \
301  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC49))))
302 #endif
303 
304 //
305 #define GLM_HAS_TRIVIAL_QUERIES 0
306 
307 //
308 #if GLM_LANG & GLM_LANG_CXX11_FLAG
309 # define GLM_HAS_MAKE_SIGNED 1
310 #else
311 # define GLM_HAS_MAKE_SIGNED ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
312  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
313  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
314 #endif
315 
316 //
317 #if defined(GLM_FORCE_PURE)
318 # define GLM_HAS_BITSCAN_WINDOWS 0
319 #else
320 # define GLM_HAS_BITSCAN_WINDOWS ((GLM_PLATFORM & GLM_PLATFORM_WINDOWS) && (\
321  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
322  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC14) && (GLM_ARCH & GLM_ARCH_X86_BIT))))
323 #endif
324 
326 // OpenMP
327 #ifdef _OPENMP
328 # if GLM_COMPILER & GLM_COMPILER_GCC
329 # if GLM_COMPILER >= GLM_COMPILER_GCC61
330 # define GLM_HAS_OPENMP 45
331 # elif GLM_COMPILER >= GLM_COMPILER_GCC49
332 # define GLM_HAS_OPENMP 40
333 # elif GLM_COMPILER >= GLM_COMPILER_GCC47
334 # define GLM_HAS_OPENMP 31
335 # else
336 # define GLM_HAS_OPENMP 0
337 # endif
338 # elif GLM_COMPILER & GLM_COMPILER_CLANG
339 # if GLM_COMPILER >= GLM_COMPILER_CLANG38
340 # define GLM_HAS_OPENMP 31
341 # else
342 # define GLM_HAS_OPENMP 0
343 # endif
344 # elif GLM_COMPILER & GLM_COMPILER_VC
345 # define GLM_HAS_OPENMP 20
346 # elif GLM_COMPILER & GLM_COMPILER_INTEL
347 # if GLM_COMPILER >= GLM_COMPILER_INTEL16
348 # define GLM_HAS_OPENMP 40
349 # else
350 # define GLM_HAS_OPENMP 0
351 # endif
352 # else
353 # define GLM_HAS_OPENMP 0
354 # endif
355 #else
356 # define GLM_HAS_OPENMP 0
357 #endif
358 
360 // nullptr
361 
362 #if GLM_LANG & GLM_LANG_CXX0X_FLAG
363 # define GLM_CONFIG_NULLPTR GLM_ENABLE
364 #else
365 # define GLM_CONFIG_NULLPTR GLM_DISABLE
366 #endif
367 
368 #if GLM_CONFIG_NULLPTR == GLM_ENABLE
369 # define GLM_NULLPTR nullptr
370 #else
371 # define GLM_NULLPTR 0
372 #endif
373 
375 // Static assert
376 
377 #if GLM_HAS_STATIC_ASSERT
378 # define GLM_STATIC_ASSERT(x, message) static_assert(x, message)
379 #elif GLM_COMPILER & GLM_COMPILER_VC
380 # define GLM_STATIC_ASSERT(x, message) typedef char __CASSERT__##__LINE__[(x) ? 1 : -1]
381 #else
382 # define GLM_STATIC_ASSERT(x, message) assert(x)
383 #endif//GLM_LANG
384 
386 // Qualifiers
387 
388 #if GLM_COMPILER & GLM_COMPILER_CUDA
389 # define GLM_CUDA_FUNC_DEF __device__ __host__
390 # define GLM_CUDA_FUNC_DECL __device__ __host__
391 #else
392 # define GLM_CUDA_FUNC_DEF
393 # define GLM_CUDA_FUNC_DECL
394 #endif
395 
396 #if defined(GLM_FORCE_INLINE)
397 # if GLM_COMPILER & GLM_COMPILER_VC
398 # define GLM_INLINE __forceinline
399 # define GLM_NEVER_INLINE __declspec((noinline))
400 # elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
401 # define GLM_INLINE inline __attribute__((__always_inline__))
402 # define GLM_NEVER_INLINE __attribute__((__noinline__))
403 # elif GLM_COMPILER & GLM_COMPILER_CUDA
404 # define GLM_INLINE __forceinline__
405 # define GLM_NEVER_INLINE __noinline__
406 # else
407 # define GLM_INLINE inline
408 # define GLM_NEVER_INLINE
409 # endif//GLM_COMPILER
410 #else
411 # define GLM_INLINE inline
412 # define GLM_NEVER_INLINE
413 #endif//defined(GLM_FORCE_INLINE)
414 
415 #define GLM_FUNC_DECL GLM_CUDA_FUNC_DECL
416 #define GLM_FUNC_QUALIFIER GLM_CUDA_FUNC_DEF GLM_INLINE
417 
419 // Swizzle operators
420 
421 // User defines: GLM_FORCE_SWIZZLE
422 
423 #define GLM_SWIZZLE_DISABLED 0
424 #define GLM_SWIZZLE_OPERATOR 1
425 #define GLM_SWIZZLE_FUNCTION 2
426 
427 #if defined(GLM_FORCE_XYZW_ONLY)
428 # undef GLM_FORCE_SWIZZLE
429 #endif
430 
431 #if defined(GLM_FORCE_SWIZZLE) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
432 # define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_OPERATOR
433 #elif defined(GLM_FORCE_SWIZZLE)
434 # define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_FUNCTION
435 #else
436 # define GLM_CONFIG_SWIZZLE GLM_SWIZZLE_DISABLED
437 #endif
438 
440 // Allows using not basic types as genType
441 
442 // #define GLM_FORCE_UNRESTRICTED_GENTYPE
443 
444 #ifdef GLM_FORCE_UNRESTRICTED_GENTYPE
445 # define GLM_CONFIG_UNRESTRICTED_GENTYPE GLM_ENABLE
446 #else
447 # define GLM_CONFIG_UNRESTRICTED_GENTYPE GLM_DISABLE
448 #endif
449 
451 // Clip control, define GLM_FORCE_DEPTH_ZERO_TO_ONE before including GLM
452 // to use a clip space between 0 to 1.
453 // Coordinate system, define GLM_FORCE_LEFT_HANDED before including GLM
454 // to use left handed coordinate system by default.
455 
456 #define GLM_CLIP_CONTROL_ZO_BIT (1 << 0) // ZERO_TO_ONE
457 #define GLM_CLIP_CONTROL_NO_BIT (1 << 1) // NEGATIVE_ONE_TO_ONE
458 #define GLM_CLIP_CONTROL_LH_BIT (1 << 2) // LEFT_HANDED, For DirectX, Metal, Vulkan
459 #define GLM_CLIP_CONTROL_RH_BIT (1 << 3) // RIGHT_HANDED, For OpenGL, default in GLM
460 
461 #define GLM_CLIP_CONTROL_LH_ZO (GLM_CLIP_CONTROL_LH_BIT | GLM_CLIP_CONTROL_ZO_BIT)
462 #define GLM_CLIP_CONTROL_LH_NO (GLM_CLIP_CONTROL_LH_BIT | GLM_CLIP_CONTROL_NO_BIT)
463 #define GLM_CLIP_CONTROL_RH_ZO (GLM_CLIP_CONTROL_RH_BIT | GLM_CLIP_CONTROL_ZO_BIT)
464 #define GLM_CLIP_CONTROL_RH_NO (GLM_CLIP_CONTROL_RH_BIT | GLM_CLIP_CONTROL_NO_BIT)
465 
466 #ifdef GLM_FORCE_DEPTH_ZERO_TO_ONE
467 # ifdef GLM_FORCE_LEFT_HANDED
468 # define GLM_CONFIG_CLIP_CONTROL GLM_CLIP_CONTROL_LH_ZO
469 # else
470 # define GLM_CONFIG_CLIP_CONTROL GLM_CLIP_CONTROL_RH_ZO
471 # endif
472 #else
473 # ifdef GLM_FORCE_LEFT_HANDED
474 # define GLM_CONFIG_CLIP_CONTROL GLM_CLIP_CONTROL_LH_NO
475 # else
476 # define GLM_CONFIG_CLIP_CONTROL GLM_CLIP_CONTROL_RH_NO
477 # endif
478 #endif
479 
481 // Qualifiers
482 
483 #if (GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))
484 # define GLM_DEPRECATED __declspec(deprecated)
485 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef __declspec(align(alignment)) type name
486 #elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG | GLM_COMPILER_INTEL)
487 # define GLM_DEPRECATED __attribute__((__deprecated__))
488 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef type name __attribute__((aligned(alignment)))
489 #elif GLM_COMPILER & GLM_COMPILER_CUDA
490 # define GLM_DEPRECATED
491 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef type name __align__(x)
492 #else
493 # define GLM_DEPRECATED
494 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef type name
495 #endif
496 
498 
499 #ifdef GLM_FORCE_EXPLICIT_CTOR
500 # define GLM_EXPLICIT explicit
501 #else
502 # define GLM_EXPLICIT
503 #endif
504 
506 // Length type: all length functions returns a length_t type.
507 // When GLM_FORCE_SIZE_T_LENGTH is defined, length_t is a typedef of size_t otherwise
508 // length_t is a typedef of int like GLSL defines it.
509 
510 #define GLM_LENGTH_INT 1
511 #define GLM_LENGTH_SIZE_T 2
512 
513 #ifdef GLM_FORCE_SIZE_T_LENGTH
514 # define GLM_CONFIG_LENGTH_TYPE GLM_LENGTH_SIZE_T
515 #else
516 # define GLM_CONFIG_LENGTH_TYPE GLM_LENGTH_INT
517 #endif
518 
519 namespace glm
520 {
521  using std::size_t;
522 # if GLM_CONFIG_LENGTH_TYPE == GLM_LENGTH_SIZE_T
523  typedef size_t length_t;
524 # else
525  typedef int length_t;
526 # endif
527 }//namespace glm
528 
530 // constexpr
531 
532 #if GLM_HAS_CONSTEXPR
533 # define GLM_CONFIG_CONSTEXP GLM_ENABLE
534 
535  namespace glm
536  {
537  template<typename T, std::size_t N>
538  constexpr std::size_t countof(T const (&)[N])
539  {
540  return N;
541  }
542  }//namespace glm
543 # define GLM_COUNTOF(arr) glm::countof(arr)
544 #elif defined(_MSC_VER)
545 # define GLM_CONFIG_CONSTEXP GLM_DISABLE
546 
547 # define GLM_COUNTOF(arr) _countof(arr)
548 #else
549 # define GLM_CONFIG_CONSTEXP GLM_DISABLE
550 
551 # define GLM_COUNTOF(arr) sizeof(arr) / sizeof(arr[0])
552 #endif
553 
555 // uint
556 
557 namespace glm{
558 namespace detail
559 {
560  template<typename T>
561  struct is_int
562  {
563  enum test {value = 0};
564  };
565 
566  template<>
567  struct is_int<unsigned int>
568  {
569  enum test {value = ~0};
570  };
571 
572  template<>
573  struct is_int<signed int>
574  {
575  enum test {value = ~0};
576  };
577 }//namespace detail
578 
579  typedef unsigned int uint;
580 }//namespace glm
581 
583 // 64-bit int
584 
585 #if GLM_HAS_EXTENDED_INTEGER_TYPE
586 # include <cstdint>
587 #endif
588 
589 namespace glm{
590 namespace detail
591 {
592 # if GLM_HAS_EXTENDED_INTEGER_TYPE
593  typedef std::uint64_t uint64;
594  typedef std::int64_t int64;
595 # elif (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available
596  typedef uint64_t uint64;
597  typedef int64_t int64;
598 # elif GLM_COMPILER & GLM_COMPILER_VC
599  typedef unsigned __int64 uint64;
600  typedef signed __int64 int64;
601 # elif GLM_COMPILER & GLM_COMPILER_GCC
602 # pragma GCC diagnostic ignored "-Wlong-long"
603  __extension__ typedef unsigned long long uint64;
604  __extension__ typedef signed long long int64;
605 # elif (GLM_COMPILER & GLM_COMPILER_CLANG)
606 # pragma clang diagnostic ignored "-Wc++11-long-long"
607  typedef unsigned long long uint64;
608  typedef signed long long int64;
609 # else//unknown compiler
610  typedef unsigned long long uint64;
611  typedef signed long long int64;
612 # endif
613 }//namespace detail
614 }//namespace glm
615 
617 // make_unsigned
618 
619 #if GLM_HAS_MAKE_SIGNED
620 # include <type_traits>
621 
622 namespace glm{
623 namespace detail
624 {
625  using std::make_unsigned;
626 }//namespace detail
627 }//namespace glm
628 
629 #else
630 
631 namespace glm{
632 namespace detail
633 {
634  template<typename genType>
635  struct make_unsigned
636  {};
637 
638  template<>
639  struct make_unsigned<char>
640  {
641  typedef unsigned char type;
642  };
643 
644  template<>
645  struct make_unsigned<short>
646  {
647  typedef unsigned short type;
648  };
649 
650  template<>
651  struct make_unsigned<int>
652  {
653  typedef unsigned int type;
654  };
655 
656  template<>
657  struct make_unsigned<long>
658  {
659  typedef unsigned long type;
660  };
661 
662  template<>
663  struct make_unsigned<int64>
664  {
665  typedef uint64 type;
666  };
667 
668  template<>
669  struct make_unsigned<unsigned char>
670  {
671  typedef unsigned char type;
672  };
673 
674  template<>
675  struct make_unsigned<unsigned short>
676  {
677  typedef unsigned short type;
678  };
679 
680  template<>
681  struct make_unsigned<unsigned int>
682  {
683  typedef unsigned int type;
684  };
685 
686  template<>
687  struct make_unsigned<unsigned long>
688  {
689  typedef unsigned long type;
690  };
691 
692  template<>
693  struct make_unsigned<uint64>
694  {
695  typedef uint64 type;
696  };
697 }//namespace detail
698 }//namespace glm
699 #endif
700 
702 // Only use x, y, z, w as vector type components
703 
704 #ifdef GLM_FORCE_XYZW_ONLY
705 # define GLM_CONFIG_XYZW_ONLY GLM_ENABLE
706 #else
707 # define GLM_CONFIG_XYZW_ONLY GLM_DISABLE
708 #endif
709 
711 // Configure the use of defaulted initialized types
712 
713 #define GLM_CTOR_INITIALIZER_LIST (1 << 1)
714 #define GLM_CTOR_INITIALISATION (1 << 2)
715 
716 #if defined(GLM_FORCE_CTOR_INIT) && GLM_HAS_INITIALIZER_LISTS
717 # define GLM_CONFIG_CTOR_INIT GLM_CTOR_INITIALIZER_LIST
718 #elif defined(GLM_FORCE_CTOR_INIT) && !GLM_HAS_INITIALIZER_LISTS
719 # define GLM_CONFIG_CTOR_INIT GLM_CTOR_INITIALISATION
720 #else
721 # define GLM_CONFIG_CTOR_INIT GLM_DISABLE
722 #endif
723 
725 // Configure the use of defaulted function
726 
727 #if GLM_HAS_DEFAULTED_FUNCTIONS && GLM_CONFIG_CTOR_INIT == GLM_DISABLE
728 # define GLM_CONFIG_DEFAULTED_FUNCTIONS GLM_ENABLE
729 # define GLM_DEFAULT = default
730 #else
731 # define GLM_CONFIG_DEFAULTED_FUNCTIONS GLM_DISABLE
732 # define GLM_DEFAULT
733 #endif
734 
736 // Configure the use of aligned gentypes
737 
738 #ifdef GLM_FORCE_ALIGNED // Legacy define
739 # define GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
740 #endif
741 
742 #if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG)
743 # define GLM_CONFIG_ALIGNED_GENTYPES GLM_ENABLE
744 #else
745 # define GLM_CONFIG_ALIGNED_GENTYPES GLM_DISABLE
746 #endif
747 
749 // Use SIMD instruction sets
750 
751 #if GLM_HAS_ALIGNOF && (GLM_LANG & GLM_LANG_CXXMS_FLAG) && (GLM_ARCH & GLM_ARCH_SIMD_BIT)
752 # define GLM_CONFIG_SIMD GLM_ENABLE
753 #else
754 # define GLM_CONFIG_SIMD GLM_DISABLE
755 #endif
756 
758 // Configure the use of anonymous structure as implementation detail
759 
760 #if ((GLM_CONFIG_SIMD == GLM_ENABLE) || (GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR) || (GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE))
761 # define GLM_CONFIG_ANONYMOUS_STRUCT GLM_ENABLE
762 #else
763 # define GLM_CONFIG_ANONYMOUS_STRUCT GLM_DISABLE
764 #endif
765 
767 // Precision
768 
769 #define GLM_HIGHP 1
770 #define GLM_MEDIUMP 2
771 #define GLM_LOWP 3
772 
773 #if defined(GLM_FORCE_PRECISION_HIGHP_BOOL) || defined(GLM_PRECISION_HIGHP_BOOL)
774 # define GLM_CONFIG_PRECISION_BOOL GLM_HIGHP
775 #elif defined(GLM_FORCE_PRECISION_MEDIUMP_BOOL) || defined(GLM_PRECISION_MEDIUMP_BOOL)
776 # define GLM_CONFIG_PRECISION_BOOL GLM_MEDIUMP
777 #elif defined(GLM_FORCE_PRECISION_LOWP_BOOL) || defined(GLM_PRECISION_LOWP_BOOL)
778 # define GLM_CONFIG_PRECISION_BOOL GLM_LOWP
779 #else
780 # define GLM_CONFIG_PRECISION_BOOL GLM_HIGHP
781 #endif
782 
783 #if defined(GLM_FORCE_PRECISION_HIGHP_INT) || defined(GLM_PRECISION_HIGHP_INT)
784 # define GLM_CONFIG_PRECISION_INT GLM_HIGHP
785 #elif defined(GLM_FORCE_PRECISION_MEDIUMP_INT) || defined(GLM_PRECISION_MEDIUMP_INT)
786 # define GLM_CONFIG_PRECISION_INT GLM_MEDIUMP
787 #elif defined(GLM_FORCE_PRECISION_LOWP_INT) || defined(GLM_PRECISION_LOWP_INT)
788 # define GLM_CONFIG_PRECISION_INT GLM_LOWP
789 #else
790 # define GLM_CONFIG_PRECISION_INT GLM_HIGHP
791 #endif
792 
793 #if defined(GLM_FORCE_PRECISION_HIGHP_UINT) || defined(GLM_PRECISION_HIGHP_UINT)
794 # define GLM_CONFIG_PRECISION_UINT GLM_HIGHP
795 #elif defined(GLM_FORCE_PRECISION_MEDIUMP_UINT) || defined(GLM_PRECISION_MEDIUMP_UINT)
796 # define GLM_CONFIG_PRECISION_UINT GLM_MEDIUMP
797 #elif defined(GLM_FORCE_PRECISION_LOWP_UINT) || defined(GLM_PRECISION_LOWP_UINT)
798 # define GLM_CONFIG_PRECISION_UINT GLM_LOWP
799 #else
800 # define GLM_CONFIG_PRECISION_UINT GLM_HIGHP
801 #endif
802 
803 #if defined(GLM_FORCE_PRECISION_HIGHP_FLOAT) || defined(GLM_PRECISION_HIGHP_FLOAT)
804 # define GLM_CONFIG_PRECISION_FLOAT GLM_HIGHP
805 #elif defined(GLM_FORCE_PRECISION_MEDIUMP_FLOAT) || defined(GLM_PRECISION_MEDIUMP_FLOAT)
806 # define GLM_CONFIG_PRECISION_FLOAT GLM_MEDIUMP
807 #elif defined(GLM_FORCE_PRECISION_LOWP_FLOAT) || defined(GLM_PRECISION_LOWP_FLOAT)
808 # define GLM_CONFIG_PRECISION_FLOAT GLM_LOWP
809 #else
810 # define GLM_CONFIG_PRECISION_FLOAT GLM_HIGHP
811 #endif
812 
813 #if defined(GLM_FORCE_PRECISION_HIGHP_DOUBLE) || defined(GLM_PRECISION_HIGHP_DOUBLE)
814 # define GLM_CONFIG_PRECISION_DOUBLE GLM_HIGHP
815 #elif defined(GLM_FORCE_PRECISION_MEDIUMP_DOUBLE) || defined(GLM_PRECISION_MEDIUMP_DOUBLE)
816 # define GLM_CONFIG_PRECISION_DOUBLE GLM_MEDIUMP
817 #elif defined(GLM_FORCE_PRECISION_LOWP_DOUBLE) || defined(GLM_PRECISION_LOWP_DOUBLE)
818 # define GLM_CONFIG_PRECISION_DOUBLE GLM_LOWP
819 #else
820 # define GLM_CONFIG_PRECISION_DOUBLE GLM_HIGHP
821 #endif
822 
824 // Check inclusions of different versions of GLM
825 
826 #elif ((GLM_SETUP_INCLUDED != GLM_VERSION) && !defined(GLM_FORCE_IGNORE_VERSION))
827 # error "GLM error: A different version of GLM is already included. Define GLM_FORCE_IGNORE_VERSION before including GLM headers to ignore this error."
828 #elif GLM_SETUP_INCLUDED == GLM_VERSION
829 
831 // Messages
832 
833 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_MESSAGE_DISPLAYED)
834 # define GLM_MESSAGE_DISPLAYED
835 # define GLM_STR_HELPER(x) #x
836 # define GLM_STR(x) GLM_STR_HELPER(x)
837 
838  // Report GLM version
839 # pragma message (GLM_STR(GLM_VERSION_MESSAGE))
840 
841  // Report C++ language
842 # if (GLM_LANG & GLM_LANG_CXX2A_FLAG) && (GLM_LANG & GLM_LANG_EXT)
843 # pragma message("GLM: C++ 2A with extensions")
844 # elif (GLM_LANG & GLM_LANG_CXX2A_FLAG)
845 # pragma message("GLM: C++ 2A")
846 # elif (GLM_LANG & GLM_LANG_CXX17_FLAG) && (GLM_LANG & GLM_LANG_EXT)
847 # pragma message("GLM: C++ 17 with extensions")
848 # elif (GLM_LANG & GLM_LANG_CXX17_FLAG)
849 # pragma message("GLM: C++ 17")
850 # elif (GLM_LANG & GLM_LANG_CXX14_FLAG) && (GLM_LANG & GLM_LANG_EXT)
851 # pragma message("GLM: C++ 14 with extensions")
852 # elif (GLM_LANG & GLM_LANG_CXX14_FLAG)
853 # pragma message("GLM: C++ 14")
854 # elif (GLM_LANG & GLM_LANG_CXX11_FLAG) && (GLM_LANG & GLM_LANG_EXT)
855 # pragma message("GLM: C++ 11 with extensions")
856 # elif (GLM_LANG & GLM_LANG_CXX11_FLAG)
857 # pragma message("GLM: C++ 11")
858 # elif (GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_LANG & GLM_LANG_EXT)
859 # pragma message("GLM: C++ 0x with extensions")
860 # elif (GLM_LANG & GLM_LANG_CXX0X_FLAG)
861 # pragma message("GLM: C++ 0x")
862 # elif (GLM_LANG & GLM_LANG_CXX03_FLAG) && (GLM_LANG & GLM_LANG_EXT)
863 # pragma message("GLM: C++ 03 with extensions")
864 # elif (GLM_LANG & GLM_LANG_CXX03_FLAG)
865 # pragma message("GLM: C++ 03")
866 # elif (GLM_LANG & GLM_LANG_CXX98_FLAG) && (GLM_LANG & GLM_LANG_EXT)
867 # pragma message("GLM: C++ 98 with extensions")
868 # elif (GLM_LANG & GLM_LANG_CXX98_FLAG)
869 # pragma message("GLM: C++ 98")
870 # else
871 # pragma message("GLM: C++ language undetected")
872 # endif//GLM_LANG
873 
874  // Report compiler detection
875 # if GLM_COMPILER & GLM_COMPILER_CUDA
876 # pragma message("GLM: CUDA compiler detected")
877 # elif GLM_COMPILER & GLM_COMPILER_VC
878 # pragma message("GLM: Visual C++ compiler detected")
879 # elif GLM_COMPILER & GLM_COMPILER_CLANG
880 # pragma message("GLM: Clang compiler detected")
881 # elif GLM_COMPILER & GLM_COMPILER_INTEL
882 # pragma message("GLM: Intel Compiler detected")
883 # elif GLM_COMPILER & GLM_COMPILER_GCC
884 # pragma message("GLM: GCC compiler detected")
885 # else
886 # pragma message("GLM: Compiler not detected")
887 # endif
888 
889  // Report build target
890 # if (GLM_ARCH & GLM_ARCH_AVX2_BIT) && (GLM_MODEL == GLM_MODEL_64)
891 # pragma message("GLM: x86 64 bits with AVX2 instruction set build target")
892 # elif (GLM_ARCH & GLM_ARCH_AVX2_BIT) && (GLM_MODEL == GLM_MODEL_32)
893 # pragma message("GLM: x86 32 bits with AVX2 instruction set build target")
894 
895 # elif (GLM_ARCH & GLM_ARCH_AVX_BIT) && (GLM_MODEL == GLM_MODEL_64)
896 # pragma message("GLM: x86 64 bits with AVX instruction set build target")
897 # elif (GLM_ARCH & GLM_ARCH_AVX_BIT) && (GLM_MODEL == GLM_MODEL_32)
898 # pragma message("GLM: x86 32 bits with AVX instruction set build target")
899 
900 # elif (GLM_ARCH & GLM_ARCH_SSE42_BIT) && (GLM_MODEL == GLM_MODEL_64)
901 # pragma message("GLM: x86 64 bits with SSE4.2 instruction set build target")
902 # elif (GLM_ARCH & GLM_ARCH_SSE42_BIT) && (GLM_MODEL == GLM_MODEL_32)
903 # pragma message("GLM: x86 32 bits with SSE4.2 instruction set build target")
904 
905 # elif (GLM_ARCH & GLM_ARCH_SSE41_BIT) && (GLM_MODEL == GLM_MODEL_64)
906 # pragma message("GLM: x86 64 bits with SSE4.1 instruction set build target")
907 # elif (GLM_ARCH & GLM_ARCH_SSE41_BIT) && (GLM_MODEL == GLM_MODEL_32)
908 # pragma message("GLM: x86 32 bits with SSE4.1 instruction set build target")
909 
910 # elif (GLM_ARCH & GLM_ARCH_SSSE3_BIT) && (GLM_MODEL == GLM_MODEL_64)
911 # pragma message("GLM: x86 64 bits with SSSE3 instruction set build target")
912 # elif (GLM_ARCH & GLM_ARCH_SSSE3_BIT) && (GLM_MODEL == GLM_MODEL_32)
913 # pragma message("GLM: x86 32 bits with SSSE3 instruction set build target")
914 
915 # elif (GLM_ARCH & GLM_ARCH_SSE3_BIT) && (GLM_MODEL == GLM_MODEL_64)
916 # pragma message("GLM: x86 64 bits with SSE3 instruction set build target")
917 # elif (GLM_ARCH & GLM_ARCH_SSE3_BIT) && (GLM_MODEL == GLM_MODEL_32)
918 # pragma message("GLM: x86 32 bits with SSE3 instruction set build target")
919 
920 # elif (GLM_ARCH & GLM_ARCH_SSE2_BIT) && (GLM_MODEL == GLM_MODEL_64)
921 # pragma message("GLM: x86 64 bits with SSE2 instruction set build target")
922 # elif (GLM_ARCH & GLM_ARCH_SSE2_BIT) && (GLM_MODEL == GLM_MODEL_32)
923 # pragma message("GLM: x86 32 bits with SSE2 instruction set build target")
924 
925 # elif (GLM_ARCH & GLM_ARCH_X86_BIT) && (GLM_MODEL == GLM_MODEL_64)
926 # pragma message("GLM: x86 64 bits build target")
927 # elif (GLM_ARCH & GLM_ARCH_X86_BIT) && (GLM_MODEL == GLM_MODEL_32)
928 # pragma message("GLM: x86 32 bits build target")
929 
930 # elif (GLM_ARCH & GLM_ARCH_NEON_BIT) && (GLM_MODEL == GLM_MODEL_64)
931 # pragma message("GLM: ARM 64 bits with Neon instruction set build target")
932 # elif (GLM_ARCH & GLM_ARCH_NEON_BIT) && (GLM_MODEL == GLM_MODEL_32)
933 # pragma message("GLM: ARM 32 bits with Neon instruction set build target")
934 
935 # elif (GLM_ARCH & GLM_ARCH_ARM_BIT) && (GLM_MODEL == GLM_MODEL_64)
936 # pragma message("GLM: ARM 64 bits build target")
937 # elif (GLM_ARCH & GLM_ARCH_ARM_BIT) && (GLM_MODEL == GLM_MODEL_32)
938 # pragma message("GLM: ARM 32 bits build target")
939 
940 # elif (GLM_ARCH & GLM_ARCH_MIPS_BIT) && (GLM_MODEL == GLM_MODEL_64)
941 # pragma message("GLM: MIPS 64 bits build target")
942 # elif (GLM_ARCH & GLM_ARCH_MIPS_BIT) && (GLM_MODEL == GLM_MODEL_32)
943 # pragma message("GLM: MIPS 32 bits build target")
944 
945 # elif (GLM_ARCH & GLM_ARCH_PPC_BIT) && (GLM_MODEL == GLM_MODEL_64)
946 # pragma message("GLM: PowerPC 64 bits build target")
947 # elif (GLM_ARCH & GLM_ARCH_PPC_BIT) && (GLM_MODEL == GLM_MODEL_32)
948 # pragma message("GLM: PowerPC 32 bits build target")
949 # else
950 # pragma message("GLM: Unknown build target")
951 # endif//GLM_ARCH
952 
953  // Report platform name
954 # if(GLM_PLATFORM & GLM_PLATFORM_QNXNTO)
955 # pragma message("GLM: QNX platform detected")
956 //# elif(GLM_PLATFORM & GLM_PLATFORM_IOS)
957 //# pragma message("GLM: iOS platform detected")
958 # elif(GLM_PLATFORM & GLM_PLATFORM_APPLE)
959 # pragma message("GLM: Apple platform detected")
960 # elif(GLM_PLATFORM & GLM_PLATFORM_WINCE)
961 # pragma message("GLM: WinCE platform detected")
962 # elif(GLM_PLATFORM & GLM_PLATFORM_WINDOWS)
963 # pragma message("GLM: Windows platform detected")
964 # elif(GLM_PLATFORM & GLM_PLATFORM_CHROME_NACL)
965 # pragma message("GLM: Native Client detected")
966 # elif(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
967 # pragma message("GLM: Android platform detected")
968 # elif(GLM_PLATFORM & GLM_PLATFORM_LINUX)
969 # pragma message("GLM: Linux platform detected")
970 # elif(GLM_PLATFORM & GLM_PLATFORM_UNIX)
971 # pragma message("GLM: UNIX platform detected")
972 # elif(GLM_PLATFORM & GLM_PLATFORM_UNKNOWN)
973 # pragma message("GLM: platform unknown")
974 # else
975 # pragma message("GLM: platform not detected")
976 # endif
977 
978  // Report whether only xyzw component are used
979 # if defined GLM_FORCE_XYZW_ONLY
980 # pragma message("GLM: GLM_FORCE_XYZW_ONLY is defined. Only x, y, z and w component are available in vector type. This define disables swizzle operators and SIMD instruction sets")
981 # endif
982 
983  // Report swizzle operator support
984 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
985 # pragma message("GLM: GLM_FORCE_SWIZZLE is defined, swizzling operators enabled")
986 # elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
987 # pragma message("GLM: GLM_FORCE_SWIZZLE is defined, swizzling functions enabled. Enable compiler C++ language extensions to enable swizzle operators.")
988 # else
989 # pragma message("GLM: GLM_FORCE_SWIZZLE is undefined. swizzling functions or operators are disabled.")
990 # endif
991 
992  // Report .length() type
993 # if GLM_CONFIG_LENGTH_TYPE == GLM_LENGTH_SIZE_T
994 # pragma message("GLM: GLM_FORCE_SIZE_T_LENGTH is defined. .length() returns a glm::length_t, a typedef of std::size_t.")
995 # else
996 # pragma message("GLM: GLM_FORCE_SIZE_T_LENGTH is undefined. .length() returns a glm::length_t, a typedef of int following GLSL.")
997 # endif
998 
999 # if GLM_CONFIG_UNRESTRICTED_GENTYPE == GLM_ENABLE
1000 # pragma message("GLM: GLM_FORCE_UNRESTRICTED_GENTYPE is defined. Removes GLSL restrictions on valid function genTypes.")
1001 # else
1002 # pragma message("GLM: GLM_FORCE_UNRESTRICTED_GENTYPE is undefined. Follows strictly GLSL on valid function genTypes.")
1003 # endif
1004 
1005 # ifdef GLM_FORCE_SINGLE_ONLY
1006 # pragma message("GLM: GLM_FORCE_SINGLE_ONLY is defined. Using only single precision floating-point types")
1007 # endif
1008 
1009 # if defined(GLM_FORCE_DEFAULT_ALIGNED_GENTYPES) && (GLM_CONFIG_ALIGNED_GENTYPES == GLM_DISABLE)
1010 # undef GLM_FORCE_DEFAULT_ALIGNED_GENTYPES
1011 # pragma message("GLM: GLM_FORCE_DEFAULT_ALIGNED_GENTYPES is defined but is disabled. It requires C++11 and language extensions")
1012 # endif
1013 
1014 # if GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_ZO_BIT
1015 # pragma message("GLM: GLM_FORCE_DEPTH_ZERO_TO_ONE is defined. Using zero to one depth clip space.")
1016 # else
1017 # pragma message("GLM: GLM_FORCE_DEPTH_ZERO_TO_ONE is undefined. Using negative one to one depth clip space.")
1018 # endif
1019 
1020 # if GLM_CONFIG_CLIP_CONTROL & GLM_CLIP_CONTROL_LH_BIT
1021 # pragma message("GLM: GLM_FORCE_LEFT_HANDED is defined. Using left handed coordinate system.")
1022 # else
1023 # pragma message("GLM: GLM_FORCE_LEFT_HANDED is undefined. Using right handed coordinate system.")
1024 # endif
1025 #endif//GLM_MESSAGES
1026 
1027 #endif//GLM_SETUP_INCLUDED
detail::uint64 uint64
64 bit unsigned integer type.
+
int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:85
+
detail::int64 int64
64 bit signed integer type.
+
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:143
+
Definition: common.hpp:20
diff --git a/doc/api/a00033_source.html b/doc/api/a00033_source.html deleted file mode 100644 index e75ee5ef..00000000 --- a/doc/api/a00033_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -0.9.9 API documenation: functions.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
functions.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 #include "../detail/type_vec2.hpp"
-
20 
-
21 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
22 # pragma message("GLM: GLM_GTX_functions extension included")
-
23 #endif
-
24 
-
25 namespace glm
-
26 {
-
29 
-
33  template<typename T>
-
34  GLM_FUNC_DECL T gauss(
-
35  T x,
-
36  T ExpectedValue,
-
37  T StandardDeviation);
-
38 
-
42  template<typename T, qualifier Q>
-
43  GLM_FUNC_DECL T gauss(
-
44  vec<2, T, Q> const& Coord,
-
45  vec<2, T, Q> const& ExpectedValue,
-
46  vec<2, T, Q> const& StandardDeviation);
-
47 
-
49 }//namespace glm
-
50 
-
51 #include "functions.inl"
-
52 
-
GLM_FUNC_DECL T gauss(vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
2D gauss function
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00034.html b/doc/api/a00034.html deleted file mode 100644 index 88357034..00000000 --- a/doc/api/a00034.html +++ /dev/null @@ -1,1465 +0,0 @@ - - - - - - -0.9.9 API documenation: fwd.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
fwd.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef highp_dquat dquat
 Quaternion of default double-qualifier floating-point numbers. More...
 
typedef highp_float32_t f32
 Default 32 bit single-qualifier floating-point scalar. More...
 
typedef f32mat2x2 f32mat2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x2 f32mat2x2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x3 f32mat2x3
 Default single-qualifier floating-point 2x3 matrix. More...
 
typedef highp_f32mat2x4 f32mat2x4
 Default single-qualifier floating-point 2x4 matrix. More...
 
typedef f32mat3x3 f32mat3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x2 f32mat3x2
 Default single-qualifier floating-point 3x2 matrix. More...
 
typedef highp_f32mat3x3 f32mat3x3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x4 f32mat3x4
 Default single-qualifier floating-point 3x4 matrix. More...
 
typedef f32mat4x4 f32mat4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32mat4x2 f32mat4x2
 Default single-qualifier floating-point 4x2 matrix. More...
 
typedef highp_f32mat4x3 f32mat4x3
 Default single-qualifier floating-point 4x3 matrix. More...
 
typedef highp_f32mat4x4 f32mat4x4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32quat f32quat
 Default single-qualifier floating-point quaternion. More...
 
typedef highp_f32vec1 f32vec1
 Default single-qualifier floating-point vector of 1 components. More...
 
typedef highp_f32vec2 f32vec2
 Default single-qualifier floating-point vector of 2 components. More...
 
typedef highp_f32vec3 f32vec3
 Default single-qualifier floating-point vector of 3 components. More...
 
typedef highp_f32vec4 f32vec4
 Default single-qualifier floating-point vector of 4 components. More...
 
typedef highp_float64_t f64
 Default 64 bit double-qualifier floating-point scalar. More...
 
typedef f64mat2x2 f64mat2
 Default double-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f64mat2x2 f64mat2x2
 Default double-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f64mat2x3 f64mat2x3
 Default double-qualifier floating-point 2x3 matrix. More...
 
typedef highp_f64mat2x4 f64mat2x4
 Default double-qualifier floating-point 2x4 matrix. More...
 
typedef f64mat3x3 f64mat3
 Default double-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f64mat3x2 f64mat3x2
 Default double-qualifier floating-point 3x2 matrix. More...
 
typedef highp_f64mat3x3 f64mat3x3
 Default double-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f64mat3x4 f64mat3x4
 Default double-qualifier floating-point 3x4 matrix. More...
 
typedef f64mat4x4 f64mat4
 Default double-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f64mat4x2 f64mat4x2
 Default double-qualifier floating-point 4x2 matrix. More...
 
typedef highp_f64mat4x3 f64mat4x3
 Default double-qualifier floating-point 4x3 matrix. More...
 
typedef highp_f64mat4x4 f64mat4x4
 Default double-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f64quat f64quat
 Default double-qualifier floating-point quaternion. More...
 
typedef highp_f64vec1 f64vec1
 Default double-qualifier floating-point vector of 1 components. More...
 
typedef highp_f64vec2 f64vec2
 Default double-qualifier floating-point vector of 2 components. More...
 
typedef highp_f64vec3 f64vec3
 Default double-qualifier floating-point vector of 3 components. More...
 
typedef highp_f64vec4 f64vec4
 Default double-qualifier floating-point vector of 4 components. More...
 
typedef highp_float32_t float32_t
 Default 32 bit single-qualifier floating-point scalar. More...
 
typedef highp_float64_t float64_t
 Default 64 bit double-qualifier floating-point scalar. More...
 
typedef fmat2x2 fmat2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x2 fmat2x2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x3 fmat2x3
 Default single-qualifier floating-point 2x3 matrix. More...
 
typedef highp_f32mat2x4 fmat2x4
 Default single-qualifier floating-point 2x4 matrix. More...
 
typedef fmat3x3 fmat3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x2 fmat3x2
 Default single-qualifier floating-point 3x2 matrix. More...
 
typedef highp_f32mat3x3 fmat3x3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x4 fmat3x4
 Default single-qualifier floating-point 3x4 matrix. More...
 
typedef fmat4x4 fmat4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32mat4x2 fmat4x2
 Default single-qualifier floating-point 4x2 matrix. More...
 
typedef highp_f32mat4x3 fmat4x3
 Default single-qualifier floating-point 4x3 matrix. More...
 
typedef highp_f32mat4x4 fmat4x4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef quat fquat
 Quaternion of default single-qualifier floating-point numbers. More...
 
typedef highp_f32vec1 fvec1
 Default single-qualifier floating-point vector of 1 components. More...
 
typedef highp_f32vec2 fvec2
 Default single-qualifier floating-point vector of 2 components. More...
 
typedef highp_f32vec3 fvec3
 Default single-qualifier floating-point vector of 3 components. More...
 
typedef highp_f32vec4 fvec4
 Default single-qualifier floating-point vector of 4 components. More...
 
typedef tquat< double, highp > highp_dquat
 Quaternion of high double-qualifier floating-point numbers. More...
 
typedef float32 highp_f32
 High 32 bit single-qualifier floating-point scalar. More...
 
typedef highp_f32mat2x2 highp_f32mat2
 High single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f32, highp > highp_f32mat2x2
 High single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f32, highp > highp_f32mat2x3
 High single-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f32, highp > highp_f32mat2x4
 High single-qualifier floating-point 2x4 matrix. More...
 
typedef highp_f32mat3x3 highp_f32mat3
 High single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f32, highp > highp_f32mat3x2
 High single-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f32, highp > highp_f32mat3x3
 High single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f32, highp > highp_f32mat3x4
 High single-qualifier floating-point 3x4 matrix. More...
 
typedef highp_f32mat4x4 highp_f32mat4
 High single-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f32, highp > highp_f32mat4x2
 High single-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f32, highp > highp_f32mat4x3
 High single-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f32, highp > highp_f32mat4x4
 High single-qualifier floating-point 4x4 matrix. More...
 
typedef tquat< f32, highp > highp_f32quat
 High single-qualifier floating-point quaternion. More...
 
typedef vec< 1, f32, highp > highp_f32vec1
 High single-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, f32, highp > highp_f32vec2
 High single-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, f32, highp > highp_f32vec3
 High single-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, f32, highp > highp_f32vec4
 High single-qualifier floating-point vector of 4 components. More...
 
typedef float64 highp_f64
 High 64 bit double-qualifier floating-point scalar. More...
 
typedef highp_f64mat2x2 highp_f64mat2
 High double-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f64, highp > highp_f64mat2x2
 High double-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f64, highp > highp_f64mat2x3
 High double-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f64, highp > highp_f64mat2x4
 High double-qualifier floating-point 2x4 matrix. More...
 
typedef highp_f64mat3x3 highp_f64mat3
 High double-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f64, highp > highp_f64mat3x2
 High double-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f64, highp > highp_f64mat3x3
 High double-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f64, highp > highp_f64mat3x4
 High double-qualifier floating-point 3x4 matrix. More...
 
typedef highp_f64mat4x4 highp_f64mat4
 High double-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f64, highp > highp_f64mat4x2
 High double-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f64, highp > highp_f64mat4x3
 High double-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f64, highp > highp_f64mat4x4
 High double-qualifier floating-point 4x4 matrix. More...
 
typedef tquat< f64, highp > highp_f64quat
 High double-qualifier floating-point quaternion. More...
 
typedef vec< 1, f64, highp > highp_f64vec1
 High double-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, f64, highp > highp_f64vec2
 High double-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, f64, highp > highp_f64vec3
 High double-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, f64, highp > highp_f64vec4
 High double-qualifier floating-point vector of 4 components. More...
 
typedef detail::float32 highp_float32
 High 32 bit single-qualifier floating-point scalar. More...
 
typedef detail::float32 highp_float32_t
 High 32 bit single-qualifier floating-point scalar. More...
 
typedef detail::float64 highp_float64
 High 64 bit double-qualifier floating-point scalar. More...
 
typedef detail::float64 highp_float64_t
 High 64 bit double-qualifier floating-point scalar. More...
 
typedef highp_fmat2x2 highp_fmat2
 High single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f32, highp > highp_fmat2x2
 High single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f32, highp > highp_fmat2x3
 High single-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f32, highp > highp_fmat2x4
 High single-qualifier floating-point 2x4 matrix. More...
 
typedef highp_fmat3x3 highp_fmat3
 High single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f32, highp > highp_fmat3x2
 High single-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f32, highp > highp_fmat3x3
 High single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f32, highp > highp_fmat3x4
 High single-qualifier floating-point 3x4 matrix. More...
 
typedef highp_fmat4x4 highp_fmat4
 High single-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f32, highp > highp_fmat4x2
 High single-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f32, highp > highp_fmat4x3
 High single-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f32, highp > highp_fmat4x4
 High single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_quat highp_fquat
 Quaternion of high single-qualifier floating-point numbers. More...
 
typedef vec< 1, float, highp > highp_fvec1
 High single-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, float, highp > highp_fvec2
 High Single-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, float, highp > highp_fvec3
 High Single-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, float, highp > highp_fvec4
 High Single-qualifier floating-point vector of 4 components. More...
 
typedef detail::int16 highp_i16
 High qualifier 16 bit signed integer type. More...
 
typedef vec< 1, i16, highp > highp_i16vec1
 High qualifier 16 bit signed integer scalar type. More...
 
typedef vec< 2, i16, highp > highp_i16vec2
 High qualifier 16 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i16, highp > highp_i16vec3
 High qualifier 16 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i16, highp > highp_i16vec4
 High qualifier 16 bit signed integer vector of 4 components type. More...
 
typedef detail::int32 highp_i32
 High qualifier 32 bit signed integer type. More...
 
typedef vec< 1, i32, highp > highp_i32vec1
 High qualifier 32 bit signed integer scalar type. More...
 
typedef vec< 2, i32, highp > highp_i32vec2
 High qualifier 32 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i32, highp > highp_i32vec3
 High qualifier 32 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i32, highp > highp_i32vec4
 High qualifier 32 bit signed integer vector of 4 components type. More...
 
typedef detail::int64 highp_i64
 High qualifier 64 bit signed integer type. More...
 
typedef vec< 1, i64, highp > highp_i64vec1
 High qualifier 64 bit signed integer scalar type. More...
 
typedef vec< 2, i64, highp > highp_i64vec2
 High qualifier 64 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i64, highp > highp_i64vec3
 High qualifier 64 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i64, highp > highp_i64vec4
 High qualifier 64 bit signed integer vector of 4 components type. More...
 
typedef detail::int8 highp_i8
 High qualifier 8 bit signed integer type. More...
 
typedef vec< 1, i8, highp > highp_i8vec1
 High qualifier 8 bit signed integer scalar type. More...
 
typedef vec< 2, i8, highp > highp_i8vec2
 High qualifier 8 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i8, highp > highp_i8vec3
 High qualifier 8 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i8, highp > highp_i8vec4
 High qualifier 8 bit signed integer vector of 4 components type. More...
 
typedef detail::int16 highp_int16
 High qualifier 16 bit signed integer type. More...
 
typedef detail::int16 highp_int16_t
 High qualifier 16 bit signed integer type. More...
 
typedef detail::int32 highp_int32
 High qualifier 32 bit signed integer type. More...
 
typedef detail::int32 highp_int32_t
 32 bit signed integer type. More...
 
typedef detail::int64 highp_int64
 High qualifier 64 bit signed integer type. More...
 
typedef detail::int64 highp_int64_t
 High qualifier 64 bit signed integer type. More...
 
typedef detail::int8 highp_int8
 High qualifier 8 bit signed integer type. More...
 
typedef detail::int8 highp_int8_t
 High qualifier 8 bit signed integer type. More...
 
typedef tquat< float, highp > highp_quat
 Quaternion of high single-qualifier floating-point numbers. More...
 
typedef detail::uint16 highp_u16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef vec< 1, u16, highp > highp_u16vec1
 High qualifier 16 bit unsigned integer scalar type. More...
 
typedef vec< 2, u16, highp > highp_u16vec2
 High qualifier 16 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u16, highp > highp_u16vec3
 High qualifier 16 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u16, highp > highp_u16vec4
 High qualifier 16 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint32 highp_u32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef vec< 1, u32, highp > highp_u32vec1
 High qualifier 32 bit unsigned integer scalar type. More...
 
typedef vec< 2, u32, highp > highp_u32vec2
 High qualifier 32 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u32, highp > highp_u32vec3
 High qualifier 32 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u32, highp > highp_u32vec4
 High qualifier 32 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint64 highp_u64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef vec< 1, u64, highp > highp_u64vec1
 High qualifier 64 bit unsigned integer scalar type. More...
 
typedef vec< 2, u64, highp > highp_u64vec2
 High qualifier 64 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u64, highp > highp_u64vec3
 High qualifier 64 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u64, highp > highp_u64vec4
 High qualifier 64 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint8 highp_u8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef vec< 1, u8, highp > highp_u8vec1
 High qualifier 8 bit unsigned integer scalar type. More...
 
typedef vec< 2, u8, highp > highp_u8vec2
 High qualifier 8 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u8, highp > highp_u8vec3
 High qualifier 8 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u8, highp > highp_u8vec4
 High qualifier 8 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint16 highp_uint16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint16 highp_uint16_t
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 highp_uint32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint32 highp_uint32_t
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 highp_uint64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint64 highp_uint64_t
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 highp_uint8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint8 highp_uint8_t
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::int16 i16
 16 bit signed integer type. More...
 
typedef highp_i16vec1 i16vec1
 Default qualifier 16 bit signed integer scalar type. More...
 
typedef highp_i16vec2 i16vec2
 Default qualifier 16 bit signed integer vector of 2 components type. More...
 
typedef highp_i16vec3 i16vec3
 Default qualifier 16 bit signed integer vector of 3 components type. More...
 
typedef highp_i16vec4 i16vec4
 Default qualifier 16 bit signed integer vector of 4 components type. More...
 
typedef detail::int32 i32
 32 bit signed integer type. More...
 
typedef highp_i32vec1 i32vec1
 Default qualifier 32 bit signed integer scalar type. More...
 
typedef highp_i32vec2 i32vec2
 Default qualifier 32 bit signed integer vector of 2 components type. More...
 
typedef highp_i32vec3 i32vec3
 Default qualifier 32 bit signed integer vector of 3 components type. More...
 
typedef highp_i32vec4 i32vec4
 Default qualifier 32 bit signed integer vector of 4 components type. More...
 
typedef detail::int64 i64
 64 bit signed integer type. More...
 
typedef highp_i64vec1 i64vec1
 Default qualifier 64 bit signed integer scalar type. More...
 
typedef highp_i64vec2 i64vec2
 Default qualifier 64 bit signed integer vector of 2 components type. More...
 
typedef highp_i64vec3 i64vec3
 Default qualifier 64 bit signed integer vector of 3 components type. More...
 
typedef highp_i64vec4 i64vec4
 Default qualifier 64 bit signed integer vector of 4 components type. More...
 
typedef detail::int8 i8
 8 bit signed integer type. More...
 
typedef highp_i8vec1 i8vec1
 Default qualifier 8 bit signed integer scalar type. More...
 
typedef highp_i8vec2 i8vec2
 Default qualifier 8 bit signed integer vector of 2 components type. More...
 
typedef highp_i8vec3 i8vec3
 Default qualifier 8 bit signed integer vector of 3 components type. More...
 
typedef highp_i8vec4 i8vec4
 Default qualifier 8 bit signed integer vector of 4 components type. More...
 
typedef detail::int16 int16_t
 16 bit signed integer type. More...
 
typedef detail::int32 int32_t
 32 bit signed integer type. More...
 
typedef detail::int64 int64_t
 64 bit signed integer type. More...
 
typedef detail::int8 int8_t
 8 bit signed integer type. More...
 
typedef tquat< double, lowp > lowp_dquat
 Quaternion of low double-qualifier floating-point numbers. More...
 
typedef float32 lowp_f32
 Low 32 bit single-qualifier floating-point scalar. More...
 
typedef lowp_f32mat2x2 lowp_f32mat2
 Low single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f32, lowp > lowp_f32mat2x2
 Low single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f32, lowp > lowp_f32mat2x3
 Low single-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f32, lowp > lowp_f32mat2x4
 Low single-qualifier floating-point 2x4 matrix. More...
 
typedef lowp_f32mat3x3 lowp_f32mat3
 Low single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f32, lowp > lowp_f32mat3x2
 Low single-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f32, lowp > lowp_f32mat3x3
 Low single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f32, lowp > lowp_f32mat3x4
 Low single-qualifier floating-point 3x4 matrix. More...
 
typedef lowp_f32mat4x4 lowp_f32mat4
 Low single-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f32, lowp > lowp_f32mat4x2
 Low single-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f32, lowp > lowp_f32mat4x3
 Low single-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f32, lowp > lowp_f32mat4x4
 Low single-qualifier floating-point 4x4 matrix. More...
 
typedef tquat< f32, lowp > lowp_f32quat
 Low single-qualifier floating-point quaternion. More...
 
typedef vec< 1, f32, lowp > lowp_f32vec1
 Low single-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, f32, lowp > lowp_f32vec2
 Low single-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, f32, lowp > lowp_f32vec3
 Low single-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, f32, lowp > lowp_f32vec4
 Low single-qualifier floating-point vector of 4 components. More...
 
typedef float64 lowp_f64
 Low 64 bit double-qualifier floating-point scalar. More...
 
typedef lowp_f64mat2x2 lowp_f64mat2
 Low double-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f64, lowp > lowp_f64mat2x2
 Low double-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f64, lowp > lowp_f64mat2x3
 Low double-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f64, lowp > lowp_f64mat2x4
 Low double-qualifier floating-point 2x4 matrix. More...
 
typedef lowp_f64mat3x3 lowp_f64mat3
 Low double-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f64, lowp > lowp_f64mat3x2
 Low double-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f64, lowp > lowp_f64mat3x3
 Low double-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f64, lowp > lowp_f64mat3x4
 Low double-qualifier floating-point 3x4 matrix. More...
 
typedef lowp_f64mat4x4 lowp_f64mat4
 Low double-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f64, lowp > lowp_f64mat4x2
 Low double-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f64, lowp > lowp_f64mat4x3
 Low double-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f64, lowp > lowp_f64mat4x4
 Low double-qualifier floating-point 4x4 matrix. More...
 
typedef tquat< f64, lowp > lowp_f64quat
 Low double-qualifier floating-point quaternion. More...
 
typedef vec< 1, f64, lowp > lowp_f64vec1
 Low double-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, f64, lowp > lowp_f64vec2
 Low double-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, f64, lowp > lowp_f64vec3
 Low double-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, f64, lowp > lowp_f64vec4
 Low double-qualifier floating-point vector of 4 components. More...
 
typedef detail::float32 lowp_float32
 Low 32 bit single-qualifier floating-point scalar. More...
 
typedef detail::float32 lowp_float32_t
 Low 32 bit single-qualifier floating-point scalar. More...
 
typedef detail::float64 lowp_float64
 Low 64 bit double-qualifier floating-point scalar. More...
 
typedef detail::float64 lowp_float64_t
 Low 64 bit double-qualifier floating-point scalar. More...
 
typedef lowp_fmat2x2 lowp_fmat2
 Low single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f32, lowp > lowp_fmat2x2
 Low single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f32, lowp > lowp_fmat2x3
 Low single-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f32, lowp > lowp_fmat2x4
 Low single-qualifier floating-point 2x4 matrix. More...
 
typedef lowp_fmat3x3 lowp_fmat3
 Low single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f32, lowp > lowp_fmat3x2
 Low single-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f32, lowp > lowp_fmat3x3
 Low single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f32, lowp > lowp_fmat3x4
 Low single-qualifier floating-point 3x4 matrix. More...
 
typedef lowp_fmat4x4 lowp_fmat4
 Low single-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f32, lowp > lowp_fmat4x2
 Low single-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f32, lowp > lowp_fmat4x3
 Low single-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f32, lowp > lowp_fmat4x4
 Low single-qualifier floating-point 4x4 matrix. More...
 
typedef lowp_quat lowp_fquat
 Quaternion of low single-qualifier floating-point numbers. More...
 
typedef vec< 1, float, lowp > lowp_fvec1
 Low single-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, float, lowp > lowp_fvec2
 Low single-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, float, lowp > lowp_fvec3
 Low single-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, float, lowp > lowp_fvec4
 Low single-qualifier floating-point vector of 4 components. More...
 
typedef detail::int16 lowp_i16
 Low qualifier 16 bit signed integer type. More...
 
typedef vec< 1, i16, lowp > lowp_i16vec1
 Low qualifier 16 bit signed integer scalar type. More...
 
typedef vec< 2, i16, lowp > lowp_i16vec2
 Low qualifier 16 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i16, lowp > lowp_i16vec3
 Low qualifier 16 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i16, lowp > lowp_i16vec4
 Low qualifier 16 bit signed integer vector of 4 components type. More...
 
typedef detail::int32 lowp_i32
 Low qualifier 32 bit signed integer type. More...
 
typedef vec< 1, i32, lowp > lowp_i32vec1
 Low qualifier 32 bit signed integer scalar type. More...
 
typedef vec< 2, i32, lowp > lowp_i32vec2
 Low qualifier 32 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i32, lowp > lowp_i32vec3
 Low qualifier 32 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i32, lowp > lowp_i32vec4
 Low qualifier 32 bit signed integer vector of 4 components type. More...
 
typedef detail::int64 lowp_i64
 Low qualifier 64 bit signed integer type. More...
 
typedef vec< 1, i64, lowp > lowp_i64vec1
 Low qualifier 64 bit signed integer scalar type. More...
 
typedef vec< 2, i64, lowp > lowp_i64vec2
 Low qualifier 64 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i64, lowp > lowp_i64vec3
 Low qualifier 64 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i64, lowp > lowp_i64vec4
 Low qualifier 64 bit signed integer vector of 4 components type. More...
 
typedef detail::int8 lowp_i8
 Low qualifier 8 bit signed integer type. More...
 
typedef vec< 1, i8, lowp > lowp_i8vec1
 Low qualifier 8 bit signed integer scalar type. More...
 
typedef vec< 2, i8, lowp > lowp_i8vec2
 Low qualifier 8 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i8, lowp > lowp_i8vec3
 Low qualifier 8 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i8, lowp > lowp_i8vec4
 Low qualifier 8 bit signed integer vector of 4 components type. More...
 
typedef detail::int16 lowp_int16
 Low qualifier 16 bit signed integer type. More...
 
typedef detail::int16 lowp_int16_t
 Low qualifier 16 bit signed integer type. More...
 
typedef detail::int32 lowp_int32
 Low qualifier 32 bit signed integer type. More...
 
typedef detail::int32 lowp_int32_t
 Low qualifier 32 bit signed integer type. More...
 
typedef detail::int64 lowp_int64
 Low qualifier 64 bit signed integer type. More...
 
typedef detail::int64 lowp_int64_t
 Low qualifier 64 bit signed integer type. More...
 
typedef detail::int8 lowp_int8
 Low qualifier 8 bit signed integer type. More...
 
typedef detail::int8 lowp_int8_t
 Low qualifier 8 bit signed integer type. More...
 
typedef tquat< float, lowp > lowp_quat
 Quaternion of low single-qualifier floating-point numbers. More...
 
typedef detail::uint16 lowp_u16
 Low qualifier 16 bit unsigned integer type. More...
 
typedef vec< 1, u16, lowp > lowp_u16vec1
 Low qualifier 16 bit unsigned integer scalar type. More...
 
typedef vec< 2, u16, lowp > lowp_u16vec2
 Low qualifier 16 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u16, lowp > lowp_u16vec3
 Low qualifier 16 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u16, lowp > lowp_u16vec4
 Low qualifier 16 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint32 lowp_u32
 Low qualifier 32 bit unsigned integer type. More...
 
typedef vec< 1, u32, lowp > lowp_u32vec1
 Low qualifier 32 bit unsigned integer scalar type. More...
 
typedef vec< 2, u32, lowp > lowp_u32vec2
 Low qualifier 32 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u32, lowp > lowp_u32vec3
 Low qualifier 32 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u32, lowp > lowp_u32vec4
 Low qualifier 32 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint64 lowp_u64
 Low qualifier 64 bit unsigned integer type. More...
 
typedef vec< 1, u64, lowp > lowp_u64vec1
 Low qualifier 64 bit unsigned integer scalar type. More...
 
typedef vec< 2, u64, lowp > lowp_u64vec2
 Low qualifier 64 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u64, lowp > lowp_u64vec3
 Low qualifier 64 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u64, lowp > lowp_u64vec4
 Low qualifier 64 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint8 lowp_u8
 Low qualifier 8 bit unsigned integer type. More...
 
typedef vec< 1, u8, lowp > lowp_u8vec1
 Low qualifier 8 bit unsigned integer scalar type. More...
 
typedef vec< 2, u8, lowp > lowp_u8vec2
 Low qualifier 8 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u8, lowp > lowp_u8vec3
 Low qualifier 8 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u8, lowp > lowp_u8vec4
 Low qualifier 8 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint16 lowp_uint16
 Low qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint16 lowp_uint16_t
 Low qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 lowp_uint32
 Low qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint32 lowp_uint32_t
 Low qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 lowp_uint64
 Low qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint64 lowp_uint64_t
 Low qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 lowp_uint8
 Low qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint8 lowp_uint8_t
 Low qualifier 8 bit unsigned integer type. More...
 
typedef tquat< double, mediump > mediump_dquat
 Quaternion of medium double-qualifier floating-point numbers. More...
 
typedef float32 mediump_f32
 Medium 32 bit single-qualifier floating-point scalar. More...
 
typedef mediump_f32mat2x2 mediump_f32mat2
 Medium single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f32, mediump > mediump_f32mat2x2
 High single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f32, mediump > mediump_f32mat2x3
 Medium single-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f32, mediump > mediump_f32mat2x4
 Medium single-qualifier floating-point 2x4 matrix. More...
 
typedef mediump_f32mat3x3 mediump_f32mat3
 Medium single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f32, mediump > mediump_f32mat3x2
 Medium single-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f32, mediump > mediump_f32mat3x3
 Medium single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f32, mediump > mediump_f32mat3x4
 Medium single-qualifier floating-point 3x4 matrix. More...
 
typedef mediump_f32mat4x4 mediump_f32mat4
 Medium single-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f32, mediump > mediump_f32mat4x2
 Medium single-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f32, mediump > mediump_f32mat4x3
 Medium single-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f32, mediump > mediump_f32mat4x4
 Medium single-qualifier floating-point 4x4 matrix. More...
 
typedef tquat< f32, mediump > mediump_f32quat
 Medium single-qualifier floating-point quaternion. More...
 
typedef vec< 1, f32, mediump > mediump_f32vec1
 Medium single-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, f32, mediump > mediump_f32vec2
 Medium single-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, f32, mediump > mediump_f32vec3
 Medium single-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, f32, mediump > mediump_f32vec4
 Medium single-qualifier floating-point vector of 4 components. More...
 
typedef float64 mediump_f64
 Medium 64 bit double-qualifier floating-point scalar. More...
 
typedef mediump_f64mat2x2 mediump_f64mat2
 Medium double-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f64, mediump > mediump_f64mat2x2
 Medium double-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f64, mediump > mediump_f64mat2x3
 Medium double-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f64, mediump > mediump_f64mat2x4
 Medium double-qualifier floating-point 2x4 matrix. More...
 
typedef mediump_f64mat3x3 mediump_f64mat3
 Medium double-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f64, mediump > mediump_f64mat3x2
 Medium double-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f64, mediump > mediump_f64mat3x3
 Medium double-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f64, mediump > mediump_f64mat3x4
 Medium double-qualifier floating-point 3x4 matrix. More...
 
typedef mediump_f64mat4x4 mediump_f64mat4
 Medium double-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f64, mediump > mediump_f64mat4x2
 Medium double-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f64, mediump > mediump_f64mat4x3
 Medium double-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f64, mediump > mediump_f64mat4x4
 Medium double-qualifier floating-point 4x4 matrix. More...
 
typedef tquat< f64, mediump > mediump_f64quat
 Medium double-qualifier floating-point quaternion. More...
 
typedef vec< 1, f64, mediump > mediump_f64vec1
 Medium double-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, f64, mediump > mediump_f64vec2
 Medium double-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, f64, mediump > mediump_f64vec3
 Medium double-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, f64, mediump > mediump_f64vec4
 Medium double-qualifier floating-point vector of 4 components. More...
 
typedef detail::float32 mediump_float32
 Medium 32 bit single-qualifier floating-point scalar. More...
 
typedef detail::float32 mediump_float32_t
 Medium 32 bit single-qualifier floating-point scalar. More...
 
typedef detail::float64 mediump_float64
 Medium 64 bit double-qualifier floating-point scalar. More...
 
typedef detail::float64 mediump_float64_t
 Medium 64 bit double-qualifier floating-point scalar. More...
 
typedef mediump_fmat2x2 mediump_fmat2
 Medium single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 2, f32, mediump > mediump_fmat2x2
 Medium single-qualifier floating-point 1x1 matrix. More...
 
typedef mat< 2, 3, f32, mediump > mediump_fmat2x3
 Medium single-qualifier floating-point 2x3 matrix. More...
 
typedef mat< 2, 4, f32, mediump > mediump_fmat2x4
 Medium single-qualifier floating-point 2x4 matrix. More...
 
typedef mediump_fmat3x3 mediump_fmat3
 Medium single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 2, f32, mediump > mediump_fmat3x2
 Medium single-qualifier floating-point 3x2 matrix. More...
 
typedef mat< 3, 3, f32, mediump > mediump_fmat3x3
 Medium single-qualifier floating-point 3x3 matrix. More...
 
typedef mat< 3, 4, f32, mediump > mediump_fmat3x4
 Medium single-qualifier floating-point 3x4 matrix. More...
 
typedef mediump_fmat4x4 mediump_fmat4
 Medium single-qualifier floating-point 4x4 matrix. More...
 
typedef mat< 4, 2, f32, mediump > mediump_fmat4x2
 Medium single-qualifier floating-point 4x2 matrix. More...
 
typedef mat< 4, 3, f32, mediump > mediump_fmat4x3
 Medium single-qualifier floating-point 4x3 matrix. More...
 
typedef mat< 4, 4, f32, mediump > mediump_fmat4x4
 Medium single-qualifier floating-point 4x4 matrix. More...
 
typedef mediump_quat mediump_fquat
 Quaternion of medium single-qualifier floating-point numbers. More...
 
typedef vec< 1, float, mediump > mediump_fvec1
 Medium single-qualifier floating-point vector of 1 component. More...
 
typedef vec< 2, float, mediump > mediump_fvec2
 Medium Single-qualifier floating-point vector of 2 components. More...
 
typedef vec< 3, float, mediump > mediump_fvec3
 Medium Single-qualifier floating-point vector of 3 components. More...
 
typedef vec< 4, float, mediump > mediump_fvec4
 Medium Single-qualifier floating-point vector of 4 components. More...
 
typedef detail::int16 mediump_i16
 Medium qualifier 16 bit signed integer type. More...
 
typedef vec< 1, i16, mediump > mediump_i16vec1
 Medium qualifier 16 bit signed integer scalar type. More...
 
typedef vec< 2, i16, mediump > mediump_i16vec2
 Medium qualifier 16 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i16, mediump > mediump_i16vec3
 Medium qualifier 16 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i16, mediump > mediump_i16vec4
 Medium qualifier 16 bit signed integer vector of 4 components type. More...
 
typedef detail::int32 mediump_i32
 Medium qualifier 32 bit signed integer type. More...
 
typedef vec< 1, i32, mediump > mediump_i32vec1
 Medium qualifier 32 bit signed integer scalar type. More...
 
typedef vec< 2, i32, mediump > mediump_i32vec2
 Medium qualifier 32 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i32, mediump > mediump_i32vec3
 Medium qualifier 32 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i32, mediump > mediump_i32vec4
 Medium qualifier 32 bit signed integer vector of 4 components type. More...
 
typedef detail::int64 mediump_i64
 Medium qualifier 64 bit signed integer type. More...
 
typedef vec< 1, i64, mediump > mediump_i64vec1
 Medium qualifier 64 bit signed integer scalar type. More...
 
typedef vec< 2, i64, mediump > mediump_i64vec2
 Medium qualifier 64 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i64, mediump > mediump_i64vec3
 Medium qualifier 64 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i64, mediump > mediump_i64vec4
 Medium qualifier 64 bit signed integer vector of 4 components type. More...
 
typedef detail::int8 mediump_i8
 Medium qualifier 8 bit signed integer type. More...
 
typedef vec< 1, i8, mediump > mediump_i8vec1
 Medium qualifier 8 bit signed integer scalar type. More...
 
typedef vec< 2, i8, mediump > mediump_i8vec2
 Medium qualifier 8 bit signed integer vector of 2 components type. More...
 
typedef vec< 3, i8, mediump > mediump_i8vec3
 Medium qualifier 8 bit signed integer vector of 3 components type. More...
 
typedef vec< 4, i8, mediump > mediump_i8vec4
 Medium qualifier 8 bit signed integer vector of 4 components type. More...
 
typedef detail::int16 mediump_int16
 Medium qualifier 16 bit signed integer type. More...
 
typedef detail::int16 mediump_int16_t
 Medium qualifier 16 bit signed integer type. More...
 
typedef detail::int32 mediump_int32
 Medium qualifier 32 bit signed integer type. More...
 
typedef detail::int32 mediump_int32_t
 Medium qualifier 32 bit signed integer type. More...
 
typedef detail::int64 mediump_int64
 Medium qualifier 64 bit signed integer type. More...
 
typedef detail::int64 mediump_int64_t
 Medium qualifier 64 bit signed integer type. More...
 
typedef detail::int8 mediump_int8
 Medium qualifier 8 bit signed integer type. More...
 
typedef detail::int8 mediump_int8_t
 Medium qualifier 8 bit signed integer type. More...
 
typedef tquat< float, mediump > mediump_quat
 Quaternion of medium single-qualifier floating-point numbers. More...
 
typedef detail::uint16 mediump_u16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef vec< 1, u16, mediump > mediump_u16vec1
 Medium qualifier 16 bit unsigned integer scalar type. More...
 
typedef vec< 2, u16, mediump > mediump_u16vec2
 Medium qualifier 16 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u16, mediump > mediump_u16vec3
 Medium qualifier 16 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u16, mediump > mediump_u16vec4
 Medium qualifier 16 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint32 mediump_u32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef vec< 1, u32, mediump > mediump_u32vec1
 Medium qualifier 32 bit unsigned integer scalar type. More...
 
typedef vec< 2, u32, mediump > mediump_u32vec2
 Medium qualifier 32 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u32, mediump > mediump_u32vec3
 Medium qualifier 32 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u32, mediump > mediump_u32vec4
 Medium qualifier 32 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint64 mediump_u64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef vec< 1, u64, mediump > mediump_u64vec1
 Medium qualifier 64 bit unsigned integer scalar type. More...
 
typedef vec< 2, u64, mediump > mediump_u64vec2
 Medium qualifier 64 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u64, mediump > mediump_u64vec3
 Medium qualifier 64 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u64, mediump > mediump_u64vec4
 Medium qualifier 64 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint8 mediump_u8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef vec< 1, u8, mediump > mediump_u8vec1
 Medium qualifier 8 bit unsigned integer scalar type. More...
 
typedef vec< 2, u8, mediump > mediump_u8vec2
 Medium qualifier 8 bit unsigned integer vector of 2 components type. More...
 
typedef vec< 3, u8, mediump > mediump_u8vec3
 Medium qualifier 8 bit unsigned integer vector of 3 components type. More...
 
typedef vec< 4, u8, mediump > mediump_u8vec4
 Medium qualifier 8 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint16 mediump_uint16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint16 mediump_uint16_t
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 mediump_uint32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint32 mediump_uint32_t
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 mediump_uint64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint64 mediump_uint64_t
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 mediump_uint8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint8 mediump_uint8_t
 Medium qualifier 8 bit unsigned integer type. More...
 
-typedef highp_quat quat
 Quaternion of default single-qualifier floating-point numbers.
 
typedef detail::uint16 u16
 16 bit unsigned integer type. More...
 
typedef highp_u16vec1 u16vec1
 Default qualifier 16 bit unsigned integer scalar type. More...
 
typedef highp_u16vec2 u16vec2
 Default qualifier 16 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u16vec3 u16vec3
 Default qualifier 16 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u16vec4 u16vec4
 Default qualifier 16 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint32 u32
 32 bit unsigned integer type. More...
 
typedef highp_u32vec1 u32vec1
 Default qualifier 32 bit unsigned integer scalar type. More...
 
typedef highp_u32vec2 u32vec2
 Default qualifier 32 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u32vec3 u32vec3
 Default qualifier 32 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u32vec4 u32vec4
 Default qualifier 32 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint64 u64
 64 bit unsigned integer type. More...
 
typedef highp_u64vec1 u64vec1
 Default qualifier 64 bit unsigned integer scalar type. More...
 
typedef highp_u64vec2 u64vec2
 Default qualifier 64 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u64vec3 u64vec3
 Default qualifier 64 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u64vec4 u64vec4
 Default qualifier 64 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint8 u8
 8 bit unsigned integer type. More...
 
typedef highp_u8vec1 u8vec1
 Default qualifier 8 bit unsigned integer scalar type. More...
 
typedef highp_u8vec2 u8vec2
 Default qualifier 8 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u8vec3 u8vec3
 Default qualifier 8 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u8vec4 u8vec4
 Default qualifier 8 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint16 uint16_t
 16 bit unsigned integer type. More...
 
typedef detail::uint32 uint32_t
 32 bit unsigned integer type. More...
 
typedef detail::uint64 uint64_t
 64 bit unsigned integer type. More...
 
typedef detail::uint8 uint8_t
 8 bit unsigned integer type. More...
 
-

Detailed Description

-

Core features

- -

Definition in file fwd.hpp.

-
- - - - diff --git a/doc/api/a00034_source.html b/doc/api/a00034_source.html deleted file mode 100644 index ea3fc770..00000000 --- a/doc/api/a00034_source.html +++ /dev/null @@ -1,1761 +0,0 @@ - - - - - - -0.9.9 API documenation: fwd.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
fwd.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_int.hpp"
-
9 #include "detail/type_float.hpp"
-
10 #include "detail/type_vec.hpp"
-
11 #include "detail/type_mat.hpp"
-
12 
-
14 // GLM_GTC_quaternion
-
15 namespace glm
-
16 {
-
17  template<typename T, qualifier Q> struct tquat;
-
18 
-
22  typedef tquat<float, lowp> lowp_quat;
-
23 
-
27  typedef tquat<float, mediump> mediump_quat;
-
28 
-
32  typedef tquat<float, highp> highp_quat;
-
33 
-
34 #if(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
35  typedef highp_quat quat;
-
36 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
37  typedef mediump_quat quat;
-
38 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
-
39  typedef lowp_quat quat;
-
40 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
41  typedef highp_quat quat;
-
43 #endif
-
44 
-
48  typedef lowp_quat lowp_fquat;
-
49 
-
53  typedef mediump_quat mediump_fquat;
-
54 
-
58  typedef highp_quat highp_fquat;
-
59 
-
63  typedef quat fquat;
-
64 
-
65 
-
69  typedef tquat<double, lowp> lowp_dquat;
-
70 
-
74  typedef tquat<double, mediump> mediump_dquat;
-
75 
-
79  typedef tquat<double, highp> highp_dquat;
-
80 
-
81 #if(defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
-
82  typedef highp_dquat dquat;
-
83 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
-
84  typedef mediump_dquat dquat;
-
85 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && defined(GLM_PRECISION_LOWP_DOUBLE))
-
86  typedef lowp_dquat dquat;
-
87 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
-
88  typedef highp_dquat dquat;
-
92 #endif
-
93 
-
94 }//namespace glm
-
95 
-
97 // GLM_GTC_precision
-
98 namespace glm
-
99 {
-
102  typedef detail::int8 lowp_int8;
-
103 
-
106  typedef detail::int16 lowp_int16;
-
107 
-
110  typedef detail::int32 lowp_int32;
-
111 
-
114  typedef detail::int64 lowp_int64;
-
115 
-
118  typedef detail::int8 lowp_int8_t;
-
119 
-
122  typedef detail::int16 lowp_int16_t;
-
123 
-
126  typedef detail::int32 lowp_int32_t;
-
127 
-
130  typedef detail::int64 lowp_int64_t;
-
131 
-
134  typedef detail::int8 lowp_i8;
-
135 
-
138  typedef detail::int16 lowp_i16;
-
139 
-
142  typedef detail::int32 lowp_i32;
-
143 
-
146  typedef detail::int64 lowp_i64;
-
147 
-
150  typedef detail::int8 mediump_int8;
-
151 
-
154  typedef detail::int16 mediump_int16;
-
155 
-
158  typedef detail::int32 mediump_int32;
-
159 
-
162  typedef detail::int64 mediump_int64;
-
163 
-
166  typedef detail::int8 mediump_int8_t;
-
167 
-
170  typedef detail::int16 mediump_int16_t;
-
171 
-
174  typedef detail::int32 mediump_int32_t;
-
175 
-
178  typedef detail::int64 mediump_int64_t;
-
179 
-
182  typedef detail::int8 mediump_i8;
-
183 
-
186  typedef detail::int16 mediump_i16;
-
187 
-
190  typedef detail::int32 mediump_i32;
-
191 
-
194  typedef detail::int64 mediump_i64;
-
195 
-
198  typedef detail::int8 highp_int8;
-
199 
-
202  typedef detail::int16 highp_int16;
-
203 
-
206  typedef detail::int32 highp_int32;
-
207 
-
210  typedef detail::int64 highp_int64;
-
211 
-
214  typedef detail::int8 highp_int8_t;
-
215 
-
218  typedef detail::int16 highp_int16_t;
-
219 
-
222  typedef detail::int32 highp_int32_t;
-
223 
-
226  typedef detail::int64 highp_int64_t;
-
227 
-
230  typedef detail::int8 highp_i8;
-
231 
-
234  typedef detail::int16 highp_i16;
-
235 
-
238  typedef detail::int32 highp_i32;
-
239 
-
242  typedef detail::int64 highp_i64;
-
243 
-
244 
-
247  typedef detail::int8 int8;
-
248 
-
251  typedef detail::int16 int16;
-
252 
-
255  typedef detail::int32 int32;
-
256 
-
259  typedef detail::int64 int64;
-
260 
-
261 
-
262 #if GLM_HAS_EXTENDED_INTEGER_TYPE
-
263  using std::int8_t;
-
264  using std::int16_t;
-
265  using std::int32_t;
-
266  using std::int64_t;
-
267 #else
-
268  typedef detail::int8 int8_t;
-
271 
-
274  typedef detail::int16 int16_t;
-
275 
-
278  typedef detail::int32 int32_t;
-
279 
-
282  typedef detail::int64 int64_t;
-
283 #endif
-
284 
-
287  typedef detail::int8 i8;
-
288 
-
291  typedef detail::int16 i16;
-
292 
-
295  typedef detail::int32 i32;
-
296 
-
299  typedef detail::int64 i64;
-
300 
-
301 
-
302 
-
305  typedef vec<1, i8, lowp> lowp_i8vec1;
-
306 
-
309  typedef vec<2, i8, lowp> lowp_i8vec2;
-
310 
-
313  typedef vec<3, i8, lowp> lowp_i8vec3;
-
314 
-
317  typedef vec<4, i8, lowp> lowp_i8vec4;
-
318 
-
319 
-
322  typedef vec<1, i8, mediump> mediump_i8vec1;
-
323 
-
326  typedef vec<2, i8, mediump> mediump_i8vec2;
-
327 
-
330  typedef vec<3, i8, mediump> mediump_i8vec3;
-
331 
-
334  typedef vec<4, i8, mediump> mediump_i8vec4;
-
335 
-
336 
-
339  typedef vec<1, i8, highp> highp_i8vec1;
-
340 
-
343  typedef vec<2, i8, highp> highp_i8vec2;
-
344 
-
347  typedef vec<3, i8, highp> highp_i8vec3;
-
348 
-
351  typedef vec<4, i8, highp> highp_i8vec4;
-
352 
-
353 #if(defined(GLM_PRECISION_LOWP_INT))
-
354  typedef lowp_i8vec1 i8vec1;
-
355  typedef lowp_i8vec2 i8vec2;
-
356  typedef lowp_i8vec3 i8vec3;
-
357  typedef lowp_i8vec4 i8vec4;
-
358 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
359  typedef mediump_i8vec1 i8vec1;
-
360  typedef mediump_i8vec2 i8vec2;
-
361  typedef mediump_i8vec3 i8vec3;
-
362  typedef mediump_i8vec4 i8vec4;
-
363 #else
-
364  typedef highp_i8vec1 i8vec1;
-
367 
-
370  typedef highp_i8vec2 i8vec2;
-
371 
-
374  typedef highp_i8vec3 i8vec3;
-
375 
-
378  typedef highp_i8vec4 i8vec4;
-
379 #endif
-
380 
-
381 
-
384  typedef vec<1, i16, lowp> lowp_i16vec1;
-
385 
-
388  typedef vec<2, i16, lowp> lowp_i16vec2;
-
389 
-
392  typedef vec<3, i16, lowp> lowp_i16vec3;
-
393 
-
396  typedef vec<4, i16, lowp> lowp_i16vec4;
-
397 
-
398 
-
401  typedef vec<1, i16, mediump> mediump_i16vec1;
-
402 
-
405  typedef vec<2, i16, mediump> mediump_i16vec2;
-
406 
-
409  typedef vec<3, i16, mediump> mediump_i16vec3;
-
410 
-
413  typedef vec<4, i16, mediump> mediump_i16vec4;
-
414 
-
415 
-
418  typedef vec<1, i16, highp> highp_i16vec1;
-
419 
-
422  typedef vec<2, i16, highp> highp_i16vec2;
-
423 
-
426  typedef vec<3, i16, highp> highp_i16vec3;
-
427 
-
430  typedef vec<4, i16, highp> highp_i16vec4;
-
431 
-
432 
-
433 #if(defined(GLM_PRECISION_LOWP_INT))
-
434  typedef lowp_i16vec1 i16vec1;
-
435  typedef lowp_i16vec2 i16vec2;
-
436  typedef lowp_i16vec3 i16vec3;
-
437  typedef lowp_i16vec4 i16vec4;
-
438 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
439  typedef mediump_i16vec1 i16vec1;
-
440  typedef mediump_i16vec2 i16vec2;
-
441  typedef mediump_i16vec3 i16vec3;
-
442  typedef mediump_i16vec4 i16vec4;
-
443 #else
-
444  typedef highp_i16vec1 i16vec1;
-
447 
-
450  typedef highp_i16vec2 i16vec2;
-
451 
-
454  typedef highp_i16vec3 i16vec3;
-
455 
-
458  typedef highp_i16vec4 i16vec4;
-
459 #endif
-
460 
-
461 
-
464  typedef vec<1, i32, lowp> lowp_i32vec1;
-
465 
-
468  typedef vec<2, i32, lowp> lowp_i32vec2;
-
469 
-
472  typedef vec<3, i32, lowp> lowp_i32vec3;
-
473 
-
476  typedef vec<4, i32, lowp> lowp_i32vec4;
-
477 
-
478 
-
481  typedef vec<1, i32, mediump> mediump_i32vec1;
-
482 
-
485  typedef vec<2, i32, mediump> mediump_i32vec2;
-
486 
-
489  typedef vec<3, i32, mediump> mediump_i32vec3;
-
490 
-
493  typedef vec<4, i32, mediump> mediump_i32vec4;
-
494 
-
495 
-
498  typedef vec<1, i32, highp> highp_i32vec1;
-
499 
-
502  typedef vec<2, i32, highp> highp_i32vec2;
-
503 
-
506  typedef vec<3, i32, highp> highp_i32vec3;
-
507 
-
510  typedef vec<4, i32, highp> highp_i32vec4;
-
511 
-
512 #if(defined(GLM_PRECISION_LOWP_INT))
-
513  typedef lowp_i32vec1 i32vec1;
-
514  typedef lowp_i32vec2 i32vec2;
-
515  typedef lowp_i32vec3 i32vec3;
-
516  typedef lowp_i32vec4 i32vec4;
-
517 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
518  typedef mediump_i32vec1 i32vec1;
-
519  typedef mediump_i32vec2 i32vec2;
-
520  typedef mediump_i32vec3 i32vec3;
-
521  typedef mediump_i32vec4 i32vec4;
-
522 #else
-
523  typedef highp_i32vec1 i32vec1;
-
526 
-
529  typedef highp_i32vec2 i32vec2;
-
530 
-
533  typedef highp_i32vec3 i32vec3;
-
534 
-
537  typedef highp_i32vec4 i32vec4;
-
538 #endif
-
539 
-
540 
-
543  typedef vec<1, i32, lowp> lowp_i32vec1;
-
544 
-
547  typedef vec<2, i32, lowp> lowp_i32vec2;
-
548 
-
551  typedef vec<3, i32, lowp> lowp_i32vec3;
-
552 
-
555  typedef vec<4, i32, lowp> lowp_i32vec4;
-
556 
-
557 
-
560  typedef vec<1, i32, mediump> mediump_i32vec1;
-
561 
-
564  typedef vec<2, i32, mediump> mediump_i32vec2;
-
565 
-
568  typedef vec<3, i32, mediump> mediump_i32vec3;
-
569 
-
572  typedef vec<4, i32, mediump> mediump_i32vec4;
-
573 
-
574 
-
577  typedef vec<1, i32, highp> highp_i32vec1;
-
578 
-
581  typedef vec<2, i32, highp> highp_i32vec2;
-
582 
-
585  typedef vec<3, i32, highp> highp_i32vec3;
-
586 
-
589  typedef vec<4, i32, highp> highp_i32vec4;
-
590 
-
591 #if(defined(GLM_PRECISION_LOWP_INT))
-
592  typedef lowp_i32vec1 i32vec1;
-
593  typedef lowp_i32vec2 i32vec2;
-
594  typedef lowp_i32vec3 i32vec3;
-
595  typedef lowp_i32vec4 i32vec4;
-
596 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
597  typedef mediump_i32vec1 i32vec1;
-
598  typedef mediump_i32vec2 i32vec2;
-
599  typedef mediump_i32vec3 i32vec3;
-
600  typedef mediump_i32vec4 i32vec4;
-
601 #else
-
602  typedef highp_i32vec1 i32vec1;
-
605 
-
608  typedef highp_i32vec2 i32vec2;
-
609 
-
612  typedef highp_i32vec3 i32vec3;
-
613 
-
616  typedef highp_i32vec4 i32vec4;
-
617 #endif
-
618 
-
619 
-
620 
-
623  typedef vec<1, i64, lowp> lowp_i64vec1;
-
624 
-
627  typedef vec<2, i64, lowp> lowp_i64vec2;
-
628 
-
631  typedef vec<3, i64, lowp> lowp_i64vec3;
-
632 
-
635  typedef vec<4, i64, lowp> lowp_i64vec4;
-
636 
-
637 
-
640  typedef vec<1, i64, mediump> mediump_i64vec1;
-
641 
-
644  typedef vec<2, i64, mediump> mediump_i64vec2;
-
645 
-
648  typedef vec<3, i64, mediump> mediump_i64vec3;
-
649 
-
652  typedef vec<4, i64, mediump> mediump_i64vec4;
-
653 
-
654 
-
657  typedef vec<1, i64, highp> highp_i64vec1;
-
658 
-
661  typedef vec<2, i64, highp> highp_i64vec2;
-
662 
-
665  typedef vec<3, i64, highp> highp_i64vec3;
-
666 
-
669  typedef vec<4, i64, highp> highp_i64vec4;
-
670 
-
671 #if(defined(GLM_PRECISION_LOWP_INT))
-
672  typedef lowp_i64vec1 i64vec1;
-
673  typedef lowp_i64vec2 i64vec2;
-
674  typedef lowp_i64vec3 i64vec3;
-
675  typedef lowp_i64vec4 i64vec4;
-
676 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
677  typedef mediump_i64vec1 i64vec1;
-
678  typedef mediump_i64vec2 i64vec2;
-
679  typedef mediump_i64vec3 i64vec3;
-
680  typedef mediump_i64vec4 i64vec4;
-
681 #else
-
682  typedef highp_i64vec1 i64vec1;
-
685 
-
688  typedef highp_i64vec2 i64vec2;
-
689 
-
692  typedef highp_i64vec3 i64vec3;
-
693 
-
696  typedef highp_i64vec4 i64vec4;
-
697 #endif
-
698 
-
699 
-
701  // Unsigned int vector types
-
702 
-
705  typedef detail::uint8 lowp_uint8;
-
706 
-
709  typedef detail::uint16 lowp_uint16;
-
710 
-
713  typedef detail::uint32 lowp_uint32;
-
714 
-
717  typedef detail::uint64 lowp_uint64;
-
718 
-
719 
-
722  typedef detail::uint8 lowp_uint8_t;
-
723 
-
726  typedef detail::uint16 lowp_uint16_t;
-
727 
-
730  typedef detail::uint32 lowp_uint32_t;
-
731 
-
734  typedef detail::uint64 lowp_uint64_t;
-
735 
-
736 
-
739  typedef detail::uint8 lowp_u8;
-
740 
-
743  typedef detail::uint16 lowp_u16;
-
744 
-
747  typedef detail::uint32 lowp_u32;
-
748 
-
751  typedef detail::uint64 lowp_u64;
-
752 
-
753 
-
754 
-
757  typedef detail::uint8 mediump_uint8;
-
758 
-
761  typedef detail::uint16 mediump_uint16;
-
762 
-
765  typedef detail::uint32 mediump_uint32;
-
766 
-
769  typedef detail::uint64 mediump_uint64;
-
770 
-
773  typedef detail::uint8 mediump_uint8_t;
-
774 
-
777  typedef detail::uint16 mediump_uint16_t;
-
778 
-
781  typedef detail::uint32 mediump_uint32_t;
-
782 
-
785  typedef detail::uint64 mediump_uint64_t;
-
786 
-
789  typedef detail::uint8 mediump_u8;
-
790 
-
793  typedef detail::uint16 mediump_u16;
-
794 
-
797  typedef detail::uint32 mediump_u32;
-
798 
-
801  typedef detail::uint64 mediump_u64;
-
802 
-
803 
-
804 
-
807  typedef detail::uint8 highp_uint8;
-
808 
-
811  typedef detail::uint16 highp_uint16;
-
812 
-
815  typedef detail::uint32 highp_uint32;
-
816 
-
819  typedef detail::uint64 highp_uint64;
-
820 
-
823  typedef detail::uint8 highp_uint8_t;
-
824 
-
827  typedef detail::uint16 highp_uint16_t;
-
828 
-
831  typedef detail::uint32 highp_uint32_t;
-
832 
-
835  typedef detail::uint64 highp_uint64_t;
-
836 
-
839  typedef detail::uint8 highp_u8;
-
840 
-
843  typedef detail::uint16 highp_u16;
-
844 
-
847  typedef detail::uint32 highp_u32;
-
848 
-
851  typedef detail::uint64 highp_u64;
-
852 
-
853 
-
854 
-
857  typedef detail::uint8 uint8;
-
858 
-
861  typedef detail::uint16 uint16;
-
862 
-
865  typedef detail::uint32 uint32;
-
866 
-
869  typedef detail::uint64 uint64;
-
870 
-
871 #if GLM_HAS_EXTENDED_INTEGER_TYPE
-
872  using std::uint8_t;
-
873  using std::uint16_t;
-
874  using std::uint32_t;
-
875  using std::uint64_t;
-
876 #else
-
877  typedef detail::uint8 uint8_t;
-
880 
-
883  typedef detail::uint16 uint16_t;
-
884 
-
887  typedef detail::uint32 uint32_t;
-
888 
-
891  typedef detail::uint64 uint64_t;
-
892 #endif
-
893 
-
896  typedef detail::uint8 u8;
-
897 
-
900  typedef detail::uint16 u16;
-
901 
-
904  typedef detail::uint32 u32;
-
905 
-
908  typedef detail::uint64 u64;
-
909 
-
910 
-
911 
-
914  typedef vec<1, u8, lowp> lowp_u8vec1;
-
915 
-
918  typedef vec<2, u8, lowp> lowp_u8vec2;
-
919 
-
922  typedef vec<3, u8, lowp> lowp_u8vec3;
-
923 
-
926  typedef vec<4, u8, lowp> lowp_u8vec4;
-
927 
-
928 
-
931  typedef vec<1, u8, mediump> mediump_u8vec1;
-
932 
-
935  typedef vec<2, u8, mediump> mediump_u8vec2;
-
936 
-
939  typedef vec<3, u8, mediump> mediump_u8vec3;
-
940 
-
943  typedef vec<4, u8, mediump> mediump_u8vec4;
-
944 
-
945 
-
948  typedef vec<1, u8, highp> highp_u8vec1;
-
949 
-
952  typedef vec<2, u8, highp> highp_u8vec2;
-
953 
-
956  typedef vec<3, u8, highp> highp_u8vec3;
-
957 
-
960  typedef vec<4, u8, highp> highp_u8vec4;
-
961 
-
962 #if(defined(GLM_PRECISION_LOWP_INT))
-
963  typedef lowp_u8vec1 u8vec1;
-
964  typedef lowp_u8vec2 u8vec2;
-
965  typedef lowp_u8vec3 u8vec3;
-
966  typedef lowp_u8vec4 u8vec4;
-
967 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
968  typedef mediump_u8vec1 u8vec1;
-
969  typedef mediump_u8vec2 u8vec2;
-
970  typedef mediump_u8vec3 u8vec3;
-
971  typedef mediump_u8vec4 u8vec4;
-
972 #else
-
973  typedef highp_u8vec1 u8vec1;
-
976 
-
979  typedef highp_u8vec2 u8vec2;
-
980 
-
983  typedef highp_u8vec3 u8vec3;
-
984 
-
987  typedef highp_u8vec4 u8vec4;
-
988 #endif
-
989 
-
990 
-
993  typedef vec<1, u16, lowp> lowp_u16vec1;
-
994 
-
997  typedef vec<2, u16, lowp> lowp_u16vec2;
-
998 
-
1001  typedef vec<3, u16, lowp> lowp_u16vec3;
-
1002 
-
1005  typedef vec<4, u16, lowp> lowp_u16vec4;
-
1006 
-
1007 
-
1010  typedef vec<1, u16, mediump> mediump_u16vec1;
-
1011 
-
1014  typedef vec<2, u16, mediump> mediump_u16vec2;
-
1015 
-
1018  typedef vec<3, u16, mediump> mediump_u16vec3;
-
1019 
-
1022  typedef vec<4, u16, mediump> mediump_u16vec4;
-
1023 
-
1024 
-
1027  typedef vec<1, u16, highp> highp_u16vec1;
-
1028 
-
1031  typedef vec<2, u16, highp> highp_u16vec2;
-
1032 
-
1035  typedef vec<3, u16, highp> highp_u16vec3;
-
1036 
-
1039  typedef vec<4, u16, highp> highp_u16vec4;
-
1040 
-
1041 
-
1042 #if(defined(GLM_PRECISION_LOWP_INT))
-
1043  typedef lowp_u16vec1 u16vec1;
-
1044  typedef lowp_u16vec2 u16vec2;
-
1045  typedef lowp_u16vec3 u16vec3;
-
1046  typedef lowp_u16vec4 u16vec4;
-
1047 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
1048  typedef mediump_u16vec1 u16vec1;
-
1049  typedef mediump_u16vec2 u16vec2;
-
1050  typedef mediump_u16vec3 u16vec3;
-
1051  typedef mediump_u16vec4 u16vec4;
-
1052 #else
-
1053  typedef highp_u16vec1 u16vec1;
-
1056 
-
1059  typedef highp_u16vec2 u16vec2;
-
1060 
-
1063  typedef highp_u16vec3 u16vec3;
-
1064 
-
1067  typedef highp_u16vec4 u16vec4;
-
1068 #endif
-
1069 
-
1070 
-
1073  typedef vec<1, u32, lowp> lowp_u32vec1;
-
1074 
-
1077  typedef vec<2, u32, lowp> lowp_u32vec2;
-
1078 
-
1081  typedef vec<3, u32, lowp> lowp_u32vec3;
-
1082 
-
1085  typedef vec<4, u32, lowp> lowp_u32vec4;
-
1086 
-
1087 
-
1090  typedef vec<1, u32, mediump> mediump_u32vec1;
-
1091 
-
1094  typedef vec<2, u32, mediump> mediump_u32vec2;
-
1095 
-
1098  typedef vec<3, u32, mediump> mediump_u32vec3;
-
1099 
-
1102  typedef vec<4, u32, mediump> mediump_u32vec4;
-
1103 
-
1104 
-
1107  typedef vec<1, u32, highp> highp_u32vec1;
-
1108 
-
1111  typedef vec<2, u32, highp> highp_u32vec2;
-
1112 
-
1115  typedef vec<3, u32, highp> highp_u32vec3;
-
1116 
-
1119  typedef vec<4, u32, highp> highp_u32vec4;
-
1120 
-
1121 #if(defined(GLM_PRECISION_LOWP_INT))
-
1122  typedef lowp_u32vec1 u32vec1;
-
1123  typedef lowp_u32vec2 u32vec2;
-
1124  typedef lowp_u32vec3 u32vec3;
-
1125  typedef lowp_u32vec4 u32vec4;
-
1126 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
1127  typedef mediump_u32vec1 u32vec1;
-
1128  typedef mediump_u32vec2 u32vec2;
-
1129  typedef mediump_u32vec3 u32vec3;
-
1130  typedef mediump_u32vec4 u32vec4;
-
1131 #else
-
1132  typedef highp_u32vec1 u32vec1;
-
1135 
-
1138  typedef highp_u32vec2 u32vec2;
-
1139 
-
1142  typedef highp_u32vec3 u32vec3;
-
1143 
-
1146  typedef highp_u32vec4 u32vec4;
-
1147 #endif
-
1148 
-
1149 
-
1152  typedef vec<1, u32, lowp> lowp_u32vec1;
-
1153 
-
1156  typedef vec<2, u32, lowp> lowp_u32vec2;
-
1157 
-
1160  typedef vec<3, u32, lowp> lowp_u32vec3;
-
1161 
-
1164  typedef vec<4, u32, lowp> lowp_u32vec4;
-
1165 
-
1166 
-
1169  typedef vec<1, u32, mediump> mediump_u32vec1;
-
1170 
-
1173  typedef vec<2, u32, mediump> mediump_u32vec2;
-
1174 
-
1177  typedef vec<3, u32, mediump> mediump_u32vec3;
-
1178 
-
1181  typedef vec<4, u32, mediump> mediump_u32vec4;
-
1182 
-
1183 
-
1186  typedef vec<1, u32, highp> highp_u32vec1;
-
1187 
-
1190  typedef vec<2, u32, highp> highp_u32vec2;
-
1191 
-
1194  typedef vec<3, u32, highp> highp_u32vec3;
-
1195 
-
1198  typedef vec<4, u32, highp> highp_u32vec4;
-
1199 
-
1200 #if(defined(GLM_PRECISION_LOWP_INT))
-
1201  typedef lowp_u32vec1 u32vec1;
-
1202  typedef lowp_u32vec2 u32vec2;
-
1203  typedef lowp_u32vec3 u32vec3;
-
1204  typedef lowp_u32vec4 u32vec4;
-
1205 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
1206  typedef mediump_u32vec1 u32vec1;
-
1207  typedef mediump_u32vec2 u32vec2;
-
1208  typedef mediump_u32vec3 u32vec3;
-
1209  typedef mediump_u32vec4 u32vec4;
-
1210 #else
-
1211  typedef highp_u32vec1 u32vec1;
-
1214 
-
1217  typedef highp_u32vec2 u32vec2;
-
1218 
-
1221  typedef highp_u32vec3 u32vec3;
-
1222 
-
1225  typedef highp_u32vec4 u32vec4;
-
1226 #endif
-
1227 
-
1228 
-
1229 
-
1232  typedef vec<1, u64, lowp> lowp_u64vec1;
-
1233 
-
1236  typedef vec<2, u64, lowp> lowp_u64vec2;
-
1237 
-
1240  typedef vec<3, u64, lowp> lowp_u64vec3;
-
1241 
-
1244  typedef vec<4, u64, lowp> lowp_u64vec4;
-
1245 
-
1246 
-
1249  typedef vec<1, u64, mediump> mediump_u64vec1;
-
1250 
-
1253  typedef vec<2, u64, mediump> mediump_u64vec2;
-
1254 
-
1257  typedef vec<3, u64, mediump> mediump_u64vec3;
-
1258 
-
1261  typedef vec<4, u64, mediump> mediump_u64vec4;
-
1262 
-
1263 
-
1266  typedef vec<1, u64, highp> highp_u64vec1;
-
1267 
-
1270  typedef vec<2, u64, highp> highp_u64vec2;
-
1271 
-
1274  typedef vec<3, u64, highp> highp_u64vec3;
-
1275 
-
1278  typedef vec<4, u64, highp> highp_u64vec4;
-
1279 
-
1280 #if(defined(GLM_PRECISION_LOWP_UINT))
-
1281  typedef lowp_u64vec1 u64vec1;
-
1282  typedef lowp_u64vec2 u64vec2;
-
1283  typedef lowp_u64vec3 u64vec3;
-
1284  typedef lowp_u64vec4 u64vec4;
-
1285 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
-
1286  typedef mediump_u64vec1 u64vec1;
-
1287  typedef mediump_u64vec2 u64vec2;
-
1288  typedef mediump_u64vec3 u64vec3;
-
1289  typedef mediump_u64vec4 u64vec4;
-
1290 #else
-
1291  typedef highp_u64vec1 u64vec1;
-
1294 
-
1297  typedef highp_u64vec2 u64vec2;
-
1298 
-
1301  typedef highp_u64vec3 u64vec3;
-
1302 
-
1305  typedef highp_u64vec4 u64vec4;
-
1306 #endif
-
1307 
-
1308 
-
1310  // Float vector types
-
1311 
-
1314  typedef detail::float32 lowp_float32;
-
1315 
-
1318  typedef detail::float64 lowp_float64;
-
1319 
-
1322  typedef detail::float32 lowp_float32_t;
-
1323 
-
1326  typedef detail::float64 lowp_float64_t;
-
1327 
-
1330  typedef float32 lowp_f32;
-
1331 
-
1334  typedef float64 lowp_f64;
-
1335 
-
1338  typedef detail::float32 lowp_float32;
-
1339 
-
1342  typedef detail::float64 lowp_float64;
-
1343 
-
1346  typedef detail::float32 lowp_float32_t;
-
1347 
-
1350  typedef detail::float64 lowp_float64_t;
-
1351 
-
1354  typedef float32 lowp_f32;
-
1355 
-
1358  typedef float64 lowp_f64;
-
1359 
-
1360 
-
1363  typedef detail::float32 lowp_float32;
-
1364 
-
1367  typedef detail::float64 lowp_float64;
-
1368 
-
1371  typedef detail::float32 lowp_float32_t;
-
1372 
-
1375  typedef detail::float64 lowp_float64_t;
-
1376 
-
1379  typedef float32 lowp_f32;
-
1380 
-
1383  typedef float64 lowp_f64;
-
1384 
-
1385 
-
1388  typedef detail::float32 mediump_float32;
-
1389 
-
1392  typedef detail::float64 mediump_float64;
-
1393 
-
1396  typedef detail::float32 mediump_float32_t;
-
1397 
-
1400  typedef detail::float64 mediump_float64_t;
-
1401 
-
1404  typedef float32 mediump_f32;
-
1405 
-
1408  typedef float64 mediump_f64;
-
1409 
-
1410 
-
1413  typedef detail::float32 highp_float32;
-
1414 
-
1417  typedef detail::float64 highp_float64;
-
1418 
-
1421  typedef detail::float32 highp_float32_t;
-
1422 
-
1425  typedef detail::float64 highp_float64_t;
-
1426 
-
1429  typedef float32 highp_f32;
-
1430 
-
1433  typedef float64 highp_f64;
-
1434 
-
1435 
-
1436 #if(defined(GLM_PRECISION_LOWP_FLOAT))
-
1437  typedef lowp_float32 float32;
-
1440 
-
1443  typedef lowp_float64 float64;
-
1444 
-
1447  typedef lowp_float32_t float32_t;
-
1448 
-
1451  typedef lowp_float64_t float64_t;
-
1452 
-
1455  typedef lowp_f32 f32;
-
1456 
-
1459  typedef lowp_f64 f64;
-
1460 
-
1461 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
-
1462 
-
1465  typedef mediump_float32 float32;
-
1466 
-
1469  typedef mediump_float64 float64;
-
1470 
-
1473  typedef mediump_float32 float32_t;
-
1474 
-
1477  typedef mediump_float64 float64_t;
-
1478 
-
1481  typedef mediump_float32 f32;
-
1482 
-
1485  typedef mediump_float64 f64;
-
1486 
-
1487 #else//(defined(GLM_PRECISION_HIGHP_FLOAT))
-
1488 
-
1491  typedef highp_float32 float32;
-
1492 
-
1495  typedef highp_float64 float64;
-
1496 
-
1499  typedef highp_float32_t float32_t;
-
1500 
-
1503  typedef highp_float64_t float64_t;
-
1504 
-
1507  typedef highp_float32_t f32;
-
1508 
-
1511  typedef highp_float64_t f64;
-
1512 #endif
-
1513 
-
1514 
-
1517  typedef vec<1, float, lowp> lowp_vec1;
-
1518 
-
1521  typedef vec<2, float, lowp> lowp_vec2;
-
1522 
-
1525  typedef vec<3, float, lowp> lowp_vec3;
-
1526 
-
1529  typedef vec<4, float, lowp> lowp_vec4;
-
1530 
-
1533  typedef vec<1, float, lowp> lowp_fvec1;
-
1534 
-
1537  typedef vec<2, float, lowp> lowp_fvec2;
-
1538 
-
1541  typedef vec<3, float, lowp> lowp_fvec3;
-
1542 
-
1545  typedef vec<4, float, lowp> lowp_fvec4;
-
1546 
-
1547 
-
1550  typedef vec<1, float, mediump> mediump_vec1;
-
1551 
-
1554  typedef vec<2, float, mediump> mediump_vec2;
-
1555 
-
1558  typedef vec<3, float, mediump> mediump_vec3;
-
1559 
-
1562  typedef vec<4, float, mediump> mediump_vec4;
-
1563 
-
1566  typedef vec<1, float, mediump> mediump_fvec1;
-
1567 
-
1570  typedef vec<2, float, mediump> mediump_fvec2;
-
1571 
-
1574  typedef vec<3, float, mediump> mediump_fvec3;
-
1575 
-
1578  typedef vec<4, float, mediump> mediump_fvec4;
-
1579 
-
1580 
-
1583  typedef vec<1, float, highp> highp_vec1;
-
1584 
-
1587  typedef vec<2, float, highp> highp_vec2;
-
1588 
-
1591  typedef vec<3, float, highp> highp_vec3;
-
1592 
-
1595  typedef vec<4, float, highp> highp_vec4;
-
1596 
-
1599  typedef vec<1, float, highp> highp_fvec1;
-
1600 
-
1603  typedef vec<2, float, highp> highp_fvec2;
-
1604 
-
1607  typedef vec<3, float, highp> highp_fvec3;
-
1608 
-
1611  typedef vec<4, float, highp> highp_fvec4;
-
1612 
-
1613 
-
1616  typedef vec<1, f32, lowp> lowp_f32vec1;
-
1617 
-
1620  typedef vec<2, f32, lowp> lowp_f32vec2;
-
1621 
-
1624  typedef vec<3, f32, lowp> lowp_f32vec3;
-
1625 
-
1628  typedef vec<4, f32, lowp> lowp_f32vec4;
-
1629 
-
1632  typedef vec<1, f32, mediump> mediump_f32vec1;
-
1633 
-
1636  typedef vec<2, f32, mediump> mediump_f32vec2;
-
1637 
-
1640  typedef vec<3, f32, mediump> mediump_f32vec3;
-
1641 
-
1644  typedef vec<4, f32, mediump> mediump_f32vec4;
-
1645 
-
1648  typedef vec<1, f32, highp> highp_f32vec1;
-
1649 
-
1652  typedef vec<2, f32, highp> highp_f32vec2;
-
1653 
-
1656  typedef vec<3, f32, highp> highp_f32vec3;
-
1657 
-
1660  typedef vec<4, f32, highp> highp_f32vec4;
-
1661 
-
1662 
-
1665  typedef vec<1, f64, lowp> lowp_f64vec1;
-
1666 
-
1669  typedef vec<2, f64, lowp> lowp_f64vec2;
-
1670 
-
1673  typedef vec<3, f64, lowp> lowp_f64vec3;
-
1674 
-
1677  typedef vec<4, f64, lowp> lowp_f64vec4;
-
1678 
-
1681  typedef vec<1, f64, mediump> mediump_f64vec1;
-
1682 
-
1685  typedef vec<2, f64, mediump> mediump_f64vec2;
-
1686 
-
1689  typedef vec<3, f64, mediump> mediump_f64vec3;
-
1690 
-
1693  typedef vec<4, f64, mediump> mediump_f64vec4;
-
1694 
-
1697  typedef vec<1, f64, highp> highp_f64vec1;
-
1698 
-
1701  typedef vec<2, f64, highp> highp_f64vec2;
-
1702 
-
1705  typedef vec<3, f64, highp> highp_f64vec3;
-
1706 
-
1709  typedef vec<4, f64, highp> highp_f64vec4;
-
1710 
-
1711 
-
1713  // Float matrix types
-
1714 
-
1717  //typedef lowp_f32 lowp_fmat1x1;
-
1718 
-
1721  typedef mat<2, 2, f32, lowp> lowp_fmat2x2;
-
1722 
-
1725  typedef mat<2, 3, f32, lowp> lowp_fmat2x3;
-
1726 
-
1729  typedef mat<2, 4, f32, lowp> lowp_fmat2x4;
-
1730 
-
1733  typedef mat<3, 2, f32, lowp> lowp_fmat3x2;
-
1734 
-
1737  typedef mat<3, 3, f32, lowp> lowp_fmat3x3;
-
1738 
-
1741  typedef mat<3, 4, f32, lowp> lowp_fmat3x4;
-
1742 
-
1745  typedef mat<4, 2, f32, lowp> lowp_fmat4x2;
-
1746 
-
1749  typedef mat<4, 3, f32, lowp> lowp_fmat4x3;
-
1750 
-
1753  typedef mat<4, 4, f32, lowp> lowp_fmat4x4;
-
1754 
-
1757  //typedef lowp_fmat1x1 lowp_fmat1;
-
1758 
-
1761  typedef lowp_fmat2x2 lowp_fmat2;
-
1762 
-
1765  typedef lowp_fmat3x3 lowp_fmat3;
-
1766 
-
1769  typedef lowp_fmat4x4 lowp_fmat4;
-
1770 
-
1771 
-
1774  //typedef mediump_f32 mediump_fmat1x1;
-
1775 
-
1778  typedef mat<2, 2, f32, mediump> mediump_fmat2x2;
-
1779 
-
1782  typedef mat<2, 3, f32, mediump> mediump_fmat2x3;
-
1783 
-
1786  typedef mat<2, 4, f32, mediump> mediump_fmat2x4;
-
1787 
-
1790  typedef mat<3, 2, f32, mediump> mediump_fmat3x2;
-
1791 
-
1794  typedef mat<3, 3, f32, mediump> mediump_fmat3x3;
-
1795 
-
1798  typedef mat<3, 4, f32, mediump> mediump_fmat3x4;
-
1799 
-
1802  typedef mat<4, 2, f32, mediump> mediump_fmat4x2;
-
1803 
-
1806  typedef mat<4, 3, f32, mediump> mediump_fmat4x3;
-
1807 
-
1810  typedef mat<4, 4, f32, mediump> mediump_fmat4x4;
-
1811 
-
1814  //typedef mediump_fmat1x1 mediump_fmat1;
-
1815 
-
1818  typedef mediump_fmat2x2 mediump_fmat2;
-
1819 
-
1822  typedef mediump_fmat3x3 mediump_fmat3;
-
1823 
-
1826  typedef mediump_fmat4x4 mediump_fmat4;
-
1827 
-
1828 
-
1831  //typedef highp_f32 highp_fmat1x1;
-
1832 
-
1835  typedef mat<2, 2, f32, highp> highp_fmat2x2;
-
1836 
-
1839  typedef mat<2, 3, f32, highp> highp_fmat2x3;
-
1840 
-
1843  typedef mat<2, 4, f32, highp> highp_fmat2x4;
-
1844 
-
1847  typedef mat<3, 2, f32, highp> highp_fmat3x2;
-
1848 
-
1851  typedef mat<3, 3, f32, highp> highp_fmat3x3;
-
1852 
-
1855  typedef mat<3, 4, f32, highp> highp_fmat3x4;
-
1856 
-
1859  typedef mat<4, 2, f32, highp> highp_fmat4x2;
-
1860 
-
1863  typedef mat<4, 3, f32, highp> highp_fmat4x3;
-
1864 
-
1867  typedef mat<4, 4, f32, highp> highp_fmat4x4;
-
1868 
-
1871  //typedef highp_fmat1x1 highp_fmat1;
-
1872 
-
1875  typedef highp_fmat2x2 highp_fmat2;
-
1876 
-
1879  typedef highp_fmat3x3 highp_fmat3;
-
1880 
-
1883  typedef highp_fmat4x4 highp_fmat4;
-
1884 
-
1885 
-
1888  //typedef f32 lowp_f32mat1x1;
-
1889 
-
1892  typedef mat<2, 2, f32, lowp> lowp_f32mat2x2;
-
1893 
-
1896  typedef mat<2, 3, f32, lowp> lowp_f32mat2x3;
-
1897 
-
1900  typedef mat<2, 4, f32, lowp> lowp_f32mat2x4;
-
1901 
-
1904  typedef mat<3, 2, f32, lowp> lowp_f32mat3x2;
-
1905 
-
1908  typedef mat<3, 3, f32, lowp> lowp_f32mat3x3;
-
1909 
-
1912  typedef mat<3, 4, f32, lowp> lowp_f32mat3x4;
-
1913 
-
1916  typedef mat<4, 2, f32, lowp> lowp_f32mat4x2;
-
1917 
-
1920  typedef mat<4, 3, f32, lowp> lowp_f32mat4x3;
-
1921 
-
1924  typedef mat<4, 4, f32, lowp> lowp_f32mat4x4;
-
1925 
-
1928  //typedef detail::tmat1x1<f32, lowp> lowp_f32mat1;
-
1929 
-
1932  typedef lowp_f32mat2x2 lowp_f32mat2;
-
1933 
-
1936  typedef lowp_f32mat3x3 lowp_f32mat3;
-
1937 
-
1940  typedef lowp_f32mat4x4 lowp_f32mat4;
-
1941 
-
1942 
-
1945  //typedef f32 mediump_f32mat1x1;
-
1946 
-
1949  typedef mat<2, 2, f32, mediump> mediump_f32mat2x2;
-
1950 
-
1953  typedef mat<2, 3, f32, mediump> mediump_f32mat2x3;
-
1954 
-
1957  typedef mat<2, 4, f32, mediump> mediump_f32mat2x4;
-
1958 
-
1961  typedef mat<3, 2, f32, mediump> mediump_f32mat3x2;
-
1962 
-
1965  typedef mat<3, 3, f32, mediump> mediump_f32mat3x3;
-
1966 
-
1969  typedef mat<3, 4, f32, mediump> mediump_f32mat3x4;
-
1970 
-
1973  typedef mat<4, 2, f32, mediump> mediump_f32mat4x2;
-
1974 
-
1977  typedef mat<4, 3, f32, mediump> mediump_f32mat4x3;
-
1978 
-
1981  typedef mat<4, 4, f32, mediump> mediump_f32mat4x4;
-
1982 
-
1985  //typedef detail::tmat1x1<f32, mediump> f32mat1;
-
1986 
-
1989  typedef mediump_f32mat2x2 mediump_f32mat2;
-
1990 
-
1993  typedef mediump_f32mat3x3 mediump_f32mat3;
-
1994 
-
1997  typedef mediump_f32mat4x4 mediump_f32mat4;
-
1998 
-
1999 
-
2002  //typedef f32 highp_f32mat1x1;
-
2003 
-
2006  typedef mat<2, 2, f32, highp> highp_f32mat2x2;
-
2007 
-
2010  typedef mat<2, 3, f32, highp> highp_f32mat2x3;
-
2011 
-
2014  typedef mat<2, 4, f32, highp> highp_f32mat2x4;
-
2015 
-
2018  typedef mat<3, 2, f32, highp> highp_f32mat3x2;
-
2019 
-
2022  typedef mat<3, 3, f32, highp> highp_f32mat3x3;
-
2023 
-
2026  typedef mat<3, 4, f32, highp> highp_f32mat3x4;
-
2027 
-
2030  typedef mat<4, 2, f32, highp> highp_f32mat4x2;
-
2031 
-
2034  typedef mat<4, 3, f32, highp> highp_f32mat4x3;
-
2035 
-
2038  typedef mat<4, 4, f32, highp> highp_f32mat4x4;
-
2039 
-
2042  //typedef detail::tmat1x1<f32, highp> f32mat1;
-
2043 
-
2046  typedef highp_f32mat2x2 highp_f32mat2;
-
2047 
-
2050  typedef highp_f32mat3x3 highp_f32mat3;
-
2051 
-
2054  typedef highp_f32mat4x4 highp_f32mat4;
-
2055 
-
2056 
-
2059  //typedef f64 lowp_f64mat1x1;
-
2060 
-
2063  typedef mat<2, 2, f64, lowp> lowp_f64mat2x2;
-
2064 
-
2067  typedef mat<2, 3, f64, lowp> lowp_f64mat2x3;
-
2068 
-
2071  typedef mat<2, 4, f64, lowp> lowp_f64mat2x4;
-
2072 
-
2075  typedef mat<3, 2, f64, lowp> lowp_f64mat3x2;
-
2076 
-
2079  typedef mat<3, 3, f64, lowp> lowp_f64mat3x3;
-
2080 
-
2083  typedef mat<3, 4, f64, lowp> lowp_f64mat3x4;
-
2084 
-
2087  typedef mat<4, 2, f64, lowp> lowp_f64mat4x2;
-
2088 
-
2091  typedef mat<4, 3, f64, lowp> lowp_f64mat4x3;
-
2092 
-
2095  typedef mat<4, 4, f64, lowp> lowp_f64mat4x4;
-
2096 
-
2099  //typedef lowp_f64mat1x1 lowp_f64mat1;
-
2100 
-
2103  typedef lowp_f64mat2x2 lowp_f64mat2;
-
2104 
-
2107  typedef lowp_f64mat3x3 lowp_f64mat3;
-
2108 
-
2111  typedef lowp_f64mat4x4 lowp_f64mat4;
-
2112 
-
2113 
-
2116  //typedef f64 Highp_f64mat1x1;
-
2117 
-
2120  typedef mat<2, 2, f64, mediump> mediump_f64mat2x2;
-
2121 
-
2124  typedef mat<2, 3, f64, mediump> mediump_f64mat2x3;
-
2125 
-
2128  typedef mat<2, 4, f64, mediump> mediump_f64mat2x4;
-
2129 
-
2132  typedef mat<3, 2, f64, mediump> mediump_f64mat3x2;
-
2133 
-
2136  typedef mat<3, 3, f64, mediump> mediump_f64mat3x3;
-
2137 
-
2140  typedef mat<3, 4, f64, mediump> mediump_f64mat3x4;
-
2141 
-
2144  typedef mat<4, 2, f64, mediump> mediump_f64mat4x2;
-
2145 
-
2148  typedef mat<4, 3, f64, mediump> mediump_f64mat4x3;
-
2149 
-
2152  typedef mat<4, 4, f64, mediump> mediump_f64mat4x4;
-
2153 
-
2156  //typedef mediump_f64mat1x1 mediump_f64mat1;
-
2157 
-
2160  typedef mediump_f64mat2x2 mediump_f64mat2;
-
2161 
-
2164  typedef mediump_f64mat3x3 mediump_f64mat3;
-
2165 
-
2168  typedef mediump_f64mat4x4 mediump_f64mat4;
-
2169 
-
2172  //typedef f64 highp_f64mat1x1;
-
2173 
-
2176  typedef mat<2, 2, f64, highp> highp_f64mat2x2;
-
2177 
-
2180  typedef mat<2, 3, f64, highp> highp_f64mat2x3;
-
2181 
-
2184  typedef mat<2, 4, f64, highp> highp_f64mat2x4;
-
2185 
-
2188  typedef mat<3, 2, f64, highp> highp_f64mat3x2;
-
2189 
-
2192  typedef mat<3, 3, f64, highp> highp_f64mat3x3;
-
2193 
-
2196  typedef mat<3, 4, f64, highp> highp_f64mat3x4;
-
2197 
-
2200  typedef mat<4, 2, f64, highp> highp_f64mat4x2;
-
2201 
-
2204  typedef mat<4, 3, f64, highp> highp_f64mat4x3;
-
2205 
-
2208  typedef mat<4, 4, f64, highp> highp_f64mat4x4;
-
2209 
-
2212  //typedef highp_f64mat1x1 highp_f64mat1;
-
2213 
-
2216  typedef highp_f64mat2x2 highp_f64mat2;
-
2217 
-
2220  typedef highp_f64mat3x3 highp_f64mat3;
-
2221 
-
2224  typedef highp_f64mat4x4 highp_f64mat4;
-
2225 
-
2227  // Quaternion types
-
2228 
-
2231  typedef tquat<f32, lowp> lowp_f32quat;
-
2232 
-
2235  typedef tquat<f64, lowp> lowp_f64quat;
-
2236 
-
2239  typedef tquat<f32, mediump> mediump_f32quat;
-
2240 
-
2243  typedef tquat<f64, mediump> mediump_f64quat;
-
2244 
-
2247  typedef tquat<f32, highp> highp_f32quat;
-
2248 
-
2251  typedef tquat<f64, highp> highp_f64quat;
-
2252 
-
2253 
-
2254 #if(defined(GLM_PRECISION_LOWP_FLOAT))
-
2255  typedef lowp_f32vec1 fvec1;
-
2256  typedef lowp_f32vec2 fvec2;
-
2257  typedef lowp_f32vec3 fvec3;
-
2258  typedef lowp_f32vec4 fvec4;
-
2259  typedef lowp_f32mat2 fmat2;
-
2260  typedef lowp_f32mat3 fmat3;
-
2261  typedef lowp_f32mat4 fmat4;
-
2262  typedef lowp_f32mat2x2 fmat2x2;
-
2263  typedef lowp_f32mat3x2 fmat3x2;
-
2264  typedef lowp_f32mat4x2 fmat4x2;
-
2265  typedef lowp_f32mat2x3 fmat2x3;
-
2266  typedef lowp_f32mat3x3 fmat3x3;
-
2267  typedef lowp_f32mat4x3 fmat4x3;
-
2268  typedef lowp_f32mat2x4 fmat2x4;
-
2269  typedef lowp_f32mat3x4 fmat3x4;
-
2270  typedef lowp_f32mat4x4 fmat4x4;
-
2271  typedef lowp_f32quat fquat;
-
2272 
-
2273  typedef lowp_f32vec1 f32vec1;
-
2274  typedef lowp_f32vec2 f32vec2;
-
2275  typedef lowp_f32vec3 f32vec3;
-
2276  typedef lowp_f32vec4 f32vec4;
-
2277  typedef lowp_f32mat2 f32mat2;
-
2278  typedef lowp_f32mat3 f32mat3;
-
2279  typedef lowp_f32mat4 f32mat4;
-
2280  typedef lowp_f32mat2x2 f32mat2x2;
-
2281  typedef lowp_f32mat3x2 f32mat3x2;
-
2282  typedef lowp_f32mat4x2 f32mat4x2;
-
2283  typedef lowp_f32mat2x3 f32mat2x3;
-
2284  typedef lowp_f32mat3x3 f32mat3x3;
-
2285  typedef lowp_f32mat4x3 f32mat4x3;
-
2286  typedef lowp_f32mat2x4 f32mat2x4;
-
2287  typedef lowp_f32mat3x4 f32mat3x4;
-
2288  typedef lowp_f32mat4x4 f32mat4x4;
-
2289  typedef lowp_f32quat f32quat;
-
2290 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
-
2291  typedef mediump_f32vec1 fvec1;
-
2292  typedef mediump_f32vec2 fvec2;
-
2293  typedef mediump_f32vec3 fvec3;
-
2294  typedef mediump_f32vec4 fvec4;
-
2295  typedef mediump_f32mat2 fmat2;
-
2296  typedef mediump_f32mat3 fmat3;
-
2297  typedef mediump_f32mat4 fmat4;
-
2298  typedef mediump_f32mat2x2 fmat2x2;
-
2299  typedef mediump_f32mat3x2 fmat3x2;
-
2300  typedef mediump_f32mat4x2 fmat4x2;
-
2301  typedef mediump_f32mat2x3 fmat2x3;
-
2302  typedef mediump_f32mat3x3 fmat3x3;
-
2303  typedef mediump_f32mat4x3 fmat4x3;
-
2304  typedef mediump_f32mat2x4 fmat2x4;
-
2305  typedef mediump_f32mat3x4 fmat3x4;
-
2306  typedef mediump_f32mat4x4 fmat4x4;
-
2307  typedef mediump_f32quat fquat;
-
2308 
-
2309  typedef mediump_f32vec1 f32vec1;
-
2310  typedef mediump_f32vec2 f32vec2;
-
2311  typedef mediump_f32vec3 f32vec3;
-
2312  typedef mediump_f32vec4 f32vec4;
-
2313  typedef mediump_f32mat2 f32mat2;
-
2314  typedef mediump_f32mat3 f32mat3;
-
2315  typedef mediump_f32mat4 f32mat4;
-
2316  typedef mediump_f32mat2x2 f32mat2x2;
-
2317  typedef mediump_f32mat3x2 f32mat3x2;
-
2318  typedef mediump_f32mat4x2 f32mat4x2;
-
2319  typedef mediump_f32mat2x3 f32mat2x3;
-
2320  typedef mediump_f32mat3x3 f32mat3x3;
-
2321  typedef mediump_f32mat4x3 f32mat4x3;
-
2322  typedef mediump_f32mat2x4 f32mat2x4;
-
2323  typedef mediump_f32mat3x4 f32mat3x4;
-
2324  typedef mediump_f32mat4x4 f32mat4x4;
-
2325  typedef mediump_f32quat f32quat;
-
2326 #else//if(defined(GLM_PRECISION_HIGHP_FLOAT))
-
2327  typedef highp_f32vec1 fvec1;
-
2330 
-
2333  typedef highp_f32vec2 fvec2;
-
2334 
-
2337  typedef highp_f32vec3 fvec3;
-
2338 
-
2341  typedef highp_f32vec4 fvec4;
-
2342 
-
2345  typedef highp_f32mat2x2 fmat2x2;
-
2346 
-
2349  typedef highp_f32mat2x3 fmat2x3;
-
2350 
-
2353  typedef highp_f32mat2x4 fmat2x4;
-
2354 
-
2357  typedef highp_f32mat3x2 fmat3x2;
-
2358 
-
2361  typedef highp_f32mat3x3 fmat3x3;
-
2362 
-
2365  typedef highp_f32mat3x4 fmat3x4;
-
2366 
-
2369  typedef highp_f32mat4x2 fmat4x2;
-
2370 
-
2373  typedef highp_f32mat4x3 fmat4x3;
-
2374 
-
2377  typedef highp_f32mat4x4 fmat4x4;
-
2378 
-
2381  typedef fmat2x2 fmat2;
-
2382 
-
2385  typedef fmat3x3 fmat3;
-
2386 
-
2389  typedef fmat4x4 fmat4;
-
2390 
-
2393  typedef highp_fquat fquat;
-
2394 
-
2395 
-
2396 
-
2399  typedef highp_f32vec1 f32vec1;
-
2400 
-
2403  typedef highp_f32vec2 f32vec2;
-
2404 
-
2407  typedef highp_f32vec3 f32vec3;
-
2408 
-
2411  typedef highp_f32vec4 f32vec4;
-
2412 
-
2415  typedef highp_f32mat2x2 f32mat2x2;
-
2416 
-
2419  typedef highp_f32mat2x3 f32mat2x3;
-
2420 
-
2423  typedef highp_f32mat2x4 f32mat2x4;
-
2424 
-
2427  typedef highp_f32mat3x2 f32mat3x2;
-
2428 
-
2431  typedef highp_f32mat3x3 f32mat3x3;
-
2432 
-
2435  typedef highp_f32mat3x4 f32mat3x4;
-
2436 
-
2439  typedef highp_f32mat4x2 f32mat4x2;
-
2440 
-
2443  typedef highp_f32mat4x3 f32mat4x3;
-
2444 
-
2447  typedef highp_f32mat4x4 f32mat4x4;
-
2448 
-
2451  typedef f32mat2x2 f32mat2;
-
2452 
-
2455  typedef f32mat3x3 f32mat3;
-
2456 
-
2459  typedef f32mat4x4 f32mat4;
-
2460 
-
2463  typedef highp_f32quat f32quat;
-
2464 #endif
-
2465 
-
2466 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
-
2467  typedef lowp_f64vec1 f64vec1;
-
2468  typedef lowp_f64vec2 f64vec2;
-
2469  typedef lowp_f64vec3 f64vec3;
-
2470  typedef lowp_f64vec4 f64vec4;
-
2471  typedef lowp_f64mat2 f64mat2;
-
2472  typedef lowp_f64mat3 f64mat3;
-
2473  typedef lowp_f64mat4 f64mat4;
-
2474  typedef lowp_f64mat2x2 f64mat2x2;
-
2475  typedef lowp_f64mat3x2 f64mat3x2;
-
2476  typedef lowp_f64mat4x2 f64mat4x2;
-
2477  typedef lowp_f64mat2x3 f64mat2x3;
-
2478  typedef lowp_f64mat3x3 f64mat3x3;
-
2479  typedef lowp_f64mat4x3 f64mat4x3;
-
2480  typedef lowp_f64mat2x4 f64mat2x4;
-
2481  typedef lowp_f64mat3x4 f64mat3x4;
-
2482  typedef lowp_f64mat4x4 f64mat4x4;
-
2483  typedef lowp_f64quat f64quat;
-
2484 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
-
2485  typedef mediump_f64vec1 f64vec1;
-
2486  typedef mediump_f64vec2 f64vec2;
-
2487  typedef mediump_f64vec3 f64vec3;
-
2488  typedef mediump_f64vec4 f64vec4;
-
2489  typedef mediump_f64mat2 f64mat2;
-
2490  typedef mediump_f64mat3 f64mat3;
-
2491  typedef mediump_f64mat4 f64mat4;
-
2492  typedef mediump_f64mat2x2 f64mat2x2;
-
2493  typedef mediump_f64mat3x2 f64mat3x2;
-
2494  typedef mediump_f64mat4x2 f64mat4x2;
-
2495  typedef mediump_f64mat2x3 f64mat2x3;
-
2496  typedef mediump_f64mat3x3 f64mat3x3;
-
2497  typedef mediump_f64mat4x3 f64mat4x3;
-
2498  typedef mediump_f64mat2x4 f64mat2x4;
-
2499  typedef mediump_f64mat3x4 f64mat3x4;
-
2500  typedef mediump_f64mat4x4 f64mat4x4;
-
2501  typedef mediump_f64quat f64quat;
-
2502 #else
-
2503  typedef highp_f64vec1 f64vec1;
-
2506 
-
2509  typedef highp_f64vec2 f64vec2;
-
2510 
-
2513  typedef highp_f64vec3 f64vec3;
-
2514 
-
2517  typedef highp_f64vec4 f64vec4;
-
2518 
-
2521  typedef highp_f64mat2x2 f64mat2x2;
-
2522 
-
2525  typedef highp_f64mat2x3 f64mat2x3;
-
2526 
-
2529  typedef highp_f64mat2x4 f64mat2x4;
-
2530 
-
2533  typedef highp_f64mat3x2 f64mat3x2;
-
2534 
-
2537  typedef highp_f64mat3x3 f64mat3x3;
-
2538 
-
2541  typedef highp_f64mat3x4 f64mat3x4;
-
2542 
-
2545  typedef highp_f64mat4x2 f64mat4x2;
-
2546 
-
2549  typedef highp_f64mat4x3 f64mat4x3;
-
2550 
-
2553  typedef highp_f64mat4x4 f64mat4x4;
-
2554 
-
2557  typedef f64mat2x2 f64mat2;
-
2558 
-
2561  typedef f64mat3x3 f64mat3;
-
2562 
-
2565  typedef f64mat4x4 f64mat4;
-
2566 
-
2569  typedef highp_f64quat f64quat;
-
2570 #endif
-
2571 
-
2572 }//namespace glm
-
detail::uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:751
-
highp_u64vec2 u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1297
-
detail::uint64 uint64
64 bit unsigned integer type.
Definition: type_int.hpp:214
-
highp_u32vec4 u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1146
-
detail::int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:138
-
highp_i64vec2 i64vec2
Default qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:688
-
highp_f32mat3x3 fmat3x3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2361
-
detail::int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:178
-
detail::uint8 highp_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:823
-
detail::int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:130
-
detail::uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:781
-
fmat3x3 fmat3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2385
-
detail::int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:186
-
detail::int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:110
-
vec< 4, float, lowp > lowp_vec4
4 components vector of low single-qualifier floating-point numbers.
Definition: type_vec.hpp:347
-
f64mat3x3 f64mat3
Default double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2561
-
detail::uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:726
-
detail::int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:242
-
highp_f32mat4x2 fmat4x2
Default single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2369
-
highp_u16vec4 u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1067
-
detail::uint32 uint32_t
32 bit unsigned integer type.
Definition: fwd.hpp:887
-
detail::int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:278
-
highp_i16vec1 i16vec1
Default qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:446
-
highp_u32vec2 u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1138
-
detail::uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:761
-
detail::uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:793
-
highp_f32mat2x4 f32mat2x4
Default single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2423
-
detail::uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:765
-
detail::int8 i8
8 bit signed integer type.
Definition: fwd.hpp:287
-
detail::int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:114
-
detail::int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:122
-
highp_i8vec2 i8vec2
Default qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:370
-
detail::uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:773
-
highp_f64mat3x2 f64mat3x2
Default double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2533
-
highp_u16vec1 u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:1055
-
highp_f64mat4x2 f64mat4x2
Default double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2545
-
f64mat2x2 f64mat2
Default double-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2557
-
Core features
-
detail::uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:717
-
detail::int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:210
-
highp_f32vec1 f32vec1
Default single-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2399
-
highp_f32vec4 fvec4
Default single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2341
-
detail::uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:797
-
highp_float32_t f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1507
-
detail::int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:134
-
highp_f32mat3x4 fmat3x4
Default single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2365
-
highp_u64vec1 u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:1293
-
highp_i16vec4 i16vec4
Default qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:458
-
detail::int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:222
-
highp_f32mat2x4 fmat2x4
Default single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2353
-
detail::int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:162
-
detail::uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:801
-
highp_f64quat f64quat
Default double-qualifier floating-point quaternion.
Definition: fwd.hpp:2569
-
detail::uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:739
-
highp_f32mat2x2 f32mat2x2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2415
-
vec< 4, float, mediump > mediump_vec4
4 components vector of medium single-qualifier floating-point numbers.
Definition: type_vec.hpp:341
-
detail::uint32 highp_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:815
-
highp_i16vec2 i16vec2
Default qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:450
-
highp_i64vec4 i64vec4
Default qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:696
-
highp_f32vec1 fvec1
Default single-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2329
-
highp_i8vec4 i8vec4
Default qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:378
-
detail::uint8 uint8
8 bit unsigned integer type.
Definition: type_int.hpp:211
-
detail::int32 int32
32 bit signed integer type.
Definition: type_int.hpp:208
-
detail::uint32 uint32
32 bit unsigned integer type.
Definition: type_int.hpp:213
-
detail::int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:166
-
detail::uint16 highp_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:811
-
highp_u32vec1 u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:1134
-
detail::int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:230
-
highp_i32vec4 i32vec4
Default qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:537
-
f32mat2x2 f32mat2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2451
-
highp_f64mat4x3 f64mat4x3
Default double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2549
-
detail::uint64 uint64_t
64 bit unsigned integer type.
Definition: fwd.hpp:891
-
highp_f64mat2x3 f64mat2x3
Default double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2525
-
fmat2x2 fmat2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2381
-
highp_u16vec3 u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1063
-
Definition: common.hpp:20
-
detail::uint64 highp_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:851
-
detail::int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:274
-
detail::int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:282
-
detail::int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:154
-
highp_float64_t float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1503
-
highp_f32mat2x3 fmat2x3
Default single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2349
-
detail::int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:102
-
f32mat4x4 f32mat4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2459
-
detail::int64 i64
64 bit signed integer type.
Definition: fwd.hpp:299
-
detail::int8 int8
8 bit signed integer type.
Definition: type_int.hpp:206
-
highp_f32mat2x2 fmat2x2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2345
-
detail::uint16 uint16_t
16 bit unsigned integer type.
Definition: fwd.hpp:883
-
detail::uint8 highp_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:807
-
detail::int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:214
-
detail::uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:757
-
vec< 2, float, highp > highp_vec2
2 components vector of high single-qualifier floating-point numbers.
Definition: type_vec.hpp:119
-
detail::int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:118
-
highp_i64vec3 i64vec3
Default qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:692
-
float float32
Default 32 bit single-qualifier floating-point scalar.
Definition: type_float.hpp:58
-
detail::uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:705
-
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:904
-
highp_u64vec4 u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1305
-
highp_f64vec1 f64vec1
Default double-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2505
-
vec< 1, float, mediump > mediump_vec1
1 component vector of single-precision floating-point numbers using medium precision arithmetic in te...
Definition: ext/vec1.hpp:322
-
detail::int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:150
-
detail::int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:182
-
highp_i16vec3 i16vec3
Default qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:454
-
vec< 2, float, mediump > mediump_vec2
2 components vector of medium single-qualifier floating-point numbers.
Definition: type_vec.hpp:126
-
detail::uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:777
-
detail::uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:785
-
highp_u16vec2 u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1059
-
detail::uint64 highp_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:835
-
detail::uint8 highp_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:839
-
detail::int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:226
-
detail::uint32 highp_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:831
-
detail::int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:190
-
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:908
-
highp_f64mat3x3 f64mat3x3
Default double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2537
-
detail::int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:194
-
highp_i8vec3 i8vec3
Default qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:374
-
detail::int32 i32
32 bit signed integer type.
Definition: fwd.hpp:295
-
detail::uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:730
-
detail::int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:202
-
detail::int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:142
-
detail::int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:234
-
detail::uint8 uint8_t
8 bit unsigned integer type.
Definition: fwd.hpp:879
-
detail::int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:106
-
highp_f32quat f32quat
Default single-qualifier floating-point quaternion.
Definition: fwd.hpp:2463
-
highp_f32mat4x3 fmat4x3
Default single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2373
-
highp_f32mat3x2 f32mat3x2
Default single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2427
-
detail::int16 i16
16 bit signed integer type.
Definition: fwd.hpp:291
-
detail::int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:238
-
detail::int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:218
-
highp_float32_t float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1499
-
vec< 4, float, highp > highp_vec4
4 components vector of high single-qualifier floating-point numbers.
Definition: type_vec.hpp:335
-
detail::uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:789
-
detail::uint32 highp_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:847
-
detail::int64 int64
64 bit signed integer type.
Definition: type_int.hpp:209
-
detail::uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:734
-
highp_u8vec4 u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:987
-
highp_u8vec1 u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:975
-
highp_f32mat4x4 fmat4x4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2377
-
detail::uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:722
-
highp_u8vec3 u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:983
-
highp_f32mat2x3 f32mat2x3
Default single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2419
-
highp_f32vec3 f32vec3
Default single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2407
-
Core features
-
highp_i32vec2 i32vec2
Default qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:529
-
detail::int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:270
-
highp_f32mat4x3 f32mat4x3
Default single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2443
-
detail::uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:713
-
highp_i64vec1 i64vec1
Default qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:684
-
detail::int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:170
-
detail::uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:769
-
detail::uint16 uint16
16 bit unsigned integer type.
Definition: type_int.hpp:212
-
detail::uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:709
-
highp_f32mat3x4 f32mat3x4
Default single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2435
-
Core features
-
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:900
-
highp_f32vec2 fvec2
Default single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2333
-
highp_float64_t f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1511
-
highp_f32mat3x2 fmat3x2
Default single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2357
-
highp_f64vec4 f64vec4
Default double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2517
-
highp_f32vec4 f32vec4
Default single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2411
-
highp_f32mat4x2 f32mat4x2
Default single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2439
-
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:896
-
detail::int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:158
-
vec< 3, float, mediump > mediump_vec3
3 components vector of medium single-qualifier floating-point numbers.
Definition: type_vec.hpp:236
-
detail::uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:743
-
highp_u64vec3 u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1301
-
vec< 3, float, highp > highp_vec3
3 components vector of high single-qualifier floating-point numbers.
Definition: type_vec.hpp:229
-
detail::int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:126
-
highp_f64mat2x2 f64mat2x2
Default double-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2521
-
highp_f64vec2 f64vec2
Default double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2509
-
highp_u8vec2 u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:979
-
detail::uint64 highp_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:819
-
vec< 1, float, lowp > lowp_vec1
1 component vector of single-precision floating-point numbers using low precision arithmetic in term ...
Definition: ext/vec1.hpp:327
-
detail::int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:146
-
f64mat4x4 f64mat4
Default double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2565
-
Core features
-
detail::uint16 highp_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:843
-
highp_i32vec3 i32vec3
Default qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:533
-
highp_f64mat3x4 f64mat3x4
Default double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2541
-
detail::int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:206
-
detail::int16 int16
16 bit signed integer type.
Definition: type_int.hpp:207
-
vec< 2, float, lowp > lowp_vec2
2 components vector of low single-qualifier floating-point numbers.
Definition: type_vec.hpp:133
-
highp_i8vec1 i8vec1
Default qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:366
-
fmat4x4 fmat4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2389
-
highp_f32vec3 fvec3
Default single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2337
-
highp_f32mat4x4 f32mat4x4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2447
-
double float64
Default 64 bit double-qualifier floating-point scalar.
Definition: type_float.hpp:61
-
highp_i32vec1 i32vec1
Default qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:525
-
detail::int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:174
-
detail::uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:747
-
detail::int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:198
-
highp_f64mat4x4 f64mat4x4
Default double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2553
-
highp_f32mat3x3 f32mat3x3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2431
-
vec< 3, float, lowp > lowp_vec3
3 components vector of low single-qualifier floating-point numbers.
Definition: type_vec.hpp:243
-
highp_u32vec3 u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1142
-
highp_f64vec3 f64vec3
Default double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2513
-
highp_f64mat2x4 f64mat2x4
Default double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2529
-
highp_f32vec2 f32vec2
Default single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2403
-
f32mat3x3 f32mat3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2455
-
detail::uint16 highp_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:827
-
vec< 1, float, highp > highp_vec1
1 component vector of single-precision floating-point numbers using high precision arithmetic in term...
Definition: ext/vec1.hpp:317
-
Core features
-
- - - - diff --git a/doc/api/a00035_source.html b/doc/api/a00035_source.html index 0b9990d0..c22a97e3 100644 --- a/doc/api/a00035_source.html +++ b/doc/api/a00035_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: geometric.hpp Source File + + +0.9.9 API documenation: type_half.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
geometric.hpp
+
type_half.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #include "detail/type_vec3.hpp"
-
16 
-
17 namespace glm
-
18 {
-
21 
-
29  template<length_t L, typename T, qualifier Q>
-
30  GLM_FUNC_DECL T length(vec<L, T, Q> const& x);
-
31 
-
39  template<length_t L, typename T, qualifier Q>
-
40  GLM_FUNC_DECL T distance(vec<L, T, Q> const& p0, vec<L, T, Q> const& p1);
-
41 
-
49  template<length_t L, typename T, qualifier Q>
-
50  GLM_FUNC_DECL T dot(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
51 
-
58  template<typename T, qualifier Q>
-
59  GLM_FUNC_DECL vec<3, T, Q> cross(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
60 
-
69  template<length_t L, typename T, qualifier Q>
-
70  GLM_FUNC_DECL vec<L, T, Q> normalize(vec<L, T, Q> const& x);
-
71 
-
79  template<length_t L, typename T, qualifier Q>
-
80  GLM_FUNC_DECL vec<L, T, Q> faceforward(
-
81  vec<L, T, Q> const& N,
-
82  vec<L, T, Q> const& I,
-
83  vec<L, T, Q> const& Nref);
-
84 
-
93  template<length_t L, typename T, qualifier Q>
-
94  GLM_FUNC_DECL vec<L, T, Q> reflect(
-
95  vec<L, T, Q> const& I,
-
96  vec<L, T, Q> const& N);
-
97 
-
107  template<length_t L, typename T, qualifier Q>
-
108  GLM_FUNC_DECL vec<L, T, Q> refract(
-
109  vec<L, T, Q> const& I,
-
110  vec<L, T, Q> const& N,
-
111  T eta);
-
112 
-
114 }//namespace glm
-
115 
-
116 #include "detail/func_geometric.inl"
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > normalize(vec< L, T, Q > const &x)
Returns a vector in the same direction as x but with length of 1.
-
GLM_FUNC_DECL vec< L, T, Q > faceforward(vec< L, T, Q > const &N, vec< L, T, Q > const &I, vec< L, T, Q > const &Nref)
If dot(Nref, I) < 0.0, return N, otherwise, return -N.
-
GLM_FUNC_DECL T distance(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
-
GLM_FUNC_DECL vec< L, T, Q > refract(vec< L, T, Q > const &I, vec< L, T, Q > const &N, T eta)
For the incident vector I and surface normal N, and the ratio of indices of refraction eta...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > reflect(vec< L, T, Q > const &I, vec< L, T, Q > const &N)
For the incident vector I and surface orientation N, returns the reflection direction : result = I - ...
-
GLM_FUNC_DECL vec< 3, T, Q > cross(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
Returns the cross product of x and y.
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
GLM_FUNC_DECL T dot(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the dot product of x and y, i.e., result = x * y.
+
1 #pragma once
2 
3 #include "setup.hpp"
4 
5 namespace glm{
6 namespace detail
7 {
8  typedef short hdata;
9 
10  GLM_FUNC_DECL float toFloat32(hdata value);
11  GLM_FUNC_DECL hdata toFloat16(float const& value);
12 
13 }//namespace detail
14 }//namespace glm
15 
16 #include "type_half.inl"
Definition: common.hpp:20
diff --git a/doc/api/a00036_source.html b/doc/api/a00036_source.html deleted file mode 100644 index abf4da55..00000000 --- a/doc/api/a00036_source.html +++ /dev/null @@ -1,162 +0,0 @@ - - - - - - -0.9.9 API documenation: glm.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
glm.hpp
-
-
-Go to the documentation of this file.
1 
-
88 #include "detail/_fixes.hpp"
-
89 
-
90 #include "detail/setup.hpp"
-
91 
-
92 #pragma once
-
93 
-
94 #include <cmath>
-
95 #include <climits>
-
96 #include <cfloat>
-
97 #include <limits>
-
98 #include <cassert>
-
99 #include "fwd.hpp"
-
100 
-
101 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_CORE_INCLUDED_DISPLAYED)
-
102 # define GLM_MESSAGE_CORE_INCLUDED_DISPLAYED
-
103 # pragma message("GLM: Core library included")
-
104 #endif//GLM_MESSAGES
-
105 
-
106 #include "vec2.hpp"
-
107 #include "vec3.hpp"
-
108 #include "vec4.hpp"
-
109 #include "mat2x2.hpp"
-
110 #include "mat2x3.hpp"
-
111 #include "mat2x4.hpp"
-
112 #include "mat3x2.hpp"
-
113 #include "mat3x3.hpp"
-
114 #include "mat3x4.hpp"
-
115 #include "mat4x2.hpp"
-
116 #include "mat4x3.hpp"
-
117 #include "mat4x4.hpp"
-
118 
-
119 #include "trigonometric.hpp"
-
120 #include "exponential.hpp"
-
121 #include "common.hpp"
-
122 #include "packing.hpp"
-
123 #include "geometric.hpp"
-
124 #include "matrix.hpp"
-
125 #include "vector_relational.hpp"
-
126 #include "integer.hpp"
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00037_source.html b/doc/api/a00037_source.html deleted file mode 100644 index fc576b79..00000000 --- a/doc/api/a00037_source.html +++ /dev/null @@ -1,136 +0,0 @@ - - - - - - -0.9.9 API documenation: gradient_paint.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gradient_paint.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include "../gtx/optimum_pow.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_gradient_paint is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_gradient_paint extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<typename T, qualifier Q>
-
36  GLM_FUNC_DECL T radialGradient(
-
37  vec<2, T, Q> const& Center,
-
38  T const& Radius,
-
39  vec<2, T, Q> const& Focal,
-
40  vec<2, T, Q> const& Position);
-
41 
-
44  template<typename T, qualifier Q>
-
45  GLM_FUNC_DECL T linearGradient(
-
46  vec<2, T, Q> const& Point0,
-
47  vec<2, T, Q> const& Point1,
-
48  vec<2, T, Q> const& Position);
-
49 
-
51 }// namespace glm
-
52 
-
53 #include "gradient_paint.inl"
-
GLM_FUNC_DECL T linearGradient(vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)
Return a color from a linear gradient.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T radialGradient(vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)
Return a color from a radial gradient.
-
- - - - diff --git a/doc/api/a00038.html b/doc/api/a00038.html index f3d39ae7..49c67fd9 100644 --- a/doc/api/a00038.html +++ b/doc/api/a00038.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: handed_coordinate_space.hpp File Reference + + +0.9.9 API documenation: type_mat2x2.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
handed_coordinate_space.hpp File Reference
+
type_mat2x2.hpp File Reference
-

GLM_GTX_handed_coordinate_space -More...

-

Go to the source code of this file.

- - - - - - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL bool leftHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 Return if a trihedron left handed or not. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool rightHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 Return if a trihedron right handed or not. More...
 

Detailed Description

-

GLM_GTX_handed_coordinate_space

-
See also
Core features (dependence)
+

Core features

-

Definition in file handed_coordinate_space.hpp.

+

Definition in file type_mat2x2.hpp.

diff --git a/doc/api/a00038_source.html b/doc/api/a00038_source.html index 0296c8ba..8fa4f9d0 100644 --- a/doc/api/a00038_source.html +++ b/doc/api/a00038_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: handed_coordinate_space.hpp Source File + + +0.9.9 API documenation: type_mat2x2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
handed_coordinate_space.hpp
+
type_mat2x2.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_handed_coordinate_space is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T, qualifier Q>
-
34  GLM_FUNC_DECL bool rightHanded(
-
35  vec<3, T, Q> const& tangent,
-
36  vec<3, T, Q> const& binormal,
-
37  vec<3, T, Q> const& normal);
-
38 
-
41  template<typename T, qualifier Q>
-
42  GLM_FUNC_DECL bool leftHanded(
-
43  vec<3, T, Q> const& tangent,
-
44  vec<3, T, Q> const& binormal,
-
45  vec<3, T, Q> const& normal);
-
46 
-
48 }// namespace glm
-
49 
-
50 #include "handed_coordinate_space.inl"
-
GLM_FUNC_DECL bool leftHanded(vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
Return if a trihedron left handed or not.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL bool rightHanded(vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
Return if a trihedron right handed or not.
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec2.hpp"
7 #include <limits>
8 #include <cstddef>
9 
10 namespace glm
11 {
12  template<typename T, qualifier Q>
13  struct mat<2, 2, T, Q>
14  {
15  typedef vec<2, T, Q> col_type;
16  typedef vec<2, T, Q> row_type;
17  typedef mat<2, 2, T, Q> type;
18  typedef mat<2, 2, T, Q> transpose_type;
19  typedef T value_type;
20 
21  private:
22  col_type value[2];
23 
24  public:
25  // -- Accesses --
26 
27  typedef length_t length_type;
28  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 2; }
29 
30  GLM_FUNC_DECL col_type & operator[](length_type i);
31  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
32 
33  // -- Constructors --
34 
35  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
36  template<qualifier P>
37  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<2, 2, T, P> const& m);
38 
39  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
40  GLM_FUNC_DECL GLM_CONSTEXPR mat(
41  T const& x1, T const& y1,
42  T const& x2, T const& y2);
43  GLM_FUNC_DECL GLM_CONSTEXPR mat(
44  col_type const& v1,
45  col_type const& v2);
46 
47  // -- Conversions --
48 
49  template<typename U, typename V, typename M, typename N>
50  GLM_FUNC_DECL GLM_CONSTEXPR mat(
51  U const& x1, V const& y1,
52  M const& x2, N const& y2);
53 
54  template<typename U, typename V>
55  GLM_FUNC_DECL GLM_CONSTEXPR mat(
56  vec<2, U, Q> const& v1,
57  vec<2, V, Q> const& v2);
58 
59  // -- Matrix conversions --
60 
61  template<typename U, qualifier P>
62  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, U, P> const& m);
63 
64  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
65  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
66  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
67  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
68  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
69  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
72 
73  // -- Unary arithmetic operators --
74 
75  template<typename U>
76  GLM_FUNC_DECL mat<2, 2, T, Q> & operator=(mat<2, 2, U, Q> const& m);
77  template<typename U>
78  GLM_FUNC_DECL mat<2, 2, T, Q> & operator+=(U s);
79  template<typename U>
80  GLM_FUNC_DECL mat<2, 2, T, Q> & operator+=(mat<2, 2, U, Q> const& m);
81  template<typename U>
82  GLM_FUNC_DECL mat<2, 2, T, Q> & operator-=(U s);
83  template<typename U>
84  GLM_FUNC_DECL mat<2, 2, T, Q> & operator-=(mat<2, 2, U, Q> const& m);
85  template<typename U>
86  GLM_FUNC_DECL mat<2, 2, T, Q> & operator*=(U s);
87  template<typename U>
88  GLM_FUNC_DECL mat<2, 2, T, Q> & operator*=(mat<2, 2, U, Q> const& m);
89  template<typename U>
90  GLM_FUNC_DECL mat<2, 2, T, Q> & operator/=(U s);
91  template<typename U>
92  GLM_FUNC_DECL mat<2, 2, T, Q> & operator/=(mat<2, 2, U, Q> const& m);
93 
94  // -- Increment and decrement operators --
95 
96  GLM_FUNC_DECL mat<2, 2, T, Q> & operator++ ();
97  GLM_FUNC_DECL mat<2, 2, T, Q> & operator-- ();
98  GLM_FUNC_DECL mat<2, 2, T, Q> operator++(int);
99  GLM_FUNC_DECL mat<2, 2, T, Q> operator--(int);
100  };
101 
102  // -- Unary operators --
103 
104  template<typename T, qualifier Q>
105  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(mat<2, 2, T, Q> const& m);
106 
107  template<typename T, qualifier Q>
108  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(mat<2, 2, T, Q> const& m);
109 
110  // -- Binary operators --
111 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(mat<2, 2, T, Q> const& m, T scalar);
114 
115  template<typename T, qualifier Q>
116  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(T scalar, mat<2, 2, T, Q> const& m);
117 
118  template<typename T, qualifier Q>
119  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
120 
121  template<typename T, qualifier Q>
122  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(mat<2, 2, T, Q> const& m, T scalar);
123 
124  template<typename T, qualifier Q>
125  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(T scalar, mat<2, 2, T, Q> const& m);
126 
127  template<typename T, qualifier Q>
128  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
129 
130  template<typename T, qualifier Q>
131  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<2, 2, T, Q> const& m, T scalar);
132 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(T scalar, mat<2, 2, T, Q> const& m);
135 
136  template<typename T, qualifier Q>
137  GLM_FUNC_DECL typename mat<2, 2, T, Q>::col_type operator*(mat<2, 2, T, Q> const& m, typename mat<2, 2, T, Q>::row_type const& v);
138 
139  template<typename T, qualifier Q>
140  GLM_FUNC_DECL typename mat<2, 2, T, Q>::row_type operator*(typename mat<2, 2, T, Q>::col_type const& v, mat<2, 2, T, Q> const& m);
141 
142  template<typename T, qualifier Q>
143  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
144 
145  template<typename T, qualifier Q>
146  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<2, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
147 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<2, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
150 
151  template<typename T, qualifier Q>
152  GLM_FUNC_DECL mat<2, 2, T, Q> operator/(mat<2, 2, T, Q> const& m, T scalar);
153 
154  template<typename T, qualifier Q>
155  GLM_FUNC_DECL mat<2, 2, T, Q> operator/(T scalar, mat<2, 2, T, Q> const& m);
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL typename mat<2, 2, T, Q>::col_type operator/(mat<2, 2, T, Q> const& m, typename mat<2, 2, T, Q>::row_type const& v);
159 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL typename mat<2, 2, T, Q>::row_type operator/(typename mat<2, 2, T, Q>::col_type const& v, mat<2, 2, T, Q> const& m);
162 
163  template<typename T, qualifier Q>
164  GLM_FUNC_DECL mat<2, 2, T, Q> operator/(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
165 
166  // -- Boolean operators --
167 
168  template<typename T, qualifier Q>
169  GLM_FUNC_DECL bool operator==(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
170 
171  template<typename T, qualifier Q>
172  GLM_FUNC_DECL bool operator!=(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
173 } //namespace glm
174 
175 #ifndef GLM_EXTERNAL_TEMPLATE
176 #include "type_mat2x2.inl"
177 #endif
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
Core features
diff --git a/doc/api/a00039_source.html b/doc/api/a00039_source.html deleted file mode 100644 index a0a74698..00000000 --- a/doc/api/a00039_source.html +++ /dev/null @@ -1,228 +0,0 @@ - - - - - - -0.9.9 API documenation: hash.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
hash.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #ifndef GLM_ENABLE_EXPERIMENTAL
-
16 # error "GLM: GLM_GTX_hash is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
17 #endif
-
18 
-
19 #include <functional>
-
20 
-
21 #include "../vec2.hpp"
-
22 #include "../vec3.hpp"
-
23 #include "../vec4.hpp"
-
24 #include "../gtc/vec1.hpp"
-
25 
-
26 #include "../gtc/quaternion.hpp"
-
27 #include "../gtx/dual_quaternion.hpp"
-
28 
-
29 #include "../mat2x2.hpp"
-
30 #include "../mat2x3.hpp"
-
31 #include "../mat2x4.hpp"
-
32 
-
33 #include "../mat3x2.hpp"
-
34 #include "../mat3x3.hpp"
-
35 #include "../mat3x4.hpp"
-
36 
-
37 #include "../mat4x2.hpp"
-
38 #include "../mat4x3.hpp"
-
39 #include "../mat4x4.hpp"
-
40 
-
41 #if !GLM_HAS_CXX11_STL
-
42 # error "GLM_GTX_hash requires C++11 standard library support"
-
43 #endif
-
44 
-
45 namespace std
-
46 {
-
47  template<typename T, glm::qualifier Q>
-
48  struct hash<glm::vec<1, T,Q> >
-
49  {
-
50  GLM_FUNC_DECL size_t operator()(glm::vec<1, T, Q> const& v) const;
-
51  };
-
52 
-
53  template<typename T, glm::qualifier Q>
-
54  struct hash<glm::vec<2, T,Q> >
-
55  {
-
56  GLM_FUNC_DECL size_t operator()(glm::vec<2, T, Q> const& v) const;
-
57  };
-
58 
-
59  template<typename T, glm::qualifier Q>
-
60  struct hash<glm::vec<3, T,Q> >
-
61  {
-
62  GLM_FUNC_DECL size_t operator()(glm::vec<3, T, Q> const& v) const;
-
63  };
-
64 
-
65  template<typename T, glm::qualifier Q>
-
66  struct hash<glm::vec<4, T,Q> >
-
67  {
-
68  GLM_FUNC_DECL size_t operator()(glm::vec<4, T, Q> const& v) const;
-
69  };
-
70 
-
71  template<typename T, glm::qualifier Q>
-
72  struct hash<glm::tquat<T,Q>>
-
73  {
-
74  GLM_FUNC_DECL size_t operator()(glm::tquat<T, Q> const& q) const;
-
75  };
-
76 
-
77  template<typename T, glm::qualifier Q>
-
78  struct hash<glm::tdualquat<T,Q> >
-
79  {
-
80  GLM_FUNC_DECL size_t operator()(glm::tdualquat<T,Q> const& q) const;
-
81  };
-
82 
-
83  template<typename T, glm::qualifier Q>
-
84  struct hash<glm::mat<2, 2, T,Q> >
-
85  {
-
86  GLM_FUNC_DECL size_t operator()(glm::mat<2, 2, T,Q> const& m) const;
-
87  };
-
88 
-
89  template<typename T, glm::qualifier Q>
-
90  struct hash<glm::mat<2, 3, T,Q> >
-
91  {
-
92  GLM_FUNC_DECL size_t operator()(glm::mat<2, 3, T,Q> const& m) const;
-
93  };
-
94 
-
95  template<typename T, glm::qualifier Q>
-
96  struct hash<glm::mat<2, 4, T,Q> >
-
97  {
-
98  GLM_FUNC_DECL size_t operator()(glm::mat<2, 4, T,Q> const& m) const;
-
99  };
-
100 
-
101  template<typename T, glm::qualifier Q>
-
102  struct hash<glm::mat<3, 2, T,Q> >
-
103  {
-
104  GLM_FUNC_DECL size_t operator()(glm::mat<3, 2, T,Q> const& m) const;
-
105  };
-
106 
-
107  template<typename T, glm::qualifier Q>
-
108  struct hash<glm::mat<3, 3, T,Q> >
-
109  {
-
110  GLM_FUNC_DECL size_t operator()(glm::mat<3, 3, T,Q> const& m) const;
-
111  };
-
112 
-
113  template<typename T, glm::qualifier Q>
-
114  struct hash<glm::mat<3, 4, T,Q> >
-
115  {
-
116  GLM_FUNC_DECL size_t operator()(glm::mat<3, 4, T,Q> const& m) const;
-
117  };
-
118 
-
119  template<typename T, glm::qualifier Q>
-
120  struct hash<glm::mat<4, 2, T,Q> >
-
121  {
-
122  GLM_FUNC_DECL size_t operator()(glm::mat<4, 2, T,Q> const& m) const;
-
123  };
-
124 
-
125  template<typename T, glm::qualifier Q>
-
126  struct hash<glm::mat<4, 3, T,Q> >
-
127  {
-
128  GLM_FUNC_DECL size_t operator()(glm::mat<4, 3, T,Q> const& m) const;
-
129  };
-
130 
-
131  template<typename T, glm::qualifier Q>
-
132  struct hash<glm::mat<4, 4, T,Q> >
-
133  {
-
134  GLM_FUNC_DECL size_t operator()(glm::mat<4, 4, T,Q> const& m) const;
-
135  };
-
136 } // namespace std
-
137 
-
138 #include "hash.inl"
-
Definition: hash.hpp:45
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00040_source.html b/doc/api/a00040_source.html deleted file mode 100644 index d59abb9b..00000000 --- a/doc/api/a00040_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -0.9.9 API documenation: integer.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gtc/integer.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 #include "../common.hpp"
-
20 #include "../integer.hpp"
-
21 #include "../exponential.hpp"
-
22 #include <limits>
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTC_integer extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<typename genIUType>
-
36  GLM_FUNC_DECL genIUType log2(genIUType x);
-
37 
-
47  template<length_t L, typename T, qualifier Q>
-
48  GLM_FUNC_DECL vec<L, int, Q> iround(vec<L, T, Q> const& x);
-
49 
-
59  template<length_t L, typename T, qualifier Q>
-
60  GLM_FUNC_DECL vec<L, uint, Q> uround(vec<L, T, Q> const& x);
-
61 
-
63 } //namespace glm
-
64 
-
65 #include "integer.inl"
-
GLM_FUNC_DECL genIUType log2(genIUType x)
Returns the log2 of x for integer values.
-
GLM_FUNC_DECL vec< L, int, Q > iround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, uint, Q > uround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
-
- - - - diff --git a/doc/api/a00041.html b/doc/api/a00041.html index 42224569..bd20d346 100644 --- a/doc/api/a00041.html +++ b/doc/api/a00041.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: integer.hpp File Reference + + +0.9.9 API documenation: type_mat2x3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Typedefs | -Functions
-
gtx/integer.hpp File Reference
+
type_mat2x3.hpp File Reference
-

GLM_GTX_integer -More...

-

Go to the source code of this file.

- - - - - -

-Typedefs

typedef signed int sint
 32bit signed integer. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename genType >
GLM_FUNC_DECL genType factorial (genType const &x)
 Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension. More...
 
GLM_FUNC_DECL unsigned int floor_log2 (unsigned int x)
 Returns the floor log2 of x. More...
 
GLM_FUNC_DECL int mod (int x, int y)
 Modulus. More...
 
GLM_FUNC_DECL uint mod (uint x, uint y)
 Modulus. More...
 
GLM_FUNC_DECL uint nlz (uint x)
 Returns the number of leading zeros. More...
 
GLM_FUNC_DECL int pow (int x, uint y)
 Returns x raised to the y power. More...
 
GLM_FUNC_DECL uint pow (uint x, uint y)
 Returns x raised to the y power. More...
 
GLM_FUNC_DECL int sqrt (int x)
 Returns the positive square root of x. More...
 
GLM_FUNC_DECL uint sqrt (uint x)
 Returns the positive square root of x. More...
 

Detailed Description

-

GLM_GTX_integer

-
See also
Core features (dependence)
+

Core features

-

Definition in file gtx/integer.hpp.

+

Definition in file type_mat2x3.hpp.

diff --git a/doc/api/a00041_source.html b/doc/api/a00041_source.html index fd76de48..ba692355 100644 --- a/doc/api/a00041_source.html +++ b/doc/api/a00041_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: integer.hpp Source File + + +0.9.9 API documenation: type_mat2x3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
gtx/integer.hpp
+
type_mat2x3.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 #include "../gtc/integer.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_integer is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_integer extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  GLM_FUNC_DECL int pow(int x, uint y);
-
35 
-
38  GLM_FUNC_DECL int sqrt(int x);
-
39 
-
42  GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
-
43 
-
46  GLM_FUNC_DECL int mod(int x, int y);
-
47 
-
50  template<typename genType>
-
51  GLM_FUNC_DECL genType factorial(genType const& x);
-
52 
-
55  typedef signed int sint;
-
56 
-
59  GLM_FUNC_DECL uint pow(uint x, uint y);
-
60 
-
63  GLM_FUNC_DECL uint sqrt(uint x);
-
64 
-
67  GLM_FUNC_DECL uint mod(uint x, uint y);
-
68 
-
71  GLM_FUNC_DECL uint nlz(uint x);
-
72 
-
74 }//namespace glm
-
75 
-
76 #include "integer.inl"
-
GLM_FUNC_DECL uint mod(uint x, uint y)
Modulus.
-
signed int sint
32bit signed integer.
Definition: gtx/integer.hpp:55
-
GLM_FUNC_DECL uint pow(uint x, uint y)
Returns x raised to the y power.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL uint nlz(uint x)
Returns the number of leading zeros.
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
GLM_FUNC_DECL unsigned int floor_log2(unsigned int x)
Returns the floor log2 of x.
-
GLM_FUNC_DECL uint sqrt(uint x)
Returns the positive square root of x.
-
GLM_FUNC_DECL genType factorial(genType const &x)
Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension...
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec2.hpp"
7 #include "type_vec3.hpp"
8 #include <limits>
9 #include <cstddef>
10 
11 namespace glm
12 {
13  template<typename T, qualifier Q>
14  struct mat<2, 3, T, Q>
15  {
16  typedef vec<3, T, Q> col_type;
17  typedef vec<2, T, Q> row_type;
18  typedef mat<2, 3, T, Q> type;
19  typedef mat<3, 2, T, Q> transpose_type;
20  typedef T value_type;
21 
22  private:
23  col_type value[2];
24 
25  public:
26  // -- Accesses --
27 
28  typedef length_t length_type;
29  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 2; }
30 
31  GLM_FUNC_DECL col_type & operator[](length_type i);
32  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
33 
34  // -- Constructors --
35 
36  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
37  template<qualifier P>
38  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<2, 3, T, P> const& m);
39 
40  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
41  GLM_FUNC_DECL GLM_CONSTEXPR mat(
42  T x0, T y0, T z0,
43  T x1, T y1, T z1);
44  GLM_FUNC_DECL GLM_CONSTEXPR mat(
45  col_type const& v0,
46  col_type const& v1);
47 
48  // -- Conversions --
49 
50  template<typename X1, typename Y1, typename Z1, typename X2, typename Y2, typename Z2>
51  GLM_FUNC_DECL GLM_CONSTEXPR mat(
52  X1 x1, Y1 y1, Z1 z1,
53  X2 x2, Y2 y2, Z2 z2);
54 
55  template<typename U, typename V>
56  GLM_FUNC_DECL GLM_CONSTEXPR mat(
57  vec<3, U, Q> const& v1,
58  vec<3, V, Q> const& v2);
59 
60  // -- Matrix conversions --
61 
62  template<typename U, qualifier P>
63  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, U, P> const& m);
64 
65  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
66  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
67  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
68  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
69  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
73 
74  // -- Unary arithmetic operators --
75 
76  template<typename U>
77  GLM_FUNC_DECL mat<2, 3, T, Q> & operator=(mat<2, 3, U, Q> const& m);
78  template<typename U>
79  GLM_FUNC_DECL mat<2, 3, T, Q> & operator+=(U s);
80  template<typename U>
81  GLM_FUNC_DECL mat<2, 3, T, Q> & operator+=(mat<2, 3, U, Q> const& m);
82  template<typename U>
83  GLM_FUNC_DECL mat<2, 3, T, Q> & operator-=(U s);
84  template<typename U>
85  GLM_FUNC_DECL mat<2, 3, T, Q> & operator-=(mat<2, 3, U, Q> const& m);
86  template<typename U>
87  GLM_FUNC_DECL mat<2, 3, T, Q> & operator*=(U s);
88  template<typename U>
89  GLM_FUNC_DECL mat<2, 3, T, Q> & operator/=(U s);
90 
91  // -- Increment and decrement operators --
92 
93  GLM_FUNC_DECL mat<2, 3, T, Q> & operator++ ();
94  GLM_FUNC_DECL mat<2, 3, T, Q> & operator-- ();
95  GLM_FUNC_DECL mat<2, 3, T, Q> operator++(int);
96  GLM_FUNC_DECL mat<2, 3, T, Q> operator--(int);
97  };
98 
99  // -- Unary operators --
100 
101  template<typename T, qualifier Q>
102  GLM_FUNC_DECL mat<2, 3, T, Q> operator+(mat<2, 3, T, Q> const& m);
103 
104  template<typename T, qualifier Q>
105  GLM_FUNC_DECL mat<2, 3, T, Q> operator-(mat<2, 3, T, Q> const& m);
106 
107  // -- Binary operators --
108 
109  template<typename T, qualifier Q>
110  GLM_FUNC_DECL mat<2, 3, T, Q> operator+(mat<2, 3, T, Q> const& m, T scalar);
111 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL mat<2, 3, T, Q> operator+(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
114 
115  template<typename T, qualifier Q>
116  GLM_FUNC_DECL mat<2, 3, T, Q> operator-(mat<2, 3, T, Q> const& m, T scalar);
117 
118  template<typename T, qualifier Q>
119  GLM_FUNC_DECL mat<2, 3, T, Q> operator-(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
120 
121  template<typename T, qualifier Q>
122  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<2, 3, T, Q> const& m, T scalar);
123 
124  template<typename T, qualifier Q>
125  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(T scalar, mat<2, 3, T, Q> const& m);
126 
127  template<typename T, qualifier Q>
128  GLM_FUNC_DECL typename mat<2, 3, T, Q>::col_type operator*(mat<2, 3, T, Q> const& m, typename mat<2, 3, T, Q>::row_type const& v);
129 
130  template<typename T, qualifier Q>
131  GLM_FUNC_DECL typename mat<2, 3, T, Q>::row_type operator*(typename mat<2, 3, T, Q>::col_type const& v, mat<2, 3, T, Q> const& m);
132 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<2, 3, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
135 
136  template<typename T, qualifier Q>
137  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<2, 3, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
138 
139  template<typename T, qualifier Q>
140  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<2, 3, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
141 
142  template<typename T, qualifier Q>
143  GLM_FUNC_DECL mat<2, 3, T, Q> operator/(mat<2, 3, T, Q> const& m, T scalar);
144 
145  template<typename T, qualifier Q>
146  GLM_FUNC_DECL mat<2, 3, T, Q> operator/(T scalar, mat<2, 3, T, Q> const& m);
147 
148  // -- Boolean operators --
149 
150  template<typename T, qualifier Q>
151  GLM_FUNC_DECL bool operator==(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
152 
153  template<typename T, qualifier Q>
154  GLM_FUNC_DECL bool operator!=(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
155 }//namespace glm
156 
157 #ifndef GLM_EXTERNAL_TEMPLATE
158 #include "type_mat2x3.inl"
159 #endif
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
Core features
diff --git a/doc/api/a00042_source.html b/doc/api/a00042_source.html deleted file mode 100644 index 14ba29e3..00000000 --- a/doc/api/a00042_source.html +++ /dev/null @@ -1,188 +0,0 @@ - - - - - - -0.9.9 API documenation: integer.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
integer.hpp
-
-
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 #include "detail/setup.hpp"
-
18 #include "detail/qualifier.hpp"
-
19 #include "common.hpp"
-
20 #include "vector_relational.hpp"
-
21 
-
22 namespace glm
-
23 {
-
26 
-
35  template<length_t L, qualifier Q>
-
36  GLM_FUNC_DECL vec<L, uint, Q> uaddCarry(
-
37  vec<L, uint, Q> const& x,
-
38  vec<L, uint, Q> const& y,
-
39  vec<L, uint, Q> & carry);
-
40 
-
49  template<length_t L, qualifier Q>
-
50  GLM_FUNC_DECL vec<L, uint, Q> usubBorrow(
-
51  vec<L, uint, Q> const& x,
-
52  vec<L, uint, Q> const& y,
-
53  vec<L, uint, Q> & borrow);
-
54 
-
63  template<length_t L, qualifier Q>
-
64  GLM_FUNC_DECL void umulExtended(
-
65  vec<L, uint, Q> const& x,
-
66  vec<L, uint, Q> const& y,
-
67  vec<L, uint, Q> & msb,
-
68  vec<L, uint, Q> & lsb);
-
69 
-
78  template<length_t L, qualifier Q>
-
79  GLM_FUNC_DECL void imulExtended(
-
80  vec<L, int, Q> const& x,
-
81  vec<L, int, Q> const& y,
-
82  vec<L, int, Q> & msb,
-
83  vec<L, int, Q> & lsb);
-
84 
-
101  template<length_t L, typename T, qualifier Q>
-
102  GLM_FUNC_DECL vec<L, T, Q> bitfieldExtract(
-
103  vec<L, T, Q> const& Value,
-
104  int Offset,
-
105  int Bits);
-
106 
-
122  template<length_t L, typename T, qualifier Q>
-
123  GLM_FUNC_DECL vec<L, T, Q> bitfieldInsert(
-
124  vec<L, T, Q> const& Base,
-
125  vec<L, T, Q> const& Insert,
-
126  int Offset,
-
127  int Bits);
-
128 
-
138  template<length_t L, typename T, qualifier Q>
-
139  GLM_FUNC_DECL vec<L, T, Q> bitfieldReverse(vec<L, T, Q> const& v);
-
140 
-
147  template<typename genType>
-
148  GLM_FUNC_DECL int bitCount(genType v);
-
149 
-
157  template<length_t L, typename T, qualifier Q>
-
158  GLM_FUNC_DECL vec<L, int, Q> bitCount(vec<L, T, Q> const& v);
-
159 
-
168  template<typename genIUType>
-
169  GLM_FUNC_DECL int findLSB(genIUType x);
-
170 
-
180  template<length_t L, typename T, qualifier Q>
-
181  GLM_FUNC_DECL vec<L, int, Q> findLSB(vec<L, T, Q> const& v);
-
182 
-
192  template<typename genIUType>
-
193  GLM_FUNC_DECL int findMSB(genIUType x);
-
194 
-
205  template<length_t L, typename T, qualifier Q>
-
206  GLM_FUNC_DECL vec<L, int, Q> findMSB(vec<L, T, Q> const& v);
-
207 
-
209 }//namespace glm
-
210 
-
211 #include "detail/func_integer.inl"
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldInsert(vec< L, T, Q > const &Base, vec< L, T, Q > const &Insert, int Offset, int Bits)
Returns the insertion the bits least-significant bits of insert into base.
-
GLM_FUNC_DECL vec< L, int, Q > findLSB(vec< L, T, Q > const &v)
Returns the bit number of the least significant bit set to 1 in the binary representation of value...
-
Core features
-
Core features
-
GLM_FUNC_DECL vec< L, int, Q > findMSB(vec< L, T, Q > const &v)
Returns the bit number of the most significant bit in the binary representation of value...
-
GLM_FUNC_DECL vec< L, uint, Q > uaddCarry(vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &carry)
Adds 32-bit unsigned integer x and y, returning the sum modulo pow(2, 32).
-
Definition: common.hpp:20
-
GLM_FUNC_DECL void umulExtended(vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &msb, vec< L, uint, Q > &lsb)
Multiplies 32-bit integers x and y, producing a 64-bit result.
-
GLM_FUNC_DECL vec< L, int, Q > bitCount(vec< L, T, Q > const &v)
Returns the number of bits set to 1 in the binary representation of value.
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldReverse(vec< L, T, Q > const &v)
Returns the reversal of the bits of value.
-
GLM_FUNC_DECL vec< L, uint, Q > usubBorrow(vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &borrow)
Subtracts the 32-bit unsigned integer y from x, returning the difference if non-negative, or pow(2, 32) plus the difference otherwise.
-
GLM_FUNC_DECL void imulExtended(vec< L, int, Q > const &x, vec< L, int, Q > const &y, vec< L, int, Q > &msb, vec< L, int, Q > &lsb)
Multiplies 32-bit integers x and y, producing a 64-bit result.
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > bitfieldExtract(vec< L, T, Q > const &Value, int Offset, int Bits)
Extracts bits [offset, offset + bits - 1] from value, returning them in the least significant bits of...
-
Core features
-
- - - - diff --git a/doc/api/a00043_source.html b/doc/api/a00043_source.html deleted file mode 100644 index b914c54d..00000000 --- a/doc/api/a00043_source.html +++ /dev/null @@ -1,168 +0,0 @@ - - - - - - -0.9.9 API documenation: intersect.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
intersect.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include <cfloat>
-
18 #include <limits>
-
19 #include "../glm.hpp"
-
20 #include "../geometric.hpp"
-
21 #include "../gtx/closest_point.hpp"
-
22 #include "../gtx/vector_query.hpp"
-
23 
-
24 #ifndef GLM_ENABLE_EXPERIMENTAL
-
25 # error "GLM: GLM_GTX_closest_point is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
26 #endif
-
27 
-
28 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
29 # pragma message("GLM: GLM_GTX_closest_point extension included")
-
30 #endif
-
31 
-
32 namespace glm
-
33 {
-
36 
-
40  template<typename genType>
-
41  GLM_FUNC_DECL bool intersectRayPlane(
-
42  genType const& orig, genType const& dir,
-
43  genType const& planeOrig, genType const& planeNormal,
-
44  typename genType::value_type & intersectionDistance);
-
45 
-
49  template<typename T, qualifier Q>
-
50  GLM_FUNC_DECL bool intersectRayTriangle(
-
51  vec<3, T, Q> const& orig, vec<3, T, Q> const& dir,
-
52  vec<3, T, Q> const& v0, vec<3, T, Q> const& v1, vec<3, T, Q> const& v2,
-
53  vec<2, T, Q>& baryPosition, T& distance);
-
54 
-
57  template<typename genType>
-
58  GLM_FUNC_DECL bool intersectLineTriangle(
-
59  genType const& orig, genType const& dir,
-
60  genType const& vert0, genType const& vert1, genType const& vert2,
-
61  genType & position);
-
62 
-
66  template<typename genType>
-
67  GLM_FUNC_DECL bool intersectRaySphere(
-
68  genType const& rayStarting, genType const& rayNormalizedDirection,
-
69  genType const& sphereCenter, typename genType::value_type const sphereRadiusSquered,
-
70  typename genType::value_type & intersectionDistance);
-
71 
-
74  template<typename genType>
-
75  GLM_FUNC_DECL bool intersectRaySphere(
-
76  genType const& rayStarting, genType const& rayNormalizedDirection,
-
77  genType const& sphereCenter, const typename genType::value_type sphereRadius,
-
78  genType & intersectionPosition, genType & intersectionNormal);
-
79 
-
82  template<typename genType>
-
83  GLM_FUNC_DECL bool intersectLineSphere(
-
84  genType const& point0, genType const& point1,
-
85  genType const& sphereCenter, typename genType::value_type sphereRadius,
-
86  genType & intersectionPosition1, genType & intersectionNormal1,
-
87  genType & intersectionPosition2 = genType(), genType & intersectionNormal2 = genType());
-
88 
-
90 }//namespace glm
-
91 
-
92 #include "intersect.inl"
-
GLM_FUNC_DECL bool intersectLineTriangle(genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)
Compute the intersection of a line and a triangle.
-
GLM_FUNC_DECL T distance(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
-
GLM_FUNC_DECL bool intersectRaySphere(genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)
Compute the intersection of a ray and a sphere.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL bool intersectRayPlane(genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)
Compute the intersection of a ray and a plane.
-
GLM_FUNC_DECL bool intersectLineSphere(genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())
Compute the intersection of a line and a sphere.
-
GLM_FUNC_DECL bool intersectRayTriangle(vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dir, vec< 3, T, Q > const &v0, vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 2, T, Q > &baryPosition, T &distance)
Compute the intersection of a ray and a triangle.
-
- - - - diff --git a/doc/api/a00044.html b/doc/api/a00044.html index 194ddc8b..96dd556c 100644 --- a/doc/api/a00044.html +++ b/doc/api/a00044.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: io.hpp File Reference + + +0.9.9 API documenation: type_mat2x4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
io.hpp File Reference
+
type_mat2x4.hpp File Reference
-

GLM_GTX_io -More...

-

Go to the source code of this file.

Detailed Description

-

GLM_GTX_io

-
Author
Jan P Springer (regni.nosp@m.rpsj.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
-
See also
Core features (dependence)
-
-GLM_GTC_matrix_access (dependence)
-
-GLM_GTC_quaternion (dependence)
+

Core features

-

Definition in file io.hpp.

+

Definition in file type_mat2x4.hpp.

diff --git a/doc/api/a00044_source.html b/doc/api/a00044_source.html index 41f308e4..6bfe5138 100644 --- a/doc/api/a00044_source.html +++ b/doc/api/a00044_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: io.hpp Source File + + +0.9.9 API documenation: type_mat2x4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
io.hpp
+
type_mat2x4.hpp
-Go to the documentation of this file.
1 
-
20 #pragma once
-
21 
-
22 // Dependency:
-
23 #include "../glm.hpp"
-
24 #include "../gtx/quaternion.hpp"
-
25 
-
26 #ifndef GLM_ENABLE_EXPERIMENTAL
-
27 # error "GLM: GLM_GTX_io is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
28 #endif
-
29 
-
30 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
31 # pragma message("GLM: GLM_GTX_io extension included")
-
32 #endif
-
33 
-
34 #include <iosfwd> // std::basic_ostream<> (fwd)
-
35 #include <locale> // std::locale, std::locale::facet, std::locale::id
-
36 #include <utility> // std::pair<>
-
37 
-
38 namespace glm
-
39 {
-
42 
-
43  namespace io
-
44  {
-
45  enum order_type { column_major, row_major};
-
46 
-
47  template<typename CTy>
-
48  class format_punct : public std::locale::facet
-
49  {
-
50  typedef CTy char_type;
-
51 
-
52  public:
-
53 
-
54  static std::locale::id id;
-
55 
-
56  bool formatted;
-
57  unsigned precision;
-
58  unsigned width;
-
59  char_type separator;
-
60  char_type delim_left;
-
61  char_type delim_right;
-
62  char_type space;
-
63  char_type newline;
-
64  order_type order;
-
65 
-
66  GLM_FUNC_DECL explicit format_punct(size_t a = 0);
-
67  GLM_FUNC_DECL explicit format_punct(format_punct const&);
-
68  };
-
69 
-
70  template<typename CTy, typename CTr = std::char_traits<CTy> >
-
71  class basic_state_saver {
-
72 
-
73  public:
-
74 
-
75  GLM_FUNC_DECL explicit basic_state_saver(std::basic_ios<CTy,CTr>&);
-
76  GLM_FUNC_DECL ~basic_state_saver();
-
77 
-
78  private:
-
79 
-
80  typedef ::std::basic_ios<CTy,CTr> state_type;
-
81  typedef typename state_type::char_type char_type;
-
82  typedef ::std::ios_base::fmtflags flags_type;
-
83  typedef ::std::streamsize streamsize_type;
-
84  typedef ::std::locale const locale_type;
-
85 
-
86  state_type& state_;
-
87  flags_type flags_;
-
88  streamsize_type precision_;
-
89  streamsize_type width_;
-
90  char_type fill_;
-
91  locale_type locale_;
-
92 
-
93  GLM_FUNC_DECL basic_state_saver& operator=(basic_state_saver const&);
-
94  };
-
95 
-
96  typedef basic_state_saver<char> state_saver;
-
97  typedef basic_state_saver<wchar_t> wstate_saver;
-
98 
-
99  template<typename CTy, typename CTr = std::char_traits<CTy> >
-
100  class basic_format_saver
-
101  {
-
102  public:
-
103 
-
104  GLM_FUNC_DECL explicit basic_format_saver(std::basic_ios<CTy,CTr>&);
-
105  GLM_FUNC_DECL ~basic_format_saver();
-
106 
-
107  private:
-
108 
-
109  basic_state_saver<CTy> const bss_;
-
110 
-
111  GLM_FUNC_DECL basic_format_saver& operator=(basic_format_saver const&);
-
112  };
-
113 
-
114  typedef basic_format_saver<char> format_saver;
-
115  typedef basic_format_saver<wchar_t> wformat_saver;
-
116 
-
117  struct precision
-
118  {
-
119  unsigned value;
-
120 
-
121  GLM_FUNC_DECL explicit precision(unsigned);
-
122  };
-
123 
-
124  struct width
-
125  {
-
126  unsigned value;
-
127 
-
128  GLM_FUNC_DECL explicit width(unsigned);
-
129  };
-
130 
-
131  template<typename CTy>
-
132  struct delimeter
-
133  {
-
134  CTy value[3];
-
135 
-
136  GLM_FUNC_DECL explicit delimeter(CTy /* left */, CTy /* right */, CTy /* separator */ = ',');
-
137  };
-
138 
-
139  struct order
-
140  {
-
141  order_type value;
-
142 
-
143  GLM_FUNC_DECL explicit order(order_type);
-
144  };
-
145 
-
146  // functions, inlined (inline)
-
147 
-
148  template<typename FTy, typename CTy, typename CTr>
-
149  FTy const& get_facet(std::basic_ios<CTy,CTr>&);
-
150  template<typename FTy, typename CTy, typename CTr>
-
151  std::basic_ios<CTy,CTr>& formatted(std::basic_ios<CTy,CTr>&);
-
152  template<typename FTy, typename CTy, typename CTr>
-
153  std::basic_ios<CTy,CTr>& unformattet(std::basic_ios<CTy,CTr>&);
-
154 
-
155  template<typename CTy, typename CTr>
-
156  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, precision const&);
-
157  template<typename CTy, typename CTr>
-
158  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, width const&);
-
159  template<typename CTy, typename CTr>
-
160  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, delimeter<CTy> const&);
-
161  template<typename CTy, typename CTr>
-
162  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, order const&);
-
163  }//namespace io
-
164 
-
165  template<typename CTy, typename CTr, typename T, qualifier Q>
-
166  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, tquat<T, Q> const&);
-
167  template<typename CTy, typename CTr, typename T, qualifier Q>
-
168  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<1, T, Q> const&);
-
169  template<typename CTy, typename CTr, typename T, qualifier Q>
-
170  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<2, T, Q> const&);
-
171  template<typename CTy, typename CTr, typename T, qualifier Q>
-
172  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<3, T, Q> const&);
-
173  template<typename CTy, typename CTr, typename T, qualifier Q>
-
174  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<4, T, Q> const&);
-
175  template<typename CTy, typename CTr, typename T, qualifier Q>
-
176  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<2, 2, T, Q> const&);
-
177  template<typename CTy, typename CTr, typename T, qualifier Q>
-
178  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<2, 3, T, Q> const&);
-
179  template<typename CTy, typename CTr, typename T, qualifier Q>
-
180  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<2, 4, T, Q> const&);
-
181  template<typename CTy, typename CTr, typename T, qualifier Q>
-
182  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<3, 2, T, Q> const&);
-
183  template<typename CTy, typename CTr, typename T, qualifier Q>
-
184  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<3, 3, T, Q> const&);
-
185  template<typename CTy, typename CTr, typename T, qualifier Q>
-
186  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<3, 4, T, Q> const&);
-
187  template<typename CTy, typename CTr, typename T, qualifier Q>
-
188  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<4, 2, T, Q> const&);
-
189  template<typename CTy, typename CTr, typename T, qualifier Q>
-
190  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<4, 3, T, Q> const&);
-
191  template<typename CTy, typename CTr, typename T, qualifier Q>
-
192  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<4, 4, T, Q> const&);
-
193 
-
194  template<typename CTy, typename CTr, typename T, qualifier Q>
-
195  GLM_FUNC_DECL std::basic_ostream<CTy,CTr> & operator<<(std::basic_ostream<CTy,CTr> &,
-
196  std::pair<mat<4, 4, T, Q> const, mat<4, 4, T, Q> const> const&);
-
197 
-
199 }//namespace glm
-
200 
-
201 #include "io.inl"
-
Definition: common.hpp:20
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec2.hpp"
7 #include "type_vec4.hpp"
8 #include <limits>
9 #include <cstddef>
10 
11 namespace glm
12 {
13  template<typename T, qualifier Q>
14  struct mat<2, 4, T, Q>
15  {
16  typedef vec<4, T, Q> col_type;
17  typedef vec<2, T, Q> row_type;
18  typedef mat<2, 4, T, Q> type;
19  typedef mat<4, 2, T, Q> transpose_type;
20  typedef T value_type;
21 
22  private:
23  col_type value[2];
24 
25  public:
26  // -- Accesses --
27 
28  typedef length_t length_type;
29  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 2; }
30 
31  GLM_FUNC_DECL col_type & operator[](length_type i);
32  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
33 
34  // -- Constructors --
35 
36  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
37  template<qualifier P>
38  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<2, 4, T, P> const& m);
39 
40  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
41  GLM_FUNC_DECL GLM_CONSTEXPR mat(
42  T x0, T y0, T z0, T w0,
43  T x1, T y1, T z1, T w1);
44  GLM_FUNC_DECL GLM_CONSTEXPR mat(
45  col_type const& v0,
46  col_type const& v1);
47 
48  // -- Conversions --
49 
50  template<
51  typename X1, typename Y1, typename Z1, typename W1,
52  typename X2, typename Y2, typename Z2, typename W2>
53  GLM_FUNC_DECL GLM_CONSTEXPR mat(
54  X1 x1, Y1 y1, Z1 z1, W1 w1,
55  X2 x2, Y2 y2, Z2 z2, W2 w2);
56 
57  template<typename U, typename V>
58  GLM_FUNC_DECL GLM_CONSTEXPR mat(
59  vec<4, U, Q> const& v1,
60  vec<4, V, Q> const& v2);
61 
62  // -- Matrix conversions --
63 
64  template<typename U, qualifier P>
65  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, U, P> const& m);
66 
67  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
68  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
69  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
75 
76  // -- Unary arithmetic operators --
77 
78  template<typename U>
79  GLM_FUNC_DECL mat<2, 4, T, Q> & operator=(mat<2, 4, U, Q> const& m);
80  template<typename U>
81  GLM_FUNC_DECL mat<2, 4, T, Q> & operator+=(U s);
82  template<typename U>
83  GLM_FUNC_DECL mat<2, 4, T, Q> & operator+=(mat<2, 4, U, Q> const& m);
84  template<typename U>
85  GLM_FUNC_DECL mat<2, 4, T, Q> & operator-=(U s);
86  template<typename U>
87  GLM_FUNC_DECL mat<2, 4, T, Q> & operator-=(mat<2, 4, U, Q> const& m);
88  template<typename U>
89  GLM_FUNC_DECL mat<2, 4, T, Q> & operator*=(U s);
90  template<typename U>
91  GLM_FUNC_DECL mat<2, 4, T, Q> & operator/=(U s);
92 
93  // -- Increment and decrement operators --
94 
95  GLM_FUNC_DECL mat<2, 4, T, Q> & operator++ ();
96  GLM_FUNC_DECL mat<2, 4, T, Q> & operator-- ();
97  GLM_FUNC_DECL mat<2, 4, T, Q> operator++(int);
98  GLM_FUNC_DECL mat<2, 4, T, Q> operator--(int);
99  };
100 
101  // -- Unary operators --
102 
103  template<typename T, qualifier Q>
104  GLM_FUNC_DECL mat<2, 4, T, Q> operator+(mat<2, 4, T, Q> const& m);
105 
106  template<typename T, qualifier Q>
107  GLM_FUNC_DECL mat<2, 4, T, Q> operator-(mat<2, 4, T, Q> const& m);
108 
109  // -- Binary operators --
110 
111  template<typename T, qualifier Q>
112  GLM_FUNC_DECL mat<2, 4, T, Q> operator+(mat<2, 4, T, Q> const& m, T scalar);
113 
114  template<typename T, qualifier Q>
115  GLM_FUNC_DECL mat<2, 4, T, Q> operator+(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
116 
117  template<typename T, qualifier Q>
118  GLM_FUNC_DECL mat<2, 4, T, Q> operator-(mat<2, 4, T, Q> const& m, T scalar);
119 
120  template<typename T, qualifier Q>
121  GLM_FUNC_DECL mat<2, 4, T, Q> operator-(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
122 
123  template<typename T, qualifier Q>
124  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<2, 4, T, Q> const& m, T scalar);
125 
126  template<typename T, qualifier Q>
127  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(T scalar, mat<2, 4, T, Q> const& m);
128 
129  template<typename T, qualifier Q>
130  GLM_FUNC_DECL typename mat<2, 4, T, Q>::col_type operator*(mat<2, 4, T, Q> const& m, typename mat<2, 4, T, Q>::row_type const& v);
131 
132  template<typename T, qualifier Q>
133  GLM_FUNC_DECL typename mat<2, 4, T, Q>::row_type operator*(typename mat<2, 4, T, Q>::col_type const& v, mat<2, 4, T, Q> const& m);
134 
135  template<typename T, qualifier Q>
136  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<2, 4, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
137 
138  template<typename T, qualifier Q>
139  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<2, 4, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
140 
141  template<typename T, qualifier Q>
142  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<2, 4, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
143 
144  template<typename T, qualifier Q>
145  GLM_FUNC_DECL mat<2, 4, T, Q> operator/(mat<2, 4, T, Q> const& m, T scalar);
146 
147  template<typename T, qualifier Q>
148  GLM_FUNC_DECL mat<2, 4, T, Q> operator/(T scalar, mat<2, 4, T, Q> const& m);
149 
150  // -- Boolean operators --
151 
152  template<typename T, qualifier Q>
153  GLM_FUNC_DECL bool operator==(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
154 
155  template<typename T, qualifier Q>
156  GLM_FUNC_DECL bool operator!=(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
157 }//namespace glm
158 
159 #ifndef GLM_EXTERNAL_TEMPLATE
160 #include "type_mat2x4.inl"
161 #endif
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
Core features
diff --git a/doc/api/a00045_source.html b/doc/api/a00045_source.html deleted file mode 100644 index 9c61f2ed..00000000 --- a/doc/api/a00045_source.html +++ /dev/null @@ -1,132 +0,0 @@ - - - - - - -0.9.9 API documenation: log_base.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
log_base.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_log_base is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_log_base extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename genType>
-
34  GLM_FUNC_DECL genType log(
-
35  genType const& x,
-
36  genType const& base);
-
37 
-
40  template<length_t L, typename T, qualifier Q>
-
41  GLM_FUNC_DECL vec<L, T, Q> sign(
-
42  vec<L, T, Q> const& x,
-
43  vec<L, T, Q> const& base);
-
44 
-
46 }//namespace glm
-
47 
-
48 #include "log_base.inl"
-
GLM_FUNC_DECL vec< L, T, Q > sign(vec< L, T, Q > const &x, vec< L, T, Q > const &base)
Logarithm for any base.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType log(genType const &x, genType const &base)
Logarithm for any base.
-
- - - - diff --git a/doc/api/a00046_source.html b/doc/api/a00046_source.html deleted file mode 100644 index 5360f47a..00000000 --- a/doc/api/a00046_source.html +++ /dev/null @@ -1,2515 +0,0 @@ - - - - - - -0.9.9 API documenation: man.doxy Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
man.doxy
-
-
-
1 # Doxyfile 1.8.10
-
2 
-
3 # This file describes the settings to be used by the documentation system
-
4 # doxygen (www.doxygen.org) for a project.
-
5 #
-
6 # All text after a double hash (##) is considered a comment and is placed in
-
7 # front of the TAG it is preceding.
-
8 #
-
9 # All text after a single hash (#) is considered a comment and will be ignored.
-
10 # The format is:
-
11 # TAG = value [value, ...]
-
12 # For lists, items can also be appended using:
-
13 # TAG += value [value, ...]
-
14 # Values that contain spaces should be placed between quotes (\" \").
-
15 
-
16 #---------------------------------------------------------------------------
-
17 # Project related configuration options
-
18 #---------------------------------------------------------------------------
-
19 
-
20 # This tag specifies the encoding used for all characters in the config file
-
21 # that follow. The default is UTF-8 which is also the encoding used for all text
-
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
-
23 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
-
24 # for the list of possible encodings.
-
25 # The default value is: UTF-8.
-
26 
-
27 DOXYFILE_ENCODING = UTF-8
-
28 
-
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
-
30 # double-quotes, unless you are using Doxywizard) that should identify the
-
31 # project for which the documentation is generated. This name is used in the
-
32 # title of most generated pages and in a few other places.
-
33 # The default value is: My Project.
-
34 
-
35 PROJECT_NAME = "0.9.9 API documenation"
-
36 
-
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
-
38 # could be handy for archiving the generated documentation or if some version
-
39 # control system is used.
-
40 
-
41 PROJECT_NUMBER =
-
42 
-
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
-
44 # for a project that appears at the top of each page and should give viewer a
-
45 # quick idea about the purpose of the project. Keep the description short.
-
46 
-
47 PROJECT_BRIEF =
-
48 
-
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
-
50 # in the documentation. The maximum height of the logo should not exceed 55
-
51 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
-
52 # the logo to the output directory.
-
53 
-
54 PROJECT_LOGO = G:/Source/G-Truc/glm/doc/manual/logo-mini.png
-
55 
-
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
-
57 # into which the generated documentation will be written. If a relative path is
-
58 # entered, it will be relative to the location where doxygen was started. If
-
59 # left blank the current directory will be used.
-
60 
-
61 OUTPUT_DIRECTORY = .
-
62 
-
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
-
64 # directories (in 2 levels) under the output directory of each output format and
-
65 # will distribute the generated files over these directories. Enabling this
-
66 # option can be useful when feeding doxygen a huge amount of source files, where
-
67 # putting all generated files in the same directory would otherwise causes
-
68 # performance problems for the file system.
-
69 # The default value is: NO.
-
70 
-
71 CREATE_SUBDIRS = NO
-
72 
-
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
-
74 # characters to appear in the names of generated files. If set to NO, non-ASCII
-
75 # characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
-
76 # U+3044.
-
77 # The default value is: NO.
-
78 
-
79 ALLOW_UNICODE_NAMES = NO
-
80 
-
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
-
82 # documentation generated by doxygen is written. Doxygen will use this
-
83 # information to generate all constant output in the proper language.
-
84 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
-
85 # Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
-
86 # Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
-
87 # Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
-
88 # Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
-
89 # Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
-
90 # Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
-
91 # Ukrainian and Vietnamese.
-
92 # The default value is: English.
-
93 
-
94 OUTPUT_LANGUAGE = English
-
95 
-
96 # If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
-
97 # descriptions after the members that are listed in the file and class
-
98 # documentation (similar to Javadoc). Set to NO to disable this.
-
99 # The default value is: YES.
-
100 
-
101 BRIEF_MEMBER_DESC = YES
-
102 
-
103 # If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
-
104 # description of a member or function before the detailed description
-
105 #
-
106 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
-
107 # brief descriptions will be completely suppressed.
-
108 # The default value is: YES.
-
109 
-
110 REPEAT_BRIEF = YES
-
111 
-
112 # This tag implements a quasi-intelligent brief description abbreviator that is
-
113 # used to form the text in various listings. Each string in this list, if found
-
114 # as the leading text of the brief description, will be stripped from the text
-
115 # and the result, after processing the whole list, is used as the annotated
-
116 # text. Otherwise, the brief description is used as-is. If left blank, the
-
117 # following values are used ($name is automatically replaced with the name of
-
118 # the entity):The $name class, The $name widget, The $name file, is, provides,
-
119 # specifies, contains, represents, a, an and the.
-
120 
-
121 ABBREVIATE_BRIEF = "The $name class " \
-
122  "The $name widget " \
-
123  "The $name file " \
-
124  is \
-
125  provides \
-
126  specifies \
-
127  contains \
-
128  represents \
-
129  a \
-
130  an \
-
131  the
-
132 
-
133 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
-
134 # doxygen will generate a detailed section even if there is only a brief
-
135 # description.
-
136 # The default value is: NO.
-
137 
-
138 ALWAYS_DETAILED_SEC = NO
-
139 
-
140 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
-
141 # inherited members of a class in the documentation of that class as if those
-
142 # members were ordinary class members. Constructors, destructors and assignment
-
143 # operators of the base classes will not be shown.
-
144 # The default value is: NO.
-
145 
-
146 INLINE_INHERITED_MEMB = NO
-
147 
-
148 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
-
149 # before files name in the file list and in the header files. If set to NO the
-
150 # shortest path that makes the file name unique will be used
-
151 # The default value is: YES.
-
152 
-
153 FULL_PATH_NAMES = NO
-
154 
-
155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
-
156 # Stripping is only done if one of the specified strings matches the left-hand
-
157 # part of the path. The tag can be used to show relative paths in the file list.
-
158 # If left blank the directory from which doxygen is run is used as the path to
-
159 # strip.
-
160 #
-
161 # Note that you can specify absolute paths here, but also relative paths, which
-
162 # will be relative from the directory where doxygen is started.
-
163 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
-
164 
-
165 STRIP_FROM_PATH = "C:/Documents and Settings/Groove/ "
-
166 
-
167 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
-
168 # path mentioned in the documentation of a class, which tells the reader which
-
169 # header file to include in order to use a class. If left blank only the name of
-
170 # the header file containing the class definition is used. Otherwise one should
-
171 # specify the list of include paths that are normally passed to the compiler
-
172 # using the -I flag.
-
173 
-
174 STRIP_FROM_INC_PATH =
-
175 
-
176 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
-
177 # less readable) file names. This can be useful is your file systems doesn't
-
178 # support long names like on DOS, Mac, or CD-ROM.
-
179 # The default value is: NO.
-
180 
-
181 SHORT_NAMES = YES
-
182 
-
183 # If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
-
184 # first line (until the first dot) of a Javadoc-style comment as the brief
-
185 # description. If set to NO, the Javadoc-style will behave just like regular Qt-
-
186 # style comments (thus requiring an explicit @brief command for a brief
-
187 # description.)
-
188 # The default value is: NO.
-
189 
-
190 JAVADOC_AUTOBRIEF = YES
-
191 
-
192 # If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
-
193 # line (until the first dot) of a Qt-style comment as the brief description. If
-
194 # set to NO, the Qt-style will behave just like regular Qt-style comments (thus
-
195 # requiring an explicit \brief command for a brief description.)
-
196 # The default value is: NO.
-
197 
-
198 QT_AUTOBRIEF = NO
-
199 
-
200 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
-
201 # multi-line C++ special comment block (i.e. a block of
-
202 # a brief description. This used to be the default behavior. The new default is
-
203 # to treat a multi-line C++ comment block as a detailed description. Set this
-
204 # tag to YES if you prefer the old behavior instead.
-
205 #
-
206 # Note that setting this tag to YES also means that rational rose comments are
-
207 # not recognized any more.
-
208 # The default value is: NO.
-
209 
-
210 MULTILINE_CPP_IS_BRIEF = NO
-
211 
-
212 # If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
-
213 # documentation from any documented member that it re-implements.
-
214 # The default value is: YES.
-
215 
-
216 INHERIT_DOCS = YES
-
217 
-
218 # If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
-
219 # page for each member. If set to NO, the documentation of a member will be part
-
220 # of the file/class/namespace that contains it.
-
221 # The default value is: NO.
-
222 
-
223 SEPARATE_MEMBER_PAGES = NO
-
224 
-
225 # The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
-
226 # uses this value to replace tabs by spaces in code fragments.
-
227 # Minimum value: 1, maximum value: 16, default value: 4.
-
228 
-
229 TAB_SIZE = 8
-
230 
-
231 # This tag can be used to specify a number of aliases that act as commands in
-
232 # the documentation. An alias has the form:
-
233 # name=value
-
234 # For example adding
-
235 # "sideeffect=@par Side Effects:\n"
-
236 # will allow you to put the command \sideeffect (or @sideeffect) in the
-
237 # documentation, which will result in a user-defined paragraph with heading
-
238 # "Side Effects:". You can put \n's in the value part of an alias to insert
-
239 # newlines.
-
240 
-
241 ALIASES =
-
242 
-
243 # This tag can be used to specify a number of word-keyword mappings (TCL only).
-
244 # A mapping has the form "name=value". For example adding "class=itcl::class"
-
245 # will allow you to use the command class in the itcl::class meaning.
-
246 
-
247 TCL_SUBST =
-
248 
-
249 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
-
250 # only. Doxygen will then generate output that is more tailored for C. For
-
251 # instance, some of the names that are used will be different. The list of all
-
252 # members will be omitted, etc.
-
253 # The default value is: NO.
-
254 
-
255 OPTIMIZE_OUTPUT_FOR_C = NO
-
256 
-
257 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
-
258 # Python sources only. Doxygen will then generate output that is more tailored
-
259 # for that language. For instance, namespaces will be presented as packages,
-
260 # qualified scopes will look different, etc.
-
261 # The default value is: NO.
-
262 
-
263 OPTIMIZE_OUTPUT_JAVA = NO
-
264 
-
265 # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
-
266 # sources. Doxygen will then generate output that is tailored for Fortran.
-
267 # The default value is: NO.
-
268 
-
269 OPTIMIZE_FOR_FORTRAN = NO
-
270 
-
271 # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
-
272 # sources. Doxygen will then generate output that is tailored for VHDL.
-
273 # The default value is: NO.
-
274 
-
275 OPTIMIZE_OUTPUT_VHDL = NO
-
276 
-
277 # Doxygen selects the parser to use depending on the extension of the files it
-
278 # parses. With this tag you can assign which parser to use for a given
-
279 # extension. Doxygen has a built-in mapping, but you can override or extend it
-
280 # using this tag. The format is ext=language, where ext is a file extension, and
-
281 # language is one of the parsers supported by doxygen: IDL, Java, Javascript,
-
282 # C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
-
283 # FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
-
284 # Fortran. In the later case the parser tries to guess whether the code is fixed
-
285 # or free formatted code, this is the default for Fortran type files), VHDL. For
-
286 # instance to make doxygen treat .inc files as Fortran files (default is PHP),
-
287 # and .f files as C (default is Fortran), use: inc=Fortran f=C.
-
288 #
-
289 # Note: For files without extension you can use no_extension as a placeholder.
-
290 #
-
291 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
-
292 # the files are not read by doxygen.
-
293 
-
294 EXTENSION_MAPPING =
-
295 
-
296 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
-
297 # according to the Markdown format, which allows for more readable
-
298 # documentation. See http://daringfireball.net/projects/markdown/ for details.
-
299 # The output of markdown processing is further processed by doxygen, so you can
-
300 # mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
-
301 # case of backward compatibilities issues.
-
302 # The default value is: YES.
-
303 
-
304 MARKDOWN_SUPPORT = YES
-
305 
-
306 # When enabled doxygen tries to link words that correspond to documented
-
307 # classes, or namespaces to their corresponding documentation. Such a link can
-
308 # be prevented in individual cases by putting a % sign in front of the word or
-
309 # globally by setting AUTOLINK_SUPPORT to NO.
-
310 # The default value is: YES.
-
311 
-
312 AUTOLINK_SUPPORT = YES
-
313 
-
314 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
-
315 # to include (a tag file for) the STL sources as input, then you should set this
-
316 # tag to YES in order to let doxygen match functions declarations and
-
317 # definitions whose arguments contain STL classes (e.g. func(std::string);
-
318 # versus func(std::string) {}). This also make the inheritance and collaboration
-
319 # diagrams that involve STL classes more complete and accurate.
-
320 # The default value is: NO.
-
321 
-
322 BUILTIN_STL_SUPPORT = NO
-
323 
-
324 # If you use Microsoft's C++/CLI language, you should set this option to YES to
-
325 # enable parsing support.
-
326 # The default value is: NO.
-
327 
-
328 CPP_CLI_SUPPORT = NO
-
329 
-
330 # Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
-
331 # http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
-
332 # will parse them like normal C++ but will assume all classes use public instead
-
333 # of private inheritance when no explicit protection keyword is present.
-
334 # The default value is: NO.
-
335 
-
336 SIP_SUPPORT = NO
-
337 
-
338 # For Microsoft's IDL there are propget and propput attributes to indicate
-
339 # getter and setter methods for a property. Setting this option to YES will make
-
340 # doxygen to replace the get and set methods by a property in the documentation.
-
341 # This will only work if the methods are indeed getting or setting a simple
-
342 # type. If this is not the case, or you want to show the methods anyway, you
-
343 # should set this option to NO.
-
344 # The default value is: YES.
-
345 
-
346 IDL_PROPERTY_SUPPORT = YES
-
347 
-
348 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
-
349 # tag is set to YES then doxygen will reuse the documentation of the first
-
350 # member in the group (if any) for the other members of the group. By default
-
351 # all members of a group must be documented explicitly.
-
352 # The default value is: NO.
-
353 
-
354 DISTRIBUTE_GROUP_DOC = NO
-
355 
-
356 # If one adds a struct or class to a group and this option is enabled, then also
-
357 # any nested class or struct is added to the same group. By default this option
-
358 # is disabled and one has to add nested compounds explicitly via \ingroup.
-
359 # The default value is: NO.
-
360 
-
361 GROUP_NESTED_COMPOUNDS = NO
-
362 
-
363 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
-
364 # (for instance a group of public functions) to be put as a subgroup of that
-
365 # type (e.g. under the Public Functions section). Set it to NO to prevent
-
366 # subgrouping. Alternatively, this can be done per class using the
-
367 # \nosubgrouping command.
-
368 # The default value is: YES.
-
369 
-
370 SUBGROUPING = NO
-
371 
-
372 # When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
-
373 # are shown inside the group in which they are included (e.g. using \ingroup)
-
374 # instead of on a separate page (for HTML and Man pages) or section (for LaTeX
-
375 # and RTF).
-
376 #
-
377 # Note that this feature does not work in combination with
-
378 # SEPARATE_MEMBER_PAGES.
-
379 # The default value is: NO.
-
380 
-
381 INLINE_GROUPED_CLASSES = NO
-
382 
-
383 # When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
-
384 # with only public data fields or simple typedef fields will be shown inline in
-
385 # the documentation of the scope in which they are defined (i.e. file,
-
386 # namespace, or group documentation), provided this scope is documented. If set
-
387 # to NO, structs, classes, and unions are shown on a separate page (for HTML and
-
388 # Man pages) or section (for LaTeX and RTF).
-
389 # The default value is: NO.
-
390 
-
391 INLINE_SIMPLE_STRUCTS = NO
-
392 
-
393 # When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
-
394 # enum is documented as struct, union, or enum with the name of the typedef. So
-
395 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
-
396 # with name TypeT. When disabled the typedef will appear as a member of a file,
-
397 # namespace, or class. And the struct will be named TypeS. This can typically be
-
398 # useful for C code in case the coding convention dictates that all compound
-
399 # types are typedef'ed and only the typedef is referenced, never the tag name.
-
400 # The default value is: NO.
-
401 
-
402 TYPEDEF_HIDES_STRUCT = NO
-
403 
-
404 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
-
405 # cache is used to resolve symbols given their name and scope. Since this can be
-
406 # an expensive process and often the same symbol appears multiple times in the
-
407 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
-
408 # doxygen will become slower. If the cache is too large, memory is wasted. The
-
409 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
-
410 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
-
411 # symbols. At the end of a run doxygen will report the cache usage and suggest
-
412 # the optimal cache size from a speed point of view.
-
413 # Minimum value: 0, maximum value: 9, default value: 0.
-
414 
-
415 LOOKUP_CACHE_SIZE = 0
-
416 
-
417 #---------------------------------------------------------------------------
-
418 # Build related configuration options
-
419 #---------------------------------------------------------------------------
-
420 
-
421 # If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
-
422 # documentation are documented, even if no documentation was available. Private
-
423 # class members and static file members will be hidden unless the
-
424 # EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
-
425 # Note: This will also disable the warnings about undocumented members that are
-
426 # normally produced when WARNINGS is set to YES.
-
427 # The default value is: NO.
-
428 
-
429 EXTRACT_ALL = NO
-
430 
-
431 # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
-
432 # be included in the documentation.
-
433 # The default value is: NO.
-
434 
-
435 EXTRACT_PRIVATE = NO
-
436 
-
437 # If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
-
438 # scope will be included in the documentation.
-
439 # The default value is: NO.
-
440 
-
441 EXTRACT_PACKAGE = NO
-
442 
-
443 # If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
-
444 # included in the documentation.
-
445 # The default value is: NO.
-
446 
-
447 EXTRACT_STATIC = YES
-
448 
-
449 # If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
-
450 # locally in source files will be included in the documentation. If set to NO,
-
451 # only classes defined in header files are included. Does not have any effect
-
452 # for Java sources.
-
453 # The default value is: YES.
-
454 
-
455 EXTRACT_LOCAL_CLASSES = NO
-
456 
-
457 # This flag is only useful for Objective-C code. If set to YES, local methods,
-
458 # which are defined in the implementation section but not in the interface are
-
459 # included in the documentation. If set to NO, only methods in the interface are
-
460 # included.
-
461 # The default value is: NO.
-
462 
-
463 EXTRACT_LOCAL_METHODS = NO
-
464 
-
465 # If this flag is set to YES, the members of anonymous namespaces will be
-
466 # extracted and appear in the documentation as a namespace called
-
467 # 'anonymous_namespace{file}', where file will be replaced with the base name of
-
468 # the file that contains the anonymous namespace. By default anonymous namespace
-
469 # are hidden.
-
470 # The default value is: NO.
-
471 
-
472 EXTRACT_ANON_NSPACES = NO
-
473 
-
474 # If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
-
475 # undocumented members inside documented classes or files. If set to NO these
-
476 # members will be included in the various overviews, but no documentation
-
477 # section is generated. This option has no effect if EXTRACT_ALL is enabled.
-
478 # The default value is: NO.
-
479 
-
480 HIDE_UNDOC_MEMBERS = YES
-
481 
-
482 # If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
-
483 # undocumented classes that are normally visible in the class hierarchy. If set
-
484 # to NO, these classes will be included in the various overviews. This option
-
485 # has no effect if EXTRACT_ALL is enabled.
-
486 # The default value is: NO.
-
487 
-
488 HIDE_UNDOC_CLASSES = YES
-
489 
-
490 # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
-
491 # (class|struct|union) declarations. If set to NO, these declarations will be
-
492 # included in the documentation.
-
493 # The default value is: NO.
-
494 
-
495 HIDE_FRIEND_COMPOUNDS = YES
-
496 
-
497 # If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
-
498 # documentation blocks found inside the body of a function. If set to NO, these
-
499 # blocks will be appended to the function's detailed documentation block.
-
500 # The default value is: NO.
-
501 
-
502 HIDE_IN_BODY_DOCS = YES
-
503 
-
504 # The INTERNAL_DOCS tag determines if documentation that is typed after a
-
505 # \internal command is included. If the tag is set to NO then the documentation
-
506 # will be excluded. Set it to YES to include the internal documentation.
-
507 # The default value is: NO.
-
508 
-
509 INTERNAL_DOCS = NO
-
510 
-
511 # If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
-
512 # names in lower-case letters. If set to YES, upper-case letters are also
-
513 # allowed. This is useful if you have classes or files whose names only differ
-
514 # in case and if your file system supports case sensitive file names. Windows
-
515 # and Mac users are advised to set this option to NO.
-
516 # The default value is: system dependent.
-
517 
-
518 CASE_SENSE_NAMES = YES
-
519 
-
520 # If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
-
521 # their full class and namespace scopes in the documentation. If set to YES, the
-
522 # scope will be hidden.
-
523 # The default value is: NO.
-
524 
-
525 HIDE_SCOPE_NAMES = YES
-
526 
-
527 # If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
-
528 # append additional text to a page's title, such as Class Reference. If set to
-
529 # YES the compound reference will be hidden.
-
530 # The default value is: NO.
-
531 
-
532 HIDE_COMPOUND_REFERENCE= NO
-
533 
-
534 # If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
-
535 # the files that are included by a file in the documentation of that file.
-
536 # The default value is: YES.
-
537 
-
538 SHOW_INCLUDE_FILES = NO
-
539 
-
540 # If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
-
541 # grouped member an include statement to the documentation, telling the reader
-
542 # which file to include in order to use the member.
-
543 # The default value is: NO.
-
544 
-
545 SHOW_GROUPED_MEMB_INC = NO
-
546 
-
547 # If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
-
548 # files with double quotes in the documentation rather than with sharp brackets.
-
549 # The default value is: NO.
-
550 
-
551 FORCE_LOCAL_INCLUDES = NO
-
552 
-
553 # If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
-
554 # documentation for inline members.
-
555 # The default value is: YES.
-
556 
-
557 INLINE_INFO = NO
-
558 
-
559 # If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
-
560 # (detailed) documentation of file and class members alphabetically by member
-
561 # name. If set to NO, the members will appear in declaration order.
-
562 # The default value is: YES.
-
563 
-
564 SORT_MEMBER_DOCS = YES
-
565 
-
566 # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
-
567 # descriptions of file, namespace and class members alphabetically by member
-
568 # name. If set to NO, the members will appear in declaration order. Note that
-
569 # this will also influence the order of the classes in the class list.
-
570 # The default value is: NO.
-
571 
-
572 SORT_BRIEF_DOCS = YES
-
573 
-
574 # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
-
575 # (brief and detailed) documentation of class members so that constructors and
-
576 # destructors are listed first. If set to NO the constructors will appear in the
-
577 # respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
-
578 # Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
-
579 # member documentation.
-
580 # Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
-
581 # detailed member documentation.
-
582 # The default value is: NO.
-
583 
-
584 SORT_MEMBERS_CTORS_1ST = NO
-
585 
-
586 # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
-
587 # of group names into alphabetical order. If set to NO the group names will
-
588 # appear in their defined order.
-
589 # The default value is: NO.
-
590 
-
591 SORT_GROUP_NAMES = NO
-
592 
-
593 # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
-
594 # fully-qualified names, including namespaces. If set to NO, the class list will
-
595 # be sorted only by class name, not including the namespace part.
-
596 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
-
597 # Note: This option applies only to the class list, not to the alphabetical
-
598 # list.
-
599 # The default value is: NO.
-
600 
-
601 SORT_BY_SCOPE_NAME = YES
-
602 
-
603 # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
-
604 # type resolution of all parameters of a function it will reject a match between
-
605 # the prototype and the implementation of a member function even if there is
-
606 # only one candidate or it is obvious which candidate to choose by doing a
-
607 # simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
-
608 # accept a match between prototype and implementation in such cases.
-
609 # The default value is: NO.
-
610 
-
611 STRICT_PROTO_MATCHING = NO
-
612 
-
613 # The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
-
614 # list. This list is created by putting \todo commands in the documentation.
-
615 # The default value is: YES.
-
616 
-
617 GENERATE_TODOLIST = YES
-
618 
-
619 # The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
-
620 # list. This list is created by putting \test commands in the documentation.
-
621 # The default value is: YES.
-
622 
-
623 GENERATE_TESTLIST = YES
-
624 
-
625 # The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
-
626 # list. This list is created by putting \bug commands in the documentation.
-
627 # The default value is: YES.
-
628 
-
629 GENERATE_BUGLIST = YES
-
630 
-
631 # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
-
632 # the deprecated list. This list is created by putting \deprecated commands in
-
633 # the documentation.
-
634 # The default value is: YES.
-
635 
-
636 GENERATE_DEPRECATEDLIST= YES
-
637 
-
638 # The ENABLED_SECTIONS tag can be used to enable conditional documentation
-
639 # sections, marked by \if <section_label> ... \endif and \cond <section_label>
-
640 # ... \endcond blocks.
-
641 
-
642 ENABLED_SECTIONS =
-
643 
-
644 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
-
645 # initial value of a variable or macro / define can have for it to appear in the
-
646 # documentation. If the initializer consists of more lines than specified here
-
647 # it will be hidden. Use a value of 0 to hide initializers completely. The
-
648 # appearance of the value of individual variables and macros / defines can be
-
649 # controlled using \showinitializer or \hideinitializer command in the
-
650 # documentation regardless of this setting.
-
651 # Minimum value: 0, maximum value: 10000, default value: 30.
-
652 
-
653 MAX_INITIALIZER_LINES = 30
-
654 
-
655 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
-
656 # the bottom of the documentation of classes and structs. If set to YES, the
-
657 # list will mention the files that were used to generate the documentation.
-
658 # The default value is: YES.
-
659 
-
660 SHOW_USED_FILES = NO
-
661 
-
662 # Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
-
663 # will remove the Files entry from the Quick Index and from the Folder Tree View
-
664 # (if specified).
-
665 # The default value is: YES.
-
666 
-
667 SHOW_FILES = YES
-
668 
-
669 # Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
-
670 # page. This will remove the Namespaces entry from the Quick Index and from the
-
671 # Folder Tree View (if specified).
-
672 # The default value is: YES.
-
673 
-
674 SHOW_NAMESPACES = YES
-
675 
-
676 # The FILE_VERSION_FILTER tag can be used to specify a program or script that
-
677 # doxygen should invoke to get the current version for each file (typically from
-
678 # the version control system). Doxygen will invoke the program by executing (via
-
679 # popen()) the command command input-file, where command is the value of the
-
680 # FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
-
681 # by doxygen. Whatever the program writes to standard output is used as the file
-
682 # version. For an example see the documentation.
-
683 
-
684 FILE_VERSION_FILTER =
-
685 
-
686 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
-
687 # by doxygen. The layout file controls the global structure of the generated
-
688 # output files in an output format independent way. To create the layout file
-
689 # that represents doxygen's defaults, run doxygen with the -l option. You can
-
690 # optionally specify a file name after the option, if omitted DoxygenLayout.xml
-
691 # will be used as the name of the layout file.
-
692 #
-
693 # Note that if you run doxygen from a directory containing a file called
-
694 # DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
-
695 # tag is left empty.
-
696 
-
697 LAYOUT_FILE =
-
698 
-
699 # The CITE_BIB_FILES tag can be used to specify one or more bib files containing
-
700 # the reference definitions. This must be a list of .bib files. The .bib
-
701 # extension is automatically appended if omitted. This requires the bibtex tool
-
702 # to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
-
703 # For LaTeX the style of the bibliography can be controlled using
-
704 # LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
-
705 # search path. See also \cite for info how to create references.
-
706 
-
707 CITE_BIB_FILES =
-
708 
-
709 #---------------------------------------------------------------------------
-
710 # Configuration options related to warning and progress messages
-
711 #---------------------------------------------------------------------------
-
712 
-
713 # The QUIET tag can be used to turn on/off the messages that are generated to
-
714 # standard output by doxygen. If QUIET is set to YES this implies that the
-
715 # messages are off.
-
716 # The default value is: NO.
-
717 
-
718 QUIET = NO
-
719 
-
720 # The WARNINGS tag can be used to turn on/off the warning messages that are
-
721 # generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
-
722 # this implies that the warnings are on.
-
723 #
-
724 # Tip: Turn warnings on while writing the documentation.
-
725 # The default value is: YES.
-
726 
-
727 WARNINGS = YES
-
728 
-
729 # If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
-
730 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
-
731 # will automatically be disabled.
-
732 # The default value is: YES.
-
733 
-
734 WARN_IF_UNDOCUMENTED = YES
-
735 
-
736 # If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
-
737 # potential errors in the documentation, such as not documenting some parameters
-
738 # in a documented function, or documenting parameters that don't exist or using
-
739 # markup commands wrongly.
-
740 # The default value is: YES.
-
741 
-
742 WARN_IF_DOC_ERROR = YES
-
743 
-
744 # This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
-
745 # are documented, but have no documentation for their parameters or return
-
746 # value. If set to NO, doxygen will only warn about wrong or incomplete
-
747 # parameter documentation, but not about the absence of documentation.
-
748 # The default value is: NO.
-
749 
-
750 WARN_NO_PARAMDOC = NO
-
751 
-
752 # The WARN_FORMAT tag determines the format of the warning messages that doxygen
-
753 # can produce. The string should contain the $file, $line, and $text tags, which
-
754 # will be replaced by the file and line number from which the warning originated
-
755 # and the warning text. Optionally the format may contain $version, which will
-
756 # be replaced by the version of the file (if it could be obtained via
-
757 # FILE_VERSION_FILTER)
-
758 # The default value is: $file:$line: $text.
-
759 
-
760 WARN_FORMAT = "$file:$line: $text"
-
761 
-
762 # The WARN_LOGFILE tag can be used to specify a file to which warning and error
-
763 # messages should be written. If left blank the output is written to standard
-
764 # error (stderr).
-
765 
-
766 WARN_LOGFILE =
-
767 
-
768 #---------------------------------------------------------------------------
-
769 # Configuration options related to the input files
-
770 #---------------------------------------------------------------------------
-
771 
-
772 # The INPUT tag is used to specify the files and/or directories that contain
-
773 # documented source files. You may enter file names like myfile.cpp or
-
774 # directories like /usr/src/myproject. Separate the files or directories with
-
775 # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
-
776 # Note: If this tag is empty the current directory is searched.
-
777 
-
778 INPUT = ../glm \
-
779  .
-
780 
-
781 # This tag can be used to specify the character encoding of the source files
-
782 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
-
783 # libiconv (or the iconv built into libc) for the transcoding. See the libiconv
-
784 # documentation (see: http://www.gnu.org/software/libiconv) for the list of
-
785 # possible encodings.
-
786 # The default value is: UTF-8.
-
787 
-
788 INPUT_ENCODING = UTF-8
-
789 
-
790 # If the value of the INPUT tag contains directories, you can use the
-
791 # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
-
792 # *.h) to filter out the source-files in the directories.
-
793 #
-
794 # Note that for custom extensions or not directly supported extensions you also
-
795 # need to set EXTENSION_MAPPING for the extension otherwise the files are not
-
796 # read by doxygen.
-
797 #
-
798 # If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
-
799 # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
-
800 # *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
-
801 # *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd,
-
802 # *.vhdl, *.ucf, *.qsf, *.as and *.js.
-
803 
-
804 FILE_PATTERNS = *.hpp \
-
805  *.doxy
-
806 
-
807 # The RECURSIVE tag can be used to specify whether or not subdirectories should
-
808 # be searched for input files as well.
-
809 # The default value is: NO.
-
810 
-
811 RECURSIVE = YES
-
812 
-
813 # The EXCLUDE tag can be used to specify files and/or directories that should be
-
814 # excluded from the INPUT source files. This way you can easily exclude a
-
815 # subdirectory from a directory tree whose root is specified with the INPUT tag.
-
816 #
-
817 # Note that relative paths are relative to the directory from which doxygen is
-
818 # run.
-
819 
-
820 EXCLUDE =
-
821 
-
822 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
-
823 # directories that are symbolic links (a Unix file system feature) are excluded
-
824 # from the input.
-
825 # The default value is: NO.
-
826 
-
827 EXCLUDE_SYMLINKS = NO
-
828 
-
829 # If the value of the INPUT tag contains directories, you can use the
-
830 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
-
831 # certain files from those directories.
-
832 #
-
833 # Note that the wildcards are matched against the file with absolute path, so to
-
834 # exclude all test directories for example use the pattern */test/*
-
835 
-
836 EXCLUDE_PATTERNS =
-
837 
-
838 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
-
839 # (namespaces, classes, functions, etc.) that should be excluded from the
-
840 # output. The symbol name can be a fully qualified name, a word, or if the
-
841 # wildcard * is used, a substring. Examples: ANamespace, AClass,
-
842 # AClass::ANamespace, ANamespace::*Test
-
843 #
-
844 # Note that the wildcards are matched against the file with absolute path, so to
-
845 # exclude all test directories use the pattern */test/*
-
846 
-
847 EXCLUDE_SYMBOLS =
-
848 
-
849 # The EXAMPLE_PATH tag can be used to specify one or more files or directories
-
850 # that contain example code fragments that are included (see the \include
-
851 # command).
-
852 
-
853 EXAMPLE_PATH =
-
854 
-
855 # If the value of the EXAMPLE_PATH tag contains directories, you can use the
-
856 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
-
857 # *.h) to filter out the source-files in the directories. If left blank all
-
858 # files are included.
-
859 
-
860 EXAMPLE_PATTERNS = *
-
861 
-
862 # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
-
863 # searched for input files to be used with the \include or \dontinclude commands
-
864 # irrespective of the value of the RECURSIVE tag.
-
865 # The default value is: NO.
-
866 
-
867 EXAMPLE_RECURSIVE = NO
-
868 
-
869 # The IMAGE_PATH tag can be used to specify one or more files or directories
-
870 # that contain images that are to be included in the documentation (see the
-
871 # \image command).
-
872 
-
873 IMAGE_PATH =
-
874 
-
875 # The INPUT_FILTER tag can be used to specify a program that doxygen should
-
876 # invoke to filter for each input file. Doxygen will invoke the filter program
-
877 # by executing (via popen()) the command:
-
878 #
-
879 # <filter> <input-file>
-
880 #
-
881 # where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
-
882 # name of an input file. Doxygen will then use the output that the filter
-
883 # program writes to standard output. If FILTER_PATTERNS is specified, this tag
-
884 # will be ignored.
-
885 #
-
886 # Note that the filter must not add or remove lines; it is applied before the
-
887 # code is scanned, but not when the output code is generated. If lines are added
-
888 # or removed, the anchors will not be placed correctly.
-
889 
-
890 INPUT_FILTER =
-
891 
-
892 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
-
893 # basis. Doxygen will compare the file name with each pattern and apply the
-
894 # filter if there is a match. The filters are a list of the form: pattern=filter
-
895 # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
-
896 # filters are used. If the FILTER_PATTERNS tag is empty or if none of the
-
897 # patterns match the file name, INPUT_FILTER is applied.
-
898 
-
899 FILTER_PATTERNS =
-
900 
-
901 # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
-
902 # INPUT_FILTER) will also be used to filter the input files that are used for
-
903 # producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
-
904 # The default value is: NO.
-
905 
-
906 FILTER_SOURCE_FILES = NO
-
907 
-
908 # The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
-
909 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
-
910 # it is also possible to disable source filtering for a specific pattern using
-
911 # *.ext= (so without naming a filter).
-
912 # This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
-
913 
-
914 FILTER_SOURCE_PATTERNS =
-
915 
-
916 # If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
-
917 # is part of the input, its contents will be placed on the main page
-
918 # (index.html). This can be useful if you have a project on for instance GitHub
-
919 # and want to reuse the introduction page also for the doxygen output.
-
920 
-
921 USE_MDFILE_AS_MAINPAGE =
-
922 
-
923 #---------------------------------------------------------------------------
-
924 # Configuration options related to source browsing
-
925 #---------------------------------------------------------------------------
-
926 
-
927 # If the SOURCE_BROWSER tag is set to YES then a list of source files will be
-
928 # generated. Documented entities will be cross-referenced with these sources.
-
929 #
-
930 # Note: To get rid of all source code in the generated output, make sure that
-
931 # also VERBATIM_HEADERS is set to NO.
-
932 # The default value is: NO.
-
933 
-
934 SOURCE_BROWSER = YES
-
935 
-
936 # Setting the INLINE_SOURCES tag to YES will include the body of functions,
-
937 # classes and enums directly into the documentation.
-
938 # The default value is: NO.
-
939 
-
940 INLINE_SOURCES = NO
-
941 
-
942 # Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
-
943 # special comment blocks from generated source code fragments. Normal C, C++ and
-
944 # Fortran comments will always remain visible.
-
945 # The default value is: YES.
-
946 
-
947 STRIP_CODE_COMMENTS = YES
-
948 
-
949 # If the REFERENCED_BY_RELATION tag is set to YES then for each documented
-
950 # function all documented functions referencing it will be listed.
-
951 # The default value is: NO.
-
952 
-
953 REFERENCED_BY_RELATION = YES
-
954 
-
955 # If the REFERENCES_RELATION tag is set to YES then for each documented function
-
956 # all documented entities called/used by that function will be listed.
-
957 # The default value is: NO.
-
958 
-
959 REFERENCES_RELATION = YES
-
960 
-
961 # If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
-
962 # to YES then the hyperlinks from functions in REFERENCES_RELATION and
-
963 # REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
-
964 # link to the documentation.
-
965 # The default value is: YES.
-
966 
-
967 REFERENCES_LINK_SOURCE = YES
-
968 
-
969 # If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
-
970 # source code will show a tooltip with additional information such as prototype,
-
971 # brief description and links to the definition and documentation. Since this
-
972 # will make the HTML file larger and loading of large files a bit slower, you
-
973 # can opt to disable this feature.
-
974 # The default value is: YES.
-
975 # This tag requires that the tag SOURCE_BROWSER is set to YES.
-
976 
-
977 SOURCE_TOOLTIPS = YES
-
978 
-
979 # If the USE_HTAGS tag is set to YES then the references to source code will
-
980 # point to the HTML generated by the htags(1) tool instead of doxygen built-in
-
981 # source browser. The htags tool is part of GNU's global source tagging system
-
982 # (see http://www.gnu.org/software/global/global.html). You will need version
-
983 # 4.8.6 or higher.
-
984 #
-
985 # To use it do the following:
-
986 # - Install the latest version of global
-
987 # - Enable SOURCE_BROWSER and USE_HTAGS in the config file
-
988 # - Make sure the INPUT points to the root of the source tree
-
989 # - Run doxygen as normal
-
990 #
-
991 # Doxygen will invoke htags (and that will in turn invoke gtags), so these
-
992 # tools must be available from the command line (i.e. in the search path).
-
993 #
-
994 # The result: instead of the source browser generated by doxygen, the links to
-
995 # source code will now point to the output of htags.
-
996 # The default value is: NO.
-
997 # This tag requires that the tag SOURCE_BROWSER is set to YES.
-
998 
-
999 USE_HTAGS = NO
-
1000 
-
1001 # If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
-
1002 # verbatim copy of the header file for each class for which an include is
-
1003 # specified. Set to NO to disable this.
-
1004 # See also: Section \class.
-
1005 # The default value is: YES.
-
1006 
-
1007 VERBATIM_HEADERS = YES
-
1008 
-
1009 # If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
-
1010 # clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
-
1011 # cost of reduced performance. This can be particularly helpful with template
-
1012 # rich C++ code for which doxygen's built-in parser lacks the necessary type
-
1013 # information.
-
1014 # Note: The availability of this option depends on whether or not doxygen was
-
1015 # compiled with the --with-libclang option.
-
1016 # The default value is: NO.
-
1017 
-
1018 CLANG_ASSISTED_PARSING = NO
-
1019 
-
1020 # If clang assisted parsing is enabled you can provide the compiler with command
-
1021 # line options that you would normally use when invoking the compiler. Note that
-
1022 # the include paths will already be set by doxygen for the files and directories
-
1023 # specified with INPUT and INCLUDE_PATH.
-
1024 # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
-
1025 
-
1026 CLANG_OPTIONS =
-
1027 
-
1028 #---------------------------------------------------------------------------
-
1029 # Configuration options related to the alphabetical class index
-
1030 #---------------------------------------------------------------------------
-
1031 
-
1032 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
-
1033 # compounds will be generated. Enable this if the project contains a lot of
-
1034 # classes, structs, unions or interfaces.
-
1035 # The default value is: YES.
-
1036 
-
1037 ALPHABETICAL_INDEX = NO
-
1038 
-
1039 # The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
-
1040 # which the alphabetical index list will be split.
-
1041 # Minimum value: 1, maximum value: 20, default value: 5.
-
1042 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
1043 
-
1044 COLS_IN_ALPHA_INDEX = 5
-
1045 
-
1046 # In case all classes in a project start with a common prefix, all classes will
-
1047 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
-
1048 # can be used to specify a prefix (or a list of prefixes) that should be ignored
-
1049 # while generating the index headers.
-
1050 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
-
1051 
-
1052 IGNORE_PREFIX =
-
1053 
-
1054 #---------------------------------------------------------------------------
-
1055 # Configuration options related to the HTML output
-
1056 #---------------------------------------------------------------------------
-
1057 
-
1058 # If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
-
1059 # The default value is: YES.
-
1060 
-
1061 GENERATE_HTML = YES
-
1062 
-
1063 # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
-
1064 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-
1065 # it.
-
1066 # The default directory is: html.
-
1067 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1068 
-
1069 HTML_OUTPUT = html
-
1070 
-
1071 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
-
1072 # generated HTML page (for example: .htm, .php, .asp).
-
1073 # The default value is: .html.
-
1074 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1075 
-
1076 HTML_FILE_EXTENSION = .html
-
1077 
-
1078 # The HTML_HEADER tag can be used to specify a user-defined HTML header file for
-
1079 # each generated HTML page. If the tag is left blank doxygen will generate a
-
1080 # standard header.
-
1081 #
-
1082 # To get valid HTML the header file that includes any scripts and style sheets
-
1083 # that doxygen needs, which is dependent on the configuration options used (e.g.
-
1084 # the setting GENERATE_TREEVIEW). It is highly recommended to start with a
-
1085 # default header using
-
1086 # doxygen -w html new_header.html new_footer.html new_stylesheet.css
-
1087 # YourConfigFile
-
1088 # and then modify the file new_header.html. See also section "Doxygen usage"
-
1089 # for information on how to generate the default header that doxygen normally
-
1090 # uses.
-
1091 # Note: The header is subject to change so you typically have to regenerate the
-
1092 # default header when upgrading to a newer version of doxygen. For a description
-
1093 # of the possible markers and block names see the documentation.
-
1094 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1095 
-
1096 HTML_HEADER =
-
1097 
-
1098 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
-
1099 # generated HTML page. If the tag is left blank doxygen will generate a standard
-
1100 # footer. See HTML_HEADER for more information on how to generate a default
-
1101 # footer and what special commands can be used inside the footer. See also
-
1102 # section "Doxygen usage" for information on how to generate the default footer
-
1103 # that doxygen normally uses.
-
1104 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1105 
-
1106 HTML_FOOTER =
-
1107 
-
1108 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
-
1109 # sheet that is used by each HTML page. It can be used to fine-tune the look of
-
1110 # the HTML output. If left blank doxygen will generate a default style sheet.
-
1111 # See also section "Doxygen usage" for information on how to generate the style
-
1112 # sheet that doxygen normally uses.
-
1113 # Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
-
1114 # it is more robust and this tag (HTML_STYLESHEET) will in the future become
-
1115 # obsolete.
-
1116 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1117 
-
1118 HTML_STYLESHEET =
-
1119 
-
1120 # The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
-
1121 # cascading style sheets that are included after the standard style sheets
-
1122 # created by doxygen. Using this option one can overrule certain style aspects.
-
1123 # This is preferred over using HTML_STYLESHEET since it does not replace the
-
1124 # standard style sheet and is therefore more robust against future updates.
-
1125 # Doxygen will copy the style sheet files to the output directory.
-
1126 # Note: The order of the extra style sheet files is of importance (e.g. the last
-
1127 # style sheet in the list overrules the setting of the previous ones in the
-
1128 # list). For an example see the documentation.
-
1129 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1130 
-
1131 HTML_EXTRA_STYLESHEET =
-
1132 
-
1133 # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
-
1134 # other source files which should be copied to the HTML output directory. Note
-
1135 # that these files will be copied to the base HTML output directory. Use the
-
1136 # $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
-
1137 # files. In the HTML_STYLESHEET file, use the file name only. Also note that the
-
1138 # files will be copied as-is; there are no commands or markers available.
-
1139 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1140 
-
1141 HTML_EXTRA_FILES =
-
1142 
-
1143 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
-
1144 # will adjust the colors in the style sheet and background images according to
-
1145 # this color. Hue is specified as an angle on a colorwheel, see
-
1146 # http://en.wikipedia.org/wiki/Hue for more information. For instance the value
-
1147 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
-
1148 # purple, and 360 is red again.
-
1149 # Minimum value: 0, maximum value: 359, default value: 220.
-
1150 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1151 
-
1152 HTML_COLORSTYLE_HUE = 220
-
1153 
-
1154 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
-
1155 # in the HTML output. For a value of 0 the output will use grayscales only. A
-
1156 # value of 255 will produce the most vivid colors.
-
1157 # Minimum value: 0, maximum value: 255, default value: 100.
-
1158 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1159 
-
1160 HTML_COLORSTYLE_SAT = 100
-
1161 
-
1162 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
-
1163 # luminance component of the colors in the HTML output. Values below 100
-
1164 # gradually make the output lighter, whereas values above 100 make the output
-
1165 # darker. The value divided by 100 is the actual gamma applied, so 80 represents
-
1166 # a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
-
1167 # change the gamma.
-
1168 # Minimum value: 40, maximum value: 240, default value: 80.
-
1169 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1170 
-
1171 HTML_COLORSTYLE_GAMMA = 80
-
1172 
-
1173 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
-
1174 # page will contain the date and time when the page was generated. Setting this
-
1175 # to YES can help to show when doxygen was last run and thus if the
-
1176 # documentation is up to date.
-
1177 # The default value is: NO.
-
1178 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1179 
-
1180 HTML_TIMESTAMP = NO
-
1181 
-
1182 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
-
1183 # documentation will contain sections that can be hidden and shown after the
-
1184 # page has loaded.
-
1185 # The default value is: NO.
-
1186 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1187 
-
1188 HTML_DYNAMIC_SECTIONS = NO
-
1189 
-
1190 # With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
-
1191 # shown in the various tree structured indices initially; the user can expand
-
1192 # and collapse entries dynamically later on. Doxygen will expand the tree to
-
1193 # such a level that at most the specified number of entries are visible (unless
-
1194 # a fully collapsed tree already exceeds this amount). So setting the number of
-
1195 # entries 1 will produce a full collapsed tree by default. 0 is a special value
-
1196 # representing an infinite number of entries and will result in a full expanded
-
1197 # tree by default.
-
1198 # Minimum value: 0, maximum value: 9999, default value: 100.
-
1199 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1200 
-
1201 HTML_INDEX_NUM_ENTRIES = 100
-
1202 
-
1203 # If the GENERATE_DOCSET tag is set to YES, additional index files will be
-
1204 # generated that can be used as input for Apple's Xcode 3 integrated development
-
1205 # environment (see: http://developer.apple.com/tools/xcode/), introduced with
-
1206 # OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
-
1207 # Makefile in the HTML output directory. Running make will produce the docset in
-
1208 # that directory and running make install will install the docset in
-
1209 # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
-
1210 # startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
-
1211 # for more information.
-
1212 # The default value is: NO.
-
1213 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1214 
-
1215 GENERATE_DOCSET = NO
-
1216 
-
1217 # This tag determines the name of the docset feed. A documentation feed provides
-
1218 # an umbrella under which multiple documentation sets from a single provider
-
1219 # (such as a company or product suite) can be grouped.
-
1220 # The default value is: Doxygen generated docs.
-
1221 # This tag requires that the tag GENERATE_DOCSET is set to YES.
-
1222 
-
1223 DOCSET_FEEDNAME = "Doxygen generated docs"
-
1224 
-
1225 # This tag specifies a string that should uniquely identify the documentation
-
1226 # set bundle. This should be a reverse domain-name style string, e.g.
-
1227 # com.mycompany.MyDocSet. Doxygen will append .docset to the name.
-
1228 # The default value is: org.doxygen.Project.
-
1229 # This tag requires that the tag GENERATE_DOCSET is set to YES.
-
1230 
-
1231 DOCSET_BUNDLE_ID = org.doxygen.Project
-
1232 
-
1233 # The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
-
1234 # the documentation publisher. This should be a reverse domain-name style
-
1235 # string, e.g. com.mycompany.MyDocSet.documentation.
-
1236 # The default value is: org.doxygen.Publisher.
-
1237 # This tag requires that the tag GENERATE_DOCSET is set to YES.
-
1238 
-
1239 DOCSET_PUBLISHER_ID = org.doxygen.Publisher
-
1240 
-
1241 # The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
-
1242 # The default value is: Publisher.
-
1243 # This tag requires that the tag GENERATE_DOCSET is set to YES.
-
1244 
-
1245 DOCSET_PUBLISHER_NAME = Publisher
-
1246 
-
1247 # If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
-
1248 # additional HTML index files: index.hhp, index.hhc, and index.hhk. The
-
1249 # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
-
1250 # (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
-
1251 # Windows.
-
1252 #
-
1253 # The HTML Help Workshop contains a compiler that can convert all HTML output
-
1254 # generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
-
1255 # files are now used as the Windows 98 help format, and will replace the old
-
1256 # Windows help format (.hlp) on all Windows platforms in the future. Compressed
-
1257 # HTML files also contain an index, a table of contents, and you can search for
-
1258 # words in the documentation. The HTML workshop also contains a viewer for
-
1259 # compressed HTML files.
-
1260 # The default value is: NO.
-
1261 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1262 
-
1263 GENERATE_HTMLHELP = NO
-
1264 
-
1265 # The CHM_FILE tag can be used to specify the file name of the resulting .chm
-
1266 # file. You can add a path in front of the file if the result should not be
-
1267 # written to the html output directory.
-
1268 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
1269 
-
1270 CHM_FILE =
-
1271 
-
1272 # The HHC_LOCATION tag can be used to specify the location (absolute path
-
1273 # including file name) of the HTML help compiler (hhc.exe). If non-empty,
-
1274 # doxygen will try to run the HTML help compiler on the generated index.hhp.
-
1275 # The file has to be specified with full path.
-
1276 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
1277 
-
1278 HHC_LOCATION =
-
1279 
-
1280 # The GENERATE_CHI flag controls if a separate .chi index file is generated
-
1281 # (YES) or that it should be included in the master .chm file (NO).
-
1282 # The default value is: NO.
-
1283 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
1284 
-
1285 GENERATE_CHI = NO
-
1286 
-
1287 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
-
1288 # and project file content.
-
1289 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
1290 
-
1291 CHM_INDEX_ENCODING =
-
1292 
-
1293 # The BINARY_TOC flag controls whether a binary table of contents is generated
-
1294 # (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
-
1295 # enables the Previous and Next buttons.
-
1296 # The default value is: NO.
-
1297 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
1298 
-
1299 BINARY_TOC = NO
-
1300 
-
1301 # The TOC_EXPAND flag can be set to YES to add extra items for group members to
-
1302 # the table of contents of the HTML help documentation and to the tree view.
-
1303 # The default value is: NO.
-
1304 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
-
1305 
-
1306 TOC_EXPAND = NO
-
1307 
-
1308 # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
-
1309 # QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
-
1310 # can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
-
1311 # (.qch) of the generated HTML documentation.
-
1312 # The default value is: NO.
-
1313 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1314 
-
1315 GENERATE_QHP = NO
-
1316 
-
1317 # If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
-
1318 # the file name of the resulting .qch file. The path specified is relative to
-
1319 # the HTML output folder.
-
1320 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1321 
-
1322 QCH_FILE =
-
1323 
-
1324 # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
-
1325 # Project output. For more information please see Qt Help Project / Namespace
-
1326 # (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
-
1327 # The default value is: org.doxygen.Project.
-
1328 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1329 
-
1330 QHP_NAMESPACE = org.doxygen.Project
-
1331 
-
1332 # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
-
1333 # Help Project output. For more information please see Qt Help Project / Virtual
-
1334 # Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
-
1335 # folders).
-
1336 # The default value is: doc.
-
1337 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1338 
-
1339 QHP_VIRTUAL_FOLDER = doc
-
1340 
-
1341 # If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
-
1342 # filter to add. For more information please see Qt Help Project / Custom
-
1343 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-
1344 # filters).
-
1345 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1346 
-
1347 QHP_CUST_FILTER_NAME =
-
1348 
-
1349 # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
-
1350 # custom filter to add. For more information please see Qt Help Project / Custom
-
1351 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
-
1352 # filters).
-
1353 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1354 
-
1355 QHP_CUST_FILTER_ATTRS =
-
1356 
-
1357 # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
-
1358 # project's filter section matches. Qt Help Project / Filter Attributes (see:
-
1359 # http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
-
1360 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1361 
-
1362 QHP_SECT_FILTER_ATTRS =
-
1363 
-
1364 # The QHG_LOCATION tag can be used to specify the location of Qt's
-
1365 # qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
-
1366 # generated .qhp file.
-
1367 # This tag requires that the tag GENERATE_QHP is set to YES.
-
1368 
-
1369 QHG_LOCATION =
-
1370 
-
1371 # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
-
1372 # generated, together with the HTML files, they form an Eclipse help plugin. To
-
1373 # install this plugin and make it available under the help contents menu in
-
1374 # Eclipse, the contents of the directory containing the HTML and XML files needs
-
1375 # to be copied into the plugins directory of eclipse. The name of the directory
-
1376 # within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
-
1377 # After copying Eclipse needs to be restarted before the help appears.
-
1378 # The default value is: NO.
-
1379 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1380 
-
1381 GENERATE_ECLIPSEHELP = NO
-
1382 
-
1383 # A unique identifier for the Eclipse help plugin. When installing the plugin
-
1384 # the directory name containing the HTML and XML files should also have this
-
1385 # name. Each documentation set should have its own identifier.
-
1386 # The default value is: org.doxygen.Project.
-
1387 # This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
-
1388 
-
1389 ECLIPSE_DOC_ID = org.doxygen.Project
-
1390 
-
1391 # If you want full control over the layout of the generated HTML pages it might
-
1392 # be necessary to disable the index and replace it with your own. The
-
1393 # DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
-
1394 # of each HTML page. A value of NO enables the index and the value YES disables
-
1395 # it. Since the tabs in the index contain the same information as the navigation
-
1396 # tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
-
1397 # The default value is: NO.
-
1398 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1399 
-
1400 DISABLE_INDEX = NO
-
1401 
-
1402 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
-
1403 # structure should be generated to display hierarchical information. If the tag
-
1404 # value is set to YES, a side panel will be generated containing a tree-like
-
1405 # index structure (just like the one that is generated for HTML Help). For this
-
1406 # to work a browser that supports JavaScript, DHTML, CSS and frames is required
-
1407 # (i.e. any modern browser). Windows users are probably better off using the
-
1408 # HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
-
1409 # further fine-tune the look of the index. As an example, the default style
-
1410 # sheet generated by doxygen has an example that shows how to put an image at
-
1411 # the root of the tree instead of the PROJECT_NAME. Since the tree basically has
-
1412 # the same information as the tab index, you could consider setting
-
1413 # DISABLE_INDEX to YES when enabling this option.
-
1414 # The default value is: NO.
-
1415 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1416 
-
1417 GENERATE_TREEVIEW = NO
-
1418 
-
1419 # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
-
1420 # doxygen will group on one line in the generated HTML documentation.
-
1421 #
-
1422 # Note that a value of 0 will completely suppress the enum values from appearing
-
1423 # in the overview section.
-
1424 # Minimum value: 0, maximum value: 20, default value: 4.
-
1425 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1426 
-
1427 ENUM_VALUES_PER_LINE = 4
-
1428 
-
1429 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
-
1430 # to set the initial width (in pixels) of the frame in which the tree is shown.
-
1431 # Minimum value: 0, maximum value: 1500, default value: 250.
-
1432 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1433 
-
1434 TREEVIEW_WIDTH = 250
-
1435 
-
1436 # If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
-
1437 # external symbols imported via tag files in a separate window.
-
1438 # The default value is: NO.
-
1439 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1440 
-
1441 EXT_LINKS_IN_WINDOW = NO
-
1442 
-
1443 # Use this tag to change the font size of LaTeX formulas included as images in
-
1444 # the HTML documentation. When you change the font size after a successful
-
1445 # doxygen run you need to manually remove any form_*.png images from the HTML
-
1446 # output directory to force them to be regenerated.
-
1447 # Minimum value: 8, maximum value: 50, default value: 10.
-
1448 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1449 
-
1450 FORMULA_FONTSIZE = 10
-
1451 
-
1452 # Use the FORMULA_TRANPARENT tag to determine whether or not the images
-
1453 # generated for formulas are transparent PNGs. Transparent PNGs are not
-
1454 # supported properly for IE 6.0, but are supported on all modern browsers.
-
1455 #
-
1456 # Note that when changing this option you need to delete any form_*.png files in
-
1457 # the HTML output directory before the changes have effect.
-
1458 # The default value is: YES.
-
1459 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1460 
-
1461 FORMULA_TRANSPARENT = YES
-
1462 
-
1463 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
-
1464 # http://www.mathjax.org) which uses client side Javascript for the rendering
-
1465 # instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
-
1466 # installed or if you want to formulas look prettier in the HTML output. When
-
1467 # enabled you may also need to install MathJax separately and configure the path
-
1468 # to it using the MATHJAX_RELPATH option.
-
1469 # The default value is: NO.
-
1470 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1471 
-
1472 USE_MATHJAX = NO
-
1473 
-
1474 # When MathJax is enabled you can set the default output format to be used for
-
1475 # the MathJax output. See the MathJax site (see:
-
1476 # http://docs.mathjax.org/en/latest/output.html) for more details.
-
1477 # Possible values are: HTML-CSS (which is slower, but has the best
-
1478 # compatibility), NativeMML (i.e. MathML) and SVG.
-
1479 # The default value is: HTML-CSS.
-
1480 # This tag requires that the tag USE_MATHJAX is set to YES.
-
1481 
-
1482 MATHJAX_FORMAT = HTML-CSS
-
1483 
-
1484 # When MathJax is enabled you need to specify the location relative to the HTML
-
1485 # output directory using the MATHJAX_RELPATH option. The destination directory
-
1486 # should contain the MathJax.js script. For instance, if the mathjax directory
-
1487 # is located at the same level as the HTML output directory, then
-
1488 # MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
-
1489 # Content Delivery Network so you can quickly see the result without installing
-
1490 # MathJax. However, it is strongly recommended to install a local copy of
-
1491 # MathJax from http://www.mathjax.org before deployment.
-
1492 # The default value is: http://cdn.mathjax.org/mathjax/latest.
-
1493 # This tag requires that the tag USE_MATHJAX is set to YES.
-
1494 
-
1495 MATHJAX_RELPATH = http://www.mathjax.org/mathjax
-
1496 
-
1497 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
-
1498 # extension names that should be enabled during MathJax rendering. For example
-
1499 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
-
1500 # This tag requires that the tag USE_MATHJAX is set to YES.
-
1501 
-
1502 MATHJAX_EXTENSIONS =
-
1503 
-
1504 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
-
1505 # of code that will be used on startup of the MathJax code. See the MathJax site
-
1506 # (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
-
1507 # example see the documentation.
-
1508 # This tag requires that the tag USE_MATHJAX is set to YES.
-
1509 
-
1510 MATHJAX_CODEFILE =
-
1511 
-
1512 # When the SEARCHENGINE tag is enabled doxygen will generate a search box for
-
1513 # the HTML output. The underlying search engine uses javascript and DHTML and
-
1514 # should work on any modern browser. Note that when using HTML help
-
1515 # (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
-
1516 # there is already a search function so this one should typically be disabled.
-
1517 # For large projects the javascript based search engine can be slow, then
-
1518 # enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
-
1519 # search using the keyboard; to jump to the search box use <access key> + S
-
1520 # (what the <access key> is depends on the OS and browser, but it is typically
-
1521 # <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
-
1522 # key> to jump into the search results window, the results can be navigated
-
1523 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
-
1524 # the search. The filter options can be selected when the cursor is inside the
-
1525 # search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
-
1526 # to select a filter and <Enter> or <escape> to activate or cancel the filter
-
1527 # option.
-
1528 # The default value is: YES.
-
1529 # This tag requires that the tag GENERATE_HTML is set to YES.
-
1530 
-
1531 SEARCHENGINE = YES
-
1532 
-
1533 # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
-
1534 # implemented using a web server instead of a web client using Javascript. There
-
1535 # are two flavors of web server based searching depending on the EXTERNAL_SEARCH
-
1536 # setting. When disabled, doxygen will generate a PHP script for searching and
-
1537 # an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
-
1538 # and searching needs to be provided by external tools. See the section
-
1539 # "External Indexing and Searching" for details.
-
1540 # The default value is: NO.
-
1541 # This tag requires that the tag SEARCHENGINE is set to YES.
-
1542 
-
1543 SERVER_BASED_SEARCH = NO
-
1544 
-
1545 # When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
-
1546 # script for searching. Instead the search results are written to an XML file
-
1547 # which needs to be processed by an external indexer. Doxygen will invoke an
-
1548 # external search engine pointed to by the SEARCHENGINE_URL option to obtain the
-
1549 # search results.
-
1550 #
-
1551 # Doxygen ships with an example indexer (doxyindexer) and search engine
-
1552 # (doxysearch.cgi) which are based on the open source search engine library
-
1553 # Xapian (see: http://xapian.org/).
-
1554 #
-
1555 # See the section "External Indexing and Searching" for details.
-
1556 # The default value is: NO.
-
1557 # This tag requires that the tag SEARCHENGINE is set to YES.
-
1558 
-
1559 EXTERNAL_SEARCH = NO
-
1560 
-
1561 # The SEARCHENGINE_URL should point to a search engine hosted by a web server
-
1562 # which will return the search results when EXTERNAL_SEARCH is enabled.
-
1563 #
-
1564 # Doxygen ships with an example indexer (doxyindexer) and search engine
-
1565 # (doxysearch.cgi) which are based on the open source search engine library
-
1566 # Xapian (see: http://xapian.org/). See the section "External Indexing and
-
1567 # Searching" for details.
-
1568 # This tag requires that the tag SEARCHENGINE is set to YES.
-
1569 
-
1570 SEARCHENGINE_URL =
-
1571 
-
1572 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
-
1573 # search data is written to a file for indexing by an external tool. With the
-
1574 # SEARCHDATA_FILE tag the name of this file can be specified.
-
1575 # The default file is: searchdata.xml.
-
1576 # This tag requires that the tag SEARCHENGINE is set to YES.
-
1577 
-
1578 SEARCHDATA_FILE = searchdata.xml
-
1579 
-
1580 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
-
1581 # EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
-
1582 # useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
-
1583 # projects and redirect the results back to the right project.
-
1584 # This tag requires that the tag SEARCHENGINE is set to YES.
-
1585 
-
1586 EXTERNAL_SEARCH_ID =
-
1587 
-
1588 # The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
-
1589 # projects other than the one defined by this configuration file, but that are
-
1590 # all added to the same external search index. Each project needs to have a
-
1591 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
-
1592 # to a relative location where the documentation can be found. The format is:
-
1593 # EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
-
1594 # This tag requires that the tag SEARCHENGINE is set to YES.
-
1595 
-
1596 EXTRA_SEARCH_MAPPINGS =
-
1597 
-
1598 #---------------------------------------------------------------------------
-
1599 # Configuration options related to the LaTeX output
-
1600 #---------------------------------------------------------------------------
-
1601 
-
1602 # If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
-
1603 # The default value is: YES.
-
1604 
-
1605 GENERATE_LATEX = NO
-
1606 
-
1607 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
-
1608 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-
1609 # it.
-
1610 # The default directory is: latex.
-
1611 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1612 
-
1613 LATEX_OUTPUT = latex
-
1614 
-
1615 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
-
1616 # invoked.
-
1617 #
-
1618 # Note that when enabling USE_PDFLATEX this option is only used for generating
-
1619 # bitmaps for formulas in the HTML output, but not in the Makefile that is
-
1620 # written to the output directory.
-
1621 # The default file is: latex.
-
1622 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1623 
-
1624 LATEX_CMD_NAME = latex
-
1625 
-
1626 # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
-
1627 # index for LaTeX.
-
1628 # The default file is: makeindex.
-
1629 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1630 
-
1631 MAKEINDEX_CMD_NAME = makeindex
-
1632 
-
1633 # If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
-
1634 # documents. This may be useful for small projects and may help to save some
-
1635 # trees in general.
-
1636 # The default value is: NO.
-
1637 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1638 
-
1639 COMPACT_LATEX = NO
-
1640 
-
1641 # The PAPER_TYPE tag can be used to set the paper type that is used by the
-
1642 # printer.
-
1643 # Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
-
1644 # 14 inches) and executive (7.25 x 10.5 inches).
-
1645 # The default value is: a4.
-
1646 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1647 
-
1648 PAPER_TYPE = a4wide
-
1649 
-
1650 # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
-
1651 # that should be included in the LaTeX output. The package can be specified just
-
1652 # by its name or with the correct syntax as to be used with the LaTeX
-
1653 # \usepackage command. To get the times font for instance you can specify :
-
1654 # EXTRA_PACKAGES=times or EXTRA_PACKAGES={times}
-
1655 # To use the option intlimits with the amsmath package you can specify:
-
1656 # EXTRA_PACKAGES=[intlimits]{amsmath}
-
1657 # If left blank no extra packages will be included.
-
1658 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1659 
-
1660 EXTRA_PACKAGES =
-
1661 
-
1662 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
-
1663 # generated LaTeX document. The header should contain everything until the first
-
1664 # chapter. If it is left blank doxygen will generate a standard header. See
-
1665 # section "Doxygen usage" for information on how to let doxygen write the
-
1666 # default header to a separate file.
-
1667 #
-
1668 # Note: Only use a user-defined header if you know what you are doing! The
-
1669 # following commands have a special meaning inside the header: $title,
-
1670 # $datetime, $date, $doxygenversion, $projectname, $projectnumber,
-
1671 # $projectbrief, $projectlogo. Doxygen will replace $title with the empty
-
1672 # string, for the replacement values of the other commands the user is referred
-
1673 # to HTML_HEADER.
-
1674 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1675 
-
1676 LATEX_HEADER =
-
1677 
-
1678 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
-
1679 # generated LaTeX document. The footer should contain everything after the last
-
1680 # chapter. If it is left blank doxygen will generate a standard footer. See
-
1681 # LATEX_HEADER for more information on how to generate a default footer and what
-
1682 # special commands can be used inside the footer.
-
1683 #
-
1684 # Note: Only use a user-defined footer if you know what you are doing!
-
1685 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1686 
-
1687 LATEX_FOOTER =
-
1688 
-
1689 # The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
-
1690 # LaTeX style sheets that are included after the standard style sheets created
-
1691 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
-
1692 # will copy the style sheet files to the output directory.
-
1693 # Note: The order of the extra style sheet files is of importance (e.g. the last
-
1694 # style sheet in the list overrules the setting of the previous ones in the
-
1695 # list).
-
1696 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1697 
-
1698 LATEX_EXTRA_STYLESHEET =
-
1699 
-
1700 # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
-
1701 # other source files which should be copied to the LATEX_OUTPUT output
-
1702 # directory. Note that the files will be copied as-is; there are no commands or
-
1703 # markers available.
-
1704 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1705 
-
1706 LATEX_EXTRA_FILES =
-
1707 
-
1708 # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
-
1709 # prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
-
1710 # contain links (just like the HTML output) instead of page references. This
-
1711 # makes the output suitable for online browsing using a PDF viewer.
-
1712 # The default value is: YES.
-
1713 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1714 
-
1715 PDF_HYPERLINKS = NO
-
1716 
-
1717 # If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
-
1718 # the PDF file directly from the LaTeX files. Set this option to YES, to get a
-
1719 # higher quality PDF documentation.
-
1720 # The default value is: YES.
-
1721 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1722 
-
1723 USE_PDFLATEX = YES
-
1724 
-
1725 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
-
1726 # command to the generated LaTeX files. This will instruct LaTeX to keep running
-
1727 # if errors occur, instead of asking the user for help. This option is also used
-
1728 # when generating formulas in HTML.
-
1729 # The default value is: NO.
-
1730 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1731 
-
1732 LATEX_BATCHMODE = NO
-
1733 
-
1734 # If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
-
1735 # index chapters (such as File Index, Compound Index, etc.) in the output.
-
1736 # The default value is: NO.
-
1737 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1738 
-
1739 LATEX_HIDE_INDICES = NO
-
1740 
-
1741 # If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
-
1742 # code with syntax highlighting in the LaTeX output.
-
1743 #
-
1744 # Note that which sources are shown also depends on other settings such as
-
1745 # SOURCE_BROWSER.
-
1746 # The default value is: NO.
-
1747 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1748 
-
1749 LATEX_SOURCE_CODE = NO
-
1750 
-
1751 # The LATEX_BIB_STYLE tag can be used to specify the style to use for the
-
1752 # bibliography, e.g. plainnat, or ieeetr. See
-
1753 # http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
-
1754 # The default value is: plain.
-
1755 # This tag requires that the tag GENERATE_LATEX is set to YES.
-
1756 
-
1757 LATEX_BIB_STYLE = plain
-
1758 
-
1759 #---------------------------------------------------------------------------
-
1760 # Configuration options related to the RTF output
-
1761 #---------------------------------------------------------------------------
-
1762 
-
1763 # If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
-
1764 # RTF output is optimized for Word 97 and may not look too pretty with other RTF
-
1765 # readers/editors.
-
1766 # The default value is: NO.
-
1767 
-
1768 GENERATE_RTF = NO
-
1769 
-
1770 # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
-
1771 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-
1772 # it.
-
1773 # The default directory is: rtf.
-
1774 # This tag requires that the tag GENERATE_RTF is set to YES.
-
1775 
-
1776 RTF_OUTPUT = glm.rtf
-
1777 
-
1778 # If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
-
1779 # documents. This may be useful for small projects and may help to save some
-
1780 # trees in general.
-
1781 # The default value is: NO.
-
1782 # This tag requires that the tag GENERATE_RTF is set to YES.
-
1783 
-
1784 COMPACT_RTF = NO
-
1785 
-
1786 # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
-
1787 # contain hyperlink fields. The RTF file will contain links (just like the HTML
-
1788 # output) instead of page references. This makes the output suitable for online
-
1789 # browsing using Word or some other Word compatible readers that support those
-
1790 # fields.
-
1791 #
-
1792 # Note: WordPad (write) and others do not support links.
-
1793 # The default value is: NO.
-
1794 # This tag requires that the tag GENERATE_RTF is set to YES.
-
1795 
-
1796 RTF_HYPERLINKS = YES
-
1797 
-
1798 # Load stylesheet definitions from file. Syntax is similar to doxygen's config
-
1799 # file, i.e. a series of assignments. You only have to provide replacements,
-
1800 # missing definitions are set to their default value.
-
1801 #
-
1802 # See also section "Doxygen usage" for information on how to generate the
-
1803 # default style sheet that doxygen normally uses.
-
1804 # This tag requires that the tag GENERATE_RTF is set to YES.
-
1805 
-
1806 RTF_STYLESHEET_FILE =
-
1807 
-
1808 # Set optional variables used in the generation of an RTF document. Syntax is
-
1809 # similar to doxygen's config file. A template extensions file can be generated
-
1810 # using doxygen -e rtf extensionFile.
-
1811 # This tag requires that the tag GENERATE_RTF is set to YES.
-
1812 
-
1813 RTF_EXTENSIONS_FILE =
-
1814 
-
1815 # If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
-
1816 # with syntax highlighting in the RTF output.
-
1817 #
-
1818 # Note that which sources are shown also depends on other settings such as
-
1819 # SOURCE_BROWSER.
-
1820 # The default value is: NO.
-
1821 # This tag requires that the tag GENERATE_RTF is set to YES.
-
1822 
-
1823 RTF_SOURCE_CODE = NO
-
1824 
-
1825 #---------------------------------------------------------------------------
-
1826 # Configuration options related to the man page output
-
1827 #---------------------------------------------------------------------------
-
1828 
-
1829 # If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
-
1830 # classes and files.
-
1831 # The default value is: NO.
-
1832 
-
1833 GENERATE_MAN = NO
-
1834 
-
1835 # The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
-
1836 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-
1837 # it. A directory man3 will be created inside the directory specified by
-
1838 # MAN_OUTPUT.
-
1839 # The default directory is: man.
-
1840 # This tag requires that the tag GENERATE_MAN is set to YES.
-
1841 
-
1842 MAN_OUTPUT = man
-
1843 
-
1844 # The MAN_EXTENSION tag determines the extension that is added to the generated
-
1845 # man pages. In case the manual section does not start with a number, the number
-
1846 # 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
-
1847 # optional.
-
1848 # The default value is: .3.
-
1849 # This tag requires that the tag GENERATE_MAN is set to YES.
-
1850 
-
1851 MAN_EXTENSION = .3
-
1852 
-
1853 # The MAN_SUBDIR tag determines the name of the directory created within
-
1854 # MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
-
1855 # MAN_EXTENSION with the initial . removed.
-
1856 # This tag requires that the tag GENERATE_MAN is set to YES.
-
1857 
-
1858 MAN_SUBDIR =
-
1859 
-
1860 # If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
-
1861 # will generate one additional man file for each entity documented in the real
-
1862 # man page(s). These additional files only source the real man page, but without
-
1863 # them the man command would be unable to find the correct page.
-
1864 # The default value is: NO.
-
1865 # This tag requires that the tag GENERATE_MAN is set to YES.
-
1866 
-
1867 MAN_LINKS = NO
-
1868 
-
1869 #---------------------------------------------------------------------------
-
1870 # Configuration options related to the XML output
-
1871 #---------------------------------------------------------------------------
-
1872 
-
1873 # If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
-
1874 # captures the structure of the code including all documentation.
-
1875 # The default value is: NO.
-
1876 
-
1877 GENERATE_XML = NO
-
1878 
-
1879 # The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
-
1880 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
-
1881 # it.
-
1882 # The default directory is: xml.
-
1883 # This tag requires that the tag GENERATE_XML is set to YES.
-
1884 
-
1885 XML_OUTPUT = xml
-
1886 
-
1887 # If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
-
1888 # listings (including syntax highlighting and cross-referencing information) to
-
1889 # the XML output. Note that enabling this will significantly increase the size
-
1890 # of the XML output.
-
1891 # The default value is: YES.
-
1892 # This tag requires that the tag GENERATE_XML is set to YES.
-
1893 
-
1894 XML_PROGRAMLISTING = YES
-
1895 
-
1896 #---------------------------------------------------------------------------
-
1897 # Configuration options related to the DOCBOOK output
-
1898 #---------------------------------------------------------------------------
-
1899 
-
1900 # If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
-
1901 # that can be used to generate PDF.
-
1902 # The default value is: NO.
-
1903 
-
1904 GENERATE_DOCBOOK = NO
-
1905 
-
1906 # The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
-
1907 # If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
-
1908 # front of it.
-
1909 # The default directory is: docbook.
-
1910 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
1911 
-
1912 DOCBOOK_OUTPUT = docbook
-
1913 
-
1914 # If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
-
1915 # program listings (including syntax highlighting and cross-referencing
-
1916 # information) to the DOCBOOK output. Note that enabling this will significantly
-
1917 # increase the size of the DOCBOOK output.
-
1918 # The default value is: NO.
-
1919 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
-
1920 
-
1921 DOCBOOK_PROGRAMLISTING = NO
-
1922 
-
1923 #---------------------------------------------------------------------------
-
1924 # Configuration options for the AutoGen Definitions output
-
1925 #---------------------------------------------------------------------------
-
1926 
-
1927 # If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
-
1928 # AutoGen Definitions (see http://autogen.sf.net) file that captures the
-
1929 # structure of the code including all documentation. Note that this feature is
-
1930 # still experimental and incomplete at the moment.
-
1931 # The default value is: NO.
-
1932 
-
1933 GENERATE_AUTOGEN_DEF = NO
-
1934 
-
1935 #---------------------------------------------------------------------------
-
1936 # Configuration options related to the Perl module output
-
1937 #---------------------------------------------------------------------------
-
1938 
-
1939 # If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
-
1940 # file that captures the structure of the code including all documentation.
-
1941 #
-
1942 # Note that this feature is still experimental and incomplete at the moment.
-
1943 # The default value is: NO.
-
1944 
-
1945 GENERATE_PERLMOD = NO
-
1946 
-
1947 # If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
-
1948 # Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
-
1949 # output from the Perl module output.
-
1950 # The default value is: NO.
-
1951 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
1952 
-
1953 PERLMOD_LATEX = NO
-
1954 
-
1955 # If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
-
1956 # formatted so it can be parsed by a human reader. This is useful if you want to
-
1957 # understand what is going on. On the other hand, if this tag is set to NO, the
-
1958 # size of the Perl module output will be much smaller and Perl will parse it
-
1959 # just the same.
-
1960 # The default value is: YES.
-
1961 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
1962 
-
1963 PERLMOD_PRETTY = YES
-
1964 
-
1965 # The names of the make variables in the generated doxyrules.make file are
-
1966 # prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
-
1967 # so different doxyrules.make files included by the same Makefile don't
-
1968 # overwrite each other's variables.
-
1969 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
-
1970 
-
1971 PERLMOD_MAKEVAR_PREFIX =
-
1972 
-
1973 #---------------------------------------------------------------------------
-
1974 # Configuration options related to the preprocessor
-
1975 #---------------------------------------------------------------------------
-
1976 
-
1977 # If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
-
1978 # C-preprocessor directives found in the sources and include files.
-
1979 # The default value is: YES.
-
1980 
-
1981 ENABLE_PREPROCESSING = YES
-
1982 
-
1983 # If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
-
1984 # in the source code. If set to NO, only conditional compilation will be
-
1985 # performed. Macro expansion can be done in a controlled way by setting
-
1986 # EXPAND_ONLY_PREDEF to YES.
-
1987 # The default value is: NO.
-
1988 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
1989 
-
1990 MACRO_EXPANSION = NO
-
1991 
-
1992 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
-
1993 # the macro expansion is limited to the macros specified with the PREDEFINED and
-
1994 # EXPAND_AS_DEFINED tags.
-
1995 # The default value is: NO.
-
1996 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
1997 
-
1998 EXPAND_ONLY_PREDEF = NO
-
1999 
-
2000 # If the SEARCH_INCLUDES tag is set to YES, the include files in the
-
2001 # INCLUDE_PATH will be searched if a #include is found.
-
2002 # The default value is: YES.
-
2003 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
2004 
-
2005 SEARCH_INCLUDES = YES
-
2006 
-
2007 # The INCLUDE_PATH tag can be used to specify one or more directories that
-
2008 # contain include files that are not input files but should be processed by the
-
2009 # preprocessor.
-
2010 # This tag requires that the tag SEARCH_INCLUDES is set to YES.
-
2011 
-
2012 INCLUDE_PATH =
-
2013 
-
2014 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
-
2015 # patterns (like *.h and *.hpp) to filter out the header-files in the
-
2016 # directories. If left blank, the patterns specified with FILE_PATTERNS will be
-
2017 # used.
-
2018 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
2019 
-
2020 INCLUDE_FILE_PATTERNS =
-
2021 
-
2022 # The PREDEFINED tag can be used to specify one or more macro names that are
-
2023 # defined before the preprocessor is started (similar to the -D option of e.g.
-
2024 # gcc). The argument of the tag is a list of macros of the form: name or
-
2025 # name=definition (no spaces). If the definition and the "=" are omitted, "=1"
-
2026 # is assumed. To prevent a macro definition from being undefined via #undef or
-
2027 # recursively expanded use the := operator instead of the = operator.
-
2028 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
2029 
-
2030 PREDEFINED =
-
2031 
-
2032 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
-
2033 # tag can be used to specify a list of macro names that should be expanded. The
-
2034 # macro definition that is found in the sources will be used. Use the PREDEFINED
-
2035 # tag if you want to use a different macro definition that overrules the
-
2036 # definition found in the source code.
-
2037 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
2038 
-
2039 EXPAND_AS_DEFINED =
-
2040 
-
2041 # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
-
2042 # remove all references to function-like macros that are alone on a line, have
-
2043 # an all uppercase name, and do not end with a semicolon. Such function macros
-
2044 # are typically used for boiler-plate code, and will confuse the parser if not
-
2045 # removed.
-
2046 # The default value is: YES.
-
2047 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
-
2048 
-
2049 SKIP_FUNCTION_MACROS = YES
-
2050 
-
2051 #---------------------------------------------------------------------------
-
2052 # Configuration options related to external references
-
2053 #---------------------------------------------------------------------------
-
2054 
-
2055 # The TAGFILES tag can be used to specify one or more tag files. For each tag
-
2056 # file the location of the external documentation should be added. The format of
-
2057 # a tag file without this location is as follows:
-
2058 # TAGFILES = file1 file2 ...
-
2059 # Adding location for the tag files is done as follows:
-
2060 # TAGFILES = file1=loc1 "file2 = loc2" ...
-
2061 # where loc1 and loc2 can be relative or absolute paths or URLs. See the
-
2062 # section "Linking to external documentation" for more information about the use
-
2063 # of tag files.
-
2064 # Note: Each tag file must have a unique name (where the name does NOT include
-
2065 # the path). If a tag file is not located in the directory in which doxygen is
-
2066 # run, you must also specify the path to the tagfile here.
-
2067 
-
2068 TAGFILES =
-
2069 
-
2070 # When a file name is specified after GENERATE_TAGFILE, doxygen will create a
-
2071 # tag file that is based on the input files it reads. See section "Linking to
-
2072 # external documentation" for more information about the usage of tag files.
-
2073 
-
2074 GENERATE_TAGFILE =
-
2075 
-
2076 # If the ALLEXTERNALS tag is set to YES, all external class will be listed in
-
2077 # the class index. If set to NO, only the inherited external classes will be
-
2078 # listed.
-
2079 # The default value is: NO.
-
2080 
-
2081 ALLEXTERNALS = NO
-
2082 
-
2083 # If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
-
2084 # in the modules index. If set to NO, only the current project's groups will be
-
2085 # listed.
-
2086 # The default value is: YES.
-
2087 
-
2088 EXTERNAL_GROUPS = YES
-
2089 
-
2090 # If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
-
2091 # the related pages index. If set to NO, only the current project's pages will
-
2092 # be listed.
-
2093 # The default value is: YES.
-
2094 
-
2095 EXTERNAL_PAGES = YES
-
2096 
-
2097 # The PERL_PATH should be the absolute path and name of the perl script
-
2098 # interpreter (i.e. the result of 'which perl').
-
2099 # The default file (with absolute path) is: /usr/bin/perl.
-
2100 
-
2101 PERL_PATH = /usr/bin/perl
-
2102 
-
2103 #---------------------------------------------------------------------------
-
2104 # Configuration options related to the dot tool
-
2105 #---------------------------------------------------------------------------
-
2106 
-
2107 # If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
-
2108 # (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
-
2109 # NO turns the diagrams off. Note that this option also works with HAVE_DOT
-
2110 # disabled, but it is recommended to install and use dot, since it yields more
-
2111 # powerful graphs.
-
2112 # The default value is: YES.
-
2113 
-
2114 CLASS_DIAGRAMS = YES
-
2115 
-
2116 # You can define message sequence charts within doxygen comments using the \msc
-
2117 # command. Doxygen will then run the mscgen tool (see:
-
2118 # http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
-
2119 # documentation. The MSCGEN_PATH tag allows you to specify the directory where
-
2120 # the mscgen tool resides. If left empty the tool is assumed to be found in the
-
2121 # default search path.
-
2122 
-
2123 MSCGEN_PATH =
-
2124 
-
2125 # You can include diagrams made with dia in doxygen documentation. Doxygen will
-
2126 # then run dia to produce the diagram and insert it in the documentation. The
-
2127 # DIA_PATH tag allows you to specify the directory where the dia binary resides.
-
2128 # If left empty dia is assumed to be found in the default search path.
-
2129 
-
2130 DIA_PATH =
-
2131 
-
2132 # If set to YES the inheritance and collaboration graphs will hide inheritance
-
2133 # and usage relations if the target is undocumented or is not a class.
-
2134 # The default value is: YES.
-
2135 
-
2136 HIDE_UNDOC_RELATIONS = YES
-
2137 
-
2138 # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
-
2139 # available from the path. This tool is part of Graphviz (see:
-
2140 # http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
-
2141 # Bell Labs. The other options in this section have no effect if this option is
-
2142 # set to NO
-
2143 # The default value is: NO.
-
2144 
-
2145 HAVE_DOT = NO
-
2146 
-
2147 # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
-
2148 # to run in parallel. When set to 0 doxygen will base this on the number of
-
2149 # processors available in the system. You can set it explicitly to a value
-
2150 # larger than 0 to get control over the balance between CPU load and processing
-
2151 # speed.
-
2152 # Minimum value: 0, maximum value: 32, default value: 0.
-
2153 # This tag requires that the tag HAVE_DOT is set to YES.
-
2154 
-
2155 DOT_NUM_THREADS = 0
-
2156 
-
2157 # When you want a differently looking font in the dot files that doxygen
-
2158 # generates you can specify the font name using DOT_FONTNAME. You need to make
-
2159 # sure dot is able to find the font, which can be done by putting it in a
-
2160 # standard location or by setting the DOTFONTPATH environment variable or by
-
2161 # setting DOT_FONTPATH to the directory containing the font.
-
2162 # The default value is: Helvetica.
-
2163 # This tag requires that the tag HAVE_DOT is set to YES.
-
2164 
-
2165 DOT_FONTNAME = Helvetica
-
2166 
-
2167 # The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
-
2168 # dot graphs.
-
2169 # Minimum value: 4, maximum value: 24, default value: 10.
-
2170 # This tag requires that the tag HAVE_DOT is set to YES.
-
2171 
-
2172 DOT_FONTSIZE = 10
-
2173 
-
2174 # By default doxygen will tell dot to use the default font as specified with
-
2175 # DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
-
2176 # the path where dot can find it using this tag.
-
2177 # This tag requires that the tag HAVE_DOT is set to YES.
-
2178 
-
2179 DOT_FONTPATH =
-
2180 
-
2181 # If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
-
2182 # each documented class showing the direct and indirect inheritance relations.
-
2183 # Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
-
2184 # The default value is: YES.
-
2185 # This tag requires that the tag HAVE_DOT is set to YES.
-
2186 
-
2187 CLASS_GRAPH = YES
-
2188 
-
2189 # If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
-
2190 # graph for each documented class showing the direct and indirect implementation
-
2191 # dependencies (inheritance, containment, and class references variables) of the
-
2192 # class with other documented classes.
-
2193 # The default value is: YES.
-
2194 # This tag requires that the tag HAVE_DOT is set to YES.
-
2195 
-
2196 COLLABORATION_GRAPH = YES
-
2197 
-
2198 # If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
-
2199 # groups, showing the direct groups dependencies.
-
2200 # The default value is: YES.
-
2201 # This tag requires that the tag HAVE_DOT is set to YES.
-
2202 
-
2203 GROUP_GRAPHS = YES
-
2204 
-
2205 # If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
-
2206 # collaboration diagrams in a style similar to the OMG's Unified Modeling
-
2207 # Language.
-
2208 # The default value is: NO.
-
2209 # This tag requires that the tag HAVE_DOT is set to YES.
-
2210 
-
2211 UML_LOOK = NO
-
2212 
-
2213 # If the UML_LOOK tag is enabled, the fields and methods are shown inside the
-
2214 # class node. If there are many fields or methods and many nodes the graph may
-
2215 # become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
-
2216 # number of items for each type to make the size more manageable. Set this to 0
-
2217 # for no limit. Note that the threshold may be exceeded by 50% before the limit
-
2218 # is enforced. So when you set the threshold to 10, up to 15 fields may appear,
-
2219 # but if the number exceeds 15, the total amount of fields shown is limited to
-
2220 # 10.
-
2221 # Minimum value: 0, maximum value: 100, default value: 10.
-
2222 # This tag requires that the tag HAVE_DOT is set to YES.
-
2223 
-
2224 UML_LIMIT_NUM_FIELDS = 10
-
2225 
-
2226 # If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
-
2227 # collaboration graphs will show the relations between templates and their
-
2228 # instances.
-
2229 # The default value is: NO.
-
2230 # This tag requires that the tag HAVE_DOT is set to YES.
-
2231 
-
2232 TEMPLATE_RELATIONS = NO
-
2233 
-
2234 # If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
-
2235 # YES then doxygen will generate a graph for each documented file showing the
-
2236 # direct and indirect include dependencies of the file with other documented
-
2237 # files.
-
2238 # The default value is: YES.
-
2239 # This tag requires that the tag HAVE_DOT is set to YES.
-
2240 
-
2241 INCLUDE_GRAPH = YES
-
2242 
-
2243 # If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
-
2244 # set to YES then doxygen will generate a graph for each documented file showing
-
2245 # the direct and indirect include dependencies of the file with other documented
-
2246 # files.
-
2247 # The default value is: YES.
-
2248 # This tag requires that the tag HAVE_DOT is set to YES.
-
2249 
-
2250 INCLUDED_BY_GRAPH = YES
-
2251 
-
2252 # If the CALL_GRAPH tag is set to YES then doxygen will generate a call
-
2253 # dependency graph for every global function or class method.
-
2254 #
-
2255 # Note that enabling this option will significantly increase the time of a run.
-
2256 # So in most cases it will be better to enable call graphs for selected
-
2257 # functions only using the \callgraph command. Disabling a call graph can be
-
2258 # accomplished by means of the command \hidecallgraph.
-
2259 # The default value is: NO.
-
2260 # This tag requires that the tag HAVE_DOT is set to YES.
-
2261 
-
2262 CALL_GRAPH = YES
-
2263 
-
2264 # If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
-
2265 # dependency graph for every global function or class method.
-
2266 #
-
2267 # Note that enabling this option will significantly increase the time of a run.
-
2268 # So in most cases it will be better to enable caller graphs for selected
-
2269 # functions only using the \callergraph command. Disabling a caller graph can be
-
2270 # accomplished by means of the command \hidecallergraph.
-
2271 # The default value is: NO.
-
2272 # This tag requires that the tag HAVE_DOT is set to YES.
-
2273 
-
2274 CALLER_GRAPH = YES
-
2275 
-
2276 # If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
-
2277 # hierarchy of all classes instead of a textual one.
-
2278 # The default value is: YES.
-
2279 # This tag requires that the tag HAVE_DOT is set to YES.
-
2280 
-
2281 GRAPHICAL_HIERARCHY = YES
-
2282 
-
2283 # If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
-
2284 # dependencies a directory has on other directories in a graphical way. The
-
2285 # dependency relations are determined by the #include relations between the
-
2286 # files in the directories.
-
2287 # The default value is: YES.
-
2288 # This tag requires that the tag HAVE_DOT is set to YES.
-
2289 
-
2290 DIRECTORY_GRAPH = YES
-
2291 
-
2292 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
-
2293 # generated by dot. For an explanation of the image formats see the section
-
2294 # output formats in the documentation of the dot tool (Graphviz (see:
-
2295 # http://www.graphviz.org/)).
-
2296 # Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
-
2297 # to make the SVG files visible in IE 9+ (other browsers do not have this
-
2298 # requirement).
-
2299 # Possible values are: png, jpg, gif, svg, png:gd, png:gd:gd, png:cairo,
-
2300 # png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
-
2301 # png:gdiplus:gdiplus.
-
2302 # The default value is: png.
-
2303 # This tag requires that the tag HAVE_DOT is set to YES.
-
2304 
-
2305 DOT_IMAGE_FORMAT = png
-
2306 
-
2307 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
-
2308 # enable generation of interactive SVG images that allow zooming and panning.
-
2309 #
-
2310 # Note that this requires a modern browser other than Internet Explorer. Tested
-
2311 # and working are Firefox, Chrome, Safari, and Opera.
-
2312 # Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
-
2313 # the SVG files visible. Older versions of IE do not have SVG support.
-
2314 # The default value is: NO.
-
2315 # This tag requires that the tag HAVE_DOT is set to YES.
-
2316 
-
2317 INTERACTIVE_SVG = NO
-
2318 
-
2319 # The DOT_PATH tag can be used to specify the path where the dot tool can be
-
2320 # found. If left blank, it is assumed the dot tool can be found in the path.
-
2321 # This tag requires that the tag HAVE_DOT is set to YES.
-
2322 
-
2323 DOT_PATH =
-
2324 
-
2325 # The DOTFILE_DIRS tag can be used to specify one or more directories that
-
2326 # contain dot files that are included in the documentation (see the \dotfile
-
2327 # command).
-
2328 # This tag requires that the tag HAVE_DOT is set to YES.
-
2329 
-
2330 DOTFILE_DIRS =
-
2331 
-
2332 # The MSCFILE_DIRS tag can be used to specify one or more directories that
-
2333 # contain msc files that are included in the documentation (see the \mscfile
-
2334 # command).
-
2335 
-
2336 MSCFILE_DIRS =
-
2337 
-
2338 # The DIAFILE_DIRS tag can be used to specify one or more directories that
-
2339 # contain dia files that are included in the documentation (see the \diafile
-
2340 # command).
-
2341 
-
2342 DIAFILE_DIRS =
-
2343 
-
2344 # When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
-
2345 # path where java can find the plantuml.jar file. If left blank, it is assumed
-
2346 # PlantUML is not used or called during a preprocessing step. Doxygen will
-
2347 # generate a warning when it encounters a \startuml command in this case and
-
2348 # will not generate output for the diagram.
-
2349 
-
2350 PLANTUML_JAR_PATH =
-
2351 
-
2352 # When using plantuml, the specified paths are searched for files specified by
-
2353 # the !include statement in a plantuml block.
-
2354 
-
2355 PLANTUML_INCLUDE_PATH =
-
2356 
-
2357 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
-
2358 # that will be shown in the graph. If the number of nodes in a graph becomes
-
2359 # larger than this value, doxygen will truncate the graph, which is visualized
-
2360 # by representing a node as a red box. Note that doxygen if the number of direct
-
2361 # children of the root node in a graph is already larger than
-
2362 # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
-
2363 # the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
-
2364 # Minimum value: 0, maximum value: 10000, default value: 50.
-
2365 # This tag requires that the tag HAVE_DOT is set to YES.
-
2366 
-
2367 DOT_GRAPH_MAX_NODES = 50
-
2368 
-
2369 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
-
2370 # generated by dot. A depth value of 3 means that only nodes reachable from the
-
2371 # root by following a path via at most 3 edges will be shown. Nodes that lay
-
2372 # further from the root node will be omitted. Note that setting this option to 1
-
2373 # or 2 may greatly reduce the computation time needed for large code bases. Also
-
2374 # note that the size of a graph can be further restricted by
-
2375 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
-
2376 # Minimum value: 0, maximum value: 1000, default value: 0.
-
2377 # This tag requires that the tag HAVE_DOT is set to YES.
-
2378 
-
2379 MAX_DOT_GRAPH_DEPTH = 1000
-
2380 
-
2381 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
-
2382 # background. This is disabled by default, because dot on Windows does not seem
-
2383 # to support this out of the box.
-
2384 #
-
2385 # Warning: Depending on the platform used, enabling this option may lead to
-
2386 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to
-
2387 # read).
-
2388 # The default value is: NO.
-
2389 # This tag requires that the tag HAVE_DOT is set to YES.
-
2390 
-
2391 DOT_TRANSPARENT = NO
-
2392 
-
2393 # Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
-
2394 # files in one run (i.e. multiple -o and -T options on the command line). This
-
2395 # makes dot run faster, but since only newer versions of dot (>1.8.10) support
-
2396 # this, this feature is disabled by default.
-
2397 # The default value is: NO.
-
2398 # This tag requires that the tag HAVE_DOT is set to YES.
-
2399 
-
2400 DOT_MULTI_TARGETS = NO
-
2401 
-
2402 # If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
-
2403 # explaining the meaning of the various boxes and arrows in the dot generated
-
2404 # graphs.
-
2405 # The default value is: YES.
-
2406 # This tag requires that the tag HAVE_DOT is set to YES.
-
2407 
-
2408 GENERATE_LEGEND = YES
-
2409 
-
2410 # If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
-
2411 # files that are used to generate the various graphs.
-
2412 # The default value is: YES.
-
2413 # This tag requires that the tag HAVE_DOT is set to YES.
-
2414 
-
2415 DOT_CLEANUP = YES
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00047.html b/doc/api/a00047.html index 67f17ed1..303d57e3 100644 --- a/doc/api/a00047.html +++ b/doc/api/a00047.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: mat2x2.hpp File Reference + + +0.9.9 API documenation: type_mat3x2.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
mat2x2.hpp File Reference
+
type_mat3x2.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat2x2.hpp.

+

Definition in file type_mat3x2.hpp.

diff --git a/doc/api/a00047_source.html b/doc/api/a00047_source.html index c0743934..e7e30e96 100644 --- a/doc/api/a00047_source.html +++ b/doc/api/a00047_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: mat2x2.hpp Source File + + +0.9.9 API documenation: type_mat3x2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
mat2x2.hpp
+
type_mat3x2.hpp
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat2x2.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<2, 2, float, lowp> lowp_mat2;
-
18 
-
24  typedef mat<2, 2, float, mediump> mediump_mat2;
-
25 
-
31  typedef mat<2, 2, float, highp> highp_mat2;
-
32 
-
38  typedef mat<2, 2, float, lowp> lowp_mat2x2;
-
39 
-
45  typedef mat<2, 2, float, mediump> mediump_mat2x2;
-
46 
-
52  typedef mat<2, 2, float, highp> highp_mat2x2;
-
53 
-
54 }//namespace glm
-
mat< 2, 2, float, highp > highp_mat2x2
2 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:73
-
Definition: common.hpp:20
-
Core features
-
mat< 2, 2, float, lowp > lowp_mat2
2 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:38
-
mat< 2, 2, float, lowp > lowp_mat2x2
2 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:59
-
mat< 2, 2, float, highp > highp_mat2
2 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:52
-
Core features
-
mat< 2, 2, float, mediump > mediump_mat2x2
2 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:66
-
mat< 2, 2, float, mediump > mediump_mat2
2 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:45
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec2.hpp"
7 #include "type_vec3.hpp"
8 #include <limits>
9 #include <cstddef>
10 
11 namespace glm
12 {
13  template<typename T, qualifier Q>
14  struct mat<3, 2, T, Q>
15  {
16  typedef vec<2, T, Q> col_type;
17  typedef vec<3, T, Q> row_type;
18  typedef mat<3, 2, T, Q> type;
19  typedef mat<2, 3, T, Q> transpose_type;
20  typedef T value_type;
21 
22  private:
23  col_type value[3];
24 
25  public:
26  // -- Accesses --
27 
28  typedef length_t length_type;
29  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 3; }
30 
31  GLM_FUNC_DECL col_type & operator[](length_type i);
32  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
33 
34  // -- Constructors --
35 
36  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
37  template<qualifier P>
38  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<3, 2, T, P> const& m);
39 
40  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
41  GLM_FUNC_DECL GLM_CONSTEXPR mat(
42  T x0, T y0,
43  T x1, T y1,
44  T x2, T y2);
45  GLM_FUNC_DECL GLM_CONSTEXPR mat(
46  col_type const& v0,
47  col_type const& v1,
48  col_type const& v2);
49 
50  // -- Conversions --
51 
52  template<
53  typename X1, typename Y1,
54  typename X2, typename Y2,
55  typename X3, typename Y3>
56  GLM_FUNC_DECL GLM_CONSTEXPR mat(
57  X1 x1, Y1 y1,
58  X2 x2, Y2 y2,
59  X3 x3, Y3 y3);
60 
61  template<typename V1, typename V2, typename V3>
62  GLM_FUNC_DECL GLM_CONSTEXPR mat(
63  vec<2, V1, Q> const& v1,
64  vec<2, V2, Q> const& v2,
65  vec<2, V3, Q> const& v3);
66 
67  // -- Matrix conversions --
68 
69  template<typename U, qualifier P>
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, U, P> const& m);
71 
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
80 
81  // -- Unary arithmetic operators --
82 
83  template<typename U>
84  GLM_FUNC_DECL mat<3, 2, T, Q> & operator=(mat<3, 2, U, Q> const& m);
85  template<typename U>
86  GLM_FUNC_DECL mat<3, 2, T, Q> & operator+=(U s);
87  template<typename U>
88  GLM_FUNC_DECL mat<3, 2, T, Q> & operator+=(mat<3, 2, U, Q> const& m);
89  template<typename U>
90  GLM_FUNC_DECL mat<3, 2, T, Q> & operator-=(U s);
91  template<typename U>
92  GLM_FUNC_DECL mat<3, 2, T, Q> & operator-=(mat<3, 2, U, Q> const& m);
93  template<typename U>
94  GLM_FUNC_DECL mat<3, 2, T, Q> & operator*=(U s);
95  template<typename U>
96  GLM_FUNC_DECL mat<3, 2, T, Q> & operator/=(U s);
97 
98  // -- Increment and decrement operators --
99 
100  GLM_FUNC_DECL mat<3, 2, T, Q> & operator++ ();
101  GLM_FUNC_DECL mat<3, 2, T, Q> & operator-- ();
102  GLM_FUNC_DECL mat<3, 2, T, Q> operator++(int);
103  GLM_FUNC_DECL mat<3, 2, T, Q> operator--(int);
104  };
105 
106  // -- Unary operators --
107 
108  template<typename T, qualifier Q>
109  GLM_FUNC_DECL mat<3, 2, T, Q> operator+(mat<3, 2, T, Q> const& m);
110 
111  template<typename T, qualifier Q>
112  GLM_FUNC_DECL mat<3, 2, T, Q> operator-(mat<3, 2, T, Q> const& m);
113 
114  // -- Binary operators --
115 
116  template<typename T, qualifier Q>
117  GLM_FUNC_DECL mat<3, 2, T, Q> operator+(mat<3, 2, T, Q> const& m, T scalar);
118 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<3, 2, T, Q> operator+(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
121 
122  template<typename T, qualifier Q>
123  GLM_FUNC_DECL mat<3, 2, T, Q> operator-(mat<3, 2, T, Q> const& m, T scalar);
124 
125  template<typename T, qualifier Q>
126  GLM_FUNC_DECL mat<3, 2, T, Q> operator-(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
127 
128  template<typename T, qualifier Q>
129  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<3, 2, T, Q> const& m, T scalar);
130 
131  template<typename T, qualifier Q>
132  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(T scalar, mat<3, 2, T, Q> const& m);
133 
134  template<typename T, qualifier Q>
135  GLM_FUNC_DECL typename mat<3, 2, T, Q>::col_type operator*(mat<3, 2, T, Q> const& m, typename mat<3, 2, T, Q>::row_type const& v);
136 
137  template<typename T, qualifier Q>
138  GLM_FUNC_DECL typename mat<3, 2, T, Q>::row_type operator*(typename mat<3, 2, T, Q>::col_type const& v, mat<3, 2, T, Q> const& m);
139 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<3, 2, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
142 
143  template<typename T, qualifier Q>
144  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<3, 2, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
145 
146  template<typename T, qualifier Q>
147  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<3, 2, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
148 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL mat<3, 2, T, Q> operator/(mat<3, 2, T, Q> const& m, T scalar);
151 
152  template<typename T, qualifier Q>
153  GLM_FUNC_DECL mat<3, 2, T, Q> operator/(T scalar, mat<3, 2, T, Q> const& m);
154 
155  // -- Boolean operators --
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL bool operator==(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
159 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL bool operator!=(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
162 
163 }//namespace glm
164 
165 #ifndef GLM_EXTERNAL_TEMPLATE
166 #include "type_mat3x2.inl"
167 #endif
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
Core features
diff --git a/doc/api/a00048_source.html b/doc/api/a00048_source.html deleted file mode 100644 index c4c1d51f..00000000 --- a/doc/api/a00048_source.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - -0.9.9 API documenation: mat2x3.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mat2x3.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat2x3.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<2, 3, float, lowp> lowp_mat2x3;
-
18 
-
24  typedef mat<2, 3, float, mediump> mediump_mat2x3;
-
25 
-
31  typedef mat<2, 3, float, highp> highp_mat2x3;
-
32 
-
33 }//namespace glm
-
34 
-
Core features
-
mat< 2, 3, float, lowp > lowp_mat2x3
2 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:85
-
mat< 2, 3, float, mediump > mediump_mat2x3
2 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:92
-
Definition: common.hpp:20
-
Core features
-
mat< 2, 3, float, highp > highp_mat2x3
2 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:99
-
- - - - diff --git a/doc/api/a00049_source.html b/doc/api/a00049_source.html deleted file mode 100644 index ac0c2524..00000000 --- a/doc/api/a00049_source.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -0.9.9 API documenation: mat2x4.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mat2x4.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat2x4.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<2, 4, float, lowp> lowp_mat2x4;
-
18 
-
24  typedef mat<2, 4, float, mediump> mediump_mat2x4;
-
25 
-
31  typedef mat<2, 4, float, highp> highp_mat2x4;
-
32 
-
33 }//namespace glm
-
mat< 2, 4, float, highp > highp_mat2x4
2 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:125
-
Definition: common.hpp:20
-
mat< 2, 4, float, lowp > lowp_mat2x4
2 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:111
-
mat< 2, 4, float, mediump > mediump_mat2x4
2 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:118
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00050.html b/doc/api/a00050.html index edf1ed8e..43fcdab4 100644 --- a/doc/api/a00050.html +++ b/doc/api/a00050.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: mat3x2.hpp File Reference + + +0.9.9 API documenation: type_mat3x3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
mat3x2.hpp File Reference
+
type_mat3x3.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat3x2.hpp.

+

Definition in file type_mat3x3.hpp.

diff --git a/doc/api/a00050_source.html b/doc/api/a00050_source.html index e7aec658..c5ab3198 100644 --- a/doc/api/a00050_source.html +++ b/doc/api/a00050_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: mat3x2.hpp Source File + + +0.9.9 API documenation: type_mat3x3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
mat3x2.hpp
+
type_mat3x3.hpp
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat3x2.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<3, 2, float, lowp> lowp_mat3x2;
-
18 
-
24  typedef mat<3, 2, float, mediump> mediump_mat3x2;
-
25 
-
31  typedef mat<3, 2, float, highp> highp_mat3x2;
-
32 
-
33 }//namespace
-
mat< 3, 2, float, lowp > lowp_mat3x2
3 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:137
-
mat< 3, 2, float, highp > highp_mat3x2
3 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:151
-
Definition: common.hpp:20
-
Core features
-
mat< 3, 2, float, mediump > mediump_mat3x2
3 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:144
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec3.hpp"
7 #include <limits>
8 #include <cstddef>
9 
10 namespace glm
11 {
12  template<typename T, qualifier Q>
13  struct mat<3, 3, T, Q>
14  {
15  typedef vec<3, T, Q> col_type;
16  typedef vec<3, T, Q> row_type;
17  typedef mat<3, 3, T, Q> type;
18  typedef mat<3, 3, T, Q> transpose_type;
19  typedef T value_type;
20 
21  private:
22  col_type value[3];
23 
24  public:
25  // -- Accesses --
26 
27  typedef length_t length_type;
28  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 3; }
29 
30  GLM_FUNC_DECL col_type & operator[](length_type i);
31  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
32 
33  // -- Constructors --
34 
35  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
36  template<qualifier P>
37  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<3, 3, T, P> const& m);
38 
39  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
40  GLM_FUNC_DECL GLM_CONSTEXPR mat(
41  T x0, T y0, T z0,
42  T x1, T y1, T z1,
43  T x2, T y2, T z2);
44  GLM_FUNC_DECL GLM_CONSTEXPR mat(
45  col_type const& v0,
46  col_type const& v1,
47  col_type const& v2);
48 
49  // -- Conversions --
50 
51  template<
52  typename X1, typename Y1, typename Z1,
53  typename X2, typename Y2, typename Z2,
54  typename X3, typename Y3, typename Z3>
55  GLM_FUNC_DECL GLM_CONSTEXPR mat(
56  X1 x1, Y1 y1, Z1 z1,
57  X2 x2, Y2 y2, Z2 z2,
58  X3 x3, Y3 y3, Z3 z3);
59 
60  template<typename V1, typename V2, typename V3>
61  GLM_FUNC_DECL GLM_CONSTEXPR mat(
62  vec<3, V1, Q> const& v1,
63  vec<3, V2, Q> const& v2,
64  vec<3, V3, Q> const& v3);
65 
66  // -- Matrix conversions --
67 
68  template<typename U, qualifier P>
69  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, U, P> const& m);
70 
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
79 
80  // -- Unary arithmetic operators --
81 
82  template<typename U>
83  GLM_FUNC_DECL mat<3, 3, T, Q> & operator=(mat<3, 3, U, Q> const& m);
84  template<typename U>
85  GLM_FUNC_DECL mat<3, 3, T, Q> & operator+=(U s);
86  template<typename U>
87  GLM_FUNC_DECL mat<3, 3, T, Q> & operator+=(mat<3, 3, U, Q> const& m);
88  template<typename U>
89  GLM_FUNC_DECL mat<3, 3, T, Q> & operator-=(U s);
90  template<typename U>
91  GLM_FUNC_DECL mat<3, 3, T, Q> & operator-=(mat<3, 3, U, Q> const& m);
92  template<typename U>
93  GLM_FUNC_DECL mat<3, 3, T, Q> & operator*=(U s);
94  template<typename U>
95  GLM_FUNC_DECL mat<3, 3, T, Q> & operator*=(mat<3, 3, U, Q> const& m);
96  template<typename U>
97  GLM_FUNC_DECL mat<3, 3, T, Q> & operator/=(U s);
98  template<typename U>
99  GLM_FUNC_DECL mat<3, 3, T, Q> & operator/=(mat<3, 3, U, Q> const& m);
100 
101  // -- Increment and decrement operators --
102 
103  GLM_FUNC_DECL mat<3, 3, T, Q> & operator++();
104  GLM_FUNC_DECL mat<3, 3, T, Q> & operator--();
105  GLM_FUNC_DECL mat<3, 3, T, Q> operator++(int);
106  GLM_FUNC_DECL mat<3, 3, T, Q> operator--(int);
107  };
108 
109  // -- Unary operators --
110 
111  template<typename T, qualifier Q>
112  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(mat<3, 3, T, Q> const& m);
113 
114  template<typename T, qualifier Q>
115  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(mat<3, 3, T, Q> const& m);
116 
117  // -- Binary operators --
118 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(mat<3, 3, T, Q> const& m, T scalar);
121 
122  template<typename T, qualifier Q>
123  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(T scalar, mat<3, 3, T, Q> const& m);
124 
125  template<typename T, qualifier Q>
126  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
127 
128  template<typename T, qualifier Q>
129  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(mat<3, 3, T, Q> const& m, T scalar);
130 
131  template<typename T, qualifier Q>
132  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(T scalar, mat<3, 3, T, Q> const& m);
133 
134  template<typename T, qualifier Q>
135  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
136 
137  template<typename T, qualifier Q>
138  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<3, 3, T, Q> const& m, T scalar);
139 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(T scalar, mat<3, 3, T, Q> const& m);
142 
143  template<typename T, qualifier Q>
144  GLM_FUNC_DECL typename mat<3, 3, T, Q>::col_type operator*(mat<3, 3, T, Q> const& m, typename mat<3, 3, T, Q>::row_type const& v);
145 
146  template<typename T, qualifier Q>
147  GLM_FUNC_DECL typename mat<3, 3, T, Q>::row_type operator*(typename mat<3, 3, T, Q>::col_type const& v, mat<3, 3, T, Q> const& m);
148 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
151 
152  template<typename T, qualifier Q>
153  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<3, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
154 
155  template<typename T, qualifier Q>
156  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<3, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
157 
158  template<typename T, qualifier Q>
159  GLM_FUNC_DECL mat<3, 3, T, Q> operator/(mat<3, 3, T, Q> const& m, T scalar);
160 
161  template<typename T, qualifier Q>
162  GLM_FUNC_DECL mat<3, 3, T, Q> operator/(T scalar, mat<3, 3, T, Q> const& m);
163 
164  template<typename T, qualifier Q>
165  GLM_FUNC_DECL typename mat<3, 3, T, Q>::col_type operator/(mat<3, 3, T, Q> const& m, typename mat<3, 3, T, Q>::row_type const& v);
166 
167  template<typename T, qualifier Q>
168  GLM_FUNC_DECL typename mat<3, 3, T, Q>::row_type operator/(typename mat<3, 3, T, Q>::col_type const& v, mat<3, 3, T, Q> const& m);
169 
170  template<typename T, qualifier Q>
171  GLM_FUNC_DECL mat<3, 3, T, Q> operator/(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
172 
173  // -- Boolean operators --
174 
175  template<typename T, qualifier Q>
176  GLM_FUNC_DECL GLM_CONSTEXPR bool operator==(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
177 
178  template<typename T, qualifier Q>
179  GLM_FUNC_DECL bool operator!=(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
180 }//namespace glm
181 
182 #ifndef GLM_EXTERNAL_TEMPLATE
183 #include "type_mat3x3.inl"
184 #endif
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00051_source.html b/doc/api/a00051_source.html deleted file mode 100644 index 5081db35..00000000 --- a/doc/api/a00051_source.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -0.9.9 API documenation: mat3x3.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mat3x3.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat3x3.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<3, 3, float, lowp> lowp_mat3;
-
18 
-
24  typedef mat<3, 3, float, mediump> mediump_mat3;
-
25 
-
31  typedef mat<3, 3, float, highp> highp_mat3;
-
32 
-
38  typedef mat<3, 3, float, lowp> lowp_mat3x3;
-
39 
-
45  typedef mat<3, 3, float, mediump> mediump_mat3x3;
-
46 
-
52  typedef mat<3, 3, float, highp> highp_mat3x3;
-
53 
-
54 }//namespace glm
-
mat< 3, 3, float, lowp > lowp_mat3
3 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:163
-
mat< 3, 3, float, mediump > mediump_mat3x3
3 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:191
-
mat< 3, 3, float, mediump > mediump_mat3
3 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:170
-
mat< 3, 3, float, highp > highp_mat3x3
3 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:198
-
Definition: common.hpp:20
-
Core features
-
mat< 3, 3, float, highp > highp_mat3
3 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:177
-
Core features
-
mat< 3, 3, float, lowp > lowp_mat3x3
3 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:184
-
- - - - diff --git a/doc/api/a00052_source.html b/doc/api/a00052_source.html deleted file mode 100644 index 3f47761e..00000000 --- a/doc/api/a00052_source.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -0.9.9 API documenation: mat3x4.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mat3x4.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat3x4.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<3, 4, float, lowp> lowp_mat3x4;
-
18 
-
24  typedef mat<3, 4, float, mediump> mediump_mat3x4;
-
25 
-
31  typedef mat<3, 4, float, highp> highp_mat3x4;
-
32 
-
33 }//namespace glm
-
Definition: common.hpp:20
-
Core features
-
mat< 3, 4, float, highp > highp_mat3x4
3 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:224
-
mat< 3, 4, float, lowp > lowp_mat3x4
3 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:210
-
Core features
-
mat< 3, 4, float, mediump > mediump_mat3x4
3 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:217
-
- - - - diff --git a/doc/api/a00053.html b/doc/api/a00053.html index 046cd011..d3403823 100644 --- a/doc/api/a00053.html +++ b/doc/api/a00053.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: mat4x2.hpp File Reference + + +0.9.9 API documenation: type_mat3x4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
mat4x2.hpp File Reference
+
type_mat3x4.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat4x2.hpp.

+

Definition in file type_mat3x4.hpp.

diff --git a/doc/api/a00053_source.html b/doc/api/a00053_source.html index 72bbe7c4..57bd2981 100644 --- a/doc/api/a00053_source.html +++ b/doc/api/a00053_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: mat4x2.hpp Source File + + +0.9.9 API documenation: type_mat3x4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
mat4x2.hpp
+
type_mat3x4.hpp
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat4x2.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<4, 2, float, lowp> lowp_mat4x2;
-
18 
-
24  typedef mat<4, 2, float, mediump> mediump_mat4x2;
-
25 
-
31  typedef mat<4, 2, float, highp> highp_mat4x2;
-
32 
-
33 }//namespace glm
-
Core features
-
mat< 4, 2, float, highp > highp_mat4x2
4 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:250
-
Definition: common.hpp:20
-
mat< 4, 2, float, mediump > mediump_mat4x2
4 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:243
-
Core features
-
mat< 4, 2, float, lowp > lowp_mat4x2
4 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:236
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec3.hpp"
7 #include "type_vec4.hpp"
8 #include <limits>
9 #include <cstddef>
10 
11 namespace glm
12 {
13  template<typename T, qualifier Q>
14  struct mat<3, 4, T, Q>
15  {
16  typedef vec<4, T, Q> col_type;
17  typedef vec<3, T, Q> row_type;
18  typedef mat<3, 4, T, Q> type;
19  typedef mat<4, 3, T, Q> transpose_type;
20  typedef T value_type;
21 
22  private:
23  col_type value[3];
24 
25  public:
26  // -- Accesses --
27 
28  typedef length_t length_type;
29  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 3; }
30 
31  GLM_FUNC_DECL col_type & operator[](length_type i);
32  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
33 
34  // -- Constructors --
35 
36  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
37  template<qualifier P>
38  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<3, 4, T, P> const& m);
39 
40  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
41  GLM_FUNC_DECL GLM_CONSTEXPR mat(
42  T x0, T y0, T z0, T w0,
43  T x1, T y1, T z1, T w1,
44  T x2, T y2, T z2, T w2);
45  GLM_FUNC_DECL GLM_CONSTEXPR mat(
46  col_type const& v0,
47  col_type const& v1,
48  col_type const& v2);
49 
50  // -- Conversions --
51 
52  template<
53  typename X1, typename Y1, typename Z1, typename W1,
54  typename X2, typename Y2, typename Z2, typename W2,
55  typename X3, typename Y3, typename Z3, typename W3>
56  GLM_FUNC_DECL GLM_CONSTEXPR mat(
57  X1 x1, Y1 y1, Z1 z1, W1 w1,
58  X2 x2, Y2 y2, Z2 z2, W2 w2,
59  X3 x3, Y3 y3, Z3 z3, W3 w3);
60 
61  template<typename V1, typename V2, typename V3>
62  GLM_FUNC_DECL GLM_CONSTEXPR mat(
63  vec<4, V1, Q> const& v1,
64  vec<4, V2, Q> const& v2,
65  vec<4, V3, Q> const& v3);
66 
67  // -- Matrix conversions --
68 
69  template<typename U, qualifier P>
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, U, P> const& m);
71 
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
80 
81  // -- Unary arithmetic operators --
82 
83  template<typename U>
84  GLM_FUNC_DECL mat<3, 4, T, Q> & operator=(mat<3, 4, U, Q> const& m);
85  template<typename U>
86  GLM_FUNC_DECL mat<3, 4, T, Q> & operator+=(U s);
87  template<typename U>
88  GLM_FUNC_DECL mat<3, 4, T, Q> & operator+=(mat<3, 4, U, Q> const& m);
89  template<typename U>
90  GLM_FUNC_DECL mat<3, 4, T, Q> & operator-=(U s);
91  template<typename U>
92  GLM_FUNC_DECL mat<3, 4, T, Q> & operator-=(mat<3, 4, U, Q> const& m);
93  template<typename U>
94  GLM_FUNC_DECL mat<3, 4, T, Q> & operator*=(U s);
95  template<typename U>
96  GLM_FUNC_DECL mat<3, 4, T, Q> & operator/=(U s);
97 
98  // -- Increment and decrement operators --
99 
100  GLM_FUNC_DECL mat<3, 4, T, Q> & operator++();
101  GLM_FUNC_DECL mat<3, 4, T, Q> & operator--();
102  GLM_FUNC_DECL mat<3, 4, T, Q> operator++(int);
103  GLM_FUNC_DECL mat<3, 4, T, Q> operator--(int);
104  };
105 
106  // -- Unary operators --
107 
108  template<typename T, qualifier Q>
109  GLM_FUNC_DECL mat<3, 4, T, Q> operator+(mat<3, 4, T, Q> const& m);
110 
111  template<typename T, qualifier Q>
112  GLM_FUNC_DECL mat<3, 4, T, Q> operator-(mat<3, 4, T, Q> const& m);
113 
114  // -- Binary operators --
115 
116  template<typename T, qualifier Q>
117  GLM_FUNC_DECL mat<3, 4, T, Q> operator+(mat<3, 4, T, Q> const& m, T scalar);
118 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<3, 4, T, Q> operator+(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
121 
122  template<typename T, qualifier Q>
123  GLM_FUNC_DECL mat<3, 4, T, Q> operator-(mat<3, 4, T, Q> const& m, T scalar);
124 
125  template<typename T, qualifier Q>
126  GLM_FUNC_DECL mat<3, 4, T, Q> operator-(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
127 
128  template<typename T, qualifier Q>
129  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<3, 4, T, Q> const& m, T scalar);
130 
131  template<typename T, qualifier Q>
132  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(T scalar, mat<3, 4, T, Q> const& m);
133 
134  template<typename T, qualifier Q>
135  GLM_FUNC_DECL typename mat<3, 4, T, Q>::col_type operator*(mat<3, 4, T, Q> const& m, typename mat<3, 4, T, Q>::row_type const& v);
136 
137  template<typename T, qualifier Q>
138  GLM_FUNC_DECL typename mat<3, 4, T, Q>::row_type operator*(typename mat<3, 4, T, Q>::col_type const& v, mat<3, 4, T, Q> const& m);
139 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<3, 4, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
142 
143  template<typename T, qualifier Q>
144  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<3, 4, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
145 
146  template<typename T, qualifier Q>
147  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<3, 4, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
148 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL mat<3, 4, T, Q> operator/(mat<3, 4, T, Q> const& m, T scalar);
151 
152  template<typename T, qualifier Q>
153  GLM_FUNC_DECL mat<3, 4, T, Q> operator/(T scalar, mat<3, 4, T, Q> const& m);
154 
155  // -- Boolean operators --
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL bool operator==(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
159 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL bool operator!=(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
162 }//namespace glm
163 
164 #ifndef GLM_EXTERNAL_TEMPLATE
165 #include "type_mat3x4.inl"
166 #endif
Core features
+
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00054_source.html b/doc/api/a00054_source.html deleted file mode 100644 index 587aaaef..00000000 --- a/doc/api/a00054_source.html +++ /dev/null @@ -1,121 +0,0 @@ - - - - - - -0.9.9 API documenation: mat4x3.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mat4x3.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat4x3.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<4, 3, float, lowp> lowp_mat4x3;
-
18 
-
24  typedef mat<4, 3, float, mediump> mediump_mat4x3;
-
25 
-
31  typedef mat<4, 3, float, highp> highp_mat4x3;
-
32 
-
33 }//namespace glm
-
mat< 4, 3, float, lowp > lowp_mat4x3
4 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:262
-
mat< 4, 3, float, mediump > mediump_mat4x3
4 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:269
-
Definition: common.hpp:20
-
mat< 4, 3, float, highp > highp_mat4x3
4 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:276
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00055_source.html b/doc/api/a00055_source.html deleted file mode 100644 index 8891322c..00000000 --- a/doc/api/a00055_source.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -0.9.9 API documenation: mat4x4.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mat4x4.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_mat4x4.hpp"
-
9 
-
10 namespace glm
-
11 {
-
17  typedef mat<4, 4, float, lowp> lowp_mat4;
-
18 
-
24  typedef mat<4, 4, float, mediump> mediump_mat4;
-
25 
-
31  typedef mat<4, 4, float, highp> highp_mat4;
-
32 
-
38  typedef mat<4, 4, float, lowp> lowp_mat4x4;
-
39 
-
45  typedef mat<4, 4, float, mediump> mediump_mat4x4;
-
46 
-
52  typedef mat<4, 4, float, highp> highp_mat4x4;
-
53 
-
54 }//namespace glm
-
mat< 4, 4, float, lowp > lowp_mat4x4
4 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:310
-
mat< 4, 4, float, lowp > lowp_mat4
4 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:289
-
Definition: common.hpp:20
-
mat< 4, 4, float, highp > highp_mat4
4 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:303
-
Core features
-
mat< 4, 4, float, mediump > mediump_mat4x4
4 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:317
-
mat< 4, 4, float, mediump > mediump_mat4
4 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:296
-
Core features
-
mat< 4, 4, float, highp > highp_mat4x4
4 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:324
-
- - - - diff --git a/doc/api/a00056.html b/doc/api/a00056.html index 1aa8db08..1db6a627 100644 --- a/doc/api/a00056.html +++ b/doc/api/a00056.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix.hpp File Reference + + +0.9.9 API documenation: type_mat4x2.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
matrix.hpp File Reference
+
type_mat4x2.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL T determinant (mat< C, R, T, Q > const &m)
 Return the determinant of a squared matrix. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse (mat< C, R, T, Q > const &m)
 Return the inverse of a squared matrix. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > matrixCompMult (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and y[i][j]. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::type outerProduct (vec< C, T, Q > const &c, vec< R, T, Q > const &r)
 Treats the first parameter c as a column vector and the second parameter r as a row vector and does a linear algebraic matrix multiply c * r. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q >::transpose_type transpose (mat< C, R, T, Q > const &x)
 Returns the transposed matrix of x. More...
 

Detailed Description

-

Core features

-
See also
GLSL 4.20.8 specification, section 8.6 Matrix Functions
+

Core features

-

Definition in file matrix.hpp.

+

Definition in file type_mat4x2.hpp.

diff --git a/doc/api/a00056_source.html b/doc/api/a00056_source.html index a3fee67a..94a08278 100644 --- a/doc/api/a00056_source.html +++ b/doc/api/a00056_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix.hpp Source File + + +0.9.9 API documenation: type_mat4x2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
matrix.hpp
+
type_mat4x2.hpp
-Go to the documentation of this file.
1 
-
17 #pragma once
-
18 
-
19 // Dependencies
-
20 #include "detail/qualifier.hpp"
-
21 #include "detail/setup.hpp"
-
22 #include "detail/type_mat.hpp"
-
23 #include "vec2.hpp"
-
24 #include "vec3.hpp"
-
25 #include "vec4.hpp"
-
26 #include "mat2x2.hpp"
-
27 #include "mat2x3.hpp"
-
28 #include "mat2x4.hpp"
-
29 #include "mat3x2.hpp"
-
30 #include "mat3x3.hpp"
-
31 #include "mat3x4.hpp"
-
32 #include "mat4x2.hpp"
-
33 #include "mat4x3.hpp"
-
34 #include "mat4x4.hpp"
-
35 
-
36 namespace glm {
-
37  namespace detail
-
38  {
-
39  template<typename T, qualifier Q>
-
40  struct outerProduct_trait<2, 2, T, Q>
-
41  {
-
42  typedef mat<2, 2, T, Q> type;
-
43  };
-
44 
-
45  template<typename T, qualifier Q>
-
46  struct outerProduct_trait<2, 3, T, Q>
-
47  {
-
48  typedef mat<3, 2, T, Q> type;
-
49  };
-
50 
-
51  template<typename T, qualifier Q>
-
52  struct outerProduct_trait<2, 4, T, Q>
-
53  {
-
54  typedef mat<4, 2, T, Q> type;
-
55  };
-
56 
-
57  template<typename T, qualifier Q>
-
58  struct outerProduct_trait<3, 2, T, Q>
-
59  {
-
60  typedef mat<2, 3, T, Q> type;
-
61  };
-
62 
-
63  template<typename T, qualifier Q>
-
64  struct outerProduct_trait<3, 3, T, Q>
-
65  {
-
66  typedef mat<3, 3, T, Q> type;
-
67  };
-
68 
-
69  template<typename T, qualifier Q>
-
70  struct outerProduct_trait<3, 4, T, Q>
-
71  {
-
72  typedef mat<4, 3, T, Q> type;
-
73  };
-
74 
-
75  template<typename T, qualifier Q>
-
76  struct outerProduct_trait<4, 2, T, Q>
-
77  {
-
78  typedef mat<2, 4, T, Q> type;
-
79  };
-
80 
-
81  template<typename T, qualifier Q>
-
82  struct outerProduct_trait<4, 3, T, Q>
-
83  {
-
84  typedef mat<3, 4, T, Q> type;
-
85  };
-
86 
-
87  template<typename T, qualifier Q>
-
88  struct outerProduct_trait<4, 4, T, Q>
-
89  {
-
90  typedef mat<4, 4, T, Q> type;
-
91  };
-
92 
-
93  }//namespace detail
-
94 
-
97 
-
108  template<length_t C, length_t R, typename T, qualifier Q>
-
109  GLM_FUNC_DECL mat<C, R, T, Q> matrixCompMult(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y);
-
110 
-
122  template<length_t C, length_t R, typename T, qualifier Q>
-
123  GLM_FUNC_DECL typename detail::outerProduct_trait<C, R, T, Q>::type outerProduct(vec<C, T, Q> const& c, vec<R, T, Q> const& r);
-
124 
-
134  template<length_t C, length_t R, typename T, qualifier Q>
-
135  GLM_FUNC_DECL typename mat<C, R, T, Q>::transpose_type transpose(mat<C, R, T, Q> const& x);
-
136 
-
146  template<length_t C, length_t R, typename T, qualifier Q>
-
147  GLM_FUNC_DECL T determinant(mat<C, R, T, Q> const& m);
-
148 
-
158  template<length_t C, length_t R, typename T, qualifier Q>
-
159  GLM_FUNC_DECL mat<C, R, T, Q> inverse(mat<C, R, T, Q> const& m);
-
160 
-
162 }//namespace glm
-
163 
-
164 #include "detail/func_matrix.inl"
-
Core features
-
Core features
-
GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::type outerProduct(vec< C, T, Q > const &c, vec< R, T, Q > const &r)
Treats the first parameter c as a column vector and the second parameter r as a row vector and does a...
-
Core features
-
GLM_FUNC_DECL T determinant(mat< C, R, T, Q > const &m)
Return the determinant of a squared matrix.
-
Core features
-
Core features
-
GLM_FUNC_DECL mat< C, R, T, Q > matrixCompMult(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< C, R, T, Q >::transpose_type transpose(mat< C, R, T, Q > const &x)
Returns the transposed matrix of x.
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
-
GLM_FUNC_DECL mat< C, R, T, Q > inverse(mat< C, R, T, Q > const &m)
Return the inverse of a squared matrix.
-
Core features
-
Core features
-
Core features
-
Core features
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec2.hpp"
7 #include "type_vec4.hpp"
8 #include <limits>
9 #include <cstddef>
10 
11 namespace glm
12 {
13  template<typename T, qualifier Q>
14  struct mat<4, 2, T, Q>
15  {
16  typedef vec<2, T, Q> col_type;
17  typedef vec<4, T, Q> row_type;
18  typedef mat<4, 2, T, Q> type;
19  typedef mat<2, 4, T, Q> transpose_type;
20  typedef T value_type;
21 
22  private:
23  col_type value[4];
24 
25  public:
26  // -- Accesses --
27 
28  typedef length_t length_type;
29  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 4; }
30 
31  GLM_FUNC_DECL col_type & operator[](length_type i);
32  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
33 
34  // -- Constructors --
35 
36  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
37  template<qualifier P>
38  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<4, 2, T, P> const& m);
39 
40  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T scalar);
41  GLM_FUNC_DECL GLM_CONSTEXPR mat(
42  T x0, T y0,
43  T x1, T y1,
44  T x2, T y2,
45  T x3, T y3);
46  GLM_FUNC_DECL GLM_CONSTEXPR mat(
47  col_type const& v0,
48  col_type const& v1,
49  col_type const& v2,
50  col_type const& v3);
51 
52  // -- Conversions --
53 
54  template<
55  typename X0, typename Y0,
56  typename X1, typename Y1,
57  typename X2, typename Y2,
58  typename X3, typename Y3>
59  GLM_FUNC_DECL GLM_CONSTEXPR mat(
60  X0 x0, Y0 y0,
61  X1 x1, Y1 y1,
62  X2 x2, Y2 y2,
63  X3 x3, Y3 y3);
64 
65  template<typename V1, typename V2, typename V3, typename V4>
66  GLM_FUNC_DECL GLM_CONSTEXPR mat(
67  vec<2, V1, Q> const& v1,
68  vec<2, V2, Q> const& v2,
69  vec<2, V3, Q> const& v3,
70  vec<2, V4, Q> const& v4);
71 
72  // -- Matrix conversions --
73 
74  template<typename U, qualifier P>
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, U, P> const& m);
76 
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
83  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
84  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
85 
86  // -- Unary arithmetic operators --
87 
88  template<typename U>
89  GLM_FUNC_DECL mat<4, 2, T, Q> & operator=(mat<4, 2, U, Q> const& m);
90  template<typename U>
91  GLM_FUNC_DECL mat<4, 2, T, Q> & operator+=(U s);
92  template<typename U>
93  GLM_FUNC_DECL mat<4, 2, T, Q> & operator+=(mat<4, 2, U, Q> const& m);
94  template<typename U>
95  GLM_FUNC_DECL mat<4, 2, T, Q> & operator-=(U s);
96  template<typename U>
97  GLM_FUNC_DECL mat<4, 2, T, Q> & operator-=(mat<4, 2, U, Q> const& m);
98  template<typename U>
99  GLM_FUNC_DECL mat<4, 2, T, Q> & operator*=(U s);
100  template<typename U>
101  GLM_FUNC_DECL mat<4, 2, T, Q> & operator/=(U s);
102 
103  // -- Increment and decrement operators --
104 
105  GLM_FUNC_DECL mat<4, 2, T, Q> & operator++ ();
106  GLM_FUNC_DECL mat<4, 2, T, Q> & operator-- ();
107  GLM_FUNC_DECL mat<4, 2, T, Q> operator++(int);
108  GLM_FUNC_DECL mat<4, 2, T, Q> operator--(int);
109  };
110 
111  // -- Unary operators --
112 
113  template<typename T, qualifier Q>
114  GLM_FUNC_DECL mat<4, 2, T, Q> operator+(mat<4, 2, T, Q> const& m);
115 
116  template<typename T, qualifier Q>
117  GLM_FUNC_DECL mat<4, 2, T, Q> operator-(mat<4, 2, T, Q> const& m);
118 
119  // -- Binary operators --
120 
121  template<typename T, qualifier Q>
122  GLM_FUNC_DECL mat<4, 2, T, Q> operator+(mat<4, 2, T, Q> const& m, T scalar);
123 
124  template<typename T, qualifier Q>
125  GLM_FUNC_DECL mat<4, 2, T, Q> operator+(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
126 
127  template<typename T, qualifier Q>
128  GLM_FUNC_DECL mat<4, 2, T, Q> operator-(mat<4, 2, T, Q> const& m, T scalar);
129 
130  template<typename T, qualifier Q>
131  GLM_FUNC_DECL mat<4, 2, T, Q> operator-(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
132 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<4, 2, T, Q> const& m, T scalar);
135 
136  template<typename T, qualifier Q>
137  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(T scalar, mat<4, 2, T, Q> const& m);
138 
139  template<typename T, qualifier Q>
140  GLM_FUNC_DECL typename mat<4, 2, T, Q>::col_type operator*(mat<4, 2, T, Q> const& m, typename mat<4, 2, T, Q>::row_type const& v);
141 
142  template<typename T, qualifier Q>
143  GLM_FUNC_DECL typename mat<4, 2, T, Q>::row_type operator*(typename mat<4, 2, T, Q>::col_type const& v, mat<4, 2, T, Q> const& m);
144 
145  template<typename T, qualifier Q>
146  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<4, 2, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
147 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<4, 2, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
150 
151  template<typename T, qualifier Q>
152  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<4, 2, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
153 
154  template<typename T, qualifier Q>
155  GLM_FUNC_DECL mat<4, 2, T, Q> operator/(mat<4, 2, T, Q> const& m, T scalar);
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL mat<4, 2, T, Q> operator/(T scalar, mat<4, 2, T, Q> const& m);
159 
160  // -- Boolean operators --
161 
162  template<typename T, qualifier Q>
163  GLM_FUNC_DECL bool operator==(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
164 
165  template<typename T, qualifier Q>
166  GLM_FUNC_DECL bool operator!=(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
167 }//namespace glm
168 
169 #ifndef GLM_EXTERNAL_TEMPLATE
170 #include "type_mat4x2.inl"
171 #endif
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
Core features
diff --git a/doc/api/a00057_source.html b/doc/api/a00057_source.html deleted file mode 100644 index 840b8bdf..00000000 --- a/doc/api/a00057_source.html +++ /dev/null @@ -1,140 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_access.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_access.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../detail/setup.hpp"
-
17 
-
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
19 # pragma message("GLM: GLM_GTC_matrix_access extension included")
-
20 #endif
-
21 
-
22 namespace glm
-
23 {
-
26 
-
29  template<typename genType>
-
30  GLM_FUNC_DECL typename genType::row_type row(
-
31  genType const& m,
-
32  length_t index);
-
33 
-
36  template<typename genType>
-
37  GLM_FUNC_DECL genType row(
-
38  genType const& m,
-
39  length_t index,
-
40  typename genType::row_type const& x);
-
41 
-
44  template<typename genType>
-
45  GLM_FUNC_DECL typename genType::col_type column(
-
46  genType const& m,
-
47  length_t index);
-
48 
-
51  template<typename genType>
-
52  GLM_FUNC_DECL genType column(
-
53  genType const& m,
-
54  length_t index,
-
55  typename genType::col_type const& x);
-
56 
-
58 }//namespace glm
-
59 
-
60 #include "matrix_access.inl"
-
GLM_FUNC_DECL genType row(genType const &m, length_t index, typename genType::row_type const &x)
Set a specific row to a matrix.
-
GLM_FUNC_DECL genType column(genType const &m, length_t index, typename genType::col_type const &x)
Set a specific column to a matrix.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00058_source.html b/doc/api/a00058_source.html deleted file mode 100644 index 53bff64a..00000000 --- a/doc/api/a00058_source.html +++ /dev/null @@ -1,130 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_cross_product.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_cross_product.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_matrix_cross_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename T, qualifier Q>
-
35  GLM_FUNC_DECL mat<3, 3, T, Q> matrixCross3(
-
36  vec<3, T, Q> const& x);
-
37 
-
40  template<typename T, qualifier Q>
-
41  GLM_FUNC_DECL mat<4, 4, T, Q> matrixCross4(
-
42  vec<3, T, Q> const& x);
-
43 
-
45 }//namespace glm
-
46 
-
47 #include "matrix_cross_product.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4(vec< 3, T, Q > const &x)
Build a cross product matrix.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3(vec< 3, T, Q > const &x)
Build a cross product matrix.
-
- - - - diff --git a/doc/api/a00059.html b/doc/api/a00059.html index 1403471a..290a0945 100644 --- a/doc/api/a00059.html +++ b/doc/api/a00059.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_decompose.hpp File Reference + + +0.9.9 API documenation: type_mat4x3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
matrix_decompose.hpp File Reference
+
type_mat4x3.hpp File Reference
-

GLM_GTX_matrix_decompose -More...

-

Go to the source code of this file.

- - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL bool decompose (mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, tquat< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective)
 Decomposes a model matrix to translations, rotation and scale components. More...
 

Detailed Description

-

GLM_GTX_matrix_decompose

-
See also
Core features (dependence)
+

Core features

-

Definition in file matrix_decompose.hpp.

+

Definition in file type_mat4x3.hpp.

diff --git a/doc/api/a00059_source.html b/doc/api/a00059_source.html index 05a9be09..adf9d806 100644 --- a/doc/api/a00059_source.html +++ b/doc/api/a00059_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_decompose.hpp Source File + + +0.9.9 API documenation: type_mat4x3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
matrix_decompose.hpp
+
type_mat4x3.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../mat4x4.hpp"
-
17 #include "../vec3.hpp"
-
18 #include "../vec4.hpp"
-
19 #include "../geometric.hpp"
-
20 #include "../gtc/quaternion.hpp"
-
21 #include "../gtc/matrix_transform.hpp"
-
22 
-
23 #ifndef GLM_ENABLE_EXPERIMENTAL
-
24 # error "GLM: GLM_GTX_matrix_decompose is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
25 #endif
-
26 
-
27 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
28 # pragma message("GLM: GLM_GTX_matrix_decompose extension included")
-
29 #endif
-
30 
-
31 namespace glm
-
32 {
-
35 
-
38  template<typename T, qualifier Q>
-
39  GLM_FUNC_DECL bool decompose(
-
40  mat<4, 4, T, Q> const& modelMatrix,
-
41  vec<3, T, Q> & scale, tquat<T, Q> & orientation, vec<3, T, Q> & translation, vec<3, T, Q> & skew, vec<4, T, Q> & perspective);
-
42 
-
44 }//namespace glm
-
45 
-
46 #include "matrix_decompose.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
Build a rotation matrix from a normal and a up vector.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL bool decompose(mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, tquat< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective)
Decomposes a model matrix to translations, rotation and scale components.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum based on the default handedness and default ...
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec3.hpp"
7 #include "type_vec4.hpp"
8 #include <limits>
9 #include <cstddef>
10 
11 namespace glm
12 {
13  template<typename T, qualifier Q>
14  struct mat<4, 3, T, Q>
15  {
16  typedef vec<3, T, Q> col_type;
17  typedef vec<4, T, Q> row_type;
18  typedef mat<4, 3, T, Q> type;
19  typedef mat<3, 4, T, Q> transpose_type;
20  typedef T value_type;
21 
22  private:
23  col_type value[4];
24 
25  public:
26  // -- Accesses --
27 
28  typedef length_t length_type;
29  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 4; }
30 
31  GLM_FUNC_DECL col_type & operator[](length_type i);
32  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
33 
34  // -- Constructors --
35 
36  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
37  template<qualifier P>
38  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<4, 3, T, P> const& m);
39 
40  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T const& x);
41  GLM_FUNC_DECL GLM_CONSTEXPR mat(
42  T const& x0, T const& y0, T const& z0,
43  T const& x1, T const& y1, T const& z1,
44  T const& x2, T const& y2, T const& z2,
45  T const& x3, T const& y3, T const& z3);
46  GLM_FUNC_DECL GLM_CONSTEXPR mat(
47  col_type const& v0,
48  col_type const& v1,
49  col_type const& v2,
50  col_type const& v3);
51 
52  // -- Conversions --
53 
54  template<
55  typename X1, typename Y1, typename Z1,
56  typename X2, typename Y2, typename Z2,
57  typename X3, typename Y3, typename Z3,
58  typename X4, typename Y4, typename Z4>
59  GLM_FUNC_DECL GLM_CONSTEXPR mat(
60  X1 const& x1, Y1 const& y1, Z1 const& z1,
61  X2 const& x2, Y2 const& y2, Z2 const& z2,
62  X3 const& x3, Y3 const& y3, Z3 const& z3,
63  X4 const& x4, Y4 const& y4, Z4 const& z4);
64 
65  template<typename V1, typename V2, typename V3, typename V4>
66  GLM_FUNC_DECL GLM_CONSTEXPR mat(
67  vec<3, V1, Q> const& v1,
68  vec<3, V2, Q> const& v2,
69  vec<3, V3, Q> const& v3,
70  vec<3, V4, Q> const& v4);
71 
72  // -- Matrix conversions --
73 
74  template<typename U, qualifier P>
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, U, P> const& m);
76 
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, T, Q> const& x);
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
83  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
84  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
85 
86  // -- Unary arithmetic operators --
87 
88  template<typename U>
89  GLM_FUNC_DECL mat<4, 3, T, Q> & operator=(mat<4, 3, U, Q> const& m);
90  template<typename U>
91  GLM_FUNC_DECL mat<4, 3, T, Q> & operator+=(U s);
92  template<typename U>
93  GLM_FUNC_DECL mat<4, 3, T, Q> & operator+=(mat<4, 3, U, Q> const& m);
94  template<typename U>
95  GLM_FUNC_DECL mat<4, 3, T, Q> & operator-=(U s);
96  template<typename U>
97  GLM_FUNC_DECL mat<4, 3, T, Q> & operator-=(mat<4, 3, U, Q> const& m);
98  template<typename U>
99  GLM_FUNC_DECL mat<4, 3, T, Q> & operator*=(U s);
100  template<typename U>
101  GLM_FUNC_DECL mat<4, 3, T, Q> & operator/=(U s);
102 
103  // -- Increment and decrement operators --
104 
105  GLM_FUNC_DECL mat<4, 3, T, Q>& operator++();
106  GLM_FUNC_DECL mat<4, 3, T, Q>& operator--();
107  GLM_FUNC_DECL mat<4, 3, T, Q> operator++(int);
108  GLM_FUNC_DECL mat<4, 3, T, Q> operator--(int);
109  };
110 
111  // -- Unary operators --
112 
113  template<typename T, qualifier Q>
114  GLM_FUNC_DECL mat<4, 3, T, Q> operator+(mat<4, 3, T, Q> const& m);
115 
116  template<typename T, qualifier Q>
117  GLM_FUNC_DECL mat<4, 3, T, Q> operator-(mat<4, 3, T, Q> const& m);
118 
119  // -- Binary operators --
120 
121  template<typename T, qualifier Q>
122  GLM_FUNC_DECL mat<4, 3, T, Q> operator+(mat<4, 3, T, Q> const& m, T const& s);
123 
124  template<typename T, qualifier Q>
125  GLM_FUNC_DECL mat<4, 3, T, Q> operator+(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
126 
127  template<typename T, qualifier Q>
128  GLM_FUNC_DECL mat<4, 3, T, Q> operator-(mat<4, 3, T, Q> const& m, T const& s);
129 
130  template<typename T, qualifier Q>
131  GLM_FUNC_DECL mat<4, 3, T, Q> operator-(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
132 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<4, 3, T, Q> const& m, T const& s);
135 
136  template<typename T, qualifier Q>
137  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(T const& s, mat<4, 3, T, Q> const& m);
138 
139  template<typename T, qualifier Q>
140  GLM_FUNC_DECL typename mat<4, 3, T, Q>::col_type operator*(mat<4, 3, T, Q> const& m, typename mat<4, 3, T, Q>::row_type const& v);
141 
142  template<typename T, qualifier Q>
143  GLM_FUNC_DECL typename mat<4, 3, T, Q>::row_type operator*(typename mat<4, 3, T, Q>::col_type const& v, mat<4, 3, T, Q> const& m);
144 
145  template<typename T, qualifier Q>
146  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<4, 3, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
147 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<4, 3, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
150 
151  template<typename T, qualifier Q>
152  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<4, 3, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
153 
154  template<typename T, qualifier Q>
155  GLM_FUNC_DECL mat<4, 3, T, Q> operator/(mat<4, 3, T, Q> const& m, T const& s);
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL mat<4, 3, T, Q> operator/(T const& s, mat<4, 3, T, Q> const& m);
159 
160  // -- Boolean operators --
161 
162  template<typename T, qualifier Q>
163  GLM_FUNC_DECL bool operator==(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
164 
165  template<typename T, qualifier Q>
166  GLM_FUNC_DECL bool operator!=(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
167 }//namespace glm
168 
169 #ifndef GLM_EXTERNAL_TEMPLATE
170 #include "type_mat4x3.inl"
171 #endif //GLM_EXTERNAL_TEMPLATE
Core features
+
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00060_source.html b/doc/api/a00060_source.html deleted file mode 100644 index 866d0c8b..00000000 --- a/doc/api/a00060_source.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_factorisation.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_factorisation.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_matrix_factorisation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_matrix_factorisation extension included")
-
24 #endif
-
25 
-
26 /*
-
27 Suggestions:
-
28  - Move helper functions flipud and fliplr to another file: They may be helpful in more general circumstances.
-
29  - Implement other types of matrix factorisation, such as: QL and LQ, L(D)U, eigendecompositions, etc...
-
30 */
-
31 
-
32 namespace glm
-
33 {
-
36 
-
40  template <length_t C, length_t R, typename T, qualifier Q>
-
41  GLM_FUNC_DECL mat<C, R, T, Q> flipud(mat<C, R, T, Q> const& in);
-
42 
-
46  template <length_t C, length_t R, typename T, qualifier Q>
-
47  GLM_FUNC_DECL mat<C, R, T, Q> fliplr(mat<C, R, T, Q> const& in);
-
48 
-
54  template <length_t C, length_t R, typename T, qualifier Q>
-
55  GLM_FUNC_DECL void qr_decompose(mat<C, R, T, Q> const& in, mat<(C < R ? C : R), R, T, Q>& q, mat<C, (C < R ? C : R), T, Q>& r);
-
56 
-
63  template <length_t C, length_t R, typename T, qualifier Q>
-
64  GLM_FUNC_DECL void rq_decompose(mat<C, R, T, Q> const& in, mat<(C < R ? C : R), R, T, Q>& r, mat<C, (C < R ? C : R), T, Q>& q);
-
65 
-
67 }
-
68 
-
69 #include "matrix_factorisation.inl"
-
GLM_FUNC_DECL void rq_decompose(mat< C, R, T, Q > const &in, mat<(C< R?C:R), R, T, Q > &r, mat< C,(C< R?C:R), T, Q > &q)
Performs RQ factorisation of a matrix.
-
GLM_FUNC_DECL void qr_decompose(mat< C, R, T, Q > const &in, mat<(C< R?C:R), R, T, Q > &q, mat< C,(C< R?C:R), T, Q > &r)
Performs QR factorisation of a matrix.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< C, R, T, Q > flipud(mat< C, R, T, Q > const &in)
Flips the matrix rows up and down.
-
GLM_FUNC_DECL mat< C, R, T, Q > fliplr(mat< C, R, T, Q > const &in)
Flips the matrix columns right and left.
-
- - - - diff --git a/doc/api/a00061_source.html b/doc/api/a00061_source.html deleted file mode 100644 index 5b405adf..00000000 --- a/doc/api/a00061_source.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_integer.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_integer.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../mat2x2.hpp"
-
17 #include "../mat2x3.hpp"
-
18 #include "../mat2x4.hpp"
-
19 #include "../mat3x2.hpp"
-
20 #include "../mat3x3.hpp"
-
21 #include "../mat3x4.hpp"
-
22 #include "../mat4x2.hpp"
-
23 #include "../mat4x3.hpp"
-
24 #include "../mat4x4.hpp"
-
25 
-
26 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
27 # pragma message("GLM: GLM_GTC_matrix_integer extension included")
-
28 #endif
-
29 
-
30 namespace glm
-
31 {
-
34 
-
37  typedef mat<2, 2, int, highp> highp_imat2;
-
38 
-
41  typedef mat<3, 3, int, highp> highp_imat3;
-
42 
-
45  typedef mat<4, 4, int, highp> highp_imat4;
-
46 
-
49  typedef mat<2, 2, int, highp> highp_imat2x2;
-
50 
-
53  typedef mat<2, 3, int, highp> highp_imat2x3;
-
54 
-
57  typedef mat<2, 4, int, highp> highp_imat2x4;
-
58 
-
61  typedef mat<3, 2, int, highp> highp_imat3x2;
-
62 
-
65  typedef mat<3, 3, int, highp> highp_imat3x3;
-
66 
-
69  typedef mat<3, 4, int, highp> highp_imat3x4;
-
70 
-
73  typedef mat<4, 2, int, highp> highp_imat4x2;
-
74 
-
77  typedef mat<4, 3, int, highp> highp_imat4x3;
-
78 
-
81  typedef mat<4, 4, int, highp> highp_imat4x4;
-
82 
-
83 
-
86  typedef mat<2, 2, int, mediump> mediump_imat2;
-
87 
-
90  typedef mat<3, 3, int, mediump> mediump_imat3;
-
91 
-
94  typedef mat<4, 4, int, mediump> mediump_imat4;
-
95 
-
96 
-
99  typedef mat<2, 2, int, mediump> mediump_imat2x2;
-
100 
-
103  typedef mat<2, 3, int, mediump> mediump_imat2x3;
-
104 
-
107  typedef mat<2, 4, int, mediump> mediump_imat2x4;
-
108 
-
111  typedef mat<3, 2, int, mediump> mediump_imat3x2;
-
112 
-
115  typedef mat<3, 3, int, mediump> mediump_imat3x3;
-
116 
-
119  typedef mat<3, 4, int, mediump> mediump_imat3x4;
-
120 
-
123  typedef mat<4, 2, int, mediump> mediump_imat4x2;
-
124 
-
127  typedef mat<4, 3, int, mediump> mediump_imat4x3;
-
128 
-
131  typedef mat<4, 4, int, mediump> mediump_imat4x4;
-
132 
-
133 
-
136  typedef mat<2, 2, int, lowp> lowp_imat2;
-
137 
-
140  typedef mat<3, 3, int, lowp> lowp_imat3;
-
141 
-
144  typedef mat<4, 4, int, lowp> lowp_imat4;
-
145 
-
146 
-
149  typedef mat<2, 2, int, lowp> lowp_imat2x2;
-
150 
-
153  typedef mat<2, 3, int, lowp> lowp_imat2x3;
-
154 
-
157  typedef mat<2, 4, int, lowp> lowp_imat2x4;
-
158 
-
161  typedef mat<3, 2, int, lowp> lowp_imat3x2;
-
162 
-
165  typedef mat<3, 3, int, lowp> lowp_imat3x3;
-
166 
-
169  typedef mat<3, 4, int, lowp> lowp_imat3x4;
-
170 
-
173  typedef mat<4, 2, int, lowp> lowp_imat4x2;
-
174 
-
177  typedef mat<4, 3, int, lowp> lowp_imat4x3;
-
178 
-
181  typedef mat<4, 4, int, lowp> lowp_imat4x4;
-
182 
-
183 
-
186  typedef mat<2, 2, uint, highp> highp_umat2;
-
187 
-
190  typedef mat<3, 3, uint, highp> highp_umat3;
-
191 
-
194  typedef mat<4, 4, uint, highp> highp_umat4;
-
195 
-
198  typedef mat<2, 2, uint, highp> highp_umat2x2;
-
199 
-
202  typedef mat<2, 3, uint, highp> highp_umat2x3;
-
203 
-
206  typedef mat<2, 4, uint, highp> highp_umat2x4;
-
207 
-
210  typedef mat<3, 2, uint, highp> highp_umat3x2;
-
211 
-
214  typedef mat<3, 3, uint, highp> highp_umat3x3;
-
215 
-
218  typedef mat<3, 4, uint, highp> highp_umat3x4;
-
219 
-
222  typedef mat<4, 2, uint, highp> highp_umat4x2;
-
223 
-
226  typedef mat<4, 3, uint, highp> highp_umat4x3;
-
227 
-
230  typedef mat<4, 4, uint, highp> highp_umat4x4;
-
231 
-
232 
-
235  typedef mat<2, 2, uint, mediump> mediump_umat2;
-
236 
-
239  typedef mat<3, 3, uint, mediump> mediump_umat3;
-
240 
-
243  typedef mat<4, 4, uint, mediump> mediump_umat4;
-
244 
-
245 
-
248  typedef mat<2, 2, uint, mediump> mediump_umat2x2;
-
249 
-
252  typedef mat<2, 3, uint, mediump> mediump_umat2x3;
-
253 
-
256  typedef mat<2, 4, uint, mediump> mediump_umat2x4;
-
257 
-
260  typedef mat<3, 2, uint, mediump> mediump_umat3x2;
-
261 
-
264  typedef mat<3, 3, uint, mediump> mediump_umat3x3;
-
265 
-
268  typedef mat<3, 4, uint, mediump> mediump_umat3x4;
-
269 
-
272  typedef mat<4, 2, uint, mediump> mediump_umat4x2;
-
273 
-
276  typedef mat<4, 3, uint, mediump> mediump_umat4x3;
-
277 
-
280  typedef mat<4, 4, uint, mediump> mediump_umat4x4;
-
281 
-
282 
-
285  typedef mat<2, 2, uint, lowp> lowp_umat2;
-
286 
-
289  typedef mat<3, 3, uint, lowp> lowp_umat3;
-
290 
-
293  typedef mat<4, 4, uint, lowp> lowp_umat4;
-
294 
-
295 
-
298  typedef mat<2, 2, uint, lowp> lowp_umat2x2;
-
299 
-
302  typedef mat<2, 3, uint, lowp> lowp_umat2x3;
-
303 
-
306  typedef mat<2, 4, uint, lowp> lowp_umat2x4;
-
307 
-
310  typedef mat<3, 2, uint, lowp> lowp_umat3x2;
-
311 
-
314  typedef mat<3, 3, uint, lowp> lowp_umat3x3;
-
315 
-
318  typedef mat<3, 4, uint, lowp> lowp_umat3x4;
-
319 
-
322  typedef mat<4, 2, uint, lowp> lowp_umat4x2;
-
323 
-
326  typedef mat<4, 3, uint, lowp> lowp_umat4x3;
-
327 
-
330  typedef mat<4, 4, uint, lowp> lowp_umat4x4;
-
331 
-
332 #if(defined(GLM_PRECISION_HIGHP_INT))
-
333  typedef highp_imat2 imat2;
-
334  typedef highp_imat3 imat3;
-
335  typedef highp_imat4 imat4;
-
336  typedef highp_imat2x2 imat2x2;
-
337  typedef highp_imat2x3 imat2x3;
-
338  typedef highp_imat2x4 imat2x4;
-
339  typedef highp_imat3x2 imat3x2;
-
340  typedef highp_imat3x3 imat3x3;
-
341  typedef highp_imat3x4 imat3x4;
-
342  typedef highp_imat4x2 imat4x2;
-
343  typedef highp_imat4x3 imat4x3;
-
344  typedef highp_imat4x4 imat4x4;
-
345 #elif(defined(GLM_PRECISION_LOWP_INT))
-
346  typedef lowp_imat2 imat2;
-
347  typedef lowp_imat3 imat3;
-
348  typedef lowp_imat4 imat4;
-
349  typedef lowp_imat2x2 imat2x2;
-
350  typedef lowp_imat2x3 imat2x3;
-
351  typedef lowp_imat2x4 imat2x4;
-
352  typedef lowp_imat3x2 imat3x2;
-
353  typedef lowp_imat3x3 imat3x3;
-
354  typedef lowp_imat3x4 imat3x4;
-
355  typedef lowp_imat4x2 imat4x2;
-
356  typedef lowp_imat4x3 imat4x3;
-
357  typedef lowp_imat4x4 imat4x4;
-
358 #else //if(defined(GLM_PRECISION_MEDIUMP_INT))
-
359 
-
362  typedef mediump_imat2 imat2;
-
363 
-
366  typedef mediump_imat3 imat3;
-
367 
-
370  typedef mediump_imat4 imat4;
-
371 
-
374  typedef mediump_imat2x2 imat2x2;
-
375 
-
378  typedef mediump_imat2x3 imat2x3;
-
379 
-
382  typedef mediump_imat2x4 imat2x4;
-
383 
-
386  typedef mediump_imat3x2 imat3x2;
-
387 
-
390  typedef mediump_imat3x3 imat3x3;
-
391 
-
394  typedef mediump_imat3x4 imat3x4;
-
395 
-
398  typedef mediump_imat4x2 imat4x2;
-
399 
-
402  typedef mediump_imat4x3 imat4x3;
-
403 
-
406  typedef mediump_imat4x4 imat4x4;
-
407 #endif//GLM_PRECISION
-
408 
-
409 #if(defined(GLM_PRECISION_HIGHP_UINT))
-
410  typedef highp_umat2 umat2;
-
411  typedef highp_umat3 umat3;
-
412  typedef highp_umat4 umat4;
-
413  typedef highp_umat2x2 umat2x2;
-
414  typedef highp_umat2x3 umat2x3;
-
415  typedef highp_umat2x4 umat2x4;
-
416  typedef highp_umat3x2 umat3x2;
-
417  typedef highp_umat3x3 umat3x3;
-
418  typedef highp_umat3x4 umat3x4;
-
419  typedef highp_umat4x2 umat4x2;
-
420  typedef highp_umat4x3 umat4x3;
-
421  typedef highp_umat4x4 umat4x4;
-
422 #elif(defined(GLM_PRECISION_LOWP_UINT))
-
423  typedef lowp_umat2 umat2;
-
424  typedef lowp_umat3 umat3;
-
425  typedef lowp_umat4 umat4;
-
426  typedef lowp_umat2x2 umat2x2;
-
427  typedef lowp_umat2x3 umat2x3;
-
428  typedef lowp_umat2x4 umat2x4;
-
429  typedef lowp_umat3x2 umat3x2;
-
430  typedef lowp_umat3x3 umat3x3;
-
431  typedef lowp_umat3x4 umat3x4;
-
432  typedef lowp_umat4x2 umat4x2;
-
433  typedef lowp_umat4x3 umat4x3;
-
434  typedef lowp_umat4x4 umat4x4;
-
435 #else //if(defined(GLM_PRECISION_MEDIUMP_UINT))
-
436 
-
439  typedef mediump_umat2 umat2;
-
440 
-
443  typedef mediump_umat3 umat3;
-
444 
-
447  typedef mediump_umat4 umat4;
-
448 
-
451  typedef mediump_umat2x2 umat2x2;
-
452 
-
455  typedef mediump_umat2x3 umat2x3;
-
456 
-
459  typedef mediump_umat2x4 umat2x4;
-
460 
-
463  typedef mediump_umat3x2 umat3x2;
-
464 
-
467  typedef mediump_umat3x3 umat3x3;
-
468 
-
471  typedef mediump_umat3x4 umat3x4;
-
472 
-
475  typedef mediump_umat4x2 umat4x2;
-
476 
-
479  typedef mediump_umat4x3 umat4x3;
-
480 
-
483  typedef mediump_umat4x4 umat4x4;
-
484 #endif//GLM_PRECISION
-
485 
-
487 }//namespace glm
-
mat< 2, 3, int, mediump > mediump_imat2x3
Medium-qualifier signed integer 2x3 matrix.
-
mediump_imat4x2 imat4x2
Signed integer 4x2 matrix.
-
mat< 4, 3, int, highp > highp_imat4x3
High-qualifier signed integer 4x3 matrix.
-
mat< 4, 4, uint, highp > highp_umat4x4
High-qualifier unsigned integer 4x4 matrix.
-
mat< 2, 2, uint, lowp > lowp_umat2
Low-qualifier unsigned integer 2x2 matrix.
-
mat< 3, 2, uint, lowp > lowp_umat3x2
Low-qualifier unsigned integer 3x2 matrix.
-
mediump_umat3x2 umat3x2
Unsigned integer 3x2 matrix.
-
mediump_umat3x4 umat3x4
Unsigned integer 3x4 matrix.
-
mat< 3, 3, uint, mediump > mediump_umat3
Medium-qualifier unsigned integer 3x3 matrix.
-
mat< 4, 3, uint, mediump > mediump_umat4x3
Medium-qualifier unsigned integer 4x3 matrix.
-
mat< 3, 4, int, highp > highp_imat3x4
High-qualifier signed integer 3x4 matrix.
-
mat< 3, 3, int, mediump > mediump_imat3
Medium-qualifier signed integer 3x3 matrix.
-
mat< 3, 4, uint, highp > highp_umat3x4
High-qualifier unsigned integer 3x4 matrix.
-
mat< 4, 2, uint, lowp > lowp_umat4x2
Low-qualifier unsigned integer 4x2 matrix.
-
mat< 2, 2, int, lowp > lowp_imat2
Low-qualifier signed integer 2x2 matrix.
-
mediump_imat2x4 imat2x4
Signed integer 2x4 matrix.
-
mediump_umat4x3 umat4x3
Unsigned integer 4x3 matrix.
-
mediump_imat2 imat2
Signed integer 2x2 matrix.
-
mediump_imat3x2 imat3x2
Signed integer 3x2 matrix.
-
mat< 3, 4, int, mediump > mediump_imat3x4
Medium-qualifier signed integer 3x4 matrix.
-
mat< 3, 4, int, lowp > lowp_imat3x4
Low-qualifier signed integer 3x4 matrix.
-
mat< 3, 3, uint, highp > highp_umat3
High-qualifier unsigned integer 3x3 matrix.
-
mat< 2, 2, int, lowp > lowp_imat2x2
Low-qualifier signed integer 2x2 matrix.
-
mat< 2, 3, int, lowp > lowp_imat2x3
Low-qualifier signed integer 2x3 matrix.
-
mat< 4, 2, int, highp > highp_imat4x2
High-qualifier signed integer 4x2 matrix.
-
mat< 4, 4, uint, highp > highp_umat4
High-qualifier unsigned integer 4x4 matrix.
-
mediump_imat4x3 imat4x3
Signed integer 4x3 matrix.
-
mat< 4, 4, int, lowp > lowp_imat4
Low-qualifier signed integer 4x4 matrix.
-
mat< 4, 2, uint, highp > highp_umat4x2
High-qualifier unsigned integer 4x2 matrix.
-
mat< 2, 2, int, mediump > mediump_imat2x2
Medium-qualifier signed integer 2x2 matrix.
-
mat< 4, 4, int, highp > highp_imat4
High-qualifier signed integer 4x4 matrix.
-
mat< 3, 3, uint, mediump > mediump_umat3x3
Medium-qualifier unsigned integer 3x3 matrix.
-
mat< 3, 2, int, mediump > mediump_imat3x2
Medium-qualifier signed integer 3x2 matrix.
-
mat< 2, 3, uint, mediump > mediump_umat2x3
Medium-qualifier unsigned integer 2x3 matrix.
-
mat< 4, 3, uint, lowp > lowp_umat4x3
Low-qualifier unsigned integer 4x3 matrix.
-
mediump_imat4x4 imat4x4
Signed integer 4x4 matrix.
-
mat< 3, 4, uint, mediump > mediump_umat3x4
Medium-qualifier unsigned integer 3x4 matrix.
-
mat< 2, 3, uint, lowp > lowp_umat2x3
Low-qualifier unsigned integer 2x3 matrix.
-
mat< 2, 4, int, highp > highp_imat2x4
High-qualifier signed integer 2x4 matrix.
-
mat< 2, 2, uint, mediump > mediump_umat2x2
Medium-qualifier unsigned integer 2x2 matrix.
-
mat< 2, 3, uint, highp > highp_umat2x3
High-qualifier unsigned integer 2x3 matrix.
-
mat< 3, 3, int, highp > highp_imat3
High-qualifier signed integer 3x3 matrix.
-
mat< 2, 2, uint, highp > highp_umat2
High-qualifier unsigned integer 2x2 matrix.
-
mat< 4, 4, uint, lowp > lowp_umat4
Low-qualifier unsigned integer 4x4 matrix.
-
mat< 2, 2, int, mediump > mediump_imat2
Medium-qualifier signed integer 2x2 matrix.
-
mat< 3, 2, uint, mediump > mediump_umat3x2
Medium-qualifier unsigned integer 3x2 matrix.
-
mat< 3, 3, int, lowp > lowp_imat3x3
Low-qualifier signed integer 3x3 matrix.
-
mat< 3, 3, int, highp > highp_imat3x3
High-qualifier signed integer 3x3 matrix.
-
Definition: common.hpp:20
-
mat< 2, 4, uint, highp > highp_umat2x4
High-qualifier unsigned integer 2x4 matrix.
-
mediump_umat4 umat4
Unsigned integer 4x4 matrix.
-
mat< 3, 2, int, highp > highp_imat3x2
High-qualifier signed integer 3x2 matrix.
-
mat< 3, 2, int, lowp > lowp_imat3x2
Low-qualifier signed integer 3x2 matrix.
-
mat< 4, 4, int, mediump > mediump_imat4
Medium-qualifier signed integer 4x4 matrix.
-
mediump_imat3x3 imat3x3
Signed integer 3x3 matrix.
-
mat< 2, 2, int, highp > highp_imat2x2
High-qualifier signed integer 2x2 matrix.
-
mediump_imat4 imat4
Signed integer 4x4 matrix.
-
mat< 3, 3, uint, lowp > lowp_umat3
Low-qualifier unsigned integer 3x3 matrix.
-
mediump_umat3 umat3
Unsigned integer 3x3 matrix.
-
mat< 2, 2, uint, highp > highp_umat2x2
High-qualifier unsigned integer 2x2 matrix.
-
mat< 3, 3, int, lowp > lowp_imat3
Low-qualifier signed integer 3x3 matrix.
-
mediump_umat4x2 umat4x2
Unsigned integer 4x2 matrix.
-
mediump_umat3x3 umat3x3
Unsigned integer 3x3 matrix.
-
mat< 2, 4, int, mediump > mediump_imat2x4
Medium-qualifier signed integer 2x4 matrix.
-
mat< 3, 4, uint, lowp > lowp_umat3x4
Low-qualifier unsigned integer 3x4 matrix.
-
mat< 4, 4, int, lowp > lowp_imat4x4
Low-qualifier signed integer 4x4 matrix.
-
mat< 3, 3, int, mediump > mediump_imat3x3
Medium-qualifier signed integer 3x3 matrix.
-
mat< 2, 3, int, highp > highp_imat2x3
High-qualifier signed integer 2x3 matrix.
-
mediump_imat2x2 imat2x2
Signed integer 2x2 matrix.
-
mat< 2, 2, uint, mediump > mediump_umat2
Medium-qualifier unsigned integer 2x2 matrix.
-
mat< 2, 4, uint, lowp > lowp_umat2x4
Low-qualifier unsigned integer 2x4 matrix.
-
mediump_umat2x2 umat2x2
Unsigned integer 2x2 matrix.
-
mat< 3, 3, uint, highp > highp_umat3x3
High-qualifier unsigned integer 3x3 matrix.
-
mat< 4, 3, int, lowp > lowp_imat4x3
Low-qualifier signed integer 4x3 matrix.
-
mediump_umat4x4 umat4x4
Unsigned integer 4x4 matrix.
-
mat< 4, 2, int, mediump > mediump_imat4x2
Medium-qualifier signed integer 4x2 matrix.
-
mat< 2, 2, uint, lowp > lowp_umat2x2
Low-qualifier unsigned integer 2x2 matrix.
-
mat< 4, 2, int, lowp > lowp_imat4x2
Low-qualifier signed integer 4x2 matrix.
-
mediump_imat2x3 imat2x3
Signed integer 2x3 matrix.
-
mat< 4, 4, uint, mediump > mediump_umat4
Medium-qualifier unsigned integer 4x4 matrix.
-
mediump_imat3 imat3
Signed integer 3x3 matrix.
-
mediump_umat2x3 umat2x3
Unsigned integer 2x3 matrix.
-
mat< 4, 4, int, highp > highp_imat4x4
High-qualifier signed integer 4x4 matrix.
-
mat< 2, 2, int, highp > highp_imat2
High-qualifier signed integer 2x2 matrix.
-
mediump_umat2 umat2
Unsigned integer 2x2 matrix.
-
mat< 4, 4, uint, mediump > mediump_umat4x4
Medium-qualifier unsigned integer 4x4 matrix.
-
mediump_imat3x4 imat3x4
Signed integer 3x4 matrix.
-
mat< 4, 3, uint, highp > highp_umat4x3
High-qualifier unsigned integer 4x3 matrix.
-
mat< 3, 2, uint, highp > highp_umat3x2
High-qualifier unsigned integer 3x2 matrix.
-
mat< 2, 4, int, lowp > lowp_imat2x4
Low-qualifier signed integer 2x4 matrix.
-
mediump_umat2x4 umat2x4
Unsigned integer 2x4 matrix.
-
mat< 2, 4, uint, mediump > mediump_umat2x4
Medium-qualifier unsigned integer 2x4 matrix.
-
mat< 4, 3, int, mediump > mediump_imat4x3
Medium-qualifier signed integer 4x3 matrix.
-
mat< 3, 3, uint, lowp > lowp_umat3x3
Low-qualifier unsigned integer 3x3 matrix.
-
mat< 4, 4, int, mediump > mediump_imat4x4
Medium-qualifier signed integer 4x4 matrix.
-
mat< 4, 2, uint, mediump > mediump_umat4x2
Medium-qualifier unsigned integer 4x2 matrix.
-
mat< 4, 4, uint, lowp > lowp_umat4x4
Low-qualifier unsigned integer 4x4 matrix.
-
- - - - diff --git a/doc/api/a00062.html b/doc/api/a00062.html index 450e6e00..64c0c871 100644 --- a/doc/api/a00062.html +++ b/doc/api/a00062.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_interpolation.hpp File Reference + + +0.9.9 API documenation: type_mat4x4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
matrix_interpolation.hpp File Reference
+
type_mat4x4.hpp File Reference
-

GLM_GTX_matrix_interpolation -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL void axisAngle (mat< 4, 4, T, Q > const &mat, vec< 3, T, Q > &axis, T &angle)
 Get the axis and angle of the rotation from a matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix (vec< 3, T, Q > const &axis, T const angle)
 Build a matrix from axis and angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation (mat< 4, 4, T, Q > const &mat)
 Extracts the rotation part of a matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate (mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const delta)
 Build a interpolation of 4 * 4 matrixes. More...
 

Detailed Description

-

GLM_GTX_matrix_interpolation

-
Author
Ghenadii Ursachi (the.a.nosp@m.ster.nosp@m.oth@g.nosp@m.mail.nosp@m..com)
-
See also
Core features (dependence)
+

Core features

-

Definition in file matrix_interpolation.hpp.

+

Definition in file type_mat4x4.hpp.

diff --git a/doc/api/a00062_source.html b/doc/api/a00062_source.html index 787e9c4c..747d4446 100644 --- a/doc/api/a00062_source.html +++ b/doc/api/a00062_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_interpolation.hpp Source File + + +0.9.9 API documenation: type_mat4x4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
matrix_interpolation.hpp
+
type_mat4x4.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_matrix_interpolation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename T, qualifier Q>
-
35  GLM_FUNC_DECL void axisAngle(
-
36  mat<4, 4, T, Q> const& mat,
-
37  vec<3, T, Q> & axis,
-
38  T & angle);
-
39 
-
42  template<typename T, qualifier Q>
-
43  GLM_FUNC_DECL mat<4, 4, T, Q> axisAngleMatrix(
-
44  vec<3, T, Q> const& axis,
-
45  T const angle);
-
46 
-
49  template<typename T, qualifier Q>
-
50  GLM_FUNC_DECL mat<4, 4, T, Q> extractMatrixRotation(
-
51  mat<4, 4, T, Q> const& mat);
-
52 
-
56  template<typename T, qualifier Q>
-
57  GLM_FUNC_DECL mat<4, 4, T, Q> interpolate(
-
58  mat<4, 4, T, Q> const& m1,
-
59  mat<4, 4, T, Q> const& m2,
-
60  T const delta);
-
61 
-
63 }//namespace glm
-
64 
-
65 #include "matrix_interpolation.inl"
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL vec< 3, T, Q > axis(tquat< T, Q > const &x)
Returns the q rotation axis.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix(vec< 3, T, Q > const &axis, T const angle)
Build a matrix from axis and angle.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL void axisAngle(mat< 4, 4, T, Q > const &mat, vec< 3, T, Q > &axis, T &angle)
Get the axis and angle of the rotation from a matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate(mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const delta)
Build a interpolation of 4 * 4 matrixes.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation(mat< 4, 4, T, Q > const &mat)
Extracts the rotation part of a matrix.
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "type_vec4.hpp"
7 #include <limits>
8 #include <cstddef>
9 
10 namespace glm
11 {
12  template<typename T, qualifier Q>
13  struct mat<4, 4, T, Q>
14  {
15  typedef vec<4, T, Q> col_type;
16  typedef vec<4, T, Q> row_type;
17  typedef mat<4, 4, T, Q> type;
18  typedef mat<4, 4, T, Q> transpose_type;
19  typedef T value_type;
20 
21  private:
22  col_type value[4];
23 
24  public:
25  // -- Accesses --
26 
27  typedef length_t length_type;
28  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 4;}
29 
30  GLM_FUNC_DECL col_type & operator[](length_type i);
31  GLM_FUNC_DECL GLM_CONSTEXPR col_type const& operator[](length_type i) const;
32 
33  // -- Constructors --
34 
35  GLM_FUNC_DECL GLM_CONSTEXPR mat() GLM_DEFAULT;
36  template<qualifier P>
37  GLM_FUNC_DECL GLM_CONSTEXPR mat(mat<4, 4, T, P> const& m);
38 
39  GLM_FUNC_DECL explicit GLM_CONSTEXPR mat(T const& x);
40  GLM_FUNC_DECL GLM_CONSTEXPR mat(
41  T const& x0, T const& y0, T const& z0, T const& w0,
42  T const& x1, T const& y1, T const& z1, T const& w1,
43  T const& x2, T const& y2, T const& z2, T const& w2,
44  T const& x3, T const& y3, T const& z3, T const& w3);
45  GLM_FUNC_DECL GLM_CONSTEXPR mat(
46  col_type const& v0,
47  col_type const& v1,
48  col_type const& v2,
49  col_type const& v3);
50 
51  // -- Conversions --
52 
53  template<
54  typename X1, typename Y1, typename Z1, typename W1,
55  typename X2, typename Y2, typename Z2, typename W2,
56  typename X3, typename Y3, typename Z3, typename W3,
57  typename X4, typename Y4, typename Z4, typename W4>
58  GLM_FUNC_DECL GLM_CONSTEXPR mat(
59  X1 const& x1, Y1 const& y1, Z1 const& z1, W1 const& w1,
60  X2 const& x2, Y2 const& y2, Z2 const& z2, W2 const& w2,
61  X3 const& x3, Y3 const& y3, Z3 const& z3, W3 const& w3,
62  X4 const& x4, Y4 const& y4, Z4 const& z4, W4 const& w4);
63 
64  template<typename V1, typename V2, typename V3, typename V4>
65  GLM_FUNC_DECL GLM_CONSTEXPR mat(
66  vec<4, V1, Q> const& v1,
67  vec<4, V2, Q> const& v2,
68  vec<4, V3, Q> const& v3,
69  vec<4, V4, Q> const& v4);
70 
71  // -- Matrix conversions --
72 
73  template<typename U, qualifier P>
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 4, U, P> const& m);
75 
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 2, T, Q> const& x);
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 3, T, Q> const& x);
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 3, T, Q> const& x);
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 2, T, Q> const& x);
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<2, 4, T, Q> const& x);
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 2, T, Q> const& x);
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<3, 4, T, Q> const& x);
83  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat(mat<4, 3, T, Q> const& x);
84 
85  // -- Unary arithmetic operators --
86 
87  template<typename U>
88  GLM_FUNC_DECL mat<4, 4, T, Q> & operator=(mat<4, 4, U, Q> const& m);
89  template<typename U>
90  GLM_FUNC_DECL mat<4, 4, T, Q> & operator+=(U s);
91  template<typename U>
92  GLM_FUNC_DECL mat<4, 4, T, Q> & operator+=(mat<4, 4, U, Q> const& m);
93  template<typename U>
94  GLM_FUNC_DECL mat<4, 4, T, Q> & operator-=(U s);
95  template<typename U>
96  GLM_FUNC_DECL mat<4, 4, T, Q> & operator-=(mat<4, 4, U, Q> const& m);
97  template<typename U>
98  GLM_FUNC_DECL mat<4, 4, T, Q> & operator*=(U s);
99  template<typename U>
100  GLM_FUNC_DECL mat<4, 4, T, Q> & operator*=(mat<4, 4, U, Q> const& m);
101  template<typename U>
102  GLM_FUNC_DECL mat<4, 4, T, Q> & operator/=(U s);
103  template<typename U>
104  GLM_FUNC_DECL mat<4, 4, T, Q> & operator/=(mat<4, 4, U, Q> const& m);
105 
106  // -- Increment and decrement operators --
107 
108  GLM_FUNC_DECL mat<4, 4, T, Q> & operator++();
109  GLM_FUNC_DECL mat<4, 4, T, Q> & operator--();
110  GLM_FUNC_DECL mat<4, 4, T, Q> operator++(int);
111  GLM_FUNC_DECL mat<4, 4, T, Q> operator--(int);
112  };
113 
114  // -- Unary operators --
115 
116  template<typename T, qualifier Q>
117  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(mat<4, 4, T, Q> const& m);
118 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(mat<4, 4, T, Q> const& m);
121 
122  // -- Binary operators --
123 
124  template<typename T, qualifier Q>
125  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(mat<4, 4, T, Q> const& m, T const& s);
126 
127  template<typename T, qualifier Q>
128  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(T const& s, mat<4, 4, T, Q> const& m);
129 
130  template<typename T, qualifier Q>
131  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
132 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(mat<4, 4, T, Q> const& m, T const& s);
135 
136  template<typename T, qualifier Q>
137  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(T const& s, mat<4, 4, T, Q> const& m);
138 
139  template<typename T, qualifier Q>
140  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
141 
142  template<typename T, qualifier Q>
143  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<4, 4, T, Q> const& m, T const& s);
144 
145  template<typename T, qualifier Q>
146  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(T const& s, mat<4, 4, T, Q> const& m);
147 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL typename mat<4, 4, T, Q>::col_type operator*(mat<4, 4, T, Q> const& m, typename mat<4, 4, T, Q>::row_type const& v);
150 
151  template<typename T, qualifier Q>
152  GLM_FUNC_DECL typename mat<4, 4, T, Q>::row_type operator*(typename mat<4, 4, T, Q>::col_type const& v, mat<4, 4, T, Q> const& m);
153 
154  template<typename T, qualifier Q>
155  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<4, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<4, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
159 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
162 
163  template<typename T, qualifier Q>
164  GLM_FUNC_DECL mat<4, 4, T, Q> operator/(mat<4, 4, T, Q> const& m, T const& s);
165 
166  template<typename T, qualifier Q>
167  GLM_FUNC_DECL mat<4, 4, T, Q> operator/(T const& s, mat<4, 4, T, Q> const& m);
168 
169  template<typename T, qualifier Q>
170  GLM_FUNC_DECL typename mat<4, 4, T, Q>::col_type operator/(mat<4, 4, T, Q> const& m, typename mat<4, 4, T, Q>::row_type const& v);
171 
172  template<typename T, qualifier Q>
173  GLM_FUNC_DECL typename mat<4, 4, T, Q>::row_type operator/(typename mat<4, 4, T, Q>::col_type const& v, mat<4, 4, T, Q> const& m);
174 
175  template<typename T, qualifier Q>
176  GLM_FUNC_DECL mat<4, 4, T, Q> operator/(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
177 
178  // -- Boolean operators --
179 
180  template<typename T, qualifier Q>
181  GLM_FUNC_DECL bool operator==(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
182 
183  template<typename T, qualifier Q>
184  GLM_FUNC_DECL bool operator!=(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
185 }//namespace glm
186 
187 #ifndef GLM_EXTERNAL_TEMPLATE
188 #include "type_mat4x4.inl"
189 #endif//GLM_EXTERNAL_TEMPLATE
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00063_source.html b/doc/api/a00063_source.html deleted file mode 100644 index ad903adc..00000000 --- a/doc/api/a00063_source.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_inverse.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_inverse.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../detail/setup.hpp"
-
17 #include "../matrix.hpp"
-
18 #include "../mat2x2.hpp"
-
19 #include "../mat3x3.hpp"
-
20 #include "../mat4x4.hpp"
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTC_matrix_inverse extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
36  template<typename genType>
-
37  GLM_FUNC_DECL genType affineInverse(genType const& m);
-
38 
-
44  template<typename genType>
-
45  GLM_FUNC_DECL genType inverseTranspose(genType const& m);
-
46 
-
48 }//namespace glm
-
49 
-
50 #include "matrix_inverse.inl"
-
GLM_FUNC_DECL genType affineInverse(genType const &m)
Fast matrix inverse for affine matrix.
-
GLM_FUNC_DECL genType inverseTranspose(genType const &m)
Compute the inverse transpose of a matrix.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00064_source.html b/doc/api/a00064_source.html deleted file mode 100644 index db68af4e..00000000 --- a/doc/api/a00064_source.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_major_storage.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_major_storage.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_matrix_major_storage is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename T, qualifier Q>
-
35  GLM_FUNC_DECL mat<2, 2, T, Q> rowMajor2(
-
36  vec<2, T, Q> const& v1,
-
37  vec<2, T, Q> const& v2);
-
38 
-
41  template<typename T, qualifier Q>
-
42  GLM_FUNC_DECL mat<2, 2, T, Q> rowMajor2(
-
43  mat<2, 2, T, Q> const& m);
-
44 
-
47  template<typename T, qualifier Q>
-
48  GLM_FUNC_DECL mat<3, 3, T, Q> rowMajor3(
-
49  vec<3, T, Q> const& v1,
-
50  vec<3, T, Q> const& v2,
-
51  vec<3, T, Q> const& v3);
-
52 
-
55  template<typename T, qualifier Q>
-
56  GLM_FUNC_DECL mat<3, 3, T, Q> rowMajor3(
-
57  mat<3, 3, T, Q> const& m);
-
58 
-
61  template<typename T, qualifier Q>
-
62  GLM_FUNC_DECL mat<4, 4, T, Q> rowMajor4(
-
63  vec<4, T, Q> const& v1,
-
64  vec<4, T, Q> const& v2,
-
65  vec<4, T, Q> const& v3,
-
66  vec<4, T, Q> const& v4);
-
67 
-
70  template<typename T, qualifier Q>
-
71  GLM_FUNC_DECL mat<4, 4, T, Q> rowMajor4(
-
72  mat<4, 4, T, Q> const& m);
-
73 
-
76  template<typename T, qualifier Q>
-
77  GLM_FUNC_DECL mat<2, 2, T, Q> colMajor2(
-
78  vec<2, T, Q> const& v1,
-
79  vec<2, T, Q> const& v2);
-
80 
-
83  template<typename T, qualifier Q>
-
84  GLM_FUNC_DECL mat<2, 2, T, Q> colMajor2(
-
85  mat<2, 2, T, Q> const& m);
-
86 
-
89  template<typename T, qualifier Q>
-
90  GLM_FUNC_DECL mat<3, 3, T, Q> colMajor3(
-
91  vec<3, T, Q> const& v1,
-
92  vec<3, T, Q> const& v2,
-
93  vec<3, T, Q> const& v3);
-
94 
-
97  template<typename T, qualifier Q>
-
98  GLM_FUNC_DECL mat<3, 3, T, Q> colMajor3(
-
99  mat<3, 3, T, Q> const& m);
-
100 
-
103  template<typename T, qualifier Q>
-
104  GLM_FUNC_DECL mat<4, 4, T, Q> colMajor4(
-
105  vec<4, T, Q> const& v1,
-
106  vec<4, T, Q> const& v2,
-
107  vec<4, T, Q> const& v3,
-
108  vec<4, T, Q> const& v4);
-
109 
-
112  template<typename T, qualifier Q>
-
113  GLM_FUNC_DECL mat<4, 4, T, Q> colMajor4(
-
114  mat<4, 4, T, Q> const& m);
-
115 
-
117 }//namespace glm
-
118 
-
119 #include "matrix_major_storage.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4(mat< 4, 4, T, Q > const &m)
Build a row major matrix from other matrix.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3(mat< 3, 3, T, Q > const &m)
Build a column major matrix from other matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4(mat< 4, 4, T, Q > const &m)
Build a column major matrix from other matrix.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3(mat< 3, 3, T, Q > const &m)
Build a row major matrix from other matrix.
-
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2(mat< 2, 2, T, Q > const &m)
Build a row major matrix from other matrix.
-
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2(mat< 2, 2, T, Q > const &m)
Build a column major matrix from other matrix.
-
- - - - diff --git a/doc/api/a00065_source.html b/doc/api/a00065_source.html index 4b5960c9..5c890440 100644 --- a/doc/api/a00065_source.html +++ b/doc/api/a00065_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_operation.hpp Source File + + +0.9.9 API documenation: type_quat.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
matrix_operation.hpp
+
type_quat.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_matrix_operation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_matrix_operation extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
33  template<typename T, qualifier Q>
-
34  GLM_FUNC_DECL mat<2, 2, T, Q> diagonal2x2(
-
35  vec<2, T, Q> const& v);
-
36 
-
39  template<typename T, qualifier Q>
-
40  GLM_FUNC_DECL mat<2, 3, T, Q> diagonal2x3(
-
41  vec<2, T, Q> const& v);
-
42 
-
45  template<typename T, qualifier Q>
-
46  GLM_FUNC_DECL mat<2, 4, T, Q> diagonal2x4(
-
47  vec<2, T, Q> const& v);
-
48 
-
51  template<typename T, qualifier Q>
-
52  GLM_FUNC_DECL mat<3, 2, T, Q> diagonal3x2(
-
53  vec<2, T, Q> const& v);
-
54 
-
57  template<typename T, qualifier Q>
-
58  GLM_FUNC_DECL mat<3, 3, T, Q> diagonal3x3(
-
59  vec<3, T, Q> const& v);
-
60 
-
63  template<typename T, qualifier Q>
-
64  GLM_FUNC_DECL mat<3, 4, T, Q> diagonal3x4(
-
65  vec<3, T, Q> const& v);
-
66 
-
69  template<typename T, qualifier Q>
-
70  GLM_FUNC_DECL mat<4, 2, T, Q> diagonal4x2(
-
71  vec<2, T, Q> const& v);
-
72 
-
75  template<typename T, qualifier Q>
-
76  GLM_FUNC_DECL mat<4, 3, T, Q> diagonal4x3(
-
77  vec<3, T, Q> const& v);
-
78 
-
81  template<typename T, qualifier Q>
-
82  GLM_FUNC_DECL mat<4, 4, T, Q> diagonal4x4(
-
83  vec<4, T, Q> const& v);
-
84 
-
86 }//namespace glm
-
87 
-
88 #include "matrix_operation.inl"
-
GLM_FUNC_DECL mat< 3, 4, T, Q > diagonal3x4(vec< 3, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 3, 2, T, Q > diagonal3x2(vec< 2, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 2, 2, T, Q > diagonal2x2(vec< 2, T, Q > const &v)
Build a diagonal matrix.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< 4, 2, T, Q > diagonal4x2(vec< 2, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 2, 3, T, Q > diagonal2x3(vec< 2, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 4, 3, T, Q > diagonal4x3(vec< 3, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > diagonal4x4(vec< 4, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 2, 4, T, Q > diagonal2x4(vec< 2, T, Q > const &v)
Build a diagonal matrix.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > diagonal3x3(vec< 3, T, Q > const &v)
Build a diagonal matrix.
+
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../detail/type_mat3x3.hpp"
18 #include "../detail/type_mat4x4.hpp"
19 #include "../detail/type_vec3.hpp"
20 #include "../detail/type_vec4.hpp"
21 #include "../ext/vector_relational.hpp"
22 #include "../ext/quaternion_relational.hpp"
23 #include "../gtc/constants.hpp"
24 #include "../gtc/matrix_transform.hpp"
25 
26 namespace glm
27 {
30 
31  template<typename T, qualifier Q>
32  struct qua
33  {
34  // -- Implementation detail --
35 
36  typedef qua<T, Q> type;
37  typedef T value_type;
38 
39  // -- Data --
40 
41 # if GLM_LANG & GLM_LANG_CXXMS_FLAG
42  union
43  {
44  struct { T x, y, z, w;};
45 
46  typename detail::storage<4, T, detail::is_aligned<Q>::value>::type data;
47  };
48 # else
49  T x, y, z, w;
50 # endif
51 
52  // -- Component accesses --
53 
54  typedef length_t length_type;
56  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 4;}
57 
58  GLM_FUNC_DECL GLM_CONSTEXPR T & operator[](length_type i);
59  GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[](length_type i) const;
60 
61  // -- Implicit basic constructors --
62 
63  GLM_FUNC_DECL GLM_CONSTEXPR qua() GLM_DEFAULT;
64  GLM_FUNC_DECL GLM_CONSTEXPR qua(qua<T, Q> const& q) GLM_DEFAULT;
65  template<qualifier P>
66  GLM_FUNC_DECL GLM_CONSTEXPR qua(qua<T, P> const& q);
67 
68  // -- Explicit basic constructors --
69 
70  GLM_FUNC_DECL GLM_CONSTEXPR qua(T s, vec<3, T, Q> const& v);
71  GLM_FUNC_DECL GLM_CONSTEXPR qua(T w, T x, T y, T z);
72 
73  // -- Conversion constructors --
74 
75  template<typename U, qualifier P>
76  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT qua(qua<U, P> const& q);
77 
79 # if GLM_HAS_EXPLICIT_CONVERSION_OPERATORS
80  GLM_FUNC_DECL explicit operator mat<3, 3, T, Q>();
81  GLM_FUNC_DECL explicit operator mat<4, 4, T, Q>();
82 # endif
83 
90  GLM_FUNC_DECL qua(vec<3, T, Q> const& u, vec<3, T, Q> const& v);
91 
93  GLM_FUNC_DECL GLM_EXPLICIT qua(vec<3, T, Q> const& eulerAngles);
94  GLM_FUNC_DECL GLM_EXPLICIT qua(mat<3, 3, T, Q> const& q);
95  GLM_FUNC_DECL GLM_EXPLICIT qua(mat<4, 4, T, Q> const& q);
96 
97  // -- Unary arithmetic operators --
98 
99  GLM_FUNC_DECL qua<T, Q>& operator=(qua<T, Q> const& q) GLM_DEFAULT;
100 
101  template<typename U>
102  GLM_FUNC_DECL qua<T, Q>& operator=(qua<U, Q> const& q);
103  template<typename U>
104  GLM_FUNC_DECL qua<T, Q>& operator+=(qua<U, Q> const& q);
105  template<typename U>
106  GLM_FUNC_DECL qua<T, Q>& operator-=(qua<U, Q> const& q);
107  template<typename U>
108  GLM_FUNC_DECL qua<T, Q>& operator*=(qua<U, Q> const& q);
109  template<typename U>
110  GLM_FUNC_DECL qua<T, Q>& operator*=(U s);
111  template<typename U>
112  GLM_FUNC_DECL qua<T, Q>& operator/=(U s);
113  };
114 
115  // -- Unary bit operators --
116 
117  template<typename T, qualifier Q>
118  GLM_FUNC_DECL qua<T, Q> operator+(qua<T, Q> const& q);
119 
120  template<typename T, qualifier Q>
121  GLM_FUNC_DECL qua<T, Q> operator-(qua<T, Q> const& q);
122 
123  // -- Binary operators --
124 
125  template<typename T, qualifier Q>
126  GLM_FUNC_DECL qua<T, Q> operator+(qua<T, Q> const& q, qua<T, Q> const& p);
127 
128  template<typename T, qualifier Q>
129  GLM_FUNC_DECL qua<T, Q> operator-(qua<T, Q> const& q, qua<T, Q> const& p);
130 
131  template<typename T, qualifier Q>
132  GLM_FUNC_DECL qua<T, Q> operator*(qua<T, Q> const& q, qua<T, Q> const& p);
133 
134  template<typename T, qualifier Q>
135  GLM_FUNC_DECL vec<3, T, Q> operator*(qua<T, Q> const& q, vec<3, T, Q> const& v);
136 
137  template<typename T, qualifier Q>
138  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v, qua<T, Q> const& q);
139 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL vec<4, T, Q> operator*(qua<T, Q> const& q, vec<4, T, Q> const& v);
142 
143  template<typename T, qualifier Q>
144  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, qua<T, Q> const& q);
145 
146  template<typename T, qualifier Q>
147  GLM_FUNC_DECL qua<T, Q> operator*(qua<T, Q> const& q, T const& s);
148 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL qua<T, Q> operator*(T const& s, qua<T, Q> const& q);
151 
152  template<typename T, qualifier Q>
153  GLM_FUNC_DECL qua<T, Q> operator/(qua<T, Q> const& q, T const& s);
154 
155  // -- Boolean operators --
156 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL GLM_CONSTEXPR bool operator==(qua<T, Q> const& q1, qua<T, Q> const& q2);
159 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL GLM_CONSTEXPR bool operator!=(qua<T, Q> const& q1, qua<T, Q> const& q2);
162 
164 } //namespace glm
165 
166 #include "type_quat.inl"
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles(qua< T, Q > const &x)
Returns euler angles, pitch as x, yaw as y, roll as z.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00066_source.html b/doc/api/a00066_source.html deleted file mode 100644 index f7d1e222..00000000 --- a/doc/api/a00066_source.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_query.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_query.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include "../gtx/vector_query.hpp"
-
19 #include <limits>
-
20 
-
21 #ifndef GLM_ENABLE_EXPERIMENTAL
-
22 # error "GLM: GLM_GTX_matrix_query is an experimental 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_matrix_query extension included")
-
27 #endif
-
28 
-
29 namespace glm
-
30 {
-
33 
-
36  template<typename T, qualifier Q>
-
37  GLM_FUNC_DECL bool isNull(mat<2, 2, T, Q> const& m, T const& epsilon);
-
38 
-
41  template<typename T, qualifier Q>
-
42  GLM_FUNC_DECL bool isNull(mat<3, 3, T, Q> const& m, T const& epsilon);
-
43 
-
46  template<typename T, qualifier Q>
-
47  GLM_FUNC_DECL bool isNull(mat<4, 4, T, Q> const& m, T const& epsilon);
-
48 
-
51  template<length_t C, length_t R, typename T, qualifier Q, template<length_t, length_t, typename, qualifier> class matType>
-
52  GLM_FUNC_DECL bool isIdentity(matType<C, R, T, Q> const& m, T const& epsilon);
-
53 
-
56  template<typename T, qualifier Q>
-
57  GLM_FUNC_DECL bool isNormalized(mat<2, 2, T, Q> const& m, T const& epsilon);
-
58 
-
61  template<typename T, qualifier Q>
-
62  GLM_FUNC_DECL bool isNormalized(mat<3, 3, T, Q> const& m, T const& epsilon);
-
63 
-
66  template<typename T, qualifier Q>
-
67  GLM_FUNC_DECL bool isNormalized(mat<4, 4, T, Q> const& m, T const& epsilon);
-
68 
-
71  template<length_t C, length_t R, typename T, qualifier Q, template<length_t, length_t, typename, qualifier> class matType>
-
72  GLM_FUNC_DECL bool isOrthogonal(matType<C, R, T, Q> const& m, T const& epsilon);
-
73 
-
75 }//namespace glm
-
76 
-
77 #include "matrix_query.inl"
-
Definition: common.hpp:20
-
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
-
GLM_FUNC_DECL bool isNull(mat< 4, 4, T, Q > const &m, T const &epsilon)
Return whether a matrix is a null matrix.
-
GLM_FUNC_DECL bool isNormalized(mat< 4, 4, T, Q > const &m, T const &epsilon)
Return whether a matrix is a normalized matrix.
-
GLM_FUNC_DECL bool isOrthogonal(matType< C, R, T, Q > const &m, T const &epsilon)
Return whether a matrix is an orthonormalized matrix.
-
GLM_FUNC_DECL bool isIdentity(matType< C, R, T, Q > const &m, T const &epsilon)
Return whether a matrix is an identity matrix.
-
- - - - diff --git a/doc/api/a00067.html b/doc/api/a00067.html deleted file mode 100644 index 4664ce9b..00000000 --- a/doc/api/a00067.html +++ /dev/null @@ -1,339 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_transform.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
matrix_transform.hpp File Reference
-
-
- -

GLM_GTC_matrix_transform -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustum (T left, T right, T bottom, T top, T near, T far)
 Creates a frustum matrix with default handedness, using the default handedness and default near and far clip planes definition. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH (T left, T right, T bottom, T top, T near, T far)
 Creates a left handed frustum matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_NO (T left, T right, T bottom, T top, T near, T far)
 Creates a left handed frustum matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_ZO (T left, T right, T bottom, T top, T near, T far)
 Creates a left handed frustum matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumNO (T left, T right, T bottom, T top, T near, T far)
 Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH (T left, T right, T bottom, T top, T near, T far)
 Creates a right handed frustum matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_NO (T left, T right, T bottom, T top, T near, T far)
 Creates a right handed frustum matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_ZO (T left, T right, T bottom, T top, T near, T far)
 Creates a right handed frustum matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumZO (T left, T right, T bottom, T top, T near, T far)
 Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspective (T fovy, T aspect, T near)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveLH (T fovy, T aspect, T near)
 Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveRH (T fovy, T aspect, T near)
 Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a look at view matrix based on the default handedness. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a left handed look at view matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a right handed look at view matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top)
 Creates a matrix for projecting two-dimensional coordinates onto the screen. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using the default handedness and default near and far clip planes definition. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume using right-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoNO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoZO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective (T fovy, T aspect, T near, T far)
 Creates a matrix for a symetric perspective-view frustum based on the default handedness and default near and far clip planes definition. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFov (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view and the default handedness and default near and far clip planes definition. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH (T fov, T width, T height, T near, T far)
 Builds a left handed perspective projection matrix based on a field of view. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_NO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_ZO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovNO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH (T fov, T width, T height, T near, T far)
 Builds a right handed perspective projection matrix based on a field of view. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_NO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using right-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_ZO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using right-handed coordinates. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovZO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH (T fovy, T aspect, T near, T far)
 Creates a matrix for a left handed, symetric perspective-view frustum. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_NO (T fovy, T aspect, T near, T far)
 Creates a matrix for a left handed, symetric perspective-view frustum. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_ZO (T fovy, T aspect, T near, T far)
 Creates a matrix for a left handed, symetric perspective-view frustum. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveNO (T fovy, T aspect, T near, T far)
 Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH (T fovy, T aspect, T near, T far)
 Creates a matrix for a right handed, symetric perspective-view frustum. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_NO (T fovy, T aspect, T near, T far)
 Creates a matrix for a right handed, symetric perspective-view frustum. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_ZO (T fovy, T aspect, T near, T far)
 Creates a matrix for a right handed, symetric perspective-view frustum. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveZO (T fovy, T aspect, T near, T far)
 Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
 
template<typename T , qualifier Q, typename U >
GLM_FUNC_DECL mat< 4, 4, T, Q > pickMatrix (vec< 2, T, Q > const &center, vec< 2, T, Q > const &delta, vec< 4, U, Q > const &viewport)
 Define a picking region. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > project (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates using default near and far clip planes definition. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectNO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectZO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
 Builds a rotation 4 * 4 matrix created from an axis vector and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 Builds a scale 4 * 4 matrix created from 3 scalars. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 Builds a translation 4 * 4 matrix created from a vector of 3 components. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near, T ep)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProject (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates using default near and far clip planes definition. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectNO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectZO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. More...
 
-

Detailed Description

-
- - - - diff --git a/doc/api/a00067_source.html b/doc/api/a00067_source.html deleted file mode 100644 index 47c275d0..00000000 --- a/doc/api/a00067_source.html +++ /dev/null @@ -1,397 +0,0 @@ - - - - - - -0.9.9 API documenation: matrix_transform.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
matrix_transform.hpp
-
-
-Go to the documentation of this file.
1 
-
21 #pragma once
-
22 
-
23 // Dependencies
-
24 #include "../mat4x4.hpp"
-
25 #include "../vec2.hpp"
-
26 #include "../vec3.hpp"
-
27 #include "../vec4.hpp"
-
28 #include "../gtc/constants.hpp"
-
29 
-
30 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
31 # pragma message("GLM: GLM_GTC_matrix_transform extension included")
-
32 #endif
-
33 
-
34 namespace glm
-
35 {
-
38 
-
58  template<typename T, qualifier Q>
-
59  GLM_FUNC_DECL mat<4, 4, T, Q> translate(
-
60  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
-
61 
-
72  template<typename T, qualifier Q>
-
73  GLM_FUNC_DECL mat<4, 4, T, Q> rotate(
-
74  mat<4, 4, T, Q> const& m, T angle, vec<3, T, Q> const& axis);
-
75 
-
85  template<typename T, qualifier Q>
-
86  GLM_FUNC_DECL mat<4, 4, T, Q> scale(
-
87  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
-
88 
-
95  template<typename T>
-
96  GLM_FUNC_DECL mat<4, 4, T, defaultp> ortho(
-
97  T left, T right, T bottom, T top);
-
98 
-
105  template<typename T>
-
106  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_ZO(
-
107  T left, T right, T bottom, T top, T zNear, T zFar);
-
108 
-
115  template<typename T>
-
116  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_NO(
-
117  T left, T right, T bottom, T top, T zNear, T zFar);
-
118 
-
125  template<typename T>
-
126  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoRH_ZO(
-
127  T left, T right, T bottom, T top, T zNear, T zFar);
-
128 
-
135  template<typename T>
-
136  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoRH_NO(
-
137  T left, T right, T bottom, T top, T zNear, T zFar);
-
138 
-
145  template<typename T>
-
146  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoZO(
-
147  T left, T right, T bottom, T top, T zNear, T zFar);
-
148 
-
155  template<typename T>
-
156  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoNO(
-
157  T left, T right, T bottom, T top, T zNear, T zFar);
-
158 
-
166  template<typename T>
-
167  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH(
-
168  T left, T right, T bottom, T top, T zNear, T zFar);
-
169 
-
177  template<typename T>
-
178  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoRH(
-
179  T left, T right, T bottom, T top, T zNear, T zFar);
-
180 
-
188  template<typename T>
-
189  GLM_FUNC_DECL mat<4, 4, T, defaultp> ortho(
-
190  T left, T right, T bottom, T top, T zNear, T zFar);
-
191 
-
197  template<typename T>
-
198  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumLH_ZO(
-
199  T left, T right, T bottom, T top, T near, T far);
-
200 
-
206  template<typename T>
-
207  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumLH_NO(
-
208  T left, T right, T bottom, T top, T near, T far);
-
209 
-
215  template<typename T>
-
216  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumRH_ZO(
-
217  T left, T right, T bottom, T top, T near, T far);
-
218 
-
224  template<typename T>
-
225  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumRH_NO(
-
226  T left, T right, T bottom, T top, T near, T far);
-
227 
-
233  template<typename T>
-
234  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumZO(
-
235  T left, T right, T bottom, T top, T near, T far);
-
236 
-
242  template<typename T>
-
243  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumNO(
-
244  T left, T right, T bottom, T top, T near, T far);
-
245 
-
252  template<typename T>
-
253  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumLH(
-
254  T left, T right, T bottom, T top, T near, T far);
-
255 
-
262  template<typename T>
-
263  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumRH(
-
264  T left, T right, T bottom, T top, T near, T far);
-
265 
-
272  template<typename T>
-
273  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustum(
-
274  T left, T right, T bottom, T top, T near, T far);
-
275 
-
276 
-
286  template<typename T>
-
287  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH_ZO(
-
288  T fovy, T aspect, T near, T far);
-
289 
-
299  template<typename T>
-
300  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH_NO(
-
301  T fovy, T aspect, T near, T far);
-
302 
-
312  template<typename T>
-
313  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH_ZO(
-
314  T fovy, T aspect, T near, T far);
-
315 
-
325  template<typename T>
-
326  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH_NO(
-
327  T fovy, T aspect, T near, T far);
-
328 
-
338  template<typename T>
-
339  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveZO(
-
340  T fovy, T aspect, T near, T far);
-
341 
-
351  template<typename T>
-
352  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveNO(
-
353  T fovy, T aspect, T near, T far);
-
354 
-
365  template<typename T>
-
366  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH(
-
367  T fovy, T aspect, T near, T far);
-
368 
-
379  template<typename T>
-
380  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH(
-
381  T fovy, T aspect, T near, T far);
-
382 
-
393  template<typename T>
-
394  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspective(
-
395  T fovy, T aspect, T near, T far);
-
396 
-
407  template<typename T>
-
408  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovRH_ZO(
-
409  T fov, T width, T height, T near, T far);
-
410 
-
421  template<typename T>
-
422  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovRH_NO(
-
423  T fov, T width, T height, T near, T far);
-
424 
-
435  template<typename T>
-
436  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovLH_ZO(
-
437  T fov, T width, T height, T near, T far);
-
438 
-
449  template<typename T>
-
450  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovLH_NO(
-
451  T fov, T width, T height, T near, T far);
-
452 
-
463  template<typename T>
-
464  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovZO(
-
465  T fov, T width, T height, T near, T far);
-
466 
-
477  template<typename T>
-
478  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovNO(
-
479  T fov, T width, T height, T near, T far);
-
480 
-
492  template<typename T>
-
493  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovRH(
-
494  T fov, T width, T height, T near, T far);
-
495 
-
507  template<typename T>
-
508  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovLH(
-
509  T fov, T width, T height, T near, T far);
-
510 
-
521  template<typename T>
-
522  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFov(
-
523  T fov, T width, T height, T near, T far);
-
524 
-
532  template<typename T>
-
533  GLM_FUNC_DECL mat<4, 4, T, defaultp> infinitePerspectiveLH(
-
534  T fovy, T aspect, T near);
-
535 
-
543  template<typename T>
-
544  GLM_FUNC_DECL mat<4, 4, T, defaultp> infinitePerspectiveRH(
-
545  T fovy, T aspect, T near);
-
546 
-
554  template<typename T>
-
555  GLM_FUNC_DECL mat<4, 4, T, defaultp> infinitePerspective(
-
556  T fovy, T aspect, T near);
-
557 
-
565  template<typename T>
-
566  GLM_FUNC_DECL mat<4, 4, T, defaultp> tweakedInfinitePerspective(
-
567  T fovy, T aspect, T near);
-
568 
-
577  template<typename T>
-
578  GLM_FUNC_DECL mat<4, 4, T, defaultp> tweakedInfinitePerspective(
-
579  T fovy, T aspect, T near, T ep);
-
580 
-
593  template<typename T, typename U, qualifier Q>
-
594  GLM_FUNC_DECL vec<3, T, Q> projectZO(
-
595  vec<3, T, Q> const& obj, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
-
596 
-
609  template<typename T, typename U, qualifier Q>
-
610  GLM_FUNC_DECL vec<3, T, Q> projectNO(
-
611  vec<3, T, Q> const& obj, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
-
612 
-
625  template<typename T, typename U, qualifier Q>
-
626  GLM_FUNC_DECL vec<3, T, Q> project(
-
627  vec<3, T, Q> const& obj, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
-
628 
-
641  template<typename T, typename U, qualifier Q>
-
642  GLM_FUNC_DECL vec<3, T, Q> unProjectZO(
-
643  vec<3, T, Q> const& win, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
-
644 
-
657  template<typename T, typename U, qualifier Q>
-
658  GLM_FUNC_DECL vec<3, T, Q> unProjectNO(
-
659  vec<3, T, Q> const& win, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
-
660 
-
673  template<typename T, typename U, qualifier Q>
-
674  GLM_FUNC_DECL vec<3, T, Q> unProject(
-
675  vec<3, T, Q> const& win, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
-
676 
-
686  template<typename T, qualifier Q, typename U>
-
687  GLM_FUNC_DECL mat<4, 4, T, Q> pickMatrix(
-
688  vec<2, T, Q> const& center, vec<2, T, Q> const& delta, vec<4, U, Q> const& viewport);
-
689 
-
697  template<typename T, qualifier Q>
-
698  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtRH(
-
699  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
-
700 
-
708  template<typename T, qualifier Q>
-
709  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtLH(
-
710  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
-
711 
-
720  template<typename T, qualifier Q>
-
721  GLM_FUNC_DECL mat<4, 4, T, Q> lookAt(
-
722  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
-
723 
-
725 }//namespace glm
-
726 
-
727 #include "matrix_transform.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_ZO(T fovy, T aspect, T near, T far)
Creates a matrix for a right handed, symetric perspective-view frustum.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFov(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view and the default handedness and defaul...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustum(T left, T right, T bottom, T top, T near, T far)
Creates a frustum matrix with default handedness, using the default handedness and default near and f...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_NO(T left, T right, T bottom, T top, T near, T far)
Creates a right handed frustum matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_ZO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_ZO(T fovy, T aspect, T near, T far)
Creates a matrix for a left handed, symetric perspective-view frustum.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH(T fov, T width, T height, T near, T far)
Builds a left handed perspective projection matrix based on a field of view.
-
GLM_FUNC_DECL vec< 3, T, Q > axis(tquat< T, Q > const &x)
Returns the q rotation axis.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH(T left, T right, T bottom, T top, T near, T far)
Creates a left handed frustum matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using the default handedness and defaul...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH(T fovy, T aspect, T near, T far)
Creates a matrix for a left handed, symetric perspective-view frustum.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_NO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume using right-handed coordinates.
-
GLM_FUNC_DECL vec< 3, T, Q > unProjectNO(vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.
-
GLM_FUNC_DECL vec< 3, T, Q > projectNO(vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.
-
GLM_FUNC_DECL vec< 3, T, Q > unProjectZO(vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_NO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumZO(T left, T right, T bottom, T top, T near, T far)
Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-h...
-
GLM_FUNC_DECL vec< 3, T, Q > projectZO(vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumNO(T left, T right, T bottom, T top, T near, T far)
Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-h...
-
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a look at view matrix based on the default handedness.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > pickMatrix(vec< 2, T, Q > const &center, vec< 2, T, Q > const &delta, vec< 4, U, Q > const &viewport)
Define a picking region.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_NO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveRH(T fovy, T aspect, T near)
Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_ZO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using right-handed coordinates...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoNO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates if GLM_FO...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_NO(T fovy, T aspect, T near, T far)
Creates a matrix for a left handed, symetric perspective-view frustum.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoZO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_NO(T fovy, T aspect, T near, T far)
Creates a matrix for a right handed, symetric perspective-view frustum.
-
GLM_FUNC_DECL genType proj(genType const &x, genType const &Normal)
Projects x on Normal.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_NO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using right-handed coordinates...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveLH(T fovy, T aspect, T near)
Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_ZO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
-
GLM_FUNC_DECL vec< 3, T, Q > project(vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates using default near...
-
GLM_FUNC_DECL mat< 4, 4, T, Q > translate(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a translation 4 * 4 matrix created from a vector of 3 components.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate(mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
Builds a rotation 4 * 4 matrix created from an axis vector and an angle.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovZO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveNO(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_L...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_ZO(T left, T right, T bottom, T top, T near, T far)
Creates a left handed frustum matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH(T left, T right, T bottom, T top, T near, T far)
Creates a right handed frustum matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH(T fovy, T aspect, T near, T far)
Creates a matrix for a right handed, symetric perspective-view frustum.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective(T fovy, T aspect, T near, T ep)
Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics har...
-
GLM_FUNC_DECL vec< 3, T, Q > unProject(vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified window coordinates (win.x, win.y, win.z) into object coordinates using default near...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveZO(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_L...
-
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a right handed look at view matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_ZO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_ZO(T left, T right, T bottom, T top, T near, T far)
Creates a right handed frustum matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a left handed look at view matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_NO(T left, T right, T bottom, T top, T near, T far)
Creates a left handed frustum matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspective(T fovy, T aspect, T near)
Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default han...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum based on the default handedness and default ...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovNO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_...
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH(T fov, T width, T height, T near, T far)
Builds a right handed perspective projection matrix based on a field of view.
-
- - - - diff --git a/doc/api/a00068.html b/doc/api/a00068.html index 9fdfa7d5..4f5264f0 100644 --- a/doc/api/a00068.html +++ b/doc/api/a00068.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_transform_2d.hpp File Reference + + +0.9.9 API documenation: type_vec1.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
matrix_transform_2d.hpp File Reference
+
type_vec1.hpp File Reference
-

GLM_GTX_matrix_transform_2d -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > rotate (mat< 3, 3, T, Q > const &m, T angle)
 Builds a rotation 3 * 3 matrix created from an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > scale (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 Builds a scale 3 * 3 matrix created from a vector of 2 components. More...
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearX (mat< 3, 3, T, Q > const &m, T y)
 Builds an horizontal (parallel to the x axis) shear 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearY (mat< 3, 3, T, Q > const &m, T x)
 Builds a vertical (parallel to the y axis) shear 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > translate (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 Builds a translation 3 * 3 matrix created from a vector of 2 components. More...
 

Detailed Description

-

GLM_GTX_matrix_transform_2d

-
Author
Miguel Ángel Pérez Martínez
-
See also
Core features (dependence)
+

Core features

-

Definition in file matrix_transform_2d.hpp.

+

Definition in file type_vec1.hpp.

diff --git a/doc/api/a00068_source.html b/doc/api/a00068_source.html index 030e308d..cc2c1eb2 100644 --- a/doc/api/a00068_source.html +++ b/doc/api/a00068_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: matrix_transform_2d.hpp Source File + + +0.9.9 API documenation: type_vec1.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
matrix_transform_2d.hpp
+
type_vec1.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../mat3x3.hpp"
-
18 #include "../vec2.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_matrix_transform_2d extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
37  template<typename T, qualifier Q>
-
38  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> translate(
-
39  mat<3, 3, T, Q> const& m,
-
40  vec<2, T, Q> const& v);
-
41 
-
46  template<typename T, qualifier Q>
-
47  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> rotate(
-
48  mat<3, 3, T, Q> const& m,
-
49  T angle);
-
50 
-
55  template<typename T, qualifier Q>
-
56  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> scale(
-
57  mat<3, 3, T, Q> const& m,
-
58  vec<2, T, Q> const& v);
-
59 
-
64  template<typename T, qualifier Q>
-
65  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> shearX(
-
66  mat<3, 3, T, Q> const& m,
-
67  T y);
-
68 
-
73  template<typename T, qualifier Q>
-
74  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> shearY(
-
75  mat<3, 3, T, Q> const& m,
-
76  T x);
-
77 
-
79 }//namespace glm
-
80 
-
81 #include "matrix_transform_2d.inl"
-
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearY(mat< 3, 3, T, Q > const &m, T x)
Builds a vertical (parallel to the y axis) shear 3 * 3 matrix.
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearX(mat< 3, 3, T, Q > const &m, T y)
Builds an horizontal (parallel to the x axis) shear 3 * 3 matrix.
-
Definition: common.hpp:20
-
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > scale(mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
Builds a scale 3 * 3 matrix created from a vector of 2 components.
-
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > rotate(mat< 3, 3, T, Q > const &m, T angle)
Builds a rotation 3 * 3 matrix created from an angle.
-
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > translate(mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
Builds a translation 3 * 3 matrix created from a vector of 2 components.
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "qualifier.hpp"
7 #if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
8 # include "_swizzle.hpp"
9 #elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
10 # include "_swizzle_func.hpp"
11 #endif
12 #include <cstddef>
13 
14 namespace glm
15 {
16  template<typename T, qualifier Q>
17  struct vec<1, T, Q>
18  {
19  // -- Implementation detail --
20 
21  typedef T value_type;
22  typedef vec<1, T, Q> type;
23  typedef vec<1, bool, Q> bool_type;
24 
25  // -- Data --
26 
27 # if GLM_CONFIG_XYZW_ONLY
28  T x;
29 # elif GLM_CONFIG_ANONYMOUS_STRUCT == GLM_ENABLE
30  union
31  {
32  T x;
33  T r;
34  T s;
35 
36  typename detail::storage<1, T, detail::is_aligned<Q>::value>::type data;
37 /*
38 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
39  _GLM_SWIZZLE1_2_MEMBERS(T, Q, x)
40  _GLM_SWIZZLE1_2_MEMBERS(T, Q, r)
41  _GLM_SWIZZLE1_2_MEMBERS(T, Q, s)
42  _GLM_SWIZZLE1_3_MEMBERS(T, Q, x)
43  _GLM_SWIZZLE1_3_MEMBERS(T, Q, r)
44  _GLM_SWIZZLE1_3_MEMBERS(T, Q, s)
45  _GLM_SWIZZLE1_4_MEMBERS(T, Q, x)
46  _GLM_SWIZZLE1_4_MEMBERS(T, Q, r)
47  _GLM_SWIZZLE1_4_MEMBERS(T, Q, s)
48 # endif
49 */
50  };
51 # else
52  union {T x, r, s;};
53 /*
54 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
55  GLM_SWIZZLE_GEN_VEC_FROM_VEC1(T, Q)
56 # endif
57 */
58 # endif
59 
60  // -- Component accesses --
61 
63  typedef length_t length_type;
64  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 1;}
65 
66  GLM_FUNC_DECL GLM_CONSTEXPR T & operator[](length_type i);
67  GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[](length_type i) const;
68 
69  // -- Implicit basic constructors --
70 
71  GLM_FUNC_DECL GLM_CONSTEXPR vec() GLM_DEFAULT;
72  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec const& v) GLM_DEFAULT;
73  template<qualifier P>
74  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, T, P> const& v);
75 
76  // -- Explicit basic constructors --
77 
78  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(T scalar);
79 
80  // -- Conversion vector constructors --
81 
83  template<typename U, qualifier P>
84  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<2, U, P> const& v);
86  template<typename U, qualifier P>
87  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<3, U, P> const& v);
89  template<typename U, qualifier P>
90  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<4, U, P> const& v);
91 
93  template<typename U, qualifier P>
94  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<1, U, P> const& v);
95 
96  // -- Swizzle constructors --
97 /*
98 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
99  template<int E0>
100  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<1, T, Q, E0, -1,-2,-3> const& that)
101  {
102  *this = that();
103  }
104 # endif//GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
105 */
106  // -- Unary arithmetic operators --
107 
108  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator=(vec const& v) GLM_DEFAULT;
109 
110  template<typename U>
111  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator=(vec<1, U, Q> const& v);
112  template<typename U>
113  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator+=(U scalar);
114  template<typename U>
115  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator+=(vec<1, U, Q> const& v);
116  template<typename U>
117  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator-=(U scalar);
118  template<typename U>
119  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator-=(vec<1, U, Q> const& v);
120  template<typename U>
121  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator*=(U scalar);
122  template<typename U>
123  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator*=(vec<1, U, Q> const& v);
124  template<typename U>
125  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator/=(U scalar);
126  template<typename U>
127  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator/=(vec<1, U, Q> const& v);
128 
129  // -- Increment and decrement operators --
130 
131  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator++();
132  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator--();
133  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator++(int);
134  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator--(int);
135 
136  // -- Unary bit operators --
137 
138  template<typename U>
139  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator%=(U scalar);
140  template<typename U>
141  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator%=(vec<1, U, Q> const& v);
142  template<typename U>
143  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator&=(U scalar);
144  template<typename U>
145  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator&=(vec<1, U, Q> const& v);
146  template<typename U>
147  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator|=(U scalar);
148  template<typename U>
149  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator|=(vec<1, U, Q> const& v);
150  template<typename U>
151  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator^=(U scalar);
152  template<typename U>
153  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator^=(vec<1, U, Q> const& v);
154  template<typename U>
155  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator<<=(U scalar);
156  template<typename U>
157  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator<<=(vec<1, U, Q> const& v);
158  template<typename U>
159  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator>>=(U scalar);
160  template<typename U>
161  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> & operator>>=(vec<1, U, Q> const& v);
162  };
163 
164  // -- Unary operators --
165 
166  template<typename T, qualifier Q>
167  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator+(vec<1, T, Q> const& v);
168 
169  template<typename T, qualifier Q>
170  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator-(vec<1, T, Q> const& v);
171 
172  // -- Binary operators --
173 
174  template<typename T, qualifier Q>
175  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator+(vec<1, T, Q> const& v, T scalar);
176 
177  template<typename T, qualifier Q>
178  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator+(T scalar, vec<1, T, Q> const& v);
179 
180  template<typename T, qualifier Q>
181  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator+(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
182 
183  template<typename T, qualifier Q>
184  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator-(vec<1, T, Q> const& v, T scalar);
185 
186  template<typename T, qualifier Q>
187  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator-(T scalar, vec<1, T, Q> const& v);
188 
189  template<typename T, qualifier Q>
190  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator-(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
191 
192  template<typename T, qualifier Q>
193  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator*(vec<1, T, Q> const& v, T scalar);
194 
195  template<typename T, qualifier Q>
196  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator*(T scalar, vec<1, T, Q> const& v);
197 
198  template<typename T, qualifier Q>
199  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator*(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
200 
201  template<typename T, qualifier Q>
202  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator/(vec<1, T, Q> const& v, T scalar);
203 
204  template<typename T, qualifier Q>
205  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator/(T scalar, vec<1, T, Q> const& v);
206 
207  template<typename T, qualifier Q>
208  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator/(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
209 
210  template<typename T, qualifier Q>
211  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator%(vec<1, T, Q> const& v, T scalar);
212 
213  template<typename T, qualifier Q>
214  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator%(T scalar, vec<1, T, Q> const& v);
215 
216  template<typename T, qualifier Q>
217  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator%(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
218 
219  template<typename T, qualifier Q>
220  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator&(vec<1, T, Q> const& v, T scalar);
221 
222  template<typename T, qualifier Q>
223  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator&(T scalar, vec<1, T, Q> const& v);
224 
225  template<typename T, qualifier Q>
226  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator&(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
227 
228  template<typename T, qualifier Q>
229  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator|(vec<1, T, Q> const& v, T scalar);
230 
231  template<typename T, qualifier Q>
232  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator|(T scalar, vec<1, T, Q> const& v);
233 
234  template<typename T, qualifier Q>
235  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator|(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
236 
237  template<typename T, qualifier Q>
238  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator^(vec<1, T, Q> const& v, T scalar);
239 
240  template<typename T, qualifier Q>
241  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator^(T scalar, vec<1, T, Q> const& v);
242 
243  template<typename T, qualifier Q>
244  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator^(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
245 
246  template<typename T, qualifier Q>
247  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator<<(vec<1, T, Q> const& v, T scalar);
248 
249  template<typename T, qualifier Q>
250  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator<<(T scalar, vec<1, T, Q> const& v);
251 
252  template<typename T, qualifier Q>
253  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator<<(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
254 
255  template<typename T, qualifier Q>
256  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator>>(vec<1, T, Q> const& v, T scalar);
257 
258  template<typename T, qualifier Q>
259  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator>>(T scalar, vec<1, T, Q> const& v);
260 
261  template<typename T, qualifier Q>
262  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator>>(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
263 
264  template<typename T, qualifier Q>
265  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, T, Q> operator~(vec<1, T, Q> const& v);
266 
267  // -- Boolean operators --
268 
269  template<typename T, qualifier Q>
270  GLM_FUNC_DECL GLM_CONSTEXPR bool operator==(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
271 
272  template<typename T, qualifier Q>
273  GLM_FUNC_DECL GLM_CONSTEXPR bool operator!=(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
274 
275  template<qualifier Q>
276  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, bool, Q> operator&&(vec<1, bool, Q> const& v1, vec<1, bool, Q> const& v2);
277 
278  template<qualifier Q>
279  GLM_FUNC_DECL GLM_CONSTEXPR vec<1, bool, Q> operator||(vec<1, bool, Q> const& v1, vec<1, bool, Q> const& v2);
280 }//namespace glm
281 
282 #ifndef GLM_EXTERNAL_TEMPLATE
283 #include "type_vec1.inl"
284 #endif//GLM_EXTERNAL_TEMPLATE
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00069_source.html b/doc/api/a00069_source.html deleted file mode 100644 index bcac3df0..00000000 --- a/doc/api/a00069_source.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -0.9.9 API documenation: mixed_product.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
mixed_product.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_mixed_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_mixed_product extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
32  template<typename T, qualifier Q>
-
33  GLM_FUNC_DECL T mixedProduct(
-
34  vec<3, T, Q> const& v1,
-
35  vec<3, T, Q> const& v2,
-
36  vec<3, T, Q> const& v3);
-
37 
-
39 }// namespace glm
-
40 
-
41 #include "mixed_product.inl"
-
GLM_FUNC_DECL T mixedProduct(vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00070_source.html b/doc/api/a00070_source.html deleted file mode 100644 index 9aa2ccd1..00000000 --- a/doc/api/a00070_source.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -0.9.9 API documenation: noise.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
noise.hpp
-
-
-Go to the documentation of this file.
1 
-
17 #pragma once
-
18 
-
19 // Dependencies
-
20 #include "../detail/setup.hpp"
-
21 #include "../detail/qualifier.hpp"
-
22 #include "../detail/_noise.hpp"
-
23 #include "../geometric.hpp"
-
24 #include "../common.hpp"
-
25 #include "../vector_relational.hpp"
-
26 #include "../vec2.hpp"
-
27 #include "../vec3.hpp"
-
28 #include "../vec4.hpp"
-
29 
-
30 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
31 # pragma message("GLM: GLM_GTC_noise extension included")
-
32 #endif
-
33 
-
34 namespace glm
-
35 {
-
38 
-
41  template<length_t L, typename T, qualifier Q>
-
42  GLM_FUNC_DECL T perlin(
-
43  vec<L, T, Q> const& p);
-
44 
-
47  template<length_t L, typename T, qualifier Q>
-
48  GLM_FUNC_DECL T perlin(
-
49  vec<L, T, Q> const& p,
-
50  vec<L, T, Q> const& rep);
-
51 
-
54  template<length_t L, typename T, qualifier Q>
-
55  GLM_FUNC_DECL T simplex(
-
56  vec<L, T, Q> const& p);
-
57 
-
59 }//namespace glm
-
60 
-
61 #include "noise.inl"
-
GLM_FUNC_DECL T perlin(vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
Periodic perlin noise.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T simplex(vec< L, T, Q > const &p)
Simplex noise.
-
- - - - diff --git a/doc/api/a00071.html b/doc/api/a00071.html index 541f6135..89f02952 100644 --- a/doc/api/a00071.html +++ b/doc/api/a00071.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: norm.hpp File Reference + + +0.9.9 API documenation: type_vec2.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
norm.hpp File Reference
+
type_vec2.hpp File Reference
-

GLM_GTX_norm -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T distance2 (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 Returns the squared distance between p0 and p1, i.e., length2(p0 - p1). More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Returns the L1 norm between x and y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &v)
 Returns the L1 norm of v. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Returns the L2 norm between x and y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x)
 Returns the L2 norm of v. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T length2 (vec< L, T, Q > const &x)
 Returns the squared length of x. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, unsigned int Depth)
 Returns the L norm between x and y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, unsigned int Depth)
 Returns the L norm of v. More...
 

Detailed Description

-

GLM_GTX_norm

-
See also
Core features (dependence)
-
-GLM_GTX_quaternion (dependence)
+

Core features

-

Definition in file norm.hpp.

+

Definition in file type_vec2.hpp.

diff --git a/doc/api/a00071_source.html b/doc/api/a00071_source.html index 6c435d46..9742d963 100644 --- a/doc/api/a00071_source.html +++ b/doc/api/a00071_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: norm.hpp Source File + + +0.9.9 API documenation: type_vec2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
norm.hpp
+
type_vec2.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../geometric.hpp"
-
18 #include "../gtx/quaternion.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_norm is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_norm extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<length_t L, typename T, qualifier Q>
-
36  GLM_FUNC_DECL T length2(vec<L, T, Q> const& x);
-
37 
-
40  template<length_t L, typename T, qualifier Q>
-
41  GLM_FUNC_DECL T distance2(vec<L, T, Q> const& p0, vec<L, T, Q> const& p1);
-
42 
-
45  template<typename T, qualifier Q>
-
46  GLM_FUNC_DECL T l1Norm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
47 
-
50  template<typename T, qualifier Q>
-
51  GLM_FUNC_DECL T l1Norm(vec<3, T, Q> const& v);
-
52 
-
55  template<typename T, qualifier Q>
-
56  GLM_FUNC_DECL T l2Norm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
57 
-
60  template<typename T, qualifier Q>
-
61  GLM_FUNC_DECL T l2Norm(vec<3, T, Q> const& x);
-
62 
-
65  template<typename T, qualifier Q>
-
66  GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, vec<3, T, Q> const& y, unsigned int Depth);
-
67 
-
70  template<typename T, qualifier Q>
-
71  GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, unsigned int Depth);
-
72 
-
74 }//namespace glm
-
75 
-
76 #include "norm.inl"
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T distance2(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
Returns the squared distance between p0 and p1, i.e., length2(p0 - p1).
-
GLM_FUNC_DECL T l2Norm(vec< 3, T, Q > const &x)
Returns the L2 norm of v.
-
GLM_FUNC_DECL T l1Norm(vec< 3, T, Q > const &v)
Returns the L1 norm of v.
-
GLM_FUNC_DECL T lxNorm(vec< 3, T, Q > const &x, unsigned int Depth)
Returns the L norm of v.
-
GLM_FUNC_DECL T length2(vec< L, T, Q > const &x)
Returns the squared length of x.
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "qualifier.hpp"
7 #if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
8 # include "_swizzle.hpp"
9 #elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
10 # include "_swizzle_func.hpp"
11 #endif
12 #include <cstddef>
13 
14 namespace glm
15 {
16  template<typename T, qualifier Q>
17  struct vec<2, T, Q>
18  {
19  // -- Implementation detail --
20 
21  typedef T value_type;
22  typedef vec<2, T, Q> type;
23  typedef vec<2, bool, Q> bool_type;
24 
25  // -- Data --
26 
27 # if GLM_CONFIG_XYZW_ONLY
28  T x, y;
29 # elif GLM_CONFIG_ANONYMOUS_STRUCT == GLM_ENABLE
30  union
31  {
32  struct{ T x, y; };
33  struct{ T r, g; };
34  struct{ T s, t; };
35 
36  typename detail::storage<2, T, detail::is_aligned<Q>::value>::type data;
37 
38 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
39  GLM_SWIZZLE2_2_MEMBERS(T, Q, x, y)
40  GLM_SWIZZLE2_2_MEMBERS(T, Q, r, g)
41  GLM_SWIZZLE2_2_MEMBERS(T, Q, s, t)
42  GLM_SWIZZLE2_3_MEMBERS(T, Q, x, y)
43  GLM_SWIZZLE2_3_MEMBERS(T, Q, r, g)
44  GLM_SWIZZLE2_3_MEMBERS(T, Q, s, t)
45  GLM_SWIZZLE2_4_MEMBERS(T, Q, x, y)
46  GLM_SWIZZLE2_4_MEMBERS(T, Q, r, g)
47  GLM_SWIZZLE2_4_MEMBERS(T, Q, s, t)
48 # endif
49  };
50 # else
51  union {T x, r, s;};
52  union {T y, g, t;};
53 
54 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
55  GLM_SWIZZLE_GEN_VEC_FROM_VEC2(T, Q)
56 # endif//GLM_CONFIG_SWIZZLE
57 # endif
58 
59  // -- Component accesses --
60 
62  typedef length_t length_type;
63  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 2;}
64 
65  GLM_FUNC_DECL GLM_CONSTEXPR T& operator[](length_type i);
66  GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[](length_type i) const;
67 
68  // -- Implicit basic constructors --
69 
70  GLM_FUNC_DECL GLM_CONSTEXPR vec() GLM_DEFAULT;
71  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec const& v) GLM_DEFAULT;
72  template<qualifier P>
73  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, T, P> const& v);
74 
75  // -- Explicit basic constructors --
76 
77  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(T scalar);
78  GLM_FUNC_DECL GLM_CONSTEXPR vec(T x, T y);
79 
80  // -- Conversion constructors --
81 
82  template<typename U, qualifier P>
83  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(vec<1, U, P> const& v);
84 
86  template<typename A, typename B>
87  GLM_FUNC_DECL GLM_CONSTEXPR vec(A x, B y);
88  template<typename A, typename B>
89  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, Q> const& x, B y);
90  template<typename A, typename B>
91  GLM_FUNC_DECL GLM_CONSTEXPR vec(A x, vec<1, B, Q> const& y);
92  template<typename A, typename B>
93  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, Q> const& x, vec<1, B, Q> const& y);
94 
95  // -- Conversion vector constructors --
96 
98  template<typename U, qualifier P>
99  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<3, U, P> const& v);
101  template<typename U, qualifier P>
102  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<4, U, P> const& v);
103 
105  template<typename U, qualifier P>
106  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<2, U, P> const& v);
107 
108  // -- Swizzle constructors --
109 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
110  template<int E0, int E1>
111  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<2, T, Q, E0, E1,-1,-2> const& that)
112  {
113  *this = that();
114  }
115 # endif//GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
116 
117  // -- Unary arithmetic operators --
118 
119  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator=(vec const& v) GLM_DEFAULT;
120 
121  template<typename U>
122  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator=(vec<2, U, Q> const& v);
123  template<typename U>
124  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator+=(U scalar);
125  template<typename U>
126  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator+=(vec<1, U, Q> const& v);
127  template<typename U>
128  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator+=(vec<2, U, Q> const& v);
129  template<typename U>
130  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator-=(U scalar);
131  template<typename U>
132  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator-=(vec<1, U, Q> const& v);
133  template<typename U>
134  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator-=(vec<2, U, Q> const& v);
135  template<typename U>
136  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator*=(U scalar);
137  template<typename U>
138  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator*=(vec<1, U, Q> const& v);
139  template<typename U>
140  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator*=(vec<2, U, Q> const& v);
141  template<typename U>
142  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator/=(U scalar);
143  template<typename U>
144  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator/=(vec<1, U, Q> const& v);
145  template<typename U>
146  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator/=(vec<2, U, Q> const& v);
147 
148  // -- Increment and decrement operators --
149 
150  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator++();
151  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator--();
152  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator++(int);
153  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator--(int);
154 
155  // -- Unary bit operators --
156 
157  template<typename U>
158  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator%=(U scalar);
159  template<typename U>
160  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator%=(vec<1, U, Q> const& v);
161  template<typename U>
162  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator%=(vec<2, U, Q> const& v);
163  template<typename U>
164  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator&=(U scalar);
165  template<typename U>
166  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator&=(vec<1, U, Q> const& v);
167  template<typename U>
168  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator&=(vec<2, U, Q> const& v);
169  template<typename U>
170  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator|=(U scalar);
171  template<typename U>
172  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator|=(vec<1, U, Q> const& v);
173  template<typename U>
174  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator|=(vec<2, U, Q> const& v);
175  template<typename U>
176  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator^=(U scalar);
177  template<typename U>
178  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator^=(vec<1, U, Q> const& v);
179  template<typename U>
180  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator^=(vec<2, U, Q> const& v);
181  template<typename U>
182  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator<<=(U scalar);
183  template<typename U>
184  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator<<=(vec<1, U, Q> const& v);
185  template<typename U>
186  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator<<=(vec<2, U, Q> const& v);
187  template<typename U>
188  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator>>=(U scalar);
189  template<typename U>
190  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator>>=(vec<1, U, Q> const& v);
191  template<typename U>
192  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> & operator>>=(vec<2, U, Q> const& v);
193  };
194 
195  // -- Unary operators --
196 
197  template<typename T, qualifier Q>
198  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator+(vec<2, T, Q> const& v);
199 
200  template<typename T, qualifier Q>
201  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator-(vec<2, T, Q> const& v);
202 
203  // -- Binary operators --
204 
205  template<typename T, qualifier Q>
206  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator+(vec<2, T, Q> const& v, T scalar);
207 
208  template<typename T, qualifier Q>
209  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator+(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
210 
211  template<typename T, qualifier Q>
212  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator+(T scalar, vec<2, T, Q> const& v);
213 
214  template<typename T, qualifier Q>
215  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator+(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
216 
217  template<typename T, qualifier Q>
218  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator+(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
219 
220  template<typename T, qualifier Q>
221  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator-(vec<2, T, Q> const& v, T scalar);
222 
223  template<typename T, qualifier Q>
224  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator-(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
225 
226  template<typename T, qualifier Q>
227  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator-(T scalar, vec<2, T, Q> const& v);
228 
229  template<typename T, qualifier Q>
230  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator-(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
231 
232  template<typename T, qualifier Q>
233  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator-(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
234 
235  template<typename T, qualifier Q>
236  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator*(vec<2, T, Q> const& v, T scalar);
237 
238  template<typename T, qualifier Q>
239  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator*(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
240 
241  template<typename T, qualifier Q>
242  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator*(T scalar, vec<2, T, Q> const& v);
243 
244  template<typename T, qualifier Q>
245  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator*(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
246 
247  template<typename T, qualifier Q>
248  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator*(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
249 
250  template<typename T, qualifier Q>
251  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator/(vec<2, T, Q> const& v, T scalar);
252 
253  template<typename T, qualifier Q>
254  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator/(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
255 
256  template<typename T, qualifier Q>
257  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator/(T scalar, vec<2, T, Q> const& v);
258 
259  template<typename T, qualifier Q>
260  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator/(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
261 
262  template<typename T, qualifier Q>
263  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator/(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
264 
265  template<typename T, qualifier Q>
266  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator%(vec<2, T, Q> const& v, T scalar);
267 
268  template<typename T, qualifier Q>
269  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator%(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
270 
271  template<typename T, qualifier Q>
272  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator%(T scalar, vec<2, T, Q> const& v);
273 
274  template<typename T, qualifier Q>
275  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator%(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
276 
277  template<typename T, qualifier Q>
278  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator%(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
279 
280  template<typename T, qualifier Q>
281  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator&(vec<2, T, Q> const& v, T scalar);
282 
283  template<typename T, qualifier Q>
284  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator&(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
285 
286  template<typename T, qualifier Q>
287  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator&(T scalar, vec<2, T, Q> const& v);
288 
289  template<typename T, qualifier Q>
290  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator&(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
291 
292  template<typename T, qualifier Q>
293  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator&(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
294 
295  template<typename T, qualifier Q>
296  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator|(vec<2, T, Q> const& v, T scalar);
297 
298  template<typename T, qualifier Q>
299  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator|(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
300 
301  template<typename T, qualifier Q>
302  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator|(T scalar, vec<2, T, Q> const& v);
303 
304  template<typename T, qualifier Q>
305  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator|(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
306 
307  template<typename T, qualifier Q>
308  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator|(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
309 
310  template<typename T, qualifier Q>
311  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator^(vec<2, T, Q> const& v, T scalar);
312 
313  template<typename T, qualifier Q>
314  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator^(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
315 
316  template<typename T, qualifier Q>
317  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator^(T scalar, vec<2, T, Q> const& v);
318 
319  template<typename T, qualifier Q>
320  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator^(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
321 
322  template<typename T, qualifier Q>
323  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator^(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
324 
325  template<typename T, qualifier Q>
326  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator<<(vec<2, T, Q> const& v, T scalar);
327 
328  template<typename T, qualifier Q>
329  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator<<(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
330 
331  template<typename T, qualifier Q>
332  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator<<(T scalar, vec<2, T, Q> const& v);
333 
334  template<typename T, qualifier Q>
335  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator<<(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
336 
337  template<typename T, qualifier Q>
338  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator<<(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
339 
340  template<typename T, qualifier Q>
341  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator>>(vec<2, T, Q> const& v, T scalar);
342 
343  template<typename T, qualifier Q>
344  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator>>(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
345 
346  template<typename T, qualifier Q>
347  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator>>(T scalar, vec<2, T, Q> const& v);
348 
349  template<typename T, qualifier Q>
350  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator>>(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
351 
352  template<typename T, qualifier Q>
353  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator>>(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
354 
355  template<typename T, qualifier Q>
356  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, T, Q> operator~(vec<2, T, Q> const& v);
357 
358  // -- Boolean operators --
359 
360  template<typename T, qualifier Q>
361  GLM_FUNC_DECL GLM_CONSTEXPR bool operator==(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
362 
363  template<typename T, qualifier Q>
364  GLM_FUNC_DECL GLM_CONSTEXPR bool operator!=(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
365 
366  template<qualifier Q>
367  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, bool, Q> operator&&(vec<2, bool, Q> const& v1, vec<2, bool, Q> const& v2);
368 
369  template<qualifier Q>
370  GLM_FUNC_DECL GLM_CONSTEXPR vec<2, bool, Q> operator||(vec<2, bool, Q> const& v1, vec<2, bool, Q> const& v2);
371 }//namespace glm
372 
373 #ifndef GLM_EXTERNAL_TEMPLATE
374 #include "type_vec2.inl"
375 #endif//GLM_EXTERNAL_TEMPLATE
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00072_source.html b/doc/api/a00072_source.html deleted file mode 100644 index 165485a2..00000000 --- a/doc/api/a00072_source.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -0.9.9 API documenation: normal.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
normal.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_normal is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_normal extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
35  template<typename T, qualifier Q>
-
36  GLM_FUNC_DECL vec<3, T, Q> triangleNormal(vec<3, T, Q> const& p1, vec<3, T, Q> const& p2, vec<3, T, Q> const& p3);
-
37 
-
39 }//namespace glm
-
40 
-
41 #include "normal.inl"
-
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal(vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
Computes triangle normal from triangle points.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00073_source.html b/doc/api/a00073_source.html deleted file mode 100644 index 38ec66ca..00000000 --- a/doc/api/a00073_source.html +++ /dev/null @@ -1,128 +0,0 @@ - - - - - - -0.9.9 API documenation: normalize_dot.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
normalize_dot.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../gtx/fast_square_root.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_normalize_dot is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_normalize_dot extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
36  template<length_t L, typename T, qualifier Q>
-
37  GLM_FUNC_DECL T normalizeDot(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
38 
-
43  template<length_t L, typename T, qualifier Q>
-
44  GLM_FUNC_DECL T fastNormalizeDot(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
45 
-
47 }//namespace glm
-
48 
-
49 #include "normalize_dot.inl"
-
GLM_FUNC_DECL T normalizeDot(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Normalize parameters and returns the dot product of x and y.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T fastNormalizeDot(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Normalize parameters and returns the dot product of x and y.
-
- - - - diff --git a/doc/api/a00074.html b/doc/api/a00074.html index 62b05c6d..e0f57b5f 100644 --- a/doc/api/a00074.html +++ b/doc/api/a00074.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: number_precision.hpp File Reference + + +0.9.9 API documenation: type_vec3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Typedefs
-
number_precision.hpp File Reference
+
type_vec3.hpp File Reference
-

GLM_GTX_number_precision -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef f32 f32mat1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f32 f32mat1x1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f32 f32vec1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f64 f64mat1
 Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f64 f64mat1x1
 Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f64 f64vec1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef u16 u16vec1
 16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-typedef u32 u32vec1
 32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-typedef u64 u64vec1
 64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-typedef u8 u8vec1
 8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 

Detailed Description

-

GLM_GTX_number_precision

-
See also
Core features (dependence)
-
-GLM_GTC_type_precision (dependence)
-
-GLM_GTC_quaternion (dependence)
+

Core features

-

Definition in file number_precision.hpp.

+

Definition in file type_vec3.hpp.

diff --git a/doc/api/a00074_source.html b/doc/api/a00074_source.html index 0c2f0204..3d30d76c 100644 --- a/doc/api/a00074_source.html +++ b/doc/api/a00074_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: number_precision.hpp Source File + + +0.9.9 API documenation: type_vec3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
number_precision.hpp
+
type_vec3.hpp
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 // Dependency:
-
18 #include "../glm.hpp"
-
19 #include "../gtc/type_precision.hpp"
-
20 
-
21 #ifndef GLM_ENABLE_EXPERIMENTAL
-
22 # error "GLM: GLM_GTX_number_precision is an experimental 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_number_precision extension included")
-
27 #endif
-
28 
-
29 namespace glm{
-
30 namespace gtx
-
31 {
-
33  // Unsigned int vector types
-
34 
-
37 
-
38  typedef u8 u8vec1;
-
39  typedef u16 u16vec1;
-
40  typedef u32 u32vec1;
-
41  typedef u64 u64vec1;
-
42 
-
44  // Float vector types
-
45 
-
46  typedef f32 f32vec1;
-
47  typedef f64 f64vec1;
-
48 
-
50  // Float matrix types
-
51 
-
52  typedef f32 f32mat1;
-
53  typedef f32 f32mat1x1;
-
54  typedef f64 f64mat1;
-
55  typedef f64 f64mat1x1;
-
56 
-
58 }//namespace gtx
-
59 }//namespace glm
-
60 
-
61 #include "number_precision.inl"
-
f64 f64mat1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
-
u16 u16vec1
16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
-
highp_float32_t f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1507
-
u64 u64vec1
64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
-
f32 f32mat1x1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
-
Definition: common.hpp:20
-
u32 u32vec1
32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
-
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:904
-
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:908
-
f32 f32mat1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
-
f32 f32vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
-
u8 u8vec1
8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
-
f64 f64vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
-
f64 f64mat1x1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
-
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:900
-
highp_float64_t f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1511
-
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:896
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "qualifier.hpp"
7 #if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
8 # include "_swizzle.hpp"
9 #elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
10 # include "_swizzle_func.hpp"
11 #endif
12 #include <cstddef>
13 
14 namespace glm
15 {
16  template<typename T, qualifier Q>
17  struct vec<3, T, Q>
18  {
19  // -- Implementation detail --
20 
21  typedef T value_type;
22  typedef vec<3, T, Q> type;
23  typedef vec<3, bool, Q> bool_type;
24 
25  // -- Data --
26 
27 # if GLM_CONFIG_XYZW_ONLY
28  T x, y, z;
29 # elif GLM_CONFIG_ANONYMOUS_STRUCT == GLM_ENABLE
30  union
31  {
32  struct{ T x, y, z; };
33  struct{ T r, g, b; };
34  struct{ T s, t, p; };
35 
36  typename detail::storage<3, T, detail::is_aligned<Q>::value>::type data;
37 
38 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
39  GLM_SWIZZLE3_2_MEMBERS(T, Q, x, y, z)
40  GLM_SWIZZLE3_2_MEMBERS(T, Q, r, g, b)
41  GLM_SWIZZLE3_2_MEMBERS(T, Q, s, t, p)
42  GLM_SWIZZLE3_3_MEMBERS(T, Q, x, y, z)
43  GLM_SWIZZLE3_3_MEMBERS(T, Q, r, g, b)
44  GLM_SWIZZLE3_3_MEMBERS(T, Q, s, t, p)
45  GLM_SWIZZLE3_4_MEMBERS(T, Q, x, y, z)
46  GLM_SWIZZLE3_4_MEMBERS(T, Q, r, g, b)
47  GLM_SWIZZLE3_4_MEMBERS(T, Q, s, t, p)
48 # endif
49  };
50 # else
51  union { T x, r, s; };
52  union { T y, g, t; };
53  union { T z, b, p; };
54 
55 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
56  GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, Q)
57 # endif//GLM_CONFIG_SWIZZLE
58 # endif//GLM_LANG
59 
60  // -- Component accesses --
61 
63  typedef length_t length_type;
64  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 3;}
65 
66  GLM_FUNC_DECL GLM_CONSTEXPR T & operator[](length_type i);
67  GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[](length_type i) const;
68 
69  // -- Implicit basic constructors --
70 
71  GLM_FUNC_DECL GLM_CONSTEXPR vec() GLM_DEFAULT;
72  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec const& v) GLM_DEFAULT;
73  template<qualifier P>
74  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<3, T, P> const& v);
75 
76  // -- Explicit basic constructors --
77 
78  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(T scalar);
79  GLM_FUNC_DECL GLM_CONSTEXPR vec(T a, T b, T c);
80 
81  // -- Conversion scalar constructors --
82 
83  template<typename U, qualifier P>
84  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(vec<1, U, P> const& v);
85 
87  template<typename X, typename Y, typename Z>
88  GLM_FUNC_DECL GLM_CONSTEXPR vec(X x, Y y, Z z);
89  template<typename X, typename Y, typename Z>
90  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, Y _y, Z _z);
91  template<typename X, typename Y, typename Z>
92  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, vec<1, Y, Q> const& _y, Z _z);
93  template<typename X, typename Y, typename Z>
94  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _y, Z _z);
95  template<typename X, typename Y, typename Z>
96  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, Y _y, vec<1, Z, Q> const& _z);
97  template<typename X, typename Y, typename Z>
98  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, Y _y, vec<1, Z, Q> const& _z);
99  template<typename X, typename Y, typename Z>
100  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, vec<1, Y, Q> const& _y, vec<1, Z, Q> const& _z);
101  template<typename X, typename Y, typename Z>
102  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _y, vec<1, Z, Q> const& _z);
103 
104  // -- Conversion vector constructors --
105 
107  template<typename A, typename B, qualifier P>
108  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, B _z);
110  template<typename A, typename B, qualifier P>
111  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, vec<1, B, P> const& _z);
113  template<typename A, typename B, qualifier P>
114  GLM_FUNC_DECL GLM_CONSTEXPR vec(A _x, vec<2, B, P> const& _yz);
116  template<typename A, typename B, qualifier P>
117  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, P> const& _x, vec<2, B, P> const& _yz);
119  template<typename U, qualifier P>
120  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<4, U, P> const& v);
121 
123  template<typename U, qualifier P>
124  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<3, U, P> const& v);
125 
126  // -- Swizzle constructors --
127 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
128  template<int E0, int E1, int E2>
129  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<3, T, Q, E0, E1, E2, -1> const& that)
130  {
131  *this = that();
132  }
133 
134  template<int E0, int E1>
135  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, T const& scalar)
136  {
137  *this = vec(v(), scalar);
138  }
139 
140  template<int E0, int E1>
141  GLM_FUNC_DECL GLM_CONSTEXPR vec(T const& scalar, detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v)
142  {
143  *this = vec(scalar, v());
144  }
145 # endif//GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
146 
147  // -- Unary arithmetic operators --
148 
149  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q>& operator=(vec<3, T, Q> const& v) GLM_DEFAULT;
150 
151  template<typename U>
152  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator=(vec<3, U, Q> const& v);
153  template<typename U>
154  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator+=(U scalar);
155  template<typename U>
156  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator+=(vec<1, U, Q> const& v);
157  template<typename U>
158  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator+=(vec<3, U, Q> const& v);
159  template<typename U>
160  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator-=(U scalar);
161  template<typename U>
162  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator-=(vec<1, U, Q> const& v);
163  template<typename U>
164  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator-=(vec<3, U, Q> const& v);
165  template<typename U>
166  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator*=(U scalar);
167  template<typename U>
168  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator*=(vec<1, U, Q> const& v);
169  template<typename U>
170  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator*=(vec<3, U, Q> const& v);
171  template<typename U>
172  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator/=(U scalar);
173  template<typename U>
174  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator/=(vec<1, U, Q> const& v);
175  template<typename U>
176  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator/=(vec<3, U, Q> const& v);
177 
178  // -- Increment and decrement operators --
179 
180  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator++();
181  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator--();
182  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator++(int);
183  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator--(int);
184 
185  // -- Unary bit operators --
186 
187  template<typename U>
188  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator%=(U scalar);
189  template<typename U>
190  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator%=(vec<1, U, Q> const& v);
191  template<typename U>
192  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator%=(vec<3, U, Q> const& v);
193  template<typename U>
194  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator&=(U scalar);
195  template<typename U>
196  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator&=(vec<1, U, Q> const& v);
197  template<typename U>
198  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator&=(vec<3, U, Q> const& v);
199  template<typename U>
200  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator|=(U scalar);
201  template<typename U>
202  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator|=(vec<1, U, Q> const& v);
203  template<typename U>
204  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator|=(vec<3, U, Q> const& v);
205  template<typename U>
206  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator^=(U scalar);
207  template<typename U>
208  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator^=(vec<1, U, Q> const& v);
209  template<typename U>
210  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator^=(vec<3, U, Q> const& v);
211  template<typename U>
212  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator<<=(U scalar);
213  template<typename U>
214  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator<<=(vec<1, U, Q> const& v);
215  template<typename U>
216  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator<<=(vec<3, U, Q> const& v);
217  template<typename U>
218  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator>>=(U scalar);
219  template<typename U>
220  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator>>=(vec<1, U, Q> const& v);
221  template<typename U>
222  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> & operator>>=(vec<3, U, Q> const& v);
223  };
224 
225  // -- Unary operators --
226 
227  template<typename T, qualifier Q>
228  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator+(vec<3, T, Q> const& v);
229 
230  template<typename T, qualifier Q>
231  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator-(vec<3, T, Q> const& v);
232 
233  // -- Binary operators --
234 
235  template<typename T, qualifier Q>
236  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator+(vec<3, T, Q> const& v, T scalar);
237 
238  template<typename T, qualifier Q>
239  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator+(vec<3, T, Q> const& v, vec<1, T, Q> const& scalar);
240 
241  template<typename T, qualifier Q>
242  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator+(T scalar, vec<3, T, Q> const& v);
243 
244  template<typename T, qualifier Q>
245  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator+(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
246 
247  template<typename T, qualifier Q>
248  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator+(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
249 
250  template<typename T, qualifier Q>
251  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator-(vec<3, T, Q> const& v, T scalar);
252 
253  template<typename T, qualifier Q>
254  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator-(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
255 
256  template<typename T, qualifier Q>
257  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator-(T scalar, vec<3, T, Q> const& v);
258 
259  template<typename T, qualifier Q>
260  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator-(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
261 
262  template<typename T, qualifier Q>
263  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator-(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
264 
265  template<typename T, qualifier Q>
266  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator*(vec<3, T, Q> const& v, T scalar);
267 
268  template<typename T, qualifier Q>
269  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator*(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
270 
271  template<typename T, qualifier Q>
272  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator*(T scalar, vec<3, T, Q> const& v);
273 
274  template<typename T, qualifier Q>
275  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator*(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
276 
277  template<typename T, qualifier Q>
278  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator*(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
279 
280  template<typename T, qualifier Q>
281  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator/(vec<3, T, Q> const& v, T scalar);
282 
283  template<typename T, qualifier Q>
284  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator/(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
285 
286  template<typename T, qualifier Q>
287  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator/(T scalar, vec<3, T, Q> const& v);
288 
289  template<typename T, qualifier Q>
290  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator/(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
291 
292  template<typename T, qualifier Q>
293  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator/(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
294 
295  template<typename T, qualifier Q>
296  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator%(vec<3, T, Q> const& v, T scalar);
297 
298  template<typename T, qualifier Q>
299  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator%(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
300 
301  template<typename T, qualifier Q>
302  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator%(T scalar, vec<3, T, Q> const& v);
303 
304  template<typename T, qualifier Q>
305  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator%(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
306 
307  template<typename T, qualifier Q>
308  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator%(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
309 
310  template<typename T, qualifier Q>
311  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator&(vec<3, T, Q> const& v1, T scalar);
312 
313  template<typename T, qualifier Q>
314  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator&(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
315 
316  template<typename T, qualifier Q>
317  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator&(T scalar, vec<3, T, Q> const& v);
318 
319  template<typename T, qualifier Q>
320  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator&(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
321 
322  template<typename T, qualifier Q>
323  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator&(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
324 
325  template<typename T, qualifier Q>
326  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator|(vec<3, T, Q> const& v, T scalar);
327 
328  template<typename T, qualifier Q>
329  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator|(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
330 
331  template<typename T, qualifier Q>
332  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator|(T scalar, vec<3, T, Q> const& v);
333 
334  template<typename T, qualifier Q>
335  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator|(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
336 
337  template<typename T, qualifier Q>
338  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator|(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
339 
340  template<typename T, qualifier Q>
341  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator^(vec<3, T, Q> const& v, T scalar);
342 
343  template<typename T, qualifier Q>
344  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator^(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
345 
346  template<typename T, qualifier Q>
347  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator^(T scalar, vec<3, T, Q> const& v);
348 
349  template<typename T, qualifier Q>
350  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator^(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
351 
352  template<typename T, qualifier Q>
353  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator^(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
354 
355  template<typename T, qualifier Q>
356  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator<<(vec<3, T, Q> const& v, T scalar);
357 
358  template<typename T, qualifier Q>
359  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator<<(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
360 
361  template<typename T, qualifier Q>
362  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator<<(T scalar, vec<3, T, Q> const& v);
363 
364  template<typename T, qualifier Q>
365  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator<<(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
366 
367  template<typename T, qualifier Q>
368  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator<<(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
369 
370  template<typename T, qualifier Q>
371  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator>>(vec<3, T, Q> const& v, T scalar);
372 
373  template<typename T, qualifier Q>
374  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator>>(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
375 
376  template<typename T, qualifier Q>
377  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator>>(T scalar, vec<3, T, Q> const& v);
378 
379  template<typename T, qualifier Q>
380  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator>>(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
381 
382  template<typename T, qualifier Q>
383  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator>>(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
384 
385  template<typename T, qualifier Q>
386  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, T, Q> operator~(vec<3, T, Q> const& v);
387 
388  // -- Boolean operators --
389 
390  template<typename T, qualifier Q>
391  GLM_FUNC_DECL GLM_CONSTEXPR bool operator==(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
392 
393  template<typename T, qualifier Q>
394  GLM_FUNC_DECL GLM_CONSTEXPR bool operator!=(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
395 
396  template<qualifier Q>
397  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, bool, Q> operator&&(vec<3, bool, Q> const& v1, vec<3, bool, Q> const& v2);
398 
399  template<qualifier Q>
400  GLM_FUNC_DECL GLM_CONSTEXPR vec<3, bool, Q> operator||(vec<3, bool, Q> const& v1, vec<3, bool, Q> const& v2);
401 }//namespace glm
402 
403 #ifndef GLM_EXTERNAL_TEMPLATE
404 #include "type_vec3.inl"
405 #endif//GLM_EXTERNAL_TEMPLATE
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00075_source.html b/doc/api/a00075_source.html deleted file mode 100644 index 061d207d..00000000 --- a/doc/api/a00075_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -0.9.9 API documenation: optimum_pow.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
optimum_pow.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_optimum_pow is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_optimum_pow extension included")
-
24 #endif
-
25 
-
26 namespace glm{
-
27 namespace gtx
-
28 {
-
31 
-
35  template<typename genType>
-
36  GLM_FUNC_DECL genType pow2(genType const& x);
-
37 
-
41  template<typename genType>
-
42  GLM_FUNC_DECL genType pow3(genType const& x);
-
43 
-
47  template<typename genType>
-
48  GLM_FUNC_DECL genType pow4(genType const& x);
-
49 
-
51 }//namespace gtx
-
52 }//namespace glm
-
53 
-
54 #include "optimum_pow.inl"
-
GLM_FUNC_DECL genType pow3(genType const &x)
Returns x raised to the power of 3.
-
GLM_FUNC_DECL genType pow4(genType const &x)
Returns x raised to the power of 4.
-
GLM_FUNC_DECL genType pow2(genType const &x)
Returns x raised to the power of 2.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00076_source.html b/doc/api/a00076_source.html deleted file mode 100644 index 31dd73df..00000000 --- a/doc/api/a00076_source.html +++ /dev/null @@ -1,129 +0,0 @@ - - - - - - -0.9.9 API documenation: orthonormalize.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
orthonormalize.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../vec3.hpp"
-
18 #include "../mat3x3.hpp"
-
19 #include "../geometric.hpp"
-
20 
-
21 #ifndef GLM_ENABLE_EXPERIMENTAL
-
22 # error "GLM: GLM_GTX_orthonormalize is an experimental 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_orthonormalize extension included")
-
27 #endif
-
28 
-
29 namespace glm
-
30 {
-
33 
-
37  template<typename T, qualifier Q>
-
38  GLM_FUNC_DECL mat<3, 3, T, Q> orthonormalize(mat<3, 3, T, Q> const& m);
-
39 
-
43  template<typename T, qualifier Q>
-
44  GLM_FUNC_DECL vec<3, T, Q> orthonormalize(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
-
45 
-
47 }//namespace glm
-
48 
-
49 #include "orthonormalize.inl"
-
GLM_FUNC_DECL vec< 3, T, Q > orthonormalize(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
Orthonormalizes x according y.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00077.html b/doc/api/a00077.html index f907adb8..9cdc0cce 100644 --- a/doc/api/a00077.html +++ b/doc/api/a00077.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: packing.hpp File Reference + + +0.9.9 API documenation: type_vec4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-
-Functions
-
gtc/packing.hpp File Reference
+
type_vec4.hpp File Reference
-

GLM_GTC_packing -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

GLM_FUNC_DECL uint32 packF2x11_1x10 (vec3 const &v)
 First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values. More...
 
GLM_FUNC_DECL uint32 packF3x9_E1x5 (vec3 const &v)
 First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint16, Q > packHalf (vec< L, float, Q > const &v)
 Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification. More...
 
GLM_FUNC_DECL uint16 packHalf1x16 (float v)
 Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 16-bit floating-point representation found in the OpenGL Specification, and then packing this 16-bit value into a 16-bit unsigned integer. More...
 
GLM_FUNC_DECL uint64 packHalf4x16 (vec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these four 16-bit values into a 64-bit unsigned integer. More...
 
GLM_FUNC_DECL uint32 packI3x10_1x2 (ivec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component signed integer vector to the 10-10-10-2-bit signed integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer. More...
 
GLM_FUNC_DECL int packInt2x16 (i16vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int64 packInt2x32 (i32vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int16 packInt2x8 (i8vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int64 packInt4x16 (i16vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int32 packInt4x8 (i8vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > packRGBM (vec< 3, T, Q > const &rgb)
 Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification. More...
 
template<typename intType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, intType, Q > packSnorm (vec< L, floatType, Q > const &v)
 Convert each component of the normalized floating-point vector into signed integer values. More...
 
GLM_FUNC_DECL uint16 packSnorm1x16 (float v)
 First, converts the normalized floating-point value v into 16-bit integer value. More...
 
GLM_FUNC_DECL uint8 packSnorm1x8 (float s)
 First, converts the normalized floating-point value v into 8-bit integer value. More...
 
GLM_FUNC_DECL uint16 packSnorm2x8 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8-bit integer values. More...
 
GLM_FUNC_DECL uint32 packSnorm3x10_1x2 (vec4 const &v)
 First, converts the first three components of the normalized floating-point value v into 10-bit signed integer values. More...
 
GLM_FUNC_DECL uint64 packSnorm4x16 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 16-bit integer values. More...
 
GLM_FUNC_DECL uint32 packU3x10_1x2 (uvec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component unsigned integer vector to the 10-10-10-2-bit unsigned integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer. More...
 
GLM_FUNC_DECL uint packUint2x16 (u16vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint64 packUint2x32 (u32vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint16 packUint2x8 (u8vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint64 packUint4x16 (u16vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint32 packUint4x8 (u8vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
template<typename uintType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm (vec< L, floatType, Q > const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm1x16 (float v)
 First, converts the normalized floating-point value v into a 16-bit integer value. More...
 
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5 (vec3 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint8 packUnorm1x8 (float v)
 First, converts the normalized floating-point value v into a 8-bit integer value. More...
 
GLM_FUNC_DECL uint8 packUnorm2x3_1x2 (vec3 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint8 packUnorm2x4 (vec2 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm2x8 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8-bit integer values. More...
 
GLM_FUNC_DECL uint32 packUnorm3x10_1x2 (vec4 const &v)
 First, converts the first three components of the normalized floating-point value v into 10-bit unsigned integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm3x5_1x1 (vec4 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint64 packUnorm4x16 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 16-bit integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm4x4 (vec4 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL vec3 unpackF2x11_1x10 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value . More...
 
GLM_FUNC_DECL vec3 unpackF3x9_E1x5 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value . More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > unpackHalf (vec< L, uint16, Q > const &p)
 Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values. More...
 
GLM_FUNC_DECL float unpackHalf1x16 (uint16 v)
 Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into a 16-bit value, interpreted as a 16-bit floating-point number according to the OpenGL Specification, and converting it to 32-bit floating-point values. More...
 
GLM_FUNC_DECL vec4 unpackHalf4x16 (uint64 p)
 Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigned integer into four 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values. More...
 
GLM_FUNC_DECL ivec4 unpackI3x10_1x2 (uint32 p)
 Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers. More...
 
GLM_FUNC_DECL i16vec2 unpackInt2x16 (int p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i32vec2 unpackInt2x32 (int64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i8vec2 unpackInt2x8 (int16 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i16vec4 unpackInt4x16 (int64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i8vec4 unpackInt4x8 (int32 p)
 Convert a packed integer into an integer vector. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM (vec< 4, T, Q > const &rgbm)
 Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values. More...
 
template<typename floatType , length_t L, typename intType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm (vec< L, intType, Q > const &v)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL float unpackSnorm1x16 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers. More...
 
GLM_FUNC_DECL float unpackSnorm1x8 (uint8 p)
 First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers. More...
 
GLM_FUNC_DECL vec2 unpackSnorm2x8 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackSnorm4x16 (uint64 p)
 First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers. More...
 
GLM_FUNC_DECL uvec4 unpackU3x10_1x2 (uint32 p)
 Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers. More...
 
GLM_FUNC_DECL u16vec2 unpackUint2x16 (uint p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u32vec2 unpackUint2x32 (uint64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u8vec2 unpackUint2x8 (uint16 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u16vec4 unpackUint4x16 (uint64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u8vec4 unpackUint4x8 (uint32 p)
 Convert a packed integer into an integer vector. More...
 
template<typename floatType , length_t L, typename uintType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm (vec< L, uintType, Q > const &v)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL float unpackUnorm1x16 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers. More...
 
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL float unpackUnorm1x8 (uint8 p)
 Convert a single 8-bit integer to a normalized floating-point value. More...
 
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2 (uint8 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL vec2 unpackUnorm2x4 (uint8 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL vec2 unpackUnorm2x8 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL vec4 unpackUnorm4x16 (uint64 p)
 First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm4x4 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
 

Detailed Description

-

GLM_GTC_packing

-
See also
Core features (dependence)
+

Core features

-

Definition in file gtc/packing.hpp.

+

Definition in file type_vec4.hpp.

diff --git a/doc/api/a00077_source.html b/doc/api/a00077_source.html index d2ba8482..95ba22db 100644 --- a/doc/api/a00077_source.html +++ b/doc/api/a00077_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: packing.hpp Source File + + +0.9.9 API documenation: type_vec4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
gtc/packing.hpp
+
type_vec4.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "type_precision.hpp"
-
18 
-
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
20 # pragma message("GLM: GLM_GTC_packing extension included")
-
21 #endif
-
22 
-
23 namespace glm
-
24 {
-
27 
-
39  GLM_FUNC_DECL uint8 packUnorm1x8(float v);
-
40 
-
51  GLM_FUNC_DECL float unpackUnorm1x8(uint8 p);
-
52 
-
67  GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const& v);
-
68 
-
83  GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p);
-
84 
-
96  GLM_FUNC_DECL uint8 packSnorm1x8(float s);
-
97 
-
109  GLM_FUNC_DECL float unpackSnorm1x8(uint8 p);
-
110 
-
125  GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const& v);
-
126 
-
141  GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p);
-
142 
-
154  GLM_FUNC_DECL uint16 packUnorm1x16(float v);
-
155 
-
167  GLM_FUNC_DECL float unpackUnorm1x16(uint16 p);
-
168 
-
183  GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const& v);
-
184 
-
199  GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p);
-
200 
-
212  GLM_FUNC_DECL uint16 packSnorm1x16(float v);
-
213 
-
225  GLM_FUNC_DECL float unpackSnorm1x16(uint16 p);
-
226 
-
241  GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const& v);
-
242 
-
257  GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p);
-
258 
-
268  GLM_FUNC_DECL uint16 packHalf1x16(float v);
-
269 
-
279  GLM_FUNC_DECL float unpackHalf1x16(uint16 v);
-
280 
-
292  GLM_FUNC_DECL uint64 packHalf4x16(vec4 const& v);
-
293 
-
305  GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p);
-
306 
-
318  GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const& v);
-
319 
-
329  GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p);
-
330 
-
342  GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const& v);
-
343 
-
353  GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p);
-
354 
-
371  GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const& v);
-
372 
-
388  GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p);
-
389 
-
406  GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const& v);
-
407 
-
423  GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p);
-
424 
-
434  GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const& v);
-
435 
-
444  GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p);
-
445 
-
446 
-
458  GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const& v);
-
459 
-
470  GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p);
-
471 
-
480  template<length_t L, typename T, qualifier Q>
-
481  GLM_FUNC_DECL vec<4, T, Q> packRGBM(vec<3, T, Q> const& rgb);
-
482 
-
490  template<length_t L, typename T, qualifier Q>
-
491  GLM_FUNC_DECL vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& rgbm);
-
492 
-
501  template<length_t L, qualifier Q>
-
502  GLM_FUNC_DECL vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v);
-
503 
-
511  template<length_t L, qualifier Q>
-
512  GLM_FUNC_DECL vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p);
-
513 
-
518  template<typename uintType, length_t L, typename floatType, qualifier Q>
-
519  GLM_FUNC_DECL vec<L, uintType, Q> packUnorm(vec<L, floatType, Q> const& v);
-
520 
-
525  template<typename floatType, length_t L, typename uintType, qualifier Q>
-
526  GLM_FUNC_DECL vec<L, floatType, Q> unpackUnorm(vec<L, uintType, Q> const& v);
-
527 
-
532  template<typename intType, length_t L, typename floatType, qualifier Q>
-
533  GLM_FUNC_DECL vec<L, intType, Q> packSnorm(vec<L, floatType, Q> const& v);
-
534 
-
539  template<typename floatType, length_t L, typename intType, qualifier Q>
-
540  GLM_FUNC_DECL vec<L, floatType, Q> unpackSnorm(vec<L, intType, Q> const& v);
-
541 
-
546  GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const& v);
-
547 
-
552  GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p);
-
553 
-
558  GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const& v);
-
559 
-
564  GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p);
-
565 
-
570  GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const& v);
-
571 
-
576  GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p);
-
577 
-
582  GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const& v);
-
583 
-
588  GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p);
-
589 
-
594  GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const& v);
-
595 
-
600  GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p);
-
601 
-
602 
-
603 
-
608  GLM_FUNC_DECL int16 packInt2x8(i8vec2 const& v);
-
609 
-
614  GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p);
-
615 
-
620  GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const& v);
-
621 
-
626  GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p);
-
627 
-
632  GLM_FUNC_DECL int32 packInt4x8(i8vec4 const& v);
-
633 
-
638  GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p);
-
639 
-
644  GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const& v);
-
645 
-
650  GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p);
-
651 
-
656  GLM_FUNC_DECL int packInt2x16(i16vec2 const& v);
-
657 
-
662  GLM_FUNC_DECL i16vec2 unpackInt2x16(int p);
-
663 
-
668  GLM_FUNC_DECL int64 packInt4x16(i16vec4 const& v);
-
669 
-
674  GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p);
-
675 
-
680  GLM_FUNC_DECL uint packUint2x16(u16vec2 const& v);
-
681 
-
686  GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p);
-
687 
-
692  GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const& v);
-
693 
-
698  GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p);
-
699 
-
704  GLM_FUNC_DECL int64 packInt2x32(i32vec2 const& v);
-
705 
-
710  GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p);
-
711 
-
716  GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const& v);
-
717 
-
722  GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p);
-
723 
-
724 
-
726 }// namespace glm
-
727 
-
728 #include "packing.inl"
-
GLM_FUNC_DECL vec< L, intType, Q > packSnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into signed integer values...
-
GLM_FUNC_DECL float unpackUnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers.
-
GLM_FUNC_DECL float unpackSnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers.
-
GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
-
GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p)
Convert a packed integer to a normalized floating-point vector.
-
GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
-
GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component unsigned intege...
-
GLM_FUNC_DECL vec< 4, T, Q > packRGBM(vec< 3, T, Q > const &rgb)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
-
GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
-
GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
-
highp_u16vec4 u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1067
-
GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
-
GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
-
GLM_FUNC_DECL int64 packInt4x16(i16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
highp_u32vec2 u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1138
-
GLM_FUNC_DECL uint8 packUnorm1x8(float v)
First, converts the normalized floating-point value v into a 8-bit integer value. ...
-
highp_vec2 vec2
2 components vector of floating-point numbers.
Definition: type_vec.hpp:440
-
GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p)
Convert a packed integer to a normalized floating-point vector.
-
highp_i8vec2 i8vec2
Default qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:370
-
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
-
GLM_FUNC_DECL int packInt2x16(i16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL uint64 packHalf4x16(vec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component floating-point ...
-
highp_i16vec4 i16vec4
Default qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:458
-
GLM_FUNC_DECL uint16 packHalf1x16(float v)
Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 1...
-
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm(vec< L, uintType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
-
GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
-
GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers.
-
GLM_GTC_type_precision
-
GLM_FUNC_DECL vec< L, float, Q > unpackHalf(vec< L, uint16, Q > const &p)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
-
GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
-
highp_i16vec2 i16vec2
Default qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:450
-
highp_i8vec4 i8vec4
Default qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:378
-
GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit signe...
-
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
-
GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
-
GLM_FUNC_DECL float unpackSnorm1x8(uint8 p)
First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers.
-
GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit unsig...
-
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM(vec< 4, T, Q > const &rgbm)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
-
GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL int64 packInt2x32(i32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL float unpackHalf1x16(uint16 v)
Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into ...
-
GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
-
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
-
highp_ivec4 ivec4
4 components vector of signed integer numbers.
Definition: type_vec.hpp:504
-
highp_vec4 vec4
4 components vector of floating-point numbers.
Definition: type_vec.hpp:450
-
highp_uvec4 uvec4
4 components vector of unsigned integer numbers.
Definition: type_vec.hpp:531
-
GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p)
Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigne...
-
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p)
Convert a packed integer to a normalized floating-point vector.
-
GLM_FUNC_DECL int16 packInt2x8(i8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p)
Convert a packed integer into an integer vector.
-
highp_u16vec2 u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1059
-
highp_vec3 vec3
3 components vector of floating-point numbers.
Definition: type_vec.hpp:445
-
GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL i16vec2 unpackInt2x16(int p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
-
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p)
Convert a packed integer to a normalized floating-point vector.
-
GLM_FUNC_DECL float unpackUnorm1x8(uint8 p)
Convert a single 8-bit integer to a normalized floating-point value.
-
highp_u8vec4 u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:987
-
GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers.
-
GLM_FUNC_DECL uint8 packSnorm1x8(float s)
First, converts the normalized floating-point value v into 8-bit integer value.
-
GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
-
highp_i32vec2 i32vec2
Default qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:529
-
GLM_FUNC_DECL uint16 packSnorm1x16(float v)
First, converts the normalized floating-point value v into 16-bit integer value.
-
GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p)
Convert a packed integer to a normalized floating-point vector.
-
GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component signed integer ...
-
GLM_FUNC_DECL int32 packInt4x8(i8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers...
-
GLM_FUNC_DECL vec< L, uint16, Q > packHalf(vec< L, float, Q > const &v)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
-
GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
-
GLM_FUNC_DECL uint packUint2x16(u16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
-
GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p)
Convert a packed integer into an integer vector.
-
highp_u8vec2 u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:979
-
GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers.
-
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm(vec< L, intType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
-
GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL uint16 packUnorm1x16(float v)
First, converts the normalized floating-point value v into a 16-bit integer value.
-
GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p)
Convert a packed integer into an integer vector.
-
GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers.
+Go to the documentation of this file.
1 
4 #pragma once
5 
6 #include "qualifier.hpp"
7 #if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
8 # include "_swizzle.hpp"
9 #elif GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
10 # include "_swizzle_func.hpp"
11 #endif
12 #include <cstddef>
13 
14 namespace glm
15 {
16  template<typename T, qualifier Q>
17  struct vec<4, T, Q>
18  {
19  // -- Implementation detail --
20 
21  typedef T value_type;
22  typedef vec<4, T, Q> type;
23  typedef vec<4, bool, Q> bool_type;
24 
25  // -- Data --
26 
27 # if GLM_CONFIG_XYZW_ONLY
28  T x, y, z, w;
29 # elif GLM_CONFIG_ANONYMOUS_STRUCT == GLM_ENABLE
30  union
31  {
32  struct { T x, y, z, w; };
33  struct { T r, g, b, a; };
34  struct { T s, t, p, q; };
35 
36  typename detail::storage<4, T, detail::is_aligned<Q>::value>::type data;
37 
38 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
39  GLM_SWIZZLE4_2_MEMBERS(T, Q, x, y, z, w)
40  GLM_SWIZZLE4_2_MEMBERS(T, Q, r, g, b, a)
41  GLM_SWIZZLE4_2_MEMBERS(T, Q, s, t, p, q)
42  GLM_SWIZZLE4_3_MEMBERS(T, Q, x, y, z, w)
43  GLM_SWIZZLE4_3_MEMBERS(T, Q, r, g, b, a)
44  GLM_SWIZZLE4_3_MEMBERS(T, Q, s, t, p, q)
45  GLM_SWIZZLE4_4_MEMBERS(T, Q, x, y, z, w)
46  GLM_SWIZZLE4_4_MEMBERS(T, Q, r, g, b, a)
47  GLM_SWIZZLE4_4_MEMBERS(T, Q, s, t, p, q)
48 # endif
49  };
50 # else
51  union { T x, r, s; };
52  union { T y, g, t; };
53  union { T z, b, p; };
54  union { T w, a, q; };
55 
56 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_FUNCTION
57  GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, Q)
58 # endif
59 # endif
60 
61  // -- Component accesses --
62 
64  typedef length_t length_type;
65  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 4;}
66 
67  GLM_FUNC_DECL GLM_CONSTEXPR T & operator[](length_type i);
68  GLM_FUNC_DECL GLM_CONSTEXPR T const& operator[](length_type i) const;
69 
70  // -- Implicit basic constructors --
71 
72  GLM_FUNC_DECL GLM_CONSTEXPR vec() GLM_DEFAULT;
73  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<4, T, Q> const& v) GLM_DEFAULT;
74  template<qualifier P>
75  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<4, T, P> const& v);
76 
77  // -- Explicit basic constructors --
78 
79  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(T scalar);
80  GLM_FUNC_DECL GLM_CONSTEXPR vec(T x, T y, T z, T w);
81 
82  // -- Conversion scalar constructors --
83 
84  template<typename U, qualifier P>
85  GLM_FUNC_DECL GLM_CONSTEXPR explicit vec(vec<1, U, P> const& v);
86 
88  template<typename X, typename Y, typename Z, typename W>
89  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, Y _y, Z _z, W _w);
90  template<typename X, typename Y, typename Z, typename W>
91  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, Y _y, Z _z, W _w);
92  template<typename X, typename Y, typename Z, typename W>
93  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, vec<1, Y, Q> const& _y, Z _z, W _w);
94  template<typename X, typename Y, typename Z, typename W>
95  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _y, Z _z, W _w);
96  template<typename X, typename Y, typename Z, typename W>
97  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, Y _y, vec<1, Z, Q> const& _z, W _w);
98  template<typename X, typename Y, typename Z, typename W>
99  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, Y _y, vec<1, Z, Q> const& _z, W _w);
100  template<typename X, typename Y, typename Z, typename W>
101  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, vec<1, Y, Q> const& _y, vec<1, Z, Q> const& _z, W _w);
102  template<typename X, typename Y, typename Z, typename W>
103  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _y, vec<1, Z, Q> const& _z, W _w);
104  template<typename X, typename Y, typename Z, typename W>
105  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, Y _y, Z _z, vec<1, W, Q> const& _w);
106  template<typename X, typename Y, typename Z, typename W>
107  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, vec<1, Y, Q> const& _y, Z _z, vec<1, W, Q> const& _w);
108  template<typename X, typename Y, typename Z, typename W>
109  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _y, Z _z, vec<1, W, Q> const& _w);
110  template<typename X, typename Y, typename Z, typename W>
111  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, Y _y, vec<1, Z, Q> const& _z, vec<1, W, Q> const& _w);
112  template<typename X, typename Y, typename Z, typename W>
113  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, Y _y, vec<1, Z, Q> const& _z, vec<1, W, Q> const& _w);
114  template<typename X, typename Y, typename Z, typename W>
115  GLM_FUNC_DECL GLM_CONSTEXPR vec(X _x, vec<1, Y, Q> const& _y, vec<1, Z, Q> const& _z, vec<1, W, Q> const& _w);
116  template<typename X, typename Y, typename Z, typename W>
117  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _Y, vec<1, Z, Q> const& _z, vec<1, W, Q> const& _w);
118 
119  // -- Conversion vector constructors --
120 
122  template<typename A, typename B, typename C, qualifier P>
123  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, B _z, C _w);
125  template<typename A, typename B, typename C, qualifier P>
126  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, vec<1, B, P> const& _z, C _w);
128  template<typename A, typename B, typename C, qualifier P>
129  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, B _z, vec<1, C, P> const& _w);
131  template<typename A, typename B, typename C, qualifier P>
132  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, vec<1, B, P> const& _z, vec<1, C, P> const& _w);
134  template<typename A, typename B, typename C, qualifier P>
135  GLM_FUNC_DECL GLM_CONSTEXPR vec(A _x, vec<2, B, P> const& _yz, C _w);
137  template<typename A, typename B, typename C, qualifier P>
138  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, P> const& _x, vec<2, B, P> const& _yz, C _w);
140  template<typename A, typename B, typename C, qualifier P>
141  GLM_FUNC_DECL GLM_CONSTEXPR vec(A _x, vec<2, B, P> const& _yz, vec<1, C, P> const& _w);
143  template<typename A, typename B, typename C, qualifier P>
144  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, P> const& _x, vec<2, B, P> const& _yz, vec<1, C, P> const& _w);
146  template<typename A, typename B, typename C, qualifier P>
147  GLM_FUNC_DECL GLM_CONSTEXPR vec(A _x, B _y, vec<2, C, P> const& _zw);
149  template<typename A, typename B, typename C, qualifier P>
150  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, P> const& _x, B _y, vec<2, C, P> const& _zw);
152  template<typename A, typename B, typename C, qualifier P>
153  GLM_FUNC_DECL GLM_CONSTEXPR vec(A _x, vec<1, B, P> const& _y, vec<2, C, P> const& _zw);
155  template<typename A, typename B, typename C, qualifier P>
156  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, P> const& _x, vec<1, B, P> const& _y, vec<2, C, P> const& _zw);
158  template<typename A, typename B, qualifier P>
159  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<3, A, P> const& _xyz, B _w);
161  template<typename A, typename B, qualifier P>
162  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<3, A, P> const& _xyz, vec<1, B, P> const& _w);
164  template<typename A, typename B, qualifier P>
165  GLM_FUNC_DECL GLM_CONSTEXPR vec(A _x, vec<3, B, P> const& _yzw);
167  template<typename A, typename B, qualifier P>
168  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<1, A, P> const& _x, vec<3, B, P> const& _yzw);
170  template<typename A, typename B, qualifier P>
171  GLM_FUNC_DECL GLM_CONSTEXPR vec(vec<2, A, P> const& _xy, vec<2, B, P> const& _zw);
172 
174  template<typename U, qualifier P>
175  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec(vec<4, U, P> const& v);
176 
177  // -- Swizzle constructors --
178 # if GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
179  template<int E0, int E1, int E2, int E3>
180  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<4, T, Q, E0, E1, E2, E3> const& that)
181  {
182  *this = that();
183  }
184 
185  template<int E0, int E1, int F0, int F1>
186  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, detail::_swizzle<2, T, Q, F0, F1, -1, -2> const& u)
187  {
188  *this = vec<4, T, Q>(v(), u());
189  }
190 
191  template<int E0, int E1>
192  GLM_FUNC_DECL GLM_CONSTEXPR vec(T const& x, T const& y, detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v)
193  {
194  *this = vec<4, T, Q>(x, y, v());
195  }
196 
197  template<int E0, int E1>
198  GLM_FUNC_DECL GLM_CONSTEXPR vec(T const& x, detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, T const& w)
199  {
200  *this = vec<4, T, Q>(x, v(), w);
201  }
202 
203  template<int E0, int E1>
204  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, T const& z, T const& w)
205  {
206  *this = vec<4, T, Q>(v(), z, w);
207  }
208 
209  template<int E0, int E1, int E2>
210  GLM_FUNC_DECL GLM_CONSTEXPR vec(detail::_swizzle<3, T, Q, E0, E1, E2, -1> const& v, T const& w)
211  {
212  *this = vec<4, T, Q>(v(), w);
213  }
214 
215  template<int E0, int E1, int E2>
216  GLM_FUNC_DECL GLM_CONSTEXPR vec(T const& x, detail::_swizzle<3, T, Q, E0, E1, E2, -1> const& v)
217  {
218  *this = vec<4, T, Q>(x, v());
219  }
220 # endif//GLM_CONFIG_SWIZZLE == GLM_SWIZZLE_OPERATOR
221 
222  // -- Unary arithmetic operators --
223 
224  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator=(vec<4, T, Q> const& v) GLM_DEFAULT;
225 
226  template<typename U>
227  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator=(vec<4, U, Q> const& v);
228  template<typename U>
229  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator+=(U scalar);
230  template<typename U>
231  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator+=(vec<1, U, Q> const& v);
232  template<typename U>
233  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator+=(vec<4, U, Q> const& v);
234  template<typename U>
235  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator-=(U scalar);
236  template<typename U>
237  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator-=(vec<1, U, Q> const& v);
238  template<typename U>
239  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator-=(vec<4, U, Q> const& v);
240  template<typename U>
241  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator*=(U scalar);
242  template<typename U>
243  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator*=(vec<1, U, Q> const& v);
244  template<typename U>
245  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator*=(vec<4, U, Q> const& v);
246  template<typename U>
247  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator/=(U scalar);
248  template<typename U>
249  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator/=(vec<1, U, Q> const& v);
250  template<typename U>
251  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q>& operator/=(vec<4, U, Q> const& v);
252 
253  // -- Increment and decrement operators --
254 
255  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator++();
256  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator--();
257  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator++(int);
258  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator--(int);
259 
260  // -- Unary bit operators --
261 
262  template<typename U>
263  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator%=(U scalar);
264  template<typename U>
265  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator%=(vec<1, U, Q> const& v);
266  template<typename U>
267  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator%=(vec<4, U, Q> const& v);
268  template<typename U>
269  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator&=(U scalar);
270  template<typename U>
271  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator&=(vec<1, U, Q> const& v);
272  template<typename U>
273  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator&=(vec<4, U, Q> const& v);
274  template<typename U>
275  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator|=(U scalar);
276  template<typename U>
277  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator|=(vec<1, U, Q> const& v);
278  template<typename U>
279  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator|=(vec<4, U, Q> const& v);
280  template<typename U>
281  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator^=(U scalar);
282  template<typename U>
283  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator^=(vec<1, U, Q> const& v);
284  template<typename U>
285  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator^=(vec<4, U, Q> const& v);
286  template<typename U>
287  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator<<=(U scalar);
288  template<typename U>
289  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator<<=(vec<1, U, Q> const& v);
290  template<typename U>
291  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator<<=(vec<4, U, Q> const& v);
292  template<typename U>
293  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator>>=(U scalar);
294  template<typename U>
295  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator>>=(vec<1, U, Q> const& v);
296  template<typename U>
297  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> & operator>>=(vec<4, U, Q> const& v);
298  };
299 
300  // -- Unary operators --
301 
302  template<typename T, qualifier Q>
303  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator+(vec<4, T, Q> const& v);
304 
305  template<typename T, qualifier Q>
306  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator-(vec<4, T, Q> const& v);
307 
308  // -- Binary operators --
309 
310  template<typename T, qualifier Q>
311  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator+(vec<4, T, Q> const& v, T const & scalar);
312 
313  template<typename T, qualifier Q>
314  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator+(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
315 
316  template<typename T, qualifier Q>
317  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator+(T scalar, vec<4, T, Q> const& v);
318 
319  template<typename T, qualifier Q>
320  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator+(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
321 
322  template<typename T, qualifier Q>
323  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator+(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
324 
325  template<typename T, qualifier Q>
326  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator-(vec<4, T, Q> const& v, T const & scalar);
327 
328  template<typename T, qualifier Q>
329  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator-(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
330 
331  template<typename T, qualifier Q>
332  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator-(T scalar, vec<4, T, Q> const& v);
333 
334  template<typename T, qualifier Q>
335  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator-(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
336 
337  template<typename T, qualifier Q>
338  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator-(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
339 
340  template<typename T, qualifier Q>
341  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator*(vec<4, T, Q> const& v, T const & scalar);
342 
343  template<typename T, qualifier Q>
344  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator*(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
345 
346  template<typename T, qualifier Q>
347  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator*(T scalar, vec<4, T, Q> const& v);
348 
349  template<typename T, qualifier Q>
350  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator*(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
351 
352  template<typename T, qualifier Q>
353  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator*(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
354 
355  template<typename T, qualifier Q>
356  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator/(vec<4, T, Q> const& v, T const & scalar);
357 
358  template<typename T, qualifier Q>
359  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator/(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
360 
361  template<typename T, qualifier Q>
362  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator/(T scalar, vec<4, T, Q> const& v);
363 
364  template<typename T, qualifier Q>
365  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator/(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
366 
367  template<typename T, qualifier Q>
368  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator/(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
369 
370  template<typename T, qualifier Q>
371  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator%(vec<4, T, Q> const& v, T scalar);
372 
373  template<typename T, qualifier Q>
374  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator%(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
375 
376  template<typename T, qualifier Q>
377  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator%(T scalar, vec<4, T, Q> const& v);
378 
379  template<typename T, qualifier Q>
380  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator%(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
381 
382  template<typename T, qualifier Q>
383  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator%(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
384 
385  template<typename T, qualifier Q>
386  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator&(vec<4, T, Q> const& v, T scalar);
387 
388  template<typename T, qualifier Q>
389  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator&(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
390 
391  template<typename T, qualifier Q>
392  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator&(T scalar, vec<4, T, Q> const& v);
393 
394  template<typename T, qualifier Q>
395  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator&(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
396 
397  template<typename T, qualifier Q>
398  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator&(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
399 
400  template<typename T, qualifier Q>
401  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator|(vec<4, T, Q> const& v, T scalar);
402 
403  template<typename T, qualifier Q>
404  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator|(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
405 
406  template<typename T, qualifier Q>
407  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator|(T scalar, vec<4, T, Q> const& v);
408 
409  template<typename T, qualifier Q>
410  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator|(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
411 
412  template<typename T, qualifier Q>
413  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator|(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
414 
415  template<typename T, qualifier Q>
416  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator^(vec<4, T, Q> const& v, T scalar);
417 
418  template<typename T, qualifier Q>
419  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator^(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
420 
421  template<typename T, qualifier Q>
422  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator^(T scalar, vec<4, T, Q> const& v);
423 
424  template<typename T, qualifier Q>
425  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator^(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
426 
427  template<typename T, qualifier Q>
428  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator^(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
429 
430  template<typename T, qualifier Q>
431  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator<<(vec<4, T, Q> const& v, T scalar);
432 
433  template<typename T, qualifier Q>
434  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator<<(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
435 
436  template<typename T, qualifier Q>
437  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator<<(T scalar, vec<4, T, Q> const& v);
438 
439  template<typename T, qualifier Q>
440  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator<<(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
441 
442  template<typename T, qualifier Q>
443  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator<<(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
444 
445  template<typename T, qualifier Q>
446  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator>>(vec<4, T, Q> const& v, T scalar);
447 
448  template<typename T, qualifier Q>
449  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator>>(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
450 
451  template<typename T, qualifier Q>
452  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator>>(T scalar, vec<4, T, Q> const& v);
453 
454  template<typename T, qualifier Q>
455  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator>>(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
456 
457  template<typename T, qualifier Q>
458  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator>>(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
459 
460  template<typename T, qualifier Q>
461  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, T, Q> operator~(vec<4, T, Q> const& v);
462 
463  // -- Boolean operators --
464 
465  template<typename T, qualifier Q>
466  GLM_FUNC_DECL GLM_CONSTEXPR bool operator==(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
467 
468  template<typename T, qualifier Q>
469  GLM_FUNC_DECL GLM_CONSTEXPR bool operator!=(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
470 
471  template<qualifier Q>
472  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, bool, Q> operator&&(vec<4, bool, Q> const& v1, vec<4, bool, Q> const& v2);
473 
474  template<qualifier Q>
475  GLM_FUNC_DECL GLM_CONSTEXPR vec<4, bool, Q> operator||(vec<4, bool, Q> const& v1, vec<4, bool, Q> const& v2);
476 }//namespace glm
477 
478 #ifndef GLM_EXTERNAL_TEMPLATE
479 #include "type_vec4.inl"
480 #endif//GLM_EXTERNAL_TEMPLATE
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
diff --git a/doc/api/a00078_source.html b/doc/api/a00078_source.html deleted file mode 100644 index eb5a450f..00000000 --- a/doc/api/a00078_source.html +++ /dev/null @@ -1,154 +0,0 @@ - - - - - - -0.9.9 API documenation: packing.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
packing.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 #include "detail/type_vec2.hpp"
-
17 #include "detail/type_vec4.hpp"
-
18 
-
19 namespace glm
-
20 {
-
23 
-
35  GLM_FUNC_DECL uint packUnorm2x16(vec2 const& v);
-
36 
-
48  GLM_FUNC_DECL uint packSnorm2x16(vec2 const& v);
-
49 
-
61  GLM_FUNC_DECL uint packUnorm4x8(vec4 const& v);
-
62 
-
74  GLM_FUNC_DECL uint packSnorm4x8(vec4 const& v);
-
75 
-
87  GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p);
-
88 
-
100  GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p);
-
101 
-
113  GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p);
-
114 
-
126  GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p);
-
127 
-
136  GLM_FUNC_DECL double packDouble2x32(uvec2 const& v);
-
137 
-
145  GLM_FUNC_DECL uvec2 unpackDouble2x32(double v);
-
146 
-
155  GLM_FUNC_DECL uint packHalf2x16(vec2 const& v);
-
156 
-
165  GLM_FUNC_DECL vec2 unpackHalf2x16(uint v);
-
166 
-
168 }//namespace glm
-
169 
-
170 #include "detail/func_packing.inl"
-
GLM_FUNC_DECL double packDouble2x32(uvec2 const &v)
Returns a double-qualifier value obtained by packing the components of v into a 64-bit value...
-
GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
-
GLM_FUNC_DECL uint packHalf2x16(vec2 const &v)
Returns an unsigned integer obtained by converting the components of a two-component floating-point v...
-
GLM_FUNC_DECL vec2 unpackHalf2x16(uint v)
Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned...
-
GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
-
highp_vec2 vec2
2 components vector of floating-point numbers.
Definition: type_vec.hpp:440
-
Core features
-
highp_uvec2 uvec2
2 components vector of unsigned integer numbers.
Definition: type_vec.hpp:521
-
GLM_FUNC_DECL uint packUnorm2x16(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL uint packSnorm2x16(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
-
GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
-
highp_vec4 vec4
4 components vector of floating-point numbers.
Definition: type_vec.hpp:450
-
Core features
-
GLM_FUNC_DECL uint packUnorm4x8(vec4 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
GLM_FUNC_DECL uvec2 unpackDouble2x32(double v)
Returns a two-component unsigned integer vector representation of v.
-
GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
-
GLM_FUNC_DECL uint packSnorm4x8(vec4 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
-
- - - - diff --git a/doc/api/a00079_source.html b/doc/api/a00079_source.html deleted file mode 100644 index 50b975d8..00000000 --- a/doc/api/a00079_source.html +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - -0.9.9 API documenation: perpendicular.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
perpendicular.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include "../gtx/projection.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_perpendicular is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_perpendicular extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<typename genType>
-
36  GLM_FUNC_DECL genType perp(genType const& x, genType const& Normal);
-
37 
-
39 }//namespace glm
-
40 
-
41 #include "perpendicular.inl"
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType perp(genType const &x, genType const &Normal)
Projects x a perpendicular axis of Normal.
-
- - - - diff --git a/doc/api/a00080.html b/doc/api/a00080.html index 3d1846a8..71228883 100644 --- a/doc/api/a00080.html +++ b/doc/api/a00080.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: polar_coordinates.hpp File Reference + + +0.9.9 API documenation: exponential.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
Functions
-
polar_coordinates.hpp File Reference
+
exponential.hpp File Reference
-

GLM_GTX_polar_coordinates -More...

-

Go to the source code of this file.

- - - - - - - - + + + + + + + + + + + + + + + + + + + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > euclidean (vec< 2, T, Q > const &polar)
 Convert Polar to Euclidean coordinates. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > polar (vec< 3, T, Q > const &euclidean)
 Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > exp (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > exp2 (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > inversesqrt (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > log (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > log2 (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > pow (vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sqrt (vec< L, T, Q > const &v)
 

Detailed Description

-

GLM_GTX_polar_coordinates

-
See also
Core features (dependence)
+
diff --git a/doc/api/a00080_source.html b/doc/api/a00080_source.html index 32a1628f..df0d05dd 100644 --- a/doc/api/a00080_source.html +++ b/doc/api/a00080_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: polar_coordinates.hpp Source File + + +0.9.9 API documenation: exponential.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
polar_coordinates.hpp
+
exponential.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_polar_coordinates is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_polar_coordinates extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
34  template<typename T, qualifier Q>
-
35  GLM_FUNC_DECL vec<3, T, Q> polar(
-
36  vec<3, T, Q> const& euclidean);
-
37 
-
41  template<typename T, qualifier Q>
-
42  GLM_FUNC_DECL vec<3, T, Q> euclidean(
-
43  vec<2, T, Q> const& polar);
-
44 
-
46 }//namespace glm
-
47 
-
48 #include "polar_coordinates.inl"
-
GLM_FUNC_DECL vec< 3, T, Q > euclidean(vec< 2, T, Q > const &polar)
Convert Polar to Euclidean coordinates.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 3, T, Q > polar(vec< 3, T, Q > const &euclidean)
Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude...
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include "detail/type_vec1.hpp"
18 #include "detail/type_vec2.hpp"
19 #include "detail/type_vec3.hpp"
20 #include "detail/type_vec4.hpp"
21 #include <cmath>
22 
23 namespace glm
24 {
27 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL vec<L, T, Q> pow(vec<L, T, Q> const& base, vec<L, T, Q> const& exponent);
37 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL vec<L, T, Q> exp(vec<L, T, Q> const& v);
48 
59  template<length_t L, typename T, qualifier Q>
60  GLM_FUNC_DECL vec<L, T, Q> log(vec<L, T, Q> const& v);
61 
70  template<length_t L, typename T, qualifier Q>
71  GLM_FUNC_DECL vec<L, T, Q> exp2(vec<L, T, Q> const& v);
72 
82  template<length_t L, typename T, qualifier Q>
83  GLM_FUNC_DECL vec<L, T, Q> log2(vec<L, T, Q> const& v);
84 
93  template<length_t L, typename T, qualifier Q>
94  GLM_FUNC_DECL vec<L, T, Q> sqrt(vec<L, T, Q> const& v);
95 
104  template<length_t L, typename T, qualifier Q>
105  GLM_FUNC_DECL vec<L, T, Q> inversesqrt(vec<L, T, Q> const& v);
106 
108 }//namespace glm
109 
110 #include "detail/func_exponential.inl"
Core features
+
GLM_FUNC_DECL vec< L, T, Q > exp2(vec< L, T, Q > const &v)
Returns 2 raised to the v power.
+
GLM_FUNC_DECL vec< L, T, Q > sqrt(vec< L, T, Q > const &v)
Returns the positive square root of v.
+
GLM_FUNC_DECL vec< L, T, Q > exp(vec< L, T, Q > const &v)
Returns the natural exponentiation of x, i.e., e^x.
+
GLM_FUNC_DECL vec< L, T, Q > pow(vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
Returns &#39;base&#39; raised to the power &#39;exponent&#39;.
+
Core features
+
GLM_FUNC_DECL vec< L, T, Q > inversesqrt(vec< L, T, Q > const &v)
Returns the reciprocal of the positive square root of v.
+
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, T, Q > log2(vec< L, T, Q > const &v)
Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y...
+
GLM_FUNC_DECL vec< L, T, Q > log(vec< L, T, Q > const &v)
Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y...
+
Core features
diff --git a/doc/api/a00081_source.html b/doc/api/a00081_source.html deleted file mode 100644 index 1c72569b..00000000 --- a/doc/api/a00081_source.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - - -0.9.9 API documenation: projection.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
projection.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../geometric.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_projection is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_projection extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
34  template<typename genType>
-
35  GLM_FUNC_DECL genType proj(genType const& x, genType const& Normal);
-
36 
-
38 }//namespace glm
-
39 
-
40 #include "projection.inl"
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType proj(genType const &x, genType const &Normal)
Projects x on Normal.
-
- - - - diff --git a/doc/api/a00082.html b/doc/api/a00082.html deleted file mode 100644 index 6191a466..00000000 --- a/doc/api/a00082.html +++ /dev/null @@ -1,127 +0,0 @@ - - - - - - -0.9.9 API documenation: qualifier.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
qualifier.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - -

-Enumerations

enum  qualifier {
-  packed_highp, -packed_mediump, -packed_lowp, -highp = packed_highp, -
-  mediump = packed_mediump, -lowp = packed_lowp, -packed = packed_highp -
- }
 Qualify GLM types in term of alignment (packed, aligned) and precision in term of ULPs (lowp, mediump, highp)
 
-

Detailed Description

-

Core features

- -

Definition in file qualifier.hpp.

-
- - - - diff --git a/doc/api/a00082_source.html b/doc/api/a00082_source.html deleted file mode 100644 index f2fcbee4..00000000 --- a/doc/api/a00082_source.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - - -0.9.9 API documenation: qualifier.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
qualifier.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "setup.hpp"
-
7 
-
8 namespace glm
-
9 {
-
11  enum qualifier
-
12  {
-
13  packed_highp,
-
14  packed_mediump,
-
15  packed_lowp,
-
16 
-
17 # if GLM_HAS_ALIGNED_TYPE
-
18  aligned_highp,
-
19  aligned_mediump,
-
20  aligned_lowp, // ///< Typed data is aligned in memory allowing SIMD optimizations and operations are executed with high precision in term of ULPs to maximize performance
-
21  aligned = aligned_highp,
-
22 # endif
-
23 
-
24  highp = packed_highp,
-
25  mediump = packed_mediump,
-
26  lowp = packed_lowp,
-
27  packed = packed_highp,
-
28 
-
29 # if GLM_HAS_ALIGNED_TYPE && defined(GLM_FORCE_ALIGNED)
-
30  defaultp = aligned_highp
-
31 # else
-
32  defaultp = highp
-
33 # endif
-
34  };
-
35 
-
36  typedef qualifier precision;
-
37 
-
38  template<length_t L, typename T, qualifier Q = defaultp> struct vec;
-
39  template<length_t C, length_t R, typename T, qualifier Q = defaultp> struct mat;
-
40 
-
41 namespace detail
-
42 {
-
43  template<glm::qualifier P>
-
44  struct is_aligned
-
45  {
-
46  static const bool value = false;
-
47  };
-
48 
-
49 # if GLM_HAS_ALIGNED_TYPE
-
50  template<>
-
51  struct is_aligned<glm::aligned_lowp>
-
52  {
-
53  static const bool value = true;
-
54  };
-
55 
-
56  template<>
-
57  struct is_aligned<glm::aligned_mediump>
-
58  {
-
59  static const bool value = true;
-
60  };
-
61 
-
62  template<>
-
63  struct is_aligned<glm::aligned_highp>
-
64  {
-
65  static const bool value = true;
-
66  };
-
67 # endif
-
68 }//namespace detail
-
69 }//namespace glm
-
Definition: common.hpp:20
-
Core features
-
- - - - diff --git a/doc/api/a00083.html b/doc/api/a00083.html index c3db9955..7688ee47 100644 --- a/doc/api/a00083.html +++ b/doc/api/a00083.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: quaternion.hpp File Reference + + +0.9.9 API documenation: matrix_clip_space.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
Functions
-
gtc/quaternion.hpp File Reference
+
matrix_clip_space.hpp File Reference
-

GLM_GTC_quaternion -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T angle (tquat< T, Q > const &x)
 Returns the quaternion rotation angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > angleAxis (T const &angle, vec< 3, T, Q > const &axis)
 Build a quaternion from an angle and a normalized axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > axis (tquat< T, Q > const &x)
 Returns the q rotation axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > conjugate (tquat< T, Q > const &q)
 Returns the q conjugate. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T dot (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ... More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > equal (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x == y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles (tquat< T, Q > const &x)
 Returns euler angles, pitch as x, yaw as y, roll as z. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > inverse (tquat< T, Q > const &q)
 Returns the q inverse. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isinf (tquat< T, Q > const &x)
 Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isnan (tquat< T, Q > const &x)
 Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length (tquat< T, Q > const &q)
 Returns the length of the quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > lerp (tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
 Linear interpolation of two quaternions. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThan (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast (tquat< T, Q > const &x)
 Converts a quaternion to a 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast (tquat< T, Q > const &x)
 Converts a quaternion to a 4 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > mix (tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
 Spherical linear interpolation of two quaternions. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > normalize (tquat< T, Q > const &q)
 Returns the normalized quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > notEqual (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x != y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T pitch (tquat< T, Q > const &x)
 Returns pitch value of euler angles expressed in radians. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quat_cast (mat< 3, 3, T, Q > const &x)
 Converts a pure rotation 3 * 3 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quat_cast (mat< 4, 4, T, Q > const &x)
 Converts a pure rotation 4 * 4 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T roll (tquat< T, Q > const &x)
 Returns roll value of euler angles expressed in radians. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > rotate (tquat< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 Rotates a quaternion from a vector of 3 components axis and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > slerp (tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
 Spherical linear interpolation of two quaternions. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T yaw (tquat< T, Q > const &x)
 Returns yaw value of euler angles expressed in radians. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustum (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_NO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_ZO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumNO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_NO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_ZO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumZO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspective (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveLH (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveRH (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoNO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoZO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFov (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_NO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_ZO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovNO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_NO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_ZO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovZO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_NO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_ZO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveNO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_NO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_ZO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveZO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near, T ep)
 

Detailed Description

-

GLM_GTC_quaternion

-
See also
Core features (dependence)
-
-GLM_GTC_constants (dependence)
+

GLM_EXT_matrix_clip_space

-

Definition in file gtc/quaternion.hpp.

+

Definition in file matrix_clip_space.hpp.

diff --git a/doc/api/a00083_source.html b/doc/api/a00083_source.html index ebe7f941..0e40a790 100644 --- a/doc/api/a00083_source.html +++ b/doc/api/a00083_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: quaternion.hpp Source File + + +0.9.9 API documenation: matrix_clip_space.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
gtc/quaternion.hpp
+
matrix_clip_space.hpp
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../mat3x3.hpp"
-
18 #include "../mat4x4.hpp"
-
19 #include "../vec3.hpp"
-
20 #include "../vec4.hpp"
-
21 #include "../gtc/constants.hpp"
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTC_quaternion extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
32  template<typename T, qualifier Q = defaultp>
-
33  struct tquat
-
34  {
-
35  // -- Implementation detail --
-
36 
-
37  typedef tquat<T, Q> type;
-
38  typedef T value_type;
-
39 
-
40  // -- Data --
-
41 
-
42 # if GLM_HAS_ALIGNED_TYPE
-
43 # if GLM_COMPILER & GLM_COMPILER_GCC
-
44 # pragma GCC diagnostic push
-
45 # pragma GCC diagnostic ignored "-Wpedantic"
-
46 # endif
-
47 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
48 # pragma clang diagnostic push
-
49 # pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
-
50 # pragma clang diagnostic ignored "-Wnested-anon-types"
-
51 # endif
-
52 
-
53  union
-
54  {
-
55  struct { T x, y, z, w;};
-
56  typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<Q>::value>::type data;
-
57  };
-
58 
-
59 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
60 # pragma clang diagnostic pop
-
61 # endif
-
62 # if GLM_COMPILER & GLM_COMPILER_GCC
-
63 # pragma GCC diagnostic pop
-
64 # endif
-
65 # else
-
66  T x, y, z, w;
-
67 # endif
-
68 
-
69  // -- Component accesses --
-
70 
-
71  typedef length_t length_type;
-
73  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 4;}
-
74 
-
75  GLM_FUNC_DECL T & operator[](length_type i);
-
76  GLM_FUNC_DECL T const& operator[](length_type i) const;
-
77 
-
78  // -- Implicit basic constructors --
-
79 
-
80  GLM_FUNC_DECL GLM_CONSTEXPR tquat() GLM_DEFAULT_CTOR;
-
81  GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, Q> const& q) GLM_DEFAULT;
-
82  template<qualifier P>
-
83  GLM_FUNC_DECL GLM_CONSTEXPR tquat(tquat<T, P> const& q);
-
84 
-
85  // -- Explicit basic constructors --
-
86 
-
87  GLM_FUNC_DECL GLM_CONSTEXPR tquat(T s, vec<3, T, Q> const& v);
-
88  GLM_FUNC_DECL GLM_CONSTEXPR tquat(T w, T x, T y, T z);
-
89 
-
90  // -- Conversion constructors --
-
91 
-
92  template<typename U, qualifier P>
-
93  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT tquat(tquat<U, P> const& q);
-
94 
-
96 # if GLM_HAS_EXPLICIT_CONVERSION_OPERATORS
-
97  GLM_FUNC_DECL explicit operator mat<3, 3, T, Q>();
-
98  GLM_FUNC_DECL explicit operator mat<4, 4, T, Q>();
-
99 # endif
-
100 
-
107  GLM_FUNC_DECL tquat(vec<3, T, Q> const& u, vec<3, T, Q> const& v);
-
108 
-
110  GLM_FUNC_DECL GLM_EXPLICIT tquat(vec<3, T, Q> const& eulerAngles);
-
111  GLM_FUNC_DECL GLM_EXPLICIT tquat(mat<3, 3, T, Q> const& q);
-
112  GLM_FUNC_DECL GLM_EXPLICIT tquat(mat<4, 4, T, Q> const& q);
-
113 
-
114  // -- Unary arithmetic operators --
-
115 
-
116  GLM_FUNC_DECL tquat<T, Q> & operator=(tquat<T, Q> const& q) GLM_DEFAULT;
-
117 
-
118  template<typename U>
-
119  GLM_FUNC_DECL tquat<T, Q> & operator=(tquat<U, Q> const& q);
-
120  template<typename U>
-
121  GLM_FUNC_DECL tquat<T, Q> & operator+=(tquat<U, Q> const& q);
-
122  template<typename U>
-
123  GLM_FUNC_DECL tquat<T, Q> & operator-=(tquat<U, Q> const& q);
-
124  template<typename U>
-
125  GLM_FUNC_DECL tquat<T, Q> & operator*=(tquat<U, Q> const& q);
-
126  template<typename U>
-
127  GLM_FUNC_DECL tquat<T, Q> & operator*=(U s);
-
128  template<typename U>
-
129  GLM_FUNC_DECL tquat<T, Q> & operator/=(U s);
-
130  };
-
131 
-
132  // -- Unary bit operators --
-
133 
-
134  template<typename T, qualifier Q>
-
135  GLM_FUNC_DECL tquat<T, Q> operator+(tquat<T, Q> const& q);
-
136 
-
137  template<typename T, qualifier Q>
-
138  GLM_FUNC_DECL tquat<T, Q> operator-(tquat<T, Q> const& q);
-
139 
-
140  // -- Binary operators --
-
141 
-
142  template<typename T, qualifier Q>
-
143  GLM_FUNC_DECL tquat<T, Q> operator+(tquat<T, Q> const& q, tquat<T, Q> const& p);
-
144 
-
145  template<typename T, qualifier Q>
-
146  GLM_FUNC_DECL tquat<T, Q> operator-(tquat<T, Q> const& q, tquat<T, Q> const& p);
-
147 
-
148  template<typename T, qualifier Q>
-
149  GLM_FUNC_DECL tquat<T, Q> operator*(tquat<T, Q> const& q, tquat<T, Q> const& p);
-
150 
-
151  template<typename T, qualifier Q>
-
152  GLM_FUNC_DECL vec<3, T, Q> operator*(tquat<T, Q> const& q, vec<3, T, Q> const& v);
-
153 
-
154  template<typename T, qualifier Q>
-
155  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v, tquat<T, Q> const& q);
-
156 
-
157  template<typename T, qualifier Q>
-
158  GLM_FUNC_DECL vec<4, T, Q> operator*(tquat<T, Q> const& q, vec<4, T, Q> const& v);
-
159 
-
160  template<typename T, qualifier Q>
-
161  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, tquat<T, Q> const& q);
-
162 
-
163  template<typename T, qualifier Q>
-
164  GLM_FUNC_DECL tquat<T, Q> operator*(tquat<T, Q> const& q, T const& s);
-
165 
-
166  template<typename T, qualifier Q>
-
167  GLM_FUNC_DECL tquat<T, Q> operator*(T const& s, tquat<T, Q> const& q);
-
168 
-
169  template<typename T, qualifier Q>
-
170  GLM_FUNC_DECL tquat<T, Q> operator/(tquat<T, Q> const& q, T const& s);
-
171 
-
172  // -- Boolean operators --
-
173 
-
174  template<typename T, qualifier Q>
-
175  GLM_FUNC_DECL bool operator==(tquat<T, Q> const& q1, tquat<T, Q> const& q2);
-
176 
-
177  template<typename T, qualifier Q>
-
178  GLM_FUNC_DECL bool operator!=(tquat<T, Q> const& q1, tquat<T, Q> const& q2);
-
179 
-
185  template<typename T, qualifier Q>
-
186  GLM_FUNC_DECL T length(tquat<T, Q> const& q);
-
187 
-
193  template<typename T, qualifier Q>
-
194  GLM_FUNC_DECL tquat<T, Q> normalize(tquat<T, Q> const& q);
-
195 
-
201  template<typename T, qualifier Q>
-
202  GLM_FUNC_DECL T dot(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
203 
-
215  template<typename T, qualifier Q>
-
216  GLM_FUNC_DECL tquat<T, Q> mix(tquat<T, Q> const& x, tquat<T, Q> const& y, T a);
-
217 
-
227  template<typename T, qualifier Q>
-
228  GLM_FUNC_DECL tquat<T, Q> lerp(tquat<T, Q> const& x, tquat<T, Q> const& y, T a);
-
229 
-
239  template<typename T, qualifier Q>
-
240  GLM_FUNC_DECL tquat<T, Q> slerp(tquat<T, Q> const& x, tquat<T, Q> const& y, T a);
-
241 
-
247  template<typename T, qualifier Q>
-
248  GLM_FUNC_DECL tquat<T, Q> conjugate(tquat<T, Q> const& q);
-
249 
-
255  template<typename T, qualifier Q>
-
256  GLM_FUNC_DECL tquat<T, Q> inverse(tquat<T, Q> const& q);
-
257 
-
266  template<typename T, qualifier Q>
-
267  GLM_FUNC_DECL tquat<T, Q> rotate(tquat<T, Q> const& q, T const& angle, vec<3, T, Q> const& axis);
-
268 
-
275  template<typename T, qualifier Q>
-
276  GLM_FUNC_DECL vec<3, T, Q> eulerAngles(tquat<T, Q> const& x);
-
277 
-
283  template<typename T, qualifier Q>
-
284  GLM_FUNC_DECL T roll(tquat<T, Q> const& x);
-
285 
-
291  template<typename T, qualifier Q>
-
292  GLM_FUNC_DECL T pitch(tquat<T, Q> const& x);
-
293 
-
299  template<typename T, qualifier Q>
-
300  GLM_FUNC_DECL T yaw(tquat<T, Q> const& x);
-
301 
-
307  template<typename T, qualifier Q>
-
308  GLM_FUNC_DECL mat<3, 3, T, Q> mat3_cast(tquat<T, Q> const& x);
-
309 
-
315  template<typename T, qualifier Q>
-
316  GLM_FUNC_DECL mat<4, 4, T, Q> mat4_cast(tquat<T, Q> const& x);
-
317 
-
323  template<typename T, qualifier Q>
-
324  GLM_FUNC_DECL tquat<T, Q> quat_cast(mat<3, 3, T, Q> const& x);
-
325 
-
331  template<typename T, qualifier Q>
-
332  GLM_FUNC_DECL tquat<T, Q> quat_cast(mat<4, 4, T, Q> const& x);
-
333 
-
339  template<typename T, qualifier Q>
-
340  GLM_FUNC_DECL T angle(tquat<T, Q> const& x);
-
341 
-
347  template<typename T, qualifier Q>
-
348  GLM_FUNC_DECL vec<3, T, Q> axis(tquat<T, Q> const& x);
-
349 
-
357  template<typename T, qualifier Q>
-
358  GLM_FUNC_DECL tquat<T, Q> angleAxis(T const& angle, vec<3, T, Q> const& axis);
-
359 
-
365  template<typename T, qualifier Q>
-
366  GLM_FUNC_DECL vec<4, bool, Q> lessThan(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
367 
-
373  template<typename T, qualifier Q>
-
374  GLM_FUNC_DECL vec<4, bool, Q> lessThanEqual(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
375 
-
381  template<typename T, qualifier Q>
-
382  GLM_FUNC_DECL vec<4, bool, Q> greaterThan(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
383 
-
389  template<typename T, qualifier Q>
-
390  GLM_FUNC_DECL vec<4, bool, Q> greaterThanEqual(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
391 
-
397  template<typename T, qualifier Q>
-
398  GLM_FUNC_DECL vec<4, bool, Q> equal(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
399 
-
405  template<typename T, qualifier Q>
-
406  GLM_FUNC_DECL vec<4, bool, Q> notEqual(tquat<T, Q> const& x, tquat<T, Q> const& y);
-
407 
-
419  template<typename T, qualifier Q>
-
420  GLM_FUNC_DECL vec<4, bool, Q> isnan(tquat<T, Q> const& x);
-
421 
-
431  template<typename T, qualifier Q>
-
432  GLM_FUNC_DECL vec<4, bool, Q> isinf(tquat<T, Q> const& x);
-
433 
-
435 } //namespace glm
-
436 
-
437 #include "quaternion.inl"
-
GLM_FUNC_DECL vec< 4, bool, Q > lessThan(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns the component-wise comparison result of x < y.
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL tquat< T, Q > mix(tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
Spherical linear interpolation of two quaternions.
-
GLM_FUNC_DECL vec< 4, bool, Q > isinf(tquat< T, Q > const &x)
Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...
-
GLM_FUNC_DECL vec< 3, T, Q > axis(tquat< T, Q > const &x)
Returns the q rotation axis.
-
GLM_FUNC_DECL tquat< T, Q > conjugate(tquat< T, Q > const &q)
Returns the q conjugate.
-
GLM_FUNC_DECL T pitch(tquat< T, Q > const &x)
Returns pitch value of euler angles expressed in radians.
-
GLM_FUNC_DECL tquat< T, Q > rotate(tquat< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
Rotates a quaternion from a vector of 3 components axis and an angle.
-
GLM_FUNC_DECL T yaw(tquat< T, Q > const &x)
Returns yaw value of euler angles expressed in radians.
-
GLM_FUNC_DECL vec< 4, bool, Q > equal(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns the component-wise comparison of result x == y.
-
GLM_FUNC_DECL tquat< T, Q > quat_cast(mat< 4, 4, T, Q > const &x)
Converts a pure rotation 4 * 4 matrix to a quaternion.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles(tquat< T, Q > const &x)
Returns euler angles, pitch as x, yaw as y, roll as z.
-
GLM_FUNC_DECL T length(tquat< T, Q > const &q)
Returns the length of the quaternion.
-
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns the component-wise comparison of result x <= y.
-
GLM_FUNC_DECL T dot(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ...
-
GLM_FUNC_DECL vec< 4, bool, Q > notEqual(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns the component-wise comparison of result x != y.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(tquat< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
-
GLM_FUNC_DECL tquat< T, Q > slerp(tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
Spherical linear interpolation of two quaternions.
-
GLM_FUNC_DECL vec< 4, bool, Q > isnan(tquat< T, Q > const &x)
Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of...
-
GLM_FUNC_DECL tquat< T, Q > lerp(tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
Linear interpolation of two quaternions.
-
GLM_FUNC_DECL T roll(tquat< T, Q > const &x)
Returns roll value of euler angles expressed in radians.
-
GLM_FUNC_DECL tquat< T, Q > inverse(tquat< T, Q > const &q)
Returns the q inverse.
-
GLM_FUNC_DECL tquat< T, Q > angleAxis(T const &angle, vec< 3, T, Q > const &axis)
Build a quaternion from an angle and a normalized axis.
-
GLM_FUNC_DECL tquat< T, Q > normalize(tquat< T, Q > const &q)
Returns the normalized quaternion.
-
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns the component-wise comparison of result x >= y.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(tquat< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
-
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan(tquat< T, Q > const &x, tquat< T, Q > const &y)
Returns the component-wise comparison of result x > y.
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependencies
23 #include "../ext/scalar_constants.hpp"
24 #include "../geometric.hpp"
25 #include "../trigonometric.hpp"
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_EXT_matrix_clip_space extension included")
29 #endif
30 
31 namespace glm
32 {
35 
42  template<typename T>
43  GLM_FUNC_DECL mat<4, 4, T, defaultp> ortho(
44  T left, T right, T bottom, T top);
45 
52  template<typename T>
53  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_ZO(
54  T left, T right, T bottom, T top, T zNear, T zFar);
55 
62  template<typename T>
63  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH_NO(
64  T left, T right, T bottom, T top, T zNear, T zFar);
65 
72  template<typename T>
73  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoRH_ZO(
74  T left, T right, T bottom, T top, T zNear, T zFar);
75 
82  template<typename T>
83  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoRH_NO(
84  T left, T right, T bottom, T top, T zNear, T zFar);
85 
92  template<typename T>
93  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoZO(
94  T left, T right, T bottom, T top, T zNear, T zFar);
95 
102  template<typename T>
103  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoNO(
104  T left, T right, T bottom, T top, T zNear, T zFar);
105 
113  template<typename T>
114  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoLH(
115  T left, T right, T bottom, T top, T zNear, T zFar);
116 
124  template<typename T>
125  GLM_FUNC_DECL mat<4, 4, T, defaultp> orthoRH(
126  T left, T right, T bottom, T top, T zNear, T zFar);
127 
135  template<typename T>
136  GLM_FUNC_DECL mat<4, 4, T, defaultp> ortho(
137  T left, T right, T bottom, T top, T zNear, T zFar);
138 
143  template<typename T>
144  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumLH_ZO(
145  T left, T right, T bottom, T top, T near, T far);
146 
151  template<typename T>
152  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumLH_NO(
153  T left, T right, T bottom, T top, T near, T far);
154 
159  template<typename T>
160  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumRH_ZO(
161  T left, T right, T bottom, T top, T near, T far);
162 
167  template<typename T>
168  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumRH_NO(
169  T left, T right, T bottom, T top, T near, T far);
170 
175  template<typename T>
176  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumZO(
177  T left, T right, T bottom, T top, T near, T far);
178 
183  template<typename T>
184  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumNO(
185  T left, T right, T bottom, T top, T near, T far);
186 
192  template<typename T>
193  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumLH(
194  T left, T right, T bottom, T top, T near, T far);
195 
201  template<typename T>
202  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustumRH(
203  T left, T right, T bottom, T top, T near, T far);
204 
210  template<typename T>
211  GLM_FUNC_DECL mat<4, 4, T, defaultp> frustum(
212  T left, T right, T bottom, T top, T near, T far);
213 
214 
224  template<typename T>
225  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH_ZO(
226  T fovy, T aspect, T near, T far);
227 
237  template<typename T>
238  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH_NO(
239  T fovy, T aspect, T near, T far);
240 
250  template<typename T>
251  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH_ZO(
252  T fovy, T aspect, T near, T far);
253 
263  template<typename T>
264  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH_NO(
265  T fovy, T aspect, T near, T far);
266 
276  template<typename T>
277  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveZO(
278  T fovy, T aspect, T near, T far);
279 
289  template<typename T>
290  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveNO(
291  T fovy, T aspect, T near, T far);
292 
303  template<typename T>
304  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveRH(
305  T fovy, T aspect, T near, T far);
306 
317  template<typename T>
318  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveLH(
319  T fovy, T aspect, T near, T far);
320 
331  template<typename T>
332  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspective(
333  T fovy, T aspect, T near, T far);
334 
345  template<typename T>
346  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovRH_ZO(
347  T fov, T width, T height, T near, T far);
348 
359  template<typename T>
360  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovRH_NO(
361  T fov, T width, T height, T near, T far);
362 
373  template<typename T>
374  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovLH_ZO(
375  T fov, T width, T height, T near, T far);
376 
387  template<typename T>
388  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovLH_NO(
389  T fov, T width, T height, T near, T far);
390 
401  template<typename T>
402  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovZO(
403  T fov, T width, T height, T near, T far);
404 
415  template<typename T>
416  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovNO(
417  T fov, T width, T height, T near, T far);
418 
430  template<typename T>
431  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovRH(
432  T fov, T width, T height, T near, T far);
433 
445  template<typename T>
446  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFovLH(
447  T fov, T width, T height, T near, T far);
448 
459  template<typename T>
460  GLM_FUNC_DECL mat<4, 4, T, defaultp> perspectiveFov(
461  T fov, T width, T height, T near, T far);
462 
470  template<typename T>
471  GLM_FUNC_DECL mat<4, 4, T, defaultp> infinitePerspectiveLH(
472  T fovy, T aspect, T near);
473 
481  template<typename T>
482  GLM_FUNC_DECL mat<4, 4, T, defaultp> infinitePerspectiveRH(
483  T fovy, T aspect, T near);
484 
492  template<typename T>
493  GLM_FUNC_DECL mat<4, 4, T, defaultp> infinitePerspective(
494  T fovy, T aspect, T near);
495 
503  template<typename T>
504  GLM_FUNC_DECL mat<4, 4, T, defaultp> tweakedInfinitePerspective(
505  T fovy, T aspect, T near);
506 
515  template<typename T>
516  GLM_FUNC_DECL mat<4, 4, T, defaultp> tweakedInfinitePerspective(
517  T fovy, T aspect, T near, T ep);
518 
520 }//namespace glm
521 
522 #include "matrix_clip_space.inl"
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_NO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovZO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveNO(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_L...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_ZO(T left, T right, T bottom, T top, T near, T far)
Creates a left handed frustum matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoZO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH(T fov, T width, T height, T near, T far)
Builds a right handed perspective projection matrix based on a field of view.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH(T fovy, T aspect, T near, T far)
Creates a matrix for a right handed, symetric perspective-view frustum.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective(T fovy, T aspect, T near, T ep)
Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics har...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_NO(T left, T right, T bottom, T top, T near, T far)
Creates a right handed frustum matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovNO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_ZO(T left, T right, T bottom, T top, T near, T far)
Creates a right handed frustum matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspective(T fovy, T aspect, T near)
Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default han...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum based on the default handedness and default ...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_ZO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_ZO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using left-handed coordinates...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH(T left, T right, T bottom, T top, T near, T far)
Creates a right handed frustum matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_NO(T left, T right, T bottom, T top, T near, T far)
Creates a left handed frustum matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustum(T left, T right, T bottom, T top, T near, T far)
Creates a frustum matrix with default handedness, using the default handedness and default near and f...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveZO(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_L...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumNO(T left, T right, T bottom, T top, T near, T far)
Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-h...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_NO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoNO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates if GLM_FO...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_ZO(T fovy, T aspect, T near, T far)
Creates a matrix for a right handed, symetric perspective-view frustum.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFov(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view and the default handedness and defaul...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_NO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume using right-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_ZO(T fovy, T aspect, T near, T far)
Creates a matrix for a left handed, symetric perspective-view frustum.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH(T left, T right, T bottom, T top, T near, T far)
Creates a left handed frustum matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH(T fov, T width, T height, T near, T far)
Builds a left handed perspective projection matrix based on a field of view.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH(T fovy, T aspect, T near, T far)
Creates a matrix for a left handed, symetric perspective-view frustum.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumZO(T left, T right, T bottom, T top, T near, T far)
Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-h...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_NO(T fovy, T aspect, T near, T far)
Creates a matrix for a right handed, symetric perspective-view frustum.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_NO(T fovy, T aspect, T near, T far)
Creates a matrix for a left handed, symetric perspective-view frustum.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveRH(T fovy, T aspect, T near)
Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_ZO(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_ZO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using right-handed coordinates...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho(T left, T right, T bottom, T top, T zNear, T zFar)
Creates a matrix for an orthographic parallel viewing volume, using the default handedness and defaul...
+
Definition: common.hpp:20
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_NO(T fov, T width, T height, T near, T far)
Builds a perspective projection matrix based on a field of view using right-handed coordinates...
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveLH(T fovy, T aspect, T near)
Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite...
diff --git a/doc/api/a00084.html b/doc/api/a00084.html deleted file mode 100644 index 670dac51..00000000 --- a/doc/api/a00084.html +++ /dev/null @@ -1,205 +0,0 @@ - - - - - - -0.9.9 API documenation: quaternion.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
gtx/quaternion.hpp File Reference
-
-
- -

GLM_GTX_quaternion -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (tquat< T, Q > const &q, vec< 3, T, Q > const &v)
 Compute a cross product between a quaternion and a vector. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &v, tquat< T, Q > const &q)
 Compute a cross product between a vector and a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > exp (tquat< T, Q > const &q)
 Returns a exp of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T extractRealComponent (tquat< T, Q > const &q)
 Extract the real component of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > fastMix (tquat< T, Q > const &x, tquat< T, Q > const &y, T const &a)
 Quaternion normalized linear interpolation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > intermediate (tquat< T, Q > const &prev, tquat< T, Q > const &curr, tquat< T, Q > const &next)
 Returns an intermediate control point for squad interpolation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length2 (tquat< T, Q > const &q)
 Returns the squared length of x. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > log (tquat< T, Q > const &q)
 Returns a log of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > pow (tquat< T, Q > const &x, T const &y)
 Returns x raised to the y power. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quat_identity ()
 Create an identity quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quatLookAt (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a look at quaternion based on the default handedness. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quatLookAtLH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a left-handed look at quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quatLookAtRH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a right-handed look at quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (tquat< T, Q > const &q, vec< 3, T, Q > const &v)
 Returns quarternion square root. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (tquat< T, Q > const &q, vec< 4, T, Q > const &v)
 Rotates a 4 components vector by a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > rotation (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
 Compute the rotation between two vectors. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > shortMix (tquat< T, Q > const &x, tquat< T, Q > const &y, T const &a)
 Quaternion interpolation using the rotation short path. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > squad (tquat< T, Q > const &q1, tquat< T, Q > const &q2, tquat< T, Q > const &s1, tquat< T, Q > const &s2, T const &h)
 Compute a point on a path according squad equation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3 (tquat< T, Q > const &x)
 Converts a quaternion to a 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4 (tquat< T, Q > const &x)
 Converts a quaternion to a 4 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > toQuat (mat< 3, 3, T, Q > const &x)
 Converts a 3 * 3 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > toQuat (mat< 4, 4, T, Q > const &x)
 Converts a 4 * 4 matrix to a quaternion. More...
 
-

Detailed Description

-

GLM_GTX_quaternion

-
See also
Core features (dependence)
-
-gtx_extented_min_max (dependence)
- -

Definition in file gtx/quaternion.hpp.

-
- - - - diff --git a/doc/api/a00084_source.html b/doc/api/a00084_source.html deleted file mode 100644 index bab15770..00000000 --- a/doc/api/a00084_source.html +++ /dev/null @@ -1,254 +0,0 @@ - - - - - - -0.9.9 API documenation: quaternion.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gtx/quaternion.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include "../gtc/constants.hpp"
-
19 #include "../gtc/quaternion.hpp"
-
20 #include "../gtx/norm.hpp"
-
21 
-
22 #ifndef GLM_ENABLE_EXPERIMENTAL
-
23 # error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
24 #endif
-
25 
-
26 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
27 # pragma message("GLM: GLM_GTX_quaternion extension included")
-
28 #endif
-
29 
-
30 namespace glm
-
31 {
-
34 
-
38  template<typename T, qualifier Q>
-
39  GLM_FUNC_DECL tquat<T, Q> quat_identity();
-
40 
-
44  template<typename T, qualifier Q>
-
45  GLM_FUNC_DECL vec<3, T, Q> cross(
-
46  tquat<T, Q> const& q,
-
47  vec<3, T, Q> const& v);
-
48 
-
52  template<typename T, qualifier Q>
-
53  GLM_FUNC_DECL vec<3, T, Q> cross(
-
54  vec<3, T, Q> const& v,
-
55  tquat<T, Q> const& q);
-
56 
-
61  template<typename T, qualifier Q>
-
62  GLM_FUNC_DECL tquat<T, Q> squad(
-
63  tquat<T, Q> const& q1,
-
64  tquat<T, Q> const& q2,
-
65  tquat<T, Q> const& s1,
-
66  tquat<T, Q> const& s2,
-
67  T const& h);
-
68 
-
72  template<typename T, qualifier Q>
-
73  GLM_FUNC_DECL tquat<T, Q> intermediate(
-
74  tquat<T, Q> const& prev,
-
75  tquat<T, Q> const& curr,
-
76  tquat<T, Q> const& next);
-
77 
-
81  template<typename T, qualifier Q>
-
82  GLM_FUNC_DECL tquat<T, Q> exp(
-
83  tquat<T, Q> const& q);
-
84 
-
88  template<typename T, qualifier Q>
-
89  GLM_FUNC_DECL tquat<T, Q> log(
-
90  tquat<T, Q> const& q);
-
91 
-
95  template<typename T, qualifier Q>
-
96  GLM_FUNC_DECL tquat<T, Q> pow(
-
97  tquat<T, Q> const& x,
-
98  T const& y);
-
99 
-
103  //template<typename T, qualifier Q>
-
104  //tquat<T, Q> sqrt(
-
105  // tquat<T, Q> const& q);
-
106 
-
110  template<typename T, qualifier Q>
-
111  GLM_FUNC_DECL vec<3, T, Q> rotate(
-
112  tquat<T, Q> const& q,
-
113  vec<3, T, Q> const& v);
-
114 
-
118  template<typename T, qualifier Q>
-
119  GLM_FUNC_DECL vec<4, T, Q> rotate(
-
120  tquat<T, Q> const& q,
-
121  vec<4, T, Q> const& v);
-
122 
-
126  template<typename T, qualifier Q>
-
127  GLM_FUNC_DECL T extractRealComponent(
-
128  tquat<T, Q> const& q);
-
129 
-
133  template<typename T, qualifier Q>
-
134  GLM_FUNC_DECL mat<3, 3, T, Q> toMat3(
-
135  tquat<T, Q> const& x){return mat3_cast(x);}
-
136 
-
140  template<typename T, qualifier Q>
-
141  GLM_FUNC_DECL mat<4, 4, T, Q> toMat4(
-
142  tquat<T, Q> const& x){return mat4_cast(x);}
-
143 
-
147  template<typename T, qualifier Q>
-
148  GLM_FUNC_DECL tquat<T, Q> toQuat(
-
149  mat<3, 3, T, Q> const& x){return quat_cast(x);}
-
150 
-
154  template<typename T, qualifier Q>
-
155  GLM_FUNC_DECL tquat<T, Q> toQuat(
-
156  mat<4, 4, T, Q> const& x){return quat_cast(x);}
-
157 
-
161  template<typename T, qualifier Q>
-
162  GLM_FUNC_DECL tquat<T, Q> shortMix(
-
163  tquat<T, Q> const& x,
-
164  tquat<T, Q> const& y,
-
165  T const& a);
-
166 
-
170  template<typename T, qualifier Q>
-
171  GLM_FUNC_DECL tquat<T, Q> fastMix(
-
172  tquat<T, Q> const& x,
-
173  tquat<T, Q> const& y,
-
174  T const& a);
-
175 
-
181  template<typename T, qualifier Q>
-
182  GLM_FUNC_DECL tquat<T, Q> rotation(
-
183  vec<3, T, Q> const& orig,
-
184  vec<3, T, Q> const& dest);
-
185 
-
190  template<typename T, qualifier Q>
-
191  GLM_FUNC_DECL tquat<T, Q> quatLookAt(
-
192  vec<3, T, Q> const& direction,
-
193  vec<3, T, Q> const& up);
-
194 
-
199  template<typename T, qualifier Q>
-
200  GLM_FUNC_DECL tquat<T, Q> quatLookAtRH(
-
201  vec<3, T, Q> const& direction,
-
202  vec<3, T, Q> const& up);
-
203 
-
208  template<typename T, qualifier Q>
-
209  GLM_FUNC_DECL tquat<T, Q> quatLookAtLH(
-
210  vec<3, T, Q> const& direction,
-
211  vec<3, T, Q> const& up);
-
212 
-
216  template<typename T, qualifier Q>
-
217  GLM_FUNC_DECL T length2(tquat<T, Q> const& q);
-
218 
-
220 }//namespace glm
-
221 
-
222 #include "quaternion.inl"
-
GLM_FUNC_DECL tquat< T, Q > log(tquat< T, Q > const &q)
Returns a log of a quaternion.
-
GLM_FUNC_DECL tquat< T, Q > quatLookAtLH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a left-handed look at quaternion.
-
GLM_FUNC_DECL tquat< T, Q > quatLookAt(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a look at quaternion based on the default handedness.
-
GLM_FUNC_DECL tquat< T, Q > quat_identity()
Create an identity quaternion.
-
GLM_FUNC_DECL T extractRealComponent(tquat< T, Q > const &q)
Extract the real component of a quaternion.
-
GLM_FUNC_DECL tquat< T, Q > fastMix(tquat< T, Q > const &x, tquat< T, Q > const &y, T const &a)
Quaternion normalized linear interpolation.
-
GLM_FUNC_DECL tquat< T, Q > shortMix(tquat< T, Q > const &x, tquat< T, Q > const &y, T const &a)
Quaternion interpolation using the rotation short path.
-
GLM_FUNC_DECL tquat< T, Q > toQuat(mat< 4, 4, T, Q > const &x)
Converts a 4 * 4 matrix to a quaternion.
-
GLM_FUNC_DECL tquat< T, Q > exp(tquat< T, Q > const &q)
Returns a exp of a quaternion.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL tquat< T, Q > rotation(vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
Compute the rotation between two vectors.
-
GLM_FUNC_DECL vec< 4, T, Q > rotate(tquat< T, Q > const &q, vec< 4, T, Q > const &v)
Rotates a 4 components vector by a quaternion.
-
GLM_FUNC_DECL T length2(tquat< T, Q > const &q)
Returns the squared length of x.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3(tquat< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(tquat< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4(tquat< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
-
GLM_FUNC_DECL vec< 3, T, Q > cross(vec< 3, T, Q > const &v, tquat< T, Q > const &q)
Compute a cross product between a vector and a quaternion.
-
GLM_FUNC_DECL tquat< T, Q > quatLookAtRH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a right-handed look at quaternion.
-
GLM_FUNC_DECL tquat< T, Q > squad(tquat< T, Q > const &q1, tquat< T, Q > const &q2, tquat< T, Q > const &s1, tquat< T, Q > const &s2, T const &h)
Compute a point on a path according squad equation.
-
GLM_FUNC_DECL tquat< T, Q > intermediate(tquat< T, Q > const &prev, tquat< T, Q > const &curr, tquat< T, Q > const &next)
Returns an intermediate control point for squad interpolation.
-
GLM_FUNC_DECL tquat< T, Q > pow(tquat< T, Q > const &x, T const &y)
Returns x raised to the y power.
-
GLM_FUNC_DECL tquat< T, Q > quat_cast(mat< 3, 3, T, Q > const &x)
Converts a pure rotation 3 * 3 matrix to a quaternion.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(tquat< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
-
- - - - diff --git a/doc/api/a00085_source.html b/doc/api/a00085_source.html deleted file mode 100644 index 1a3bdd4b..00000000 --- a/doc/api/a00085_source.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - - -0.9.9 API documenation: random.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
random.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../vec2.hpp"
-
18 #include "../vec3.hpp"
-
19 
-
20 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
21 # pragma message("GLM: GLM_GTC_random extension included")
-
22 #endif
-
23 
-
24 namespace glm
-
25 {
-
28 
-
35  template<typename genType>
-
36  GLM_FUNC_DECL genType linearRand(genType Min, genType Max);
-
37 
-
45  template<length_t L, typename T, qualifier Q>
-
46  GLM_FUNC_DECL vec<L, T, Q> linearRand(vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
-
47 
-
51  template<typename genType>
-
52  GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation);
-
53 
-
57  template<typename T>
-
58  GLM_FUNC_DECL vec<2, T, defaultp> circularRand(T Radius);
-
59 
-
63  template<typename T>
-
64  GLM_FUNC_DECL vec<3, T, defaultp> sphericalRand(T Radius);
-
65 
-
69  template<typename T>
-
70  GLM_FUNC_DECL vec<2, T, defaultp> diskRand(T Radius);
-
71 
-
75  template<typename T>
-
76  GLM_FUNC_DECL vec<3, T, defaultp> ballRand(T Radius);
-
77 
-
79 }//namespace glm
-
80 
-
81 #include "random.inl"
-
GLM_FUNC_DECL vec< 3, T, defaultp > sphericalRand(T Radius)
Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius...
-
GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation)
Generate random numbers in the interval [Min, Max], according a gaussian distribution.
-
GLM_FUNC_DECL vec< 2, T, defaultp > diskRand(T Radius)
Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a...
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 2, T, defaultp > circularRand(T Radius)
Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius...
-
GLM_FUNC_DECL vec< 3, T, defaultp > ballRand(T Radius)
Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of...
-
GLM_FUNC_DECL vec< L, T, Q > linearRand(vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Generate random numbers in the interval [Min, Max], according a linear distribution.
-
- - - - diff --git a/doc/api/a00086.html b/doc/api/a00086.html index 26b6f265..96f94413 100644 --- a/doc/api/a00086.html +++ b/doc/api/a00086.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: range.hpp File Reference + + +0.9.9 API documenation: matrix_double2x2.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
range.hpp File Reference
+
matrix_double2x2.hpp File Reference
-

GLM_GTX_range -More...

-

Go to the source code of this file.

+ + + + + + +

+Typedefs

typedef mat< 2, 2, double, defaultp > dmat2
 
typedef mat< 2, 2, double, defaultp > dmat2x2
 

Detailed Description

-

GLM_GTX_range

-
Author
Joshua Moerman
+

Core features

-

Definition in file range.hpp.

+

Definition in file matrix_double2x2.hpp.

diff --git a/doc/api/a00086_source.html b/doc/api/a00086_source.html index b1061b4b..9a48a87a 100644 --- a/doc/api/a00086_source.html +++ b/doc/api/a00086_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: range.hpp Source File + + +0.9.9 API documenation: matrix_double2x2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
range.hpp
+
matrix_double2x2.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../detail/setup.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_range is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if !GLM_HAS_RANGE_FOR
-
23 # error "GLM_GTX_range requires C++11 suppport or 'range for'"
-
24 #endif
-
25 
-
26 #include "../gtc/type_ptr.hpp"
-
27 #include "../gtc/vec1.hpp"
-
28 
-
29 namespace glm
-
30 {
-
33 
-
34 # if GLM_COMPILER & GLM_COMPILER_VC
-
35 # pragma warning(push)
-
36 # pragma warning(disable : 4100) // unreferenced formal parameter
-
37 # endif
-
38 
-
39  template<typename T, qualifier Q>
-
40  inline length_t components(vec<1, T, Q> const& v)
-
41  {
-
42  return v.length();
-
43  }
-
44 
-
45  template<typename T, qualifier Q>
-
46  inline length_t components(vec<2, T, Q> const& v)
-
47  {
-
48  return v.length();
-
49  }
-
50 
-
51  template<typename T, qualifier Q>
-
52  inline length_t components(vec<3, T, Q> const& v)
-
53  {
-
54  return v.length();
-
55  }
-
56 
-
57  template<typename T, qualifier Q>
-
58  inline length_t components(vec<4, T, Q> const& v)
-
59  {
-
60  return v.length();
-
61  }
-
62 
-
63  template<typename genType>
-
64  inline length_t components(genType const& m)
-
65  {
-
66  return m.length() * m[0].length();
-
67  }
-
68 
-
69  template<typename genType>
-
70  inline typename genType::value_type const * begin(genType const& v)
-
71  {
-
72  return value_ptr(v);
-
73  }
-
74 
-
75  template<typename genType>
-
76  inline typename genType::value_type const * end(genType const& v)
-
77  {
-
78  return begin(v) + components(v);
-
79  }
-
80 
-
81  template<typename genType>
-
82  inline typename genType::value_type * begin(genType& v)
-
83  {
-
84  return value_ptr(v);
-
85  }
-
86 
-
87  template<typename genType>
-
88  inline typename genType::value_type * end(genType& v)
-
89  {
-
90  return begin(v) + components(v);
-
91  }
-
92 
-
93 # if GLM_COMPILER & GLM_COMPILER_VC
-
94 # pragma warning(pop)
-
95 # endif
-
96 
-
98 }//namespace glm
-
GLM_FUNC_DECL genType::value_type const * value_ptr(genType const &v)
Return the constant address to the data of the input parameter.
-
Definition: common.hpp:20
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<2, 2, double, defaultp> dmat2x2;
16 
20  typedef mat<2, 2, double, defaultp> dmat2;
21 
23 }//namespace glm
mat< 2, 2, double, defaultp > dmat2
2 columns of 2 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
+
mat< 2, 2, double, defaultp > dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers.
diff --git a/doc/api/a00087_source.html b/doc/api/a00087_source.html deleted file mode 100644 index 16d44cf4..00000000 --- a/doc/api/a00087_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -0.9.9 API documenation: raw_data.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
raw_data.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../detail/setup.hpp"
-
17 #include "../detail/type_int.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_raw_data is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_raw_data extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  typedef detail::uint8 byte;
-
35 
-
38  typedef detail::uint16 word;
-
39 
-
42  typedef detail::uint32 dword;
-
43 
-
46  typedef detail::uint64 qword;
-
47 
-
49 }// namespace glm
-
50 
-
51 #include "raw_data.inl"
-
detail::uint8 byte
Type for byte numbers.
Definition: raw_data.hpp:34
-
detail::uint16 word
Type for word numbers.
Definition: raw_data.hpp:38
-
Definition: common.hpp:20
-
detail::uint32 dword
Type for dword numbers.
Definition: raw_data.hpp:42
-
detail::uint64 qword
Type for qword numbers.
Definition: raw_data.hpp:46
-
- - - - diff --git a/doc/api/a00088_source.html b/doc/api/a00088_source.html deleted file mode 100644 index 8d178149..00000000 --- a/doc/api/a00088_source.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -0.9.9 API documenation: reciprocal.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
reciprocal.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../detail/setup.hpp"
-
17 
-
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
19 # pragma message("GLM: GLM_GTC_reciprocal extension included")
-
20 #endif
-
21 
-
22 namespace glm
-
23 {
-
26 
-
33  template<typename genType>
-
34  GLM_FUNC_DECL genType sec(genType angle);
-
35 
-
42  template<typename genType>
-
43  GLM_FUNC_DECL genType csc(genType angle);
-
44 
-
51  template<typename genType>
-
52  GLM_FUNC_DECL genType cot(genType angle);
-
53 
-
60  template<typename genType>
-
61  GLM_FUNC_DECL genType asec(genType x);
-
62 
-
69  template<typename genType>
-
70  GLM_FUNC_DECL genType acsc(genType x);
-
71 
-
78  template<typename genType>
-
79  GLM_FUNC_DECL genType acot(genType x);
-
80 
-
86  template<typename genType>
-
87  GLM_FUNC_DECL genType sech(genType angle);
-
88 
-
94  template<typename genType>
-
95  GLM_FUNC_DECL genType csch(genType angle);
-
96 
-
102  template<typename genType>
-
103  GLM_FUNC_DECL genType coth(genType angle);
-
104 
-
111  template<typename genType>
-
112  GLM_FUNC_DECL genType asech(genType x);
-
113 
-
120  template<typename genType>
-
121  GLM_FUNC_DECL genType acsch(genType x);
-
122 
-
129  template<typename genType>
-
130  GLM_FUNC_DECL genType acoth(genType x);
-
131 
-
133 }//namespace glm
-
134 
-
135 #include "reciprocal.inl"
-
GLM_FUNC_DECL genType asec(genType x)
Inverse secant function.
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL genType csch(genType angle)
Cosecant hyperbolic function.
-
GLM_FUNC_DECL genType acot(genType x)
Inverse cotangent function.
-
GLM_FUNC_DECL genType acsch(genType x)
Inverse cosecant hyperbolic function.
-
GLM_FUNC_DECL genType acoth(genType x)
Inverse cotangent hyperbolic function.
-
GLM_FUNC_DECL genType csc(genType angle)
Cosecant function.
-
GLM_FUNC_DECL genType sech(genType angle)
Secant hyperbolic function.
-
GLM_FUNC_DECL genType coth(genType angle)
Cotangent hyperbolic function.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType acsc(genType x)
Inverse cosecant function.
-
GLM_FUNC_DECL genType cot(genType angle)
Cotangent function.
-
GLM_FUNC_DECL genType asech(genType x)
Inverse secant hyperbolic function.
-
GLM_FUNC_DECL genType sec(genType angle)
Secant function.
-
- - - - diff --git a/doc/api/a00089.html b/doc/api/a00089.html index 90ef92e0..5e5cc674 100644 --- a/doc/api/a00089.html +++ b/doc/api/a00089.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: rotate_normalized_axis.hpp File Reference + + +0.9.9 API documenation: matrix_double2x2_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
rotate_normalized_axis.hpp File Reference
+
matrix_double2x2_precision.hpp File Reference
-

GLM_GTX_rotate_normalized_axis -More...

-

Go to the source code of this file.

- - - - - - - - - + + + + + + + + + + + + +

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotateNormalizedAxis (mat< 4, 4, T, Q > const &m, T const &angle, vec< 3, T, Q > const &axis)
 Builds a rotation 4 * 4 matrix created from a normalized axis and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > rotateNormalizedAxis (tquat< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 Rotates a quaternion from a vector of 3 components normalized axis and an angle. More...
 

+Typedefs

typedef mat< 2, 2, double, highp > highp_dmat2
 
typedef mat< 2, 2, double, highp > highp_dmat2x2
 
typedef mat< 2, 2, double, lowp > lowp_dmat2
 
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
 
typedef mat< 2, 2, double, mediump > mediump_dmat2
 
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
 

Detailed Description

-

GLM_GTX_rotate_normalized_axis

-
See also
Core features (dependence)
-
-GLM_GTC_matrix_transform
-
-GLM_GTC_quaternion
+
diff --git a/doc/api/a00089_source.html b/doc/api/a00089_source.html index ff6100d7..7189e4b4 100644 --- a/doc/api/a00089_source.html +++ b/doc/api/a00089_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: rotate_normalized_axis.hpp Source File + + +0.9.9 API documenation: matrix_double2x2_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
rotate_normalized_axis.hpp
+
matrix_double2x2_precision.hpp
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 // Dependency:
-
18 #include "../glm.hpp"
-
19 #include "../gtc/epsilon.hpp"
-
20 #include "../gtc/quaternion.hpp"
-
21 
-
22 #ifndef GLM_ENABLE_EXPERIMENTAL
-
23 # error "GLM: GLM_GTX_rotate_normalized_axis is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
24 #endif
-
25 
-
26 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
27 # pragma message("GLM: GLM_GTX_rotate_normalized_axis extension included")
-
28 #endif
-
29 
-
30 namespace glm
-
31 {
-
34 
-
46  template<typename T, qualifier Q>
-
47  GLM_FUNC_DECL mat<4, 4, T, Q> rotateNormalizedAxis(
-
48  mat<4, 4, T, Q> const& m,
-
49  T const& angle,
-
50  vec<3, T, Q> const& axis);
-
51 
-
59  template<typename T, qualifier Q>
-
60  GLM_FUNC_DECL tquat<T, Q> rotateNormalizedAxis(
-
61  tquat<T, Q> const& q,
-
62  T const& angle,
-
63  vec<3, T, Q> const& axis);
-
64 
-
66 }//namespace glm
-
67 
-
68 #include "rotate_normalized_axis.inl"
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL vec< 3, T, Q > axis(tquat< T, Q > const &x)
Returns the q rotation axis.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL tquat< T, Q > rotateNormalizedAxis(tquat< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
Rotates a quaternion from a vector of 3 components normalized axis and an angle.
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<2, 2, double, lowp> lowp_dmat2;
17 
22  typedef mat<2, 2, double, mediump> mediump_dmat2;
23 
28  typedef mat<2, 2, double, highp> highp_dmat2;
29 
34  typedef mat<2, 2, double, lowp> lowp_dmat2x2;
35 
40  typedef mat<2, 2, double, mediump> mediump_dmat2x2;
41 
46  typedef mat<2, 2, double, highp> highp_dmat2x2;
47 
49 }//namespace glm
mat< 2, 2, double, mediump > mediump_dmat2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 2, double, highp > highp_dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 2, double, lowp > lowp_dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 2, 2, double, mediump > mediump_dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 2, double, lowp > lowp_dmat2
2 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 2, 2, double, highp > highp_dmat2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
diff --git a/doc/api/a00090_source.html b/doc/api/a00090_source.html deleted file mode 100644 index 06b76c30..00000000 --- a/doc/api/a00090_source.html +++ /dev/null @@ -1,186 +0,0 @@ - - - - - - -0.9.9 API documenation: rotate_vector.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
rotate_vector.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include "../gtx/transform.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_rotate_vector is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_rotate_vector extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
40  template<typename T, qualifier Q>
-
41  GLM_FUNC_DECL vec<3, T, Q> slerp(
-
42  vec<3, T, Q> const& x,
-
43  vec<3, T, Q> const& y,
-
44  T const& a);
-
45 
-
48  template<typename T, qualifier Q>
-
49  GLM_FUNC_DECL vec<2, T, Q> rotate(
-
50  vec<2, T, Q> const& v,
-
51  T const& angle);
-
52 
-
55  template<typename T, qualifier Q>
-
56  GLM_FUNC_DECL vec<3, T, Q> rotate(
-
57  vec<3, T, Q> const& v,
-
58  T const& angle,
-
59  vec<3, T, Q> const& normal);
-
60 
-
63  template<typename T, qualifier Q>
-
64  GLM_FUNC_DECL vec<4, T, Q> rotate(
-
65  vec<4, T, Q> const& v,
-
66  T const& angle,
-
67  vec<3, T, Q> const& normal);
-
68 
-
71  template<typename T, qualifier Q>
-
72  GLM_FUNC_DECL vec<3, T, Q> rotateX(
-
73  vec<3, T, Q> const& v,
-
74  T const& angle);
-
75 
-
78  template<typename T, qualifier Q>
-
79  GLM_FUNC_DECL vec<3, T, Q> rotateY(
-
80  vec<3, T, Q> const& v,
-
81  T const& angle);
-
82 
-
85  template<typename T, qualifier Q>
-
86  GLM_FUNC_DECL vec<3, T, Q> rotateZ(
-
87  vec<3, T, Q> const& v,
-
88  T const& angle);
-
89 
-
92  template<typename T, qualifier Q>
-
93  GLM_FUNC_DECL vec<4, T, Q> rotateX(
-
94  vec<4, T, Q> const& v,
-
95  T const& angle);
-
96 
-
99  template<typename T, qualifier Q>
-
100  GLM_FUNC_DECL vec<4, T, Q> rotateY(
-
101  vec<4, T, Q> const& v,
-
102  T const& angle);
-
103 
-
106  template<typename T, qualifier Q>
-
107  GLM_FUNC_DECL vec<4, T, Q> rotateZ(
-
108  vec<4, T, Q> const& v,
-
109  T const& angle);
-
110 
-
113  template<typename T, qualifier Q>
-
114  GLM_FUNC_DECL mat<4, 4, T, Q> orientation(
-
115  vec<3, T, Q> const& Normal,
-
116  vec<3, T, Q> const& Up);
-
117 
-
119 }//namespace glm
-
120 
-
121 #include "rotate_vector.inl"
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
Build a rotation matrix from a normal and a up vector.
-
GLM_FUNC_DECL vec< 4, T, Q > rotate(vec< 4, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
Rotate a four dimensional vector around an axis.
-
GLM_FUNC_DECL vec< 4, T, Q > rotateX(vec< 4, T, Q > const &v, T const &angle)
Rotate a four dimensional vector around the X axis.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 4, T, Q > rotateZ(vec< 4, T, Q > const &v, T const &angle)
Rotate a four dimensional vector around the Z axis.
-
GLM_FUNC_DECL vec< 3, T, Q > slerp(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)
Returns Spherical interpolation between two vectors.
-
GLM_FUNC_DECL vec< 4, T, Q > rotateY(vec< 4, T, Q > const &v, T const &angle)
Rotate a four dimensional vector around the Y axis.
-
- - - - diff --git a/doc/api/a00091_source.html b/doc/api/a00091_source.html deleted file mode 100644 index 6ad4cc18..00000000 --- a/doc/api/a00091_source.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -0.9.9 API documenation: round.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
round.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependencies
-
17 #include "../detail/setup.hpp"
-
18 #include "../detail/qualifier.hpp"
-
19 #include "../detail/_vectorize.hpp"
-
20 #include "../vector_relational.hpp"
-
21 #include "../common.hpp"
-
22 #include <limits>
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTC_integer extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
36  template<typename genIUType>
-
37  GLM_FUNC_DECL bool isPowerOfTwo(genIUType v);
-
38 
-
46  template<length_t L, typename T, qualifier Q>
-
47  GLM_FUNC_DECL vec<L, bool, Q> isPowerOfTwo(vec<L, T, Q> const& v);
-
48 
-
53  template<typename genIUType>
-
54  GLM_FUNC_DECL genIUType ceilPowerOfTwo(genIUType v);
-
55 
-
64  template<length_t L, typename T, qualifier Q>
-
65  GLM_FUNC_DECL vec<L, T, Q> ceilPowerOfTwo(vec<L, T, Q> const& v);
-
66 
-
71  template<typename genIUType>
-
72  GLM_FUNC_DECL genIUType floorPowerOfTwo(genIUType v);
-
73 
-
82  template<length_t L, typename T, qualifier Q>
-
83  GLM_FUNC_DECL vec<L, T, Q> floorPowerOfTwo(vec<L, T, Q> const& v);
-
84 
-
88  template<typename genIUType>
-
89  GLM_FUNC_DECL genIUType roundPowerOfTwo(genIUType v);
-
90 
-
98  template<length_t L, typename T, qualifier Q>
-
99  GLM_FUNC_DECL vec<L, T, Q> roundPowerOfTwo(vec<L, T, Q> const& v);
-
100 
-
104  template<typename genIUType>
-
105  GLM_FUNC_DECL bool isMultiple(genIUType v, genIUType Multiple);
-
106 
-
114  template<length_t L, typename T, qualifier Q>
-
115  GLM_FUNC_DECL vec<L, bool, Q> isMultiple(vec<L, T, Q> const& v, T Multiple);
-
116 
-
124  template<length_t L, typename T, qualifier Q>
-
125  GLM_FUNC_DECL vec<L, bool, Q> isMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
-
126 
-
135  template<typename genType>
-
136  GLM_FUNC_DECL genType ceilMultiple(genType v, genType Multiple);
-
137 
-
148  template<length_t L, typename T, qualifier Q>
-
149  GLM_FUNC_DECL vec<L, T, Q> ceilMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
-
150 
-
159  template<typename genType>
-
160  GLM_FUNC_DECL genType floorMultiple(genType v, genType Multiple);
-
161 
-
172  template<length_t L, typename T, qualifier Q>
-
173  GLM_FUNC_DECL vec<L, T, Q> floorMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
-
174 
-
183  template<typename genType>
-
184  GLM_FUNC_DECL genType roundMultiple(genType v, genType Multiple);
-
185 
-
196  template<length_t L, typename T, qualifier Q>
-
197  GLM_FUNC_DECL vec<L, T, Q> roundMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
-
198 
-
200 } //namespace glm
-
201 
-
202 #include "round.inl"
-
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Higher multiple number of Source.
-
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just lower the input value, round down to a power of tw...
-
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo(vec< L, T, Q > const &v)
Return true if the value is a power of two number.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is the closet to the input value.
-
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just higher the input value, round up to a power of two...
-
GLM_FUNC_DECL vec< L, T, Q > floorMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
-
GLM_FUNC_DECL vec< L, bool, Q > isMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Return true if the 'Value' is a multiple of 'Multiple'.
-
GLM_FUNC_DECL vec< L, T, Q > roundMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
-
- - - - diff --git a/doc/api/a00092.html b/doc/api/a00092.html index b5b43871..2cb8821e 100644 --- a/doc/api/a00092.html +++ b/doc/api/a00092.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: scalar_multiplication.hpp File Reference + + +0.9.9 API documenation: matrix_double2x3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
scalar_multiplication.hpp File Reference
+
matrix_double2x3.hpp File Reference
-

Experimental extensions -More...

-

Go to the source code of this file.

+ + + + +

+Typedefs

typedef mat< 2, 3, double, defaultp > dmat2x3
 

Detailed Description

-

Experimental extensions

-
Author
Joshua Moerman
-

Include <glm/gtx/scalar_multiplication.hpp> to use the features of this extension.

-

Enables scalar multiplication for all types

-

Since GLSL is very strict about types, the following (often used) combinations do not work: double * vec4 int * vec4 vec4 / int So we'll fix that! Of course "float * vec4" should remain the same (hence the enable_if magic)

+

Core features

-

Definition in file scalar_multiplication.hpp.

+

Definition in file matrix_double2x3.hpp.

diff --git a/doc/api/a00092_source.html b/doc/api/a00092_source.html index 728847da..b33a7f3e 100644 --- a/doc/api/a00092_source.html +++ b/doc/api/a00092_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: scalar_multiplication.hpp Source File + + +0.9.9 API documenation: matrix_double2x3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
scalar_multiplication.hpp
+
matrix_double2x3.hpp
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 #include "../detail/setup.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_scalar_multiplication is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if !GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)
-
24 # error "GLM_GTX_scalar_multiplication requires C++11 support or alias templates and if not support for GCC"
-
25 #endif
-
26 
-
27 #include "../vec2.hpp"
-
28 #include "../vec3.hpp"
-
29 #include "../vec4.hpp"
-
30 #include "../mat2x2.hpp"
-
31 #include <type_traits>
-
32 
-
33 namespace glm
-
34 {
-
35  template<typename T, typename Vec>
-
36  using return_type_scalar_multiplication = typename std::enable_if<
-
37  !std::is_same<T, float>::value // T may not be a float
-
38  && std::is_arithmetic<T>::value, Vec // But it may be an int or double (no vec3 or mat3, ...)
-
39  >::type;
-
40 
-
41 #define GLM_IMPLEMENT_SCAL_MULT(Vec) \
-
42  template<typename T> \
-
43  return_type_scalar_multiplication<T, Vec> \
-
44  operator*(T const& s, Vec rh){ \
-
45  return rh *= static_cast<float>(s); \
-
46  } \
-
47  \
-
48  template<typename T> \
-
49  return_type_scalar_multiplication<T, Vec> \
-
50  operator*(Vec lh, T const& s){ \
-
51  return lh *= static_cast<float>(s); \
-
52  } \
-
53  \
-
54  template<typename T> \
-
55  return_type_scalar_multiplication<T, Vec> \
-
56  operator/(Vec lh, T const& s){ \
-
57  return lh *= 1.0f / s; \
-
58  }
-
59 
-
60 GLM_IMPLEMENT_SCAL_MULT(vec2)
-
61 GLM_IMPLEMENT_SCAL_MULT(vec3)
-
62 GLM_IMPLEMENT_SCAL_MULT(vec4)
-
63 
-
64 GLM_IMPLEMENT_SCAL_MULT(mat2)
-
65 GLM_IMPLEMENT_SCAL_MULT(mat2x3)
-
66 GLM_IMPLEMENT_SCAL_MULT(mat2x4)
-
67 GLM_IMPLEMENT_SCAL_MULT(mat3x2)
-
68 GLM_IMPLEMENT_SCAL_MULT(mat3)
-
69 GLM_IMPLEMENT_SCAL_MULT(mat3x4)
-
70 GLM_IMPLEMENT_SCAL_MULT(mat4x2)
-
71 GLM_IMPLEMENT_SCAL_MULT(mat4x3)
-
72 GLM_IMPLEMENT_SCAL_MULT(mat4)
-
73 
-
74 #undef GLM_IMPLEMENT_SCAL_MULT
-
75 } // namespace glm
-
highp_vec2 vec2
2 components vector of floating-point numbers.
Definition: type_vec.hpp:440
-
mat3x3 mat3
3 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:410
-
highp_mat4x3 mat4x3
4 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:393
-
Definition: common.hpp:20
-
highp_mat2x3 mat2x3
2 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:363
-
highp_vec4 vec4
4 components vector of floating-point numbers.
Definition: type_vec.hpp:450
-
highp_mat4x2 mat4x2
4 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:388
-
mat2x2 mat2
2 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:405
-
highp_vec3 vec3
3 components vector of floating-point numbers.
Definition: type_vec.hpp:445
-
mat4x4 mat4
4 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:415
-
highp_mat3x2 mat3x2
3 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:373
-
highp_mat2x4 mat2x4
2 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:368
-
highp_mat3x4 mat3x4
3 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:383
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<2, 3, double, defaultp> dmat2x3;
16 
18 }//namespace glm
mat< 2, 3, double, defaultp > dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00093_source.html b/doc/api/a00093_source.html deleted file mode 100644 index 02773110..00000000 --- a/doc/api/a00093_source.html +++ /dev/null @@ -1,122 +0,0 @@ - - - - - - -0.9.9 API documenation: scalar_relational.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
scalar_relational.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 
-
18 #ifndef GLM_ENABLE_EXPERIMENTAL
-
19 # error "GLM: GLM_GTX_extend is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
20 #endif
-
21 
-
22 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
23 # pragma message("GLM: GLM_GTX_extend extension included")
-
24 #endif
-
25 
-
26 namespace glm
-
27 {
-
30 
-
31 
-
32 
-
34 }//namespace glm
-
35 
-
36 #include "scalar_relational.inl"
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00094.html b/doc/api/a00094.html deleted file mode 100644 index 4935702f..00000000 --- a/doc/api/a00094.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: setup.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
setup.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file setup.hpp.

-
- - - - diff --git a/doc/api/a00094_source.html b/doc/api/a00094_source.html deleted file mode 100644 index 475992f8..00000000 --- a/doc/api/a00094_source.html +++ /dev/null @@ -1,915 +0,0 @@ - - - - - - -0.9.9 API documenation: setup.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
setup.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #ifndef GLM_SETUP_INCLUDED
-
5 
-
6 #define GLM_VERSION_MAJOR 0
-
7 #define GLM_VERSION_MINOR 9
-
8 #define GLM_VERSION_PATCH 9
-
9 #define GLM_VERSION_REVISION 0
-
10 #define GLM_VERSION 990
-
11 
-
12 #define GLM_SETUP_INCLUDED GLM_VERSION
-
13 
-
14 #if defined(GLM_FORCE_SWIZZLE) && defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
-
15 # error "Both GLM_FORCE_SWIZZLE and GLM_FORCE_UNRESTRICTED_GENTYPE can't be defined at the same time"
-
16 #endif
-
17 
-
18 #include <cassert>
-
19 #include <cstddef>
-
20 
-
22 // Messages
-
23 
-
24 #define GLM_MESSAGES_ENABLED 1
-
25 #define GLM_MESSAGES_DISABLE 0
-
26 
-
27 #if defined(GLM_FORCE_MESSAGES)
-
28 # define GLM_MESSAGES GLM_MESSAGES_ENABLED
-
29 #else
-
30 # define GLM_MESSAGES GLM_MESSAGES_DISABLE
-
31 #endif
-
32 
-
34 // Detect the platform
-
35 
-
36 #include "../simd/platform.h"
-
37 
-
39 // Version
-
40 
-
41 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_VERSION_DISPLAYED)
-
42 # define GLM_MESSAGE_VERSION_DISPLAYED
-
43 # pragma message ("GLM: version 0.9.9.0")
-
44 #endif//GLM_MESSAGES
-
45 
-
46 // Report compiler detection
-
47 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_COMPILER_DISPLAYED)
-
48 # define GLM_MESSAGE_COMPILER_DISPLAYED
-
49 # if GLM_COMPILER & GLM_COMPILER_CUDA
-
50 # pragma message("GLM: CUDA compiler detected")
-
51 # elif GLM_COMPILER & GLM_COMPILER_VC
-
52 # pragma message("GLM: Visual C++ compiler detected")
-
53 # elif GLM_COMPILER & GLM_COMPILER_CLANG
-
54 # pragma message("GLM: Clang compiler detected")
-
55 # elif GLM_COMPILER & GLM_COMPILER_INTEL
-
56 # pragma message("GLM: Intel Compiler detected")
-
57 # elif GLM_COMPILER & GLM_COMPILER_GCC
-
58 # pragma message("GLM: GCC compiler detected")
-
59 # else
-
60 # pragma message("GLM: Compiler not detected")
-
61 # endif
-
62 #endif//GLM_MESSAGES
-
63 
-
65 // Build model
-
66 
-
67 #if defined(__arch64__) || defined(__LP64__) || defined(_M_X64) || defined(__ppc64__) || defined(__x86_64__)
-
68 # define GLM_MODEL GLM_MODEL_64
-
69 #elif defined(__i386__) || defined(__ppc__)
-
70 # define GLM_MODEL GLM_MODEL_32
-
71 #else
-
72 # define GLM_MODEL GLM_MODEL_32
-
73 #endif//
-
74 
-
75 #if !defined(GLM_MODEL) && GLM_COMPILER != 0
-
76 # error "GLM_MODEL undefined, your compiler may not be supported by GLM. Add #define GLM_MODEL 0 to ignore this message."
-
77 #endif//GLM_MODEL
-
78 
-
79 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_MODEL_DISPLAYED)
-
80 # define GLM_MESSAGE_MODEL_DISPLAYED
-
81 # if(GLM_MODEL == GLM_MODEL_64)
-
82 # pragma message("GLM: 64 bits model")
-
83 # elif(GLM_MODEL == GLM_MODEL_32)
-
84 # pragma message("GLM: 32 bits model")
-
85 # endif//GLM_MODEL
-
86 #endif//GLM_MESSAGES
-
87 
-
88 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_ARCH_DISPLAYED)
-
89 # define GLM_MESSAGE_ARCH_DISPLAYED
-
90 # if(GLM_ARCH == GLM_ARCH_PURE)
-
91 # pragma message("GLM: Platform independent code")
-
92 # elif(GLM_ARCH == GLM_ARCH_AVX2)
-
93 # pragma message("GLM: AVX2 instruction set")
-
94 # elif(GLM_ARCH == GLM_ARCH_AVX)
-
95 # pragma message("GLM: AVX instruction set")
-
96 # elif(GLM_ARCH == GLM_ARCH_SSE42)
-
97 # pragma message("GLM: SSE4.2 instruction set")
-
98 # elif(GLM_ARCH == GLM_ARCH_SSE41)
-
99 # pragma message("GLM: SSE4.1 instruction set")
-
100 # elif(GLM_ARCH == GLM_ARCH_SSSE3)
-
101 # pragma message("GLM: SSSE3 instruction set")
-
102 # elif(GLM_ARCH == GLM_ARCH_SSE3)
-
103 # pragma message("GLM: SSE3 instruction set")
-
104 # elif(GLM_ARCH == GLM_ARCH_SSE2)
-
105 # pragma message("GLM: SSE2 instruction set")
-
106 # elif(GLM_ARCH == GLM_ARCH_X86)
-
107 # pragma message("GLM: x86 instruction set")
-
108 # elif(GLM_ARCH == GLM_ARCH_NEON)
-
109 # pragma message("GLM: NEON instruction set")
-
110 # elif(GLM_ARCH == GLM_ARCH_ARM)
-
111 # pragma message("GLM: ARM instruction set")
-
112 # elif(GLM_ARCH == GLM_ARCH_MIPS)
-
113 # pragma message("GLM: MIPS instruction set")
-
114 # elif(GLM_ARCH == GLM_ARCH_PPC)
-
115 # pragma message("GLM: PowerPC architechture")
-
116 # endif//GLM_ARCH
-
117 #endif//GLM_MESSAGES
-
118 
-
120 // C++ Version
-
121 
-
122 // User defines: GLM_FORCE_CXX98, GLM_FORCE_CXX03, GLM_FORCE_CXX11, GLM_FORCE_CXX14
-
123 
-
124 #define GLM_LANG_CXX98_FLAG (1 << 1)
-
125 #define GLM_LANG_CXX03_FLAG (1 << 2)
-
126 #define GLM_LANG_CXX0X_FLAG (1 << 3)
-
127 #define GLM_LANG_CXX11_FLAG (1 << 4)
-
128 #define GLM_LANG_CXX1Y_FLAG (1 << 5)
-
129 #define GLM_LANG_CXX14_FLAG (1 << 6)
-
130 #define GLM_LANG_CXX1Z_FLAG (1 << 7)
-
131 #define GLM_LANG_CXXMS_FLAG (1 << 8)
-
132 #define GLM_LANG_CXXGNU_FLAG (1 << 9)
-
133 
-
134 #define GLM_LANG_CXX98 GLM_LANG_CXX98_FLAG
-
135 #define GLM_LANG_CXX03 (GLM_LANG_CXX98 | GLM_LANG_CXX03_FLAG)
-
136 #define GLM_LANG_CXX0X (GLM_LANG_CXX03 | GLM_LANG_CXX0X_FLAG)
-
137 #define GLM_LANG_CXX11 (GLM_LANG_CXX0X | GLM_LANG_CXX11_FLAG)
-
138 #define GLM_LANG_CXX1Y (GLM_LANG_CXX11 | GLM_LANG_CXX1Y_FLAG)
-
139 #define GLM_LANG_CXX14 (GLM_LANG_CXX1Y | GLM_LANG_CXX14_FLAG)
-
140 #define GLM_LANG_CXX1Z (GLM_LANG_CXX14 | GLM_LANG_CXX1Z_FLAG)
-
141 #define GLM_LANG_CXXMS GLM_LANG_CXXMS_FLAG
-
142 #define GLM_LANG_CXXGNU GLM_LANG_CXXGNU_FLAG
-
143 
-
144 #if defined(GLM_FORCE_CXX14)
-
145 # if((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER <= GLM_COMPILER_GCC50)) || ((GLM_COMPILER & GLM_COMPILER_CLANG) && (GLM_COMPILER <= GLM_COMPILER_CLANG34))
-
146 # pragma message("GLM: Using GLM_FORCE_CXX14 with a compiler that doesn't fully support C++14")
-
147 # elif GLM_COMPILER & GLM_COMPILER_VC
-
148 # pragma message("GLM: Using GLM_FORCE_CXX14 but there is no known version of Visual C++ compiler that fully supports C++14")
-
149 # elif GLM_COMPILER & GLM_COMPILER_INTEL
-
150 # pragma message("GLM: Using GLM_FORCE_CXX14 but there is no known version of ICC compiler that fully supports C++14")
-
151 # endif
-
152 # define GLM_LANG GLM_LANG_CXX14
-
153 # define GLM_LANG_STL11_FORCED
-
154 #elif defined(GLM_FORCE_CXX11)
-
155 # if((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER <= GLM_COMPILER_GCC48)) || ((GLM_COMPILER & GLM_COMPILER_CLANG) && (GLM_COMPILER <= GLM_COMPILER_CLANG33))
-
156 # pragma message("GLM: Using GLM_FORCE_CXX11 with a compiler that doesn't fully support C++11")
-
157 # elif GLM_COMPILER & GLM_COMPILER_VC
-
158 # pragma message("GLM: Using GLM_FORCE_CXX11 but there is no known version of Visual C++ compiler that fully supports C++11")
-
159 # elif GLM_COMPILER & GLM_COMPILER_INTEL
-
160 # pragma message("GLM: Using GLM_FORCE_CXX11 but there is no known version of ICC compiler that fully supports C++11")
-
161 # endif
-
162 # define GLM_LANG GLM_LANG_CXX11
-
163 # define GLM_LANG_STL11_FORCED
-
164 #elif defined(GLM_FORCE_CXX03)
-
165 # define GLM_LANG GLM_LANG_CXX03
-
166 #elif defined(GLM_FORCE_CXX98)
-
167 # define GLM_LANG GLM_LANG_CXX98
-
168 #else
-
169 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
170 # if __cplusplus >= 201402L // GLM_COMPILER_CLANG34 + -std=c++14
-
171 # define GLM_LANG GLM_LANG_CXX14
-
172 # elif __has_feature(cxx_decltype_auto) && __has_feature(cxx_aggregate_nsdmi) // GLM_COMPILER_CLANG33 + -std=c++1y
-
173 # define GLM_LANG GLM_LANG_CXX1Y
-
174 # elif __cplusplus >= 201103L // GLM_COMPILER_CLANG33 + -std=c++11
-
175 # define GLM_LANG GLM_LANG_CXX11
-
176 # elif __has_feature(cxx_static_assert) // GLM_COMPILER_CLANG29 + -std=c++11
-
177 # define GLM_LANG GLM_LANG_CXX0X
-
178 # elif __cplusplus >= 199711L
-
179 # define GLM_LANG GLM_LANG_CXX98
-
180 # else
-
181 # define GLM_LANG GLM_LANG_CXX
-
182 # endif
-
183 # elif GLM_COMPILER & GLM_COMPILER_GCC
-
184 # if __cplusplus >= 201402L
-
185 # define GLM_LANG GLM_LANG_CXX14
-
186 # elif __cplusplus >= 201103L
-
187 # define GLM_LANG GLM_LANG_CXX11
-
188 # elif defined(__GXX_EXPERIMENTAL_CXX0X__)
-
189 # define GLM_LANG GLM_LANG_CXX0X
-
190 # else
-
191 # define GLM_LANG GLM_LANG_CXX98
-
192 # endif
-
193 # elif GLM_COMPILER & GLM_COMPILER_VC
-
194 # ifdef _MSC_EXTENSIONS
-
195 # if __cplusplus >= 201402L
-
196 # define GLM_LANG (GLM_LANG_CXX14 | GLM_LANG_CXXMS_FLAG)
-
197 # elif __cplusplus >= 201103L
-
198 # define GLM_LANG (GLM_LANG_CXX11 | GLM_LANG_CXXMS_FLAG)
-
199 # else
-
200 # define GLM_LANG (GLM_LANG_CXX0X | GLM_LANG_CXXMS_FLAG)
-
201 # endif
-
202 # else
-
203 # if __cplusplus >= 201402L
-
204 # define GLM_LANG GLM_LANG_CXX14
-
205 # elif __cplusplus >= 201103L
-
206 # define GLM_LANG GLM_LANG_CXX11
-
207 # else
-
208 # define GLM_LANG GLM_LANG_CXX0X
-
209 # endif
-
210 # endif
-
211 # elif GLM_COMPILER & GLM_COMPILER_INTEL
-
212 # ifdef _MSC_EXTENSIONS
-
213 # define GLM_MSC_EXT GLM_LANG_CXXMS_FLAG
-
214 # else
-
215 # define GLM_MSC_EXT 0
-
216 # endif
-
217 # if __cplusplus >= 201402L
-
218 # define GLM_LANG (GLM_LANG_CXX14 | GLM_MSC_EXT)
-
219 # elif __cplusplus >= 201103L
-
220 # define GLM_LANG (GLM_LANG_CXX11 | GLM_MSC_EXT)
-
221 # elif __INTEL_CXX11_MODE__
-
222 # define GLM_LANG (GLM_LANG_CXX0X | GLM_MSC_EXT)
-
223 # elif __cplusplus >= 199711L
-
224 # define GLM_LANG (GLM_LANG_CXX98 | GLM_MSC_EXT)
-
225 # else
-
226 # define GLM_LANG (GLM_LANG_CXX | GLM_MSC_EXT)
-
227 # endif
-
228 # elif GLM_COMPILER & GLM_COMPILER_CUDA
-
229 # ifdef _MSC_EXTENSIONS
-
230 # define GLM_MSC_EXT GLM_LANG_CXXMS_FLAG
-
231 # else
-
232 # define GLM_MSC_EXT 0
-
233 # endif
-
234 # if GLM_COMPILER >= GLM_COMPILER_CUDA75
-
235 # define GLM_LANG (GLM_LANG_CXX0X | GLM_MSC_EXT)
-
236 # else
-
237 # define GLM_LANG (GLM_LANG_CXX98 | GLM_MSC_EXT)
-
238 # endif
-
239 # else // Unknown compiler
-
240 # if __cplusplus >= 201402L
-
241 # define GLM_LANG GLM_LANG_CXX14
-
242 # elif __cplusplus >= 201103L
-
243 # define GLM_LANG GLM_LANG_CXX11
-
244 # elif __cplusplus >= 199711L
-
245 # define GLM_LANG GLM_LANG_CXX98
-
246 # else
-
247 # define GLM_LANG GLM_LANG_CXX // Good luck with that!
-
248 # endif
-
249 # ifndef GLM_FORCE_PURE
-
250 # define GLM_FORCE_PURE
-
251 # endif
-
252 # endif
-
253 #endif
-
254 
-
255 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_LANG_DISPLAYED)
-
256 # define GLM_MESSAGE_LANG_DISPLAYED
-
257 
-
258 # if GLM_LANG & GLM_LANG_CXX1Z_FLAG
-
259 # pragma message("GLM: C++1z")
-
260 # elif GLM_LANG & GLM_LANG_CXX14_FLAG
-
261 # pragma message("GLM: C++14")
-
262 # elif GLM_LANG & GLM_LANG_CXX1Y_FLAG
-
263 # pragma message("GLM: C++1y")
-
264 # elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
265 # pragma message("GLM: C++11")
-
266 # elif GLM_LANG & GLM_LANG_CXX0X_FLAG
-
267 # pragma message("GLM: C++0x")
-
268 # elif GLM_LANG & GLM_LANG_CXX03_FLAG
-
269 # pragma message("GLM: C++03")
-
270 # elif GLM_LANG & GLM_LANG_CXX98_FLAG
-
271 # pragma message("GLM: C++98")
-
272 # else
-
273 # pragma message("GLM: C++ language undetected")
-
274 # endif//GLM_LANG
-
275 
-
276 # if GLM_LANG & (GLM_LANG_CXXGNU_FLAG | GLM_LANG_CXXMS_FLAG)
-
277 # pragma message("GLM: Language extensions enabled")
-
278 # endif//GLM_LANG
-
279 #endif//GLM_MESSAGES
-
280 
-
282 // Has of C++ features
-
283 
-
284 // http://clang.llvm.org/cxx_status.html
-
285 // http://gcc.gnu.org/projects/cxx0x.html
-
286 // http://msdn.microsoft.com/en-us/library/vstudio/hh567368(v=vs.120).aspx
-
287 
-
288 // Android has multiple STLs but C++11 STL detection doesn't always work #284 #564
-
289 #if GLM_PLATFORM == GLM_PLATFORM_ANDROID && !defined(GLM_LANG_STL11_FORCED)
-
290 # define GLM_HAS_CXX11_STL 0
-
291 #elif GLM_COMPILER & GLM_COMPILER_CLANG
-
292 # if (defined(_LIBCPP_VERSION) && GLM_LANG & GLM_LANG_CXX11_FLAG) || defined(GLM_LANG_STL11_FORCED)
-
293 # define GLM_HAS_CXX11_STL 1
-
294 # else
-
295 # define GLM_HAS_CXX11_STL 0
-
296 # endif
-
297 #else
-
298 # define GLM_HAS_CXX11_STL ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
299  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC48)) || \
-
300  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
-
301  ((GLM_PLATFORM != GLM_PLATFORM_WINDOWS) && (GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL15))))
-
302 #endif
-
303 
-
304 // N1720
-
305 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
306 # define GLM_HAS_STATIC_ASSERT __has_feature(cxx_static_assert)
-
307 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
308 # define GLM_HAS_STATIC_ASSERT 1
-
309 #else
-
310 # define GLM_HAS_STATIC_ASSERT ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
311  ((GLM_COMPILER & GLM_COMPILER_GCC)) || \
-
312  ((GLM_COMPILER & GLM_COMPILER_CUDA)) || \
-
313  ((GLM_COMPILER & GLM_COMPILER_VC))))
-
314 #endif
-
315 
-
316 // N1988
-
317 #if GLM_LANG & GLM_LANG_CXX11_FLAG
-
318 # define GLM_HAS_EXTENDED_INTEGER_TYPE 1
-
319 #else
-
320 # define GLM_HAS_EXTENDED_INTEGER_TYPE (\
-
321  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_VC)) || \
-
322  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_CUDA)) || \
-
323  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_GCC)) || \
-
324  ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (GLM_COMPILER & GLM_COMPILER_CLANG)))
-
325 #endif
-
326 
-
327 // N2235
-
328 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
329 # define GLM_HAS_CONSTEXPR __has_feature(cxx_constexpr)
-
330 # define GLM_HAS_CONSTEXPR_PARTIAL GLM_HAS_CONSTEXPR
-
331 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
332 # define GLM_HAS_CONSTEXPR 1
-
333 # define GLM_HAS_CONSTEXPR_PARTIAL GLM_HAS_CONSTEXPR
-
334 #else
-
335 # define GLM_HAS_CONSTEXPR ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
336  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15)) || \
-
337  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC48)))) // GCC 4.6 support constexpr but there is a compiler bug causing a crash
-
338 # define GLM_HAS_CONSTEXPR_PARTIAL (GLM_HAS_CONSTEXPR || ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC14)))
-
339 #endif
-
340 
-
341 // N2672
-
342 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
343 # define GLM_HAS_INITIALIZER_LISTS __has_feature(cxx_generalized_initializers)
-
344 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
345 # define GLM_HAS_INITIALIZER_LISTS 1
-
346 #else
-
347 # define GLM_HAS_INITIALIZER_LISTS ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
348  ((GLM_COMPILER & GLM_COMPILER_GCC)) || \
-
349  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
-
350  ((GLM_COMPILER & GLM_COMPILER_CUDA) && (GLM_COMPILER >= GLM_COMPILER_CUDA75))))
-
351 #endif
-
352 
-
353 // N2544 Unrestricted unions http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2008/n2544.pdf
-
354 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
355 # define GLM_HAS_UNRESTRICTED_UNIONS __has_feature(cxx_unrestricted_unions)
-
356 #elif GLM_LANG & (GLM_LANG_CXX11_FLAG | GLM_LANG_CXXMS_FLAG)
-
357 # define GLM_HAS_UNRESTRICTED_UNIONS 1
-
358 #else
-
359 # define GLM_HAS_UNRESTRICTED_UNIONS (GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
360  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_LANG & GLM_LANG_CXXMS_FLAG)) || \
-
361  ((GLM_COMPILER & GLM_COMPILER_CUDA) && (GLM_COMPILER >= GLM_COMPILER_CUDA75)) || \
-
362  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC46)))
-
363 #endif
-
364 
-
365 // N2346
-
366 #if defined(GLM_FORCE_UNRESTRICTED_GENTYPE)
-
367 # define GLM_HAS_DEFAULTED_FUNCTIONS 0
-
368 #elif GLM_COMPILER & GLM_COMPILER_CLANG
-
369 # define GLM_HAS_DEFAULTED_FUNCTIONS __has_feature(cxx_defaulted_functions)
-
370 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
371 # define GLM_HAS_DEFAULTED_FUNCTIONS 1
-
372 #else
-
373 # define GLM_HAS_DEFAULTED_FUNCTIONS ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
374  ((GLM_COMPILER & GLM_COMPILER_GCC)) || \
-
375  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
-
376  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
-
377  (GLM_COMPILER & GLM_COMPILER_CUDA)))
-
378 #endif
-
379 
-
380 // N2118
-
381 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
382 # define GLM_HAS_RVALUE_REFERENCES __has_feature(cxx_rvalue_references)
-
383 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
384 # define GLM_HAS_RVALUE_REFERENCES 1
-
385 #else
-
386 # define GLM_HAS_RVALUE_REFERENCES ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
387  ((GLM_COMPILER & GLM_COMPILER_GCC)) || \
-
388  ((GLM_COMPILER & GLM_COMPILER_VC)) || \
-
389  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
-
390 #endif
-
391 
-
392 // N2437 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2437.pdf
-
393 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
394 # define GLM_HAS_EXPLICIT_CONVERSION_OPERATORS __has_feature(cxx_explicit_conversions)
-
395 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
396 # define GLM_HAS_EXPLICIT_CONVERSION_OPERATORS 1
-
397 #else
-
398 # define GLM_HAS_EXPLICIT_CONVERSION_OPERATORS ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
399  ((GLM_COMPILER & GLM_COMPILER_GCC)) || \
-
400  ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL14)) || \
-
401  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
-
402  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
-
403 #endif
-
404 
-
405 // N2258 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2258.pdf
-
406 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
407 # define GLM_HAS_TEMPLATE_ALIASES __has_feature(cxx_alias_templates)
-
408 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
409 # define GLM_HAS_TEMPLATE_ALIASES 1
-
410 #else
-
411 # define GLM_HAS_TEMPLATE_ALIASES ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
412  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
-
413  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC47)) || \
-
414  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
-
415  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
-
416 #endif
-
417 
-
418 // N2930 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2930.html
-
419 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
420 # define GLM_HAS_RANGE_FOR __has_feature(cxx_range_for)
-
421 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
422 # define GLM_HAS_RANGE_FOR 1
-
423 #else
-
424 # define GLM_HAS_RANGE_FOR ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
425  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC46)) || \
-
426  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
-
427  ((GLM_COMPILER & GLM_COMPILER_VC)) || \
-
428  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
-
429 #endif
-
430 
-
431 // N2341 http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2007/n2341.pdf
-
432 #if GLM_COMPILER & GLM_COMPILER_CLANG
-
433 # define GLM_HAS_ALIGNOF __has_feature(c_alignof)
-
434 #elif GLM_LANG & GLM_LANG_CXX11_FLAG
-
435 # define GLM_HAS_ALIGNOF 1
-
436 #else
-
437 # define GLM_HAS_ALIGNOF ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
438  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC48)) || \
-
439  ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_COMPILER >= GLM_COMPILER_INTEL15)) || \
-
440  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC14)) || \
-
441  ((GLM_COMPILER & GLM_COMPILER_CUDA) && (GLM_COMPILER >= GLM_COMPILER_CUDA70))))
-
442 #endif
-
443 
-
444 #define GLM_HAS_ONLY_XYZW ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER < GLM_COMPILER_GCC46))
-
445 #if GLM_HAS_ONLY_XYZW
-
446 # pragma message("GLM: GCC older than 4.6 has a bug presenting the use of rgba and stpq components")
-
447 #endif
-
448 
-
449 //
-
450 #if GLM_LANG & GLM_LANG_CXX11_FLAG
-
451 # define GLM_HAS_ASSIGNABLE 1
-
452 #else
-
453 # define GLM_HAS_ASSIGNABLE ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
454  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC15)) || \
-
455  ((GLM_COMPILER & GLM_COMPILER_GCC) && (GLM_COMPILER >= GLM_COMPILER_GCC49))))
-
456 #endif
-
457 
-
458 //
-
459 #define GLM_HAS_TRIVIAL_QUERIES 0
-
460 
-
461 //
-
462 #if GLM_LANG & GLM_LANG_CXX11_FLAG
-
463 # define GLM_HAS_MAKE_SIGNED 1
-
464 #else
-
465 # define GLM_HAS_MAKE_SIGNED ((GLM_LANG & GLM_LANG_CXX0X_FLAG) && (\
-
466  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC12)) || \
-
467  ((GLM_COMPILER & GLM_COMPILER_CUDA))))
-
468 #endif
-
469 
-
470 #if GLM_ARCH == GLM_ARCH_PURE
-
471 # define GLM_HAS_BITSCAN_WINDOWS 0
-
472 #else
-
473 # define GLM_HAS_BITSCAN_WINDOWS ((GLM_PLATFORM & GLM_PLATFORM_WINDOWS) && (\
-
474  ((GLM_COMPILER & GLM_COMPILER_INTEL)) || \
-
475  ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER >= GLM_COMPILER_VC14) && (GLM_ARCH & GLM_ARCH_X86_BIT))))
-
476 #endif
-
477 
-
478 // OpenMP
-
479 #ifdef _OPENMP
-
480 # if GLM_COMPILER & GLM_COMPILER_GCC
-
481 # if GLM_COMPILER >= GLM_COMPILER_GCC61
-
482 # define GLM_HAS_OPENMP 45
-
483 # elif GLM_COMPILER >= GLM_COMPILER_GCC49
-
484 # define GLM_HAS_OPENMP 40
-
485 # elif GLM_COMPILER >= GLM_COMPILER_GCC47
-
486 # define GLM_HAS_OPENMP 31
-
487 # else
-
488 # define GLM_HAS_OPENMP 0
-
489 # endif
-
490 # elif GLM_COMPILER & GLM_COMPILER_CLANG
-
491 # if GLM_COMPILER >= GLM_COMPILER_CLANG38
-
492 # define GLM_HAS_OPENMP 31
-
493 # else
-
494 # define GLM_HAS_OPENMP 0
-
495 # endif
-
496 # elif GLM_COMPILER & GLM_COMPILER_VC
-
497 # define GLM_HAS_OPENMP 20
-
498 # elif GLM_COMPILER & GLM_COMPILER_INTEL
-
499 # if GLM_COMPILER >= GLM_COMPILER_INTEL16
-
500 # define GLM_HAS_OPENMP 40
-
501 # else
-
502 # define GLM_HAS_OPENMP 0
-
503 # endif
-
504 # else
-
505 # define GLM_HAS_OPENMP 0
-
506 # endif
-
507 #else
-
508 # define GLM_HAS_OPENMP 0
-
509 #endif
-
510 
-
512 // nullptr
-
513 
-
514 //
-
515 #if GLM_LANG & GLM_LANG_CXX0X_FLAG
-
516 # define GLM_HAS_NULLPTR 1
-
517 #else
-
518 # define GLM_HAS_NULLPTR 0
-
519 #endif
-
520 
-
521 #if GLM_HAS_NULLPTR
-
522 # define GLM_NULLPTR nullptr
-
523 #else
-
524 # define GLM_NULLPTR 0
-
525 #endif
-
526 
-
528 // Static assert
-
529 
-
530 #if GLM_HAS_STATIC_ASSERT
-
531 # define GLM_STATIC_ASSERT(x, message) static_assert(x, message)
-
532 #elif GLM_COMPILER & GLM_COMPILER_VC
-
533 # define GLM_STATIC_ASSERT(x, message) typedef char __CASSERT__##__LINE__[(x) ? 1 : -1]
-
534 #else
-
535 # define GLM_STATIC_ASSERT(x, message)
-
536 # define GLM_STATIC_ASSERT_NULL
-
537 #endif//GLM_LANG
-
538 
-
540 // Qualifiers
-
541 
-
542 #if GLM_COMPILER & GLM_COMPILER_CUDA
-
543 # define GLM_CUDA_FUNC_DEF __device__ __host__
-
544 # define GLM_CUDA_FUNC_DECL __device__ __host__
-
545 #else
-
546 # define GLM_CUDA_FUNC_DEF
-
547 # define GLM_CUDA_FUNC_DECL
-
548 #endif
-
549 
-
550 #if GLM_COMPILER & GLM_COMPILER_GCC
-
551 # define GLM_VAR_USED __attribute__ ((unused))
-
552 #else
-
553 # define GLM_VAR_USED
-
554 #endif
-
555 
-
556 #if defined(GLM_FORCE_INLINE)
-
557 # if GLM_COMPILER & GLM_COMPILER_VC
-
558 # define GLM_INLINE __forceinline
-
559 # define GLM_NEVER_INLINE __declspec((noinline))
-
560 # elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG)
-
561 # define GLM_INLINE inline __attribute__((__always_inline__))
-
562 # define GLM_NEVER_INLINE __attribute__((__noinline__))
-
563 # elif GLM_COMPILER & GLM_COMPILER_CUDA
-
564 # define GLM_INLINE __forceinline__
-
565 # define GLM_NEVER_INLINE __noinline__
-
566 # else
-
567 # define GLM_INLINE inline
-
568 # define GLM_NEVER_INLINE
-
569 # endif//GLM_COMPILER
-
570 #else
-
571 # define GLM_INLINE inline
-
572 # define GLM_NEVER_INLINE
-
573 #endif//defined(GLM_FORCE_INLINE)
-
574 
-
575 #define GLM_FUNC_DECL GLM_CUDA_FUNC_DECL
-
576 #define GLM_FUNC_QUALIFIER GLM_CUDA_FUNC_DEF GLM_INLINE
-
577 
-
579 // Swizzle operators
-
580 
-
581 // User defines: GLM_FORCE_SWIZZLE
-
582 
-
583 #define GLM_SWIZZLE_ENABLED 1
-
584 #define GLM_SWIZZLE_DISABLE 0
-
585 
-
586 #if defined(GLM_FORCE_SWIZZLE)
-
587 # define GLM_SWIZZLE GLM_SWIZZLE_ENABLED
-
588 #else
-
589 # define GLM_SWIZZLE GLM_SWIZZLE_DISABLE
-
590 #endif
-
591 
-
592 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_SWIZZLE_DISPLAYED)
-
593 # define GLM_MESSAGE_SWIZZLE_DISPLAYED
-
594 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
595 # pragma message("GLM: Swizzling operators enabled")
-
596 # else
-
597 # pragma message("GLM: Swizzling operators disabled, #define GLM_SWIZZLE to enable swizzle operators")
-
598 # endif
-
599 #endif//GLM_MESSAGES
-
600 
-
602 // Allows using not basic types as genType
-
603 
-
604 // #define GLM_FORCE_UNRESTRICTED_GENTYPE
-
605 
-
606 #ifdef GLM_FORCE_UNRESTRICTED_GENTYPE
-
607 # define GLM_UNRESTRICTED_GENTYPE 1
-
608 #else
-
609 # define GLM_UNRESTRICTED_GENTYPE 0
-
610 #endif
-
611 
-
612 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_UNRESTRICTED_GENTYPE_DISPLAYED)
-
613 # define GLM_MESSAGE_UNRESTRICTED_GENTYPE_DISPLAYED
-
614 # ifdef GLM_FORCE_UNRESTRICTED_GENTYPE
-
615 # pragma message("GLM: Use unrestricted genType")
-
616 # endif
-
617 #endif//GLM_MESSAGES
-
618 
-
620 // Force single only (remove explicit float64 types)
-
621 
-
622 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_SINGLE_ONLY_DISPLAYED)
-
623 # define GLM_MESSAGE_SINGLE_ONLY_DISPLAYED
-
624 # ifdef GLM_FORCE_SINGLE_ONLY
-
625 # pragma message("GLM: Using only single precision floating-point types")
-
626 # endif
-
627 #endif//GLM_MESSAGES
-
628 
-
630 // Clip control
-
631 
-
632 #define GLM_DEPTH_ZERO_TO_ONE 0x00000001
-
633 #define GLM_DEPTH_NEGATIVE_ONE_TO_ONE 0x00000002
-
634 
-
635 #ifdef GLM_FORCE_DEPTH_ZERO_TO_ONE
-
636 # define GLM_DEPTH_CLIP_SPACE GLM_DEPTH_ZERO_TO_ONE
-
637 #else
-
638 # define GLM_DEPTH_CLIP_SPACE GLM_DEPTH_NEGATIVE_ONE_TO_ONE
-
639 #endif
-
640 
-
641 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_DEPTH_DISPLAYED)
-
642 # define GLM_MESSAGE_DEPTH_DISPLAYED
-
643 # if GLM_DEPTH_CLIP_SPACE == GLM_DEPTH_ZERO_TO_ONE
-
644 # pragma message("GLM: Depth clip space: Zero to one")
-
645 # else
-
646 # pragma message("GLM: Depth clip space: negative one to one")
-
647 # endif
-
648 #endif//GLM_MESSAGES
-
649 
-
651 // Coordinate system, define GLM_FORCE_LEFT_HANDED before including GLM
-
652 // to use left handed coordinate system by default.
-
653 
-
654 #define GLM_LEFT_HANDED 0x00000001 // For DirectX, Metal, Vulkan
-
655 #define GLM_RIGHT_HANDED 0x00000002 // For OpenGL, default in GLM
-
656 
-
657 #ifdef GLM_FORCE_LEFT_HANDED
-
658 # define GLM_COORDINATE_SYSTEM GLM_LEFT_HANDED
-
659 #else
-
660 # define GLM_COORDINATE_SYSTEM GLM_RIGHT_HANDED
-
661 #endif
-
662 
-
663 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_HANDED_DISPLAYED)
-
664 # define GLM_MESSAGE_HANDED_DISPLAYED
-
665 # if GLM_COORDINATE_SYSTEM == GLM_LEFT_HANDED
-
666 # pragma message("GLM: Coordinate system: left handed")
-
667 # else
-
668 # pragma message("GLM: Coordinate system: right handed")
-
669 # endif
-
670 #endif//GLM_MESSAGES
-
671 
-
673 // Qualifiers
-
674 
-
675 #if (GLM_COMPILER & GLM_COMPILER_VC) || ((GLM_COMPILER & GLM_COMPILER_INTEL) && (GLM_PLATFORM & GLM_PLATFORM_WINDOWS))
-
676 # define GLM_DEPRECATED __declspec(deprecated)
-
677 # define GLM_ALIGN(x) __declspec(align(x))
-
678 # define GLM_ALIGNED_STRUCT(x) struct __declspec(align(x))
-
679 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef __declspec(align(alignment)) type name
-
680 # define GLM_RESTRICT_FUNC __declspec(restrict)
-
681 # define GLM_RESTRICT __restrict
-
682 # if GLM_COMPILER >= GLM_COMPILER_VC12
-
683 # define GLM_VECTOR_CALL __vectorcall
-
684 # else
-
685 # define GLM_VECTOR_CALL
-
686 # endif
-
687 #elif GLM_COMPILER & (GLM_COMPILER_GCC | GLM_COMPILER_CLANG | GLM_COMPILER_INTEL)
-
688 # define GLM_DEPRECATED __attribute__((__deprecated__))
-
689 # define GLM_ALIGN(x) __attribute__((aligned(x)))
-
690 # define GLM_ALIGNED_STRUCT(x) struct __attribute__((aligned(x)))
-
691 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef type name __attribute__((aligned(alignment)))
-
692 # define GLM_RESTRICT_FUNC __restrict__
-
693 # define GLM_RESTRICT __restrict__
-
694 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
695 # if GLM_COMPILER >= GLM_COMPILER_CLANG37
-
696 # define GLM_VECTOR_CALL __vectorcall
-
697 # else
-
698 # define GLM_VECTOR_CALL
-
699 # endif
-
700 # else
-
701 # define GLM_VECTOR_CALL
-
702 # endif
-
703 #elif GLM_COMPILER & GLM_COMPILER_CUDA
-
704 # define GLM_DEPRECATED
-
705 # define GLM_ALIGN(x) __align__(x)
-
706 # define GLM_ALIGNED_STRUCT(x) struct __align__(x)
-
707 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef type name __align__(x)
-
708 # define GLM_RESTRICT_FUNC __restrict__
-
709 # define GLM_RESTRICT __restrict__
-
710 # define GLM_VECTOR_CALL
-
711 #else
-
712 # define GLM_DEPRECATED
-
713 # define GLM_ALIGN
-
714 # define GLM_ALIGNED_STRUCT(x) struct
-
715 # define GLM_ALIGNED_TYPEDEF(type, name, alignment) typedef type name
-
716 # define GLM_RESTRICT_FUNC
-
717 # define GLM_RESTRICT
-
718 # define GLM_VECTOR_CALL
-
719 #endif//GLM_COMPILER
-
720 
-
721 #if GLM_HAS_DEFAULTED_FUNCTIONS
-
722 # define GLM_DEFAULT = default
-
723 
-
724 # ifdef GLM_FORCE_NO_CTOR_INIT
-
725 # undef GLM_FORCE_CTOR_INIT
-
726 # endif
-
727 
-
728 # ifdef GLM_FORCE_CTOR_INIT
-
729 # define GLM_DEFAULT_CTOR
-
730 # else
-
731 # define GLM_DEFAULT_CTOR = default
-
732 # endif
-
733 #else
-
734 # define GLM_DEFAULT
-
735 # define GLM_DEFAULT_CTOR
-
736 #endif
-
737 
-
738 #if GLM_HAS_CONSTEXPR || GLM_HAS_CONSTEXPR_PARTIAL
-
739 # define GLM_CONSTEXPR constexpr
-
740 # if ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC14)) // Visual C++ has a bug #594 https://github.com/g-truc/glm/issues/594
-
741 # define GLM_CONSTEXPR_CTOR
-
742 # else
-
743 # define GLM_CONSTEXPR_CTOR constexpr
-
744 # endif
-
745 #else
-
746 # define GLM_CONSTEXPR
-
747 # define GLM_CONSTEXPR_CTOR
-
748 #endif
-
749 
-
750 #if GLM_HAS_CONSTEXPR
-
751 # define GLM_RELAXED_CONSTEXPR constexpr
-
752 #else
-
753 # define GLM_RELAXED_CONSTEXPR const
-
754 #endif
-
755 
-
756 #if GLM_LANG >= GLM_LANG_CXX14
-
757 # if ((GLM_COMPILER & GLM_COMPILER_VC) && (GLM_COMPILER <= GLM_COMPILER_VC14)) // Visual C++ < 2017 does not support extended const expressions https://msdn.microsoft.com/en-us/library/hh567368.aspx https://github.com/g-truc/glm/issues/749
-
758 # define GLM_CONSTEXPR_CXX14
-
759 # else
-
760 # define GLM_CONSTEXPR_CXX14 GLM_CONSTEXPR
-
761 # endif
-
762 # define GLM_CONSTEXPR_CTOR_CXX14 GLM_CONSTEXPR_CTOR
-
763 #else
-
764 # define GLM_CONSTEXPR_CXX14
-
765 # define GLM_CONSTEXPR_CTOR_CXX14
-
766 #endif
-
767 
-
768 #if GLM_ARCH == GLM_ARCH_PURE
-
769 # define GLM_CONSTEXPR_SIMD GLM_CONSTEXPR_CTOR
-
770 #else
-
771 # define GLM_CONSTEXPR_SIMD
-
772 #endif
-
773 
-
774 #ifdef GLM_FORCE_EXPLICIT_CTOR
-
775 # define GLM_EXPLICIT explicit
-
776 #else
-
777 # define GLM_EXPLICIT
-
778 #endif
-
779 
-
781 
-
782 #define GLM_HAS_ALIGNED_TYPE GLM_HAS_UNRESTRICTED_UNIONS
-
783 
-
785 // Length type: all length functions returns a length_t type.
-
786 // When GLM_FORCE_SIZE_T_LENGTH is defined, length_t is a typedef of size_t otherwise
-
787 // length_t is a typedef of int like GLSL defines it.
-
788 
-
789 // User define: GLM_FORCE_SIZE_T_LENGTH
-
790 
-
791 namespace glm
-
792 {
-
793  using std::size_t;
-
794 # if defined(GLM_FORCE_SIZE_T_LENGTH)
-
795  typedef size_t length_t;
-
796 # else
-
797  typedef int length_t;
-
798 # endif
-
799 }//namespace glm
-
800 
-
801 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_FORCE_SIZE_T_LENGTH)
-
802 # define GLM_MESSAGE_FORCE_SIZE_T_LENGTH
-
803 # if defined GLM_FORCE_SIZE_T_LENGTH
-
804 # pragma message("GLM: .length() returns glm::length_t, a typedef of std::size_t")
-
805 # else
-
806 # pragma message("GLM: .length() returns glm::length_t, a typedef of int following the GLSL specification")
-
807 # endif
-
808 #endif//GLM_MESSAGES
-
809 
-
811 // countof
-
812 
-
813 #if GLM_HAS_CONSTEXPR_PARTIAL
-
814  namespace glm
-
815  {
-
816  template<typename T, std::size_t N>
-
817  constexpr std::size_t countof(T const (&)[N])
-
818  {
-
819  return N;
-
820  }
-
821  }//namespace glm
-
822 # define GLM_COUNTOF(arr) glm::countof(arr)
-
823 #elif defined(_MSC_VER)
-
824 # define GLM_COUNTOF(arr) _countof(arr)
-
825 #else
-
826 # define GLM_COUNTOF(arr) sizeof(arr) / sizeof(arr[0])
-
827 #endif
-
828 
-
830 // Check inclusions of different versions of GLM
-
831 
-
832 #elif ((GLM_SETUP_INCLUDED != GLM_VERSION) && !defined(GLM_FORCE_IGNORE_VERSION))
-
833 # error "GLM error: A different version of GLM is already included. Define GLM_FORCE_IGNORE_VERSION before including GLM headers to ignore this error."
-
834 #elif GLM_SETUP_INCLUDED == GLM_VERSION
-
835 
-
836 #endif//GLM_SETUP_INCLUDED
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00095.html b/doc/api/a00095.html index 977e9750..464c7652 100644 --- a/doc/api/a00095.html +++ b/doc/api/a00095.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: spline.hpp File Reference + + +0.9.9 API documenation: matrix_double2x3_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
spline.hpp File Reference
+
matrix_double2x3_precision.hpp File Reference
-

GLM_GTX_spline -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - + + + + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType catmullRom (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 Return a point from a catmull rom curve. More...
 
template<typename genType >
GLM_FUNC_DECL genType cubic (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 Return a point from a cubic curve. More...
 
template<typename genType >
GLM_FUNC_DECL genType hermite (genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
 Return a point from a hermite curve. More...
 

+Typedefs

typedef mat< 2, 3, double, highp > highp_dmat2x3
 
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
 
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
 

Detailed Description

-

GLM_GTX_spline

-
See also
Core features (dependence)
+

Core features

-

Definition in file spline.hpp.

+

Definition in file matrix_double2x3_precision.hpp.

diff --git a/doc/api/a00095_source.html b/doc/api/a00095_source.html index 998a172f..bc732641 100644 --- a/doc/api/a00095_source.html +++ b/doc/api/a00095_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: spline.hpp Source File + + +0.9.9 API documenation: matrix_double2x3_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
spline.hpp
+
matrix_double2x3_precision.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 #include "../gtx/optimum_pow.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_spline is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_spline extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename genType>
-
35  GLM_FUNC_DECL genType catmullRom(
-
36  genType const& v1,
-
37  genType const& v2,
-
38  genType const& v3,
-
39  genType const& v4,
-
40  typename genType::value_type const& s);
-
41 
-
44  template<typename genType>
-
45  GLM_FUNC_DECL genType hermite(
-
46  genType const& v1,
-
47  genType const& t1,
-
48  genType const& v2,
-
49  genType const& t2,
-
50  typename genType::value_type const& s);
-
51 
-
54  template<typename genType>
-
55  GLM_FUNC_DECL genType cubic(
-
56  genType const& v1,
-
57  genType const& v2,
-
58  genType const& v3,
-
59  genType const& v4,
-
60  typename genType::value_type const& s);
-
61 
-
63 }//namespace glm
-
64 
-
65 #include "spline.inl"
-
GLM_FUNC_DECL genType hermite(genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
Return a point from a hermite curve.
-
GLM_FUNC_DECL genType cubic(genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
Return a point from a cubic curve.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType catmullRom(genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
Return a point from a catmull rom curve.
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<2, 3, double, lowp> lowp_dmat2x3;
17 
22  typedef mat<2, 3, double, mediump> mediump_dmat2x3;
23 
28  typedef mat<2, 3, double, highp> highp_dmat2x3;
29 
31 }//namespace glm
mat< 2, 3, double, highp > highp_dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 3, double, mediump > mediump_dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 3, double, lowp > lowp_dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
Definition: common.hpp:20
diff --git a/doc/api/a00096_source.html b/doc/api/a00096_source.html deleted file mode 100644 index bee0dd72..00000000 --- a/doc/api/a00096_source.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - - -0.9.9 API documenation: std_based_type.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
std_based_type.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include <cstdlib>
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_std_based_type is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_std_based_type extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  typedef vec<1, std::size_t, defaultp> size1;
-
36 
-
39  typedef vec<2, std::size_t, defaultp> size2;
-
40 
-
43  typedef vec<3, std::size_t, defaultp> size3;
-
44 
-
47  typedef vec<4, std::size_t, defaultp> size4;
-
48 
-
51  typedef vec<1, std::size_t, defaultp> size1_t;
-
52 
-
55  typedef vec<2, std::size_t, defaultp> size2_t;
-
56 
-
59  typedef vec<3, std::size_t, defaultp> size3_t;
-
60 
-
63  typedef vec<4, std::size_t, defaultp> size4_t;
-
64 
-
66 }//namespace glm
-
67 
-
68 #include "std_based_type.inl"
-
vec< 2, std::size_t, defaultp > size2_t
Vector type based of two std::size_t components.
-
vec< 1, std::size_t, defaultp > size1_t
Vector type based of one std::size_t component.
-
vec< 1, std::size_t, defaultp > size1
Vector type based of one std::size_t component.
-
Definition: common.hpp:20
-
vec< 4, std::size_t, defaultp > size4_t
Vector type based of four std::size_t components.
-
vec< 3, std::size_t, defaultp > size3_t
Vector type based of three std::size_t components.
-
vec< 4, std::size_t, defaultp > size4
Vector type based of four std::size_t components.
-
vec< 2, std::size_t, defaultp > size2
Vector type based of two std::size_t components.
-
vec< 3, std::size_t, defaultp > size3
Vector type based of three std::size_t components.
-
- - - - diff --git a/doc/api/a00097_source.html b/doc/api/a00097_source.html deleted file mode 100644 index 91366158..00000000 --- a/doc/api/a00097_source.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - - -0.9.9 API documenation: string_cast.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
string_cast.hpp
-
-
-Go to the documentation of this file.
1 
-
17 #pragma once
-
18 
-
19 // Dependency:
-
20 #include "../glm.hpp"
-
21 #include "../gtc/type_precision.hpp"
-
22 #include "../gtc/quaternion.hpp"
-
23 #include "../gtx/dual_quaternion.hpp"
-
24 #include <string>
-
25 #include <cmath>
-
26 
-
27 #ifndef GLM_ENABLE_EXPERIMENTAL
-
28 # error "GLM: GLM_GTX_string_cast is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
29 #endif
-
30 
-
31 #if(GLM_COMPILER & GLM_COMPILER_CUDA)
-
32 # error "GLM_GTX_string_cast is not supported on CUDA compiler"
-
33 #endif
-
34 
-
35 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
36 # pragma message("GLM: GLM_GTX_string_cast extension included")
-
37 #endif
-
38 
-
39 namespace glm
-
40 {
-
43 
-
46  template<typename genType>
-
47  GLM_FUNC_DECL std::string to_string(genType const& x);
-
48 
-
50 }//namespace glm
-
51 
-
52 #include "string_cast.inl"
-
GLM_FUNC_DECL std::string to_string(genType const &x)
Create a string from a GLM vector or matrix typed variable.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00098.html b/doc/api/a00098.html index 26d08347..8b731dbd 100644 --- a/doc/api/a00098.html +++ b/doc/api/a00098.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: texture.hpp File Reference + + +0.9.9 API documenation: matrix_double2x4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
texture.hpp File Reference
+
matrix_double2x4.hpp File Reference
-

GLM_GTX_texture -More...

-

Go to the source code of this file.

- - - - - + + +

-Functions

template<length_t L, typename T , qualifier Q>
levels (vec< L, T, Q > const &Extent)
 Compute the number of mipmaps levels necessary to create a mipmap complete texture. More...
 

+Typedefs

typedef mat< 2, 4, double, defaultp > dmat2x4
 

Detailed Description

-

GLM_GTX_texture

-
See also
Core features (dependence)
+

Core features

-

Definition in file texture.hpp.

+

Definition in file matrix_double2x4.hpp.

diff --git a/doc/api/a00098_source.html b/doc/api/a00098_source.html index dc06a343..cb77d606 100644 --- a/doc/api/a00098_source.html +++ b/doc/api/a00098_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: texture.hpp Source File + + +0.9.9 API documenation: matrix_double2x4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
texture.hpp
+
matrix_double2x4.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 #include "../gtc/integer.hpp"
-
18 #include "../gtx/component_wise.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_texture is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_texture extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
39  template <length_t L, typename T, qualifier Q>
-
40  T levels(vec<L, T, Q> const& Extent);
-
41 
-
43 }// namespace glm
-
44 
-
45 #include "texture.inl"
-
46 
-
T levels(vec< L, T, Q > const &Extent)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
-
Definition: common.hpp:20
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<2, 4, double, defaultp> dmat2x4;
16 
18 }//namespace glm
mat< 2, 4, double, defaultp > dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00099_source.html b/doc/api/a00099_source.html deleted file mode 100644 index 105c17df..00000000 --- a/doc/api/a00099_source.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -0.9.9 API documenation: transform.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
transform.hpp
-
-
-Go to the documentation of this file.
1 
-
16 #pragma once
-
17 
-
18 // Dependency:
-
19 #include "../glm.hpp"
-
20 #include "../gtc/matrix_transform.hpp"
-
21 
-
22 #ifndef GLM_ENABLE_EXPERIMENTAL
-
23 # error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
24 #endif
-
25 
-
26 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
27 # pragma message("GLM: GLM_GTX_transform extension included")
-
28 #endif
-
29 
-
30 namespace glm
-
31 {
-
34 
-
38  template<typename T, qualifier Q>
-
39  GLM_FUNC_DECL mat<4, 4, T, Q> translate(
-
40  vec<3, T, Q> const& v);
-
41 
-
45  template<typename T, qualifier Q>
-
46  GLM_FUNC_DECL mat<4, 4, T, Q> rotate(
-
47  T angle,
-
48  vec<3, T, Q> const& v);
-
49 
-
53  template<typename T, qualifier Q>
-
54  GLM_FUNC_DECL mat<4, 4, T, Q> scale(
-
55  vec<3, T, Q> const& v);
-
56 
-
58 }// namespace glm
-
59 
-
60 #include "transform.inl"
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate(T angle, vec< 3, T, Q > const &v)
Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians...
-
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(vec< 3, T, Q > const &v)
Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > translate(vec< 3, T, Q > const &v)
Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.
-
- - - - diff --git a/doc/api/a00100_source.html b/doc/api/a00100_source.html deleted file mode 100644 index 68ab8b6c..00000000 --- a/doc/api/a00100_source.html +++ /dev/null @@ -1,165 +0,0 @@ - - - - - - -0.9.9 API documenation: transform2.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
transform2.hpp
-
-
-Go to the documentation of this file.
1 
-
14 #pragma once
-
15 
-
16 // Dependency:
-
17 #include "../glm.hpp"
-
18 #include "../gtx/transform.hpp"
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_transform2 is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_transform2 extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<typename T, qualifier Q>
-
36  GLM_FUNC_DECL mat<3, 3, T, Q> shearX2D(mat<3, 3, T, Q> const& m, T y);
-
37 
-
40  template<typename T, qualifier Q>
-
41  GLM_FUNC_DECL mat<3, 3, T, Q> shearY2D(mat<3, 3, T, Q> const& m, T x);
-
42 
-
45  template<typename T, qualifier Q>
-
46  GLM_FUNC_DECL mat<4, 4, T, Q> shearX3D(mat<4, 4, T, Q> const& m, T y, T z);
-
47 
-
50  template<typename T, qualifier Q>
-
51  GLM_FUNC_DECL mat<4, 4, T, Q> shearY3D(mat<4, 4, T, Q> const& m, T x, T z);
-
52 
-
55  template<typename T, qualifier Q>
-
56  GLM_FUNC_DECL mat<4, 4, T, Q> shearZ3D(mat<4, 4, T, Q> const& m, T x, T y);
-
57 
-
58  //template<typename T> GLM_FUNC_QUALIFIER mat<4, 4, T, Q> shear(const mat<4, 4, T, Q> & m, shearPlane, planePoint, angle)
-
59  // Identity + tan(angle) * cross(Normal, OnPlaneVector) 0
-
60  // - dot(PointOnPlane, normal) * OnPlaneVector 1
-
61 
-
62  // Reflect functions seem to don't work
-
63  //template<typename T> mat<3, 3, T, Q> reflect2D(const mat<3, 3, T, Q> & m, const vec<3, T, Q>& normal){return reflect2DGTX(m, normal);} //!< \brief Build a reflection matrix (from GLM_GTX_transform2 extension)
-
64  //template<typename T> mat<4, 4, T, Q> reflect3D(const mat<4, 4, T, Q> & m, const vec<3, T, Q>& normal){return reflect3DGTX(m, normal);} //!< \brief Build a reflection matrix (from GLM_GTX_transform2 extension)
-
65 
-
68  template<typename T, qualifier Q>
-
69  GLM_FUNC_DECL mat<3, 3, T, Q> proj2D(mat<3, 3, T, Q> const& m, vec<3, T, Q> const& normal);
-
70 
-
73  template<typename T, qualifier Q>
-
74  GLM_FUNC_DECL mat<4, 4, T, Q> proj3D(mat<4, 4, T, Q> const & m, vec<3, T, Q> const& normal);
-
75 
-
78  template<typename T, qualifier Q>
-
79  GLM_FUNC_DECL mat<4, 4, T, Q> scaleBias(T scale, T bias);
-
80 
-
83  template<typename T, qualifier Q>
-
84  GLM_FUNC_DECL mat<4, 4, T, Q> scaleBias(mat<4, 4, T, Q> const& m, T scale, T bias);
-
85 
-
87 }// namespace glm
-
88 
-
89 #include "transform2.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, Q > shearZ3D(mat< 4, 4, T, Q > const &m, T x, T y)
Transforms a matrix with a shearing on Z axis.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias(mat< 4, 4, T, Q > const &m, T scale, T bias)
Build a scale bias matrix.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > proj3D(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &normal)
Build planar projection matrix along normal axis.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > shearY3D(mat< 4, 4, T, Q > const &m, T x, T z)
Transforms a matrix with a shearing on Y axis.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > shearX2D(mat< 3, 3, T, Q > const &m, T y)
Transforms a matrix with a shearing on X axis.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > shearX3D(mat< 4, 4, T, Q > const &m, T y, T z)
Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL mat< 3, 3, T, Q > shearY2D(mat< 3, 3, T, Q > const &m, T x)
Transforms a matrix with a shearing on Y axis.
-
GLM_FUNC_DECL mat< 3, 3, T, Q > proj2D(mat< 3, 3, T, Q > const &m, vec< 3, T, Q > const &normal)
Build planar projection matrix along normal axis.
-
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
-
- - - - diff --git a/doc/api/a00101.html b/doc/api/a00101.html index 0df70356..e93df3c5 100644 --- a/doc/api/a00101.html +++ b/doc/api/a00101.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: trigonometric.hpp File Reference + + +0.9.9 API documenation: matrix_double2x4_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
trigonometric.hpp File Reference
+
matrix_double2x4_precision.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acos (vec< L, T, Q > const &x)
 Arc cosine. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acosh (vec< L, T, Q > const &x)
 Arc hyperbolic cosine; returns the non-negative inverse of cosh. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asin (vec< L, T, Q > const &x)
 Arc sine. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asinh (vec< L, T, Q > const &x)
 Arc hyperbolic sine; returns the inverse of sinh. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y, vec< L, T, Q > const &x)
 Arc tangent. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y_over_x)
 Arc tangent. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atanh (vec< L, T, Q > const &x)
 Arc hyperbolic tangent; returns the inverse of tanh. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cos (vec< L, T, Q > const &angle)
 The standard trigonometric cosine function. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cosh (vec< L, T, Q > const &angle)
 Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees (vec< L, T, Q > const &radians)
 Converts radians to degrees and returns the result. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians (vec< L, T, Q > const &degrees)
 Converts degrees to radians and returns the result. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sin (vec< L, T, Q > const &angle)
 The standard trigonometric sine function. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sinh (vec< L, T, Q > const &angle)
 Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tan (vec< L, T, Q > const &angle)
 The standard trigonometric tangent function. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tanh (vec< L, T, Q > const &angle)
 Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) More...
 

+Typedefs

typedef mat< 2, 4, double, highp > highp_dmat2x4
 
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
 
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
 

Detailed Description

-

Core features

-
See also
GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+

Core features

-

Definition in file trigonometric.hpp.

+

Definition in file matrix_double2x4_precision.hpp.

diff --git a/doc/api/a00101_source.html b/doc/api/a00101_source.html index 71d4aec5..cbe1c0ae 100644 --- a/doc/api/a00101_source.html +++ b/doc/api/a00101_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: trigonometric.hpp Source File + + +0.9.9 API documenation: matrix_double2x4_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
trigonometric.hpp
+
matrix_double2x4_precision.hpp
-Go to the documentation of this file.
1 
-
17 #pragma once
-
18 
-
19 #include "detail/setup.hpp"
-
20 #include "detail/qualifier.hpp"
-
21 
-
22 namespace glm
-
23 {
-
26 
-
35  template<length_t L, typename T, qualifier Q>
-
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> radians(vec<L, T, Q> const& degrees);
-
37 
-
46  template<length_t L, typename T, qualifier Q>
-
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> degrees(vec<L, T, Q> const& radians);
-
48 
-
58  template<length_t L, typename T, qualifier Q>
-
59  GLM_FUNC_DECL vec<L, T, Q> sin(vec<L, T, Q> const& angle);
-
60 
-
70  template<length_t L, typename T, qualifier Q>
-
71  GLM_FUNC_DECL vec<L, T, Q> cos(vec<L, T, Q> const& angle);
-
72 
-
81  template<length_t L, typename T, qualifier Q>
-
82  GLM_FUNC_DECL vec<L, T, Q> tan(vec<L, T, Q> const& angle);
-
83 
-
94  template<length_t L, typename T, qualifier Q>
-
95  GLM_FUNC_DECL vec<L, T, Q> asin(vec<L, T, Q> const& x);
-
96 
-
107  template<length_t L, typename T, qualifier Q>
-
108  GLM_FUNC_DECL vec<L, T, Q> acos(vec<L, T, Q> const& x);
-
109 
-
122  template<length_t L, typename T, qualifier Q>
-
123  GLM_FUNC_DECL vec<L, T, Q> atan(vec<L, T, Q> const& y, vec<L, T, Q> const& x);
-
124 
-
134  template<length_t L, typename T, qualifier Q>
-
135  GLM_FUNC_DECL vec<L, T, Q> atan(vec<L, T, Q> const& y_over_x);
-
136 
-
145  template<length_t L, typename T, qualifier Q>
-
146  GLM_FUNC_DECL vec<L, T, Q> sinh(vec<L, T, Q> const& angle);
-
147 
-
156  template<length_t L, typename T, qualifier Q>
-
157  GLM_FUNC_DECL vec<L, T, Q> cosh(vec<L, T, Q> const& angle);
-
158 
-
167  template<length_t L, typename T, qualifier Q>
-
168  GLM_FUNC_DECL vec<L, T, Q> tanh(vec<L, T, Q> const& angle);
-
169 
-
178  template<length_t L, typename T, qualifier Q>
-
179  GLM_FUNC_DECL vec<L, T, Q> asinh(vec<L, T, Q> const& x);
-
180 
-
190  template<length_t L, typename T, qualifier Q>
-
191  GLM_FUNC_DECL vec<L, T, Q> acosh(vec<L, T, Q> const& x);
-
192 
-
202  template<length_t L, typename T, qualifier Q>
-
203  GLM_FUNC_DECL vec<L, T, Q> atanh(vec<L, T, Q> const& x);
-
204 
-
206 }//namespace glm
-
207 
-
208 #include "detail/func_trigonometric.inl"
-
GLM_FUNC_DECL T angle(tquat< T, Q > const &x)
Returns the quaternion rotation angle.
-
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians(vec< L, T, Q > const &degrees)
Converts degrees to radians and returns the result.
-
GLM_FUNC_DECL vec< L, T, Q > cosh(vec< L, T, Q > const &angle)
Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.
-
GLM_FUNC_DECL vec< L, T, Q > tanh(vec< L, T, Q > const &angle)
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
-
GLM_FUNC_DECL vec< L, T, Q > acosh(vec< L, T, Q > const &x)
Arc hyperbolic cosine; returns the non-negative inverse of cosh.
-
GLM_FUNC_DECL vec< L, T, Q > sinh(vec< L, T, Q > const &angle)
Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.
-
GLM_FUNC_DECL vec< L, T, Q > atan(vec< L, T, Q > const &y_over_x)
Arc tangent.
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< L, T, Q > atanh(vec< L, T, Q > const &x)
Arc hyperbolic tangent; returns the inverse of tanh.
-
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees(vec< L, T, Q > const &radians)
Converts radians to degrees and returns the result.
-
GLM_FUNC_DECL vec< L, T, Q > asin(vec< L, T, Q > const &x)
Arc sine.
-
Core features
-
GLM_FUNC_DECL vec< L, T, Q > tan(vec< L, T, Q > const &angle)
The standard trigonometric tangent function.
-
GLM_FUNC_DECL vec< L, T, Q > sin(vec< L, T, Q > const &angle)
The standard trigonometric sine function.
-
GLM_FUNC_DECL vec< L, T, Q > asinh(vec< L, T, Q > const &x)
Arc hyperbolic sine; returns the inverse of sinh.
-
GLM_FUNC_DECL vec< L, T, Q > acos(vec< L, T, Q > const &x)
Arc cosine.
-
GLM_FUNC_DECL vec< L, T, Q > cos(vec< L, T, Q > const &angle)
The standard trigonometric cosine function.
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<2, 4, double, lowp> lowp_dmat2x4;
17 
22  typedef mat<2, 4, double, mediump> mediump_dmat2x4;
23 
28  typedef mat<2, 4, double, highp> highp_dmat2x4;
29 
31 }//namespace glm
mat< 2, 4, double, highp > highp_dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 4, double, mediump > mediump_dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
+
mat< 2, 4, double, lowp > lowp_dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
diff --git a/doc/api/a00102.html b/doc/api/a00102.html deleted file mode 100644 index 16b7d510..00000000 --- a/doc/api/a00102.html +++ /dev/null @@ -1,755 +0,0 @@ - - - - - - -0.9.9 API documenation: type_aligned.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
gtc/type_aligned.hpp File Reference
-
-
- -

GLM_GTC_type_aligned -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef aligned_highp_bvec1 aligned_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef aligned_highp_bvec2 aligned_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef aligned_highp_bvec3 aligned_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef aligned_highp_bvec4 aligned_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef aligned_highp_dvec1 aligned_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers.
 
-typedef aligned_highp_dvec2 aligned_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers.
 
-typedef aligned_highp_dvec3 aligned_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers.
 
-typedef aligned_highp_dvec4 aligned_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers.
 
-typedef vec< 1, bool, aligned_highp > aligned_highp_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef vec< 2, bool, aligned_highp > aligned_highp_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef vec< 3, bool, aligned_highp > aligned_highp_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef vec< 4, bool, aligned_highp > aligned_highp_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef vec< 1, double, aligned_highp > aligned_highp_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, aligned_highp > aligned_highp_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, aligned_highp > aligned_highp_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, aligned_highp > aligned_highp_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, aligned_highp > aligned_highp_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef vec< 2, int, aligned_highp > aligned_highp_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 3, int, aligned_highp > aligned_highp_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 4, int, aligned_highp > aligned_highp_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, uint, aligned_highp > aligned_highp_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, aligned_highp > aligned_highp_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, aligned_highp > aligned_highp_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, aligned_highp > aligned_highp_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 1, float, aligned_highp > aligned_highp_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, aligned_highp > aligned_highp_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, aligned_highp > aligned_highp_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, aligned_highp > aligned_highp_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef aligned_highp_ivec1 aligned_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef aligned_highp_ivec2 aligned_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef aligned_highp_ivec3 aligned_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef aligned_highp_ivec4 aligned_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef vec< 1, double, aligned_lowp > aligned_lowp_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, aligned_lowp > aligned_lowp_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, aligned_lowp > aligned_lowp_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, aligned_lowp > aligned_lowp_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, aligned_lowp > aligned_lowp_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef vec< 2, int, aligned_lowp > aligned_lowp_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 3, int, aligned_lowp > aligned_lowp_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 4, int, aligned_lowp > aligned_lowp_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 1, float, aligned_lowp > aligned_lowp_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, aligned_lowp > aligned_lowp_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, aligned_lowp > aligned_lowp_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, aligned_lowp > aligned_lowp_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef vec< 1, double, aligned_mediump > aligned_mediump_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, aligned_mediump > aligned_mediump_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, aligned_mediump > aligned_mediump_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, aligned_mediump > aligned_mediump_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, aligned_mediump > aligned_mediump_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef vec< 2, int, aligned_mediump > aligned_mediump_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 3, int, aligned_mediump > aligned_mediump_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 4, int, aligned_mediump > aligned_mediump_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 1, float, aligned_mediump > aligned_mediump_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, aligned_mediump > aligned_mediump_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, aligned_mediump > aligned_mediump_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, aligned_mediump > aligned_mediump_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef aligned_highp_uvec1 aligned_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_uvec2 aligned_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_uvec3 aligned_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_uvec4 aligned_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_vec1 aligned_vec1
 1 component vector aligned in memory of single-precision floating-point numbers.
 
-typedef aligned_highp_vec2 aligned_vec2
 2 components vector aligned in memory of single-precision floating-point numbers.
 
-typedef aligned_highp_vec3 aligned_vec3
 3 components vector aligned in memory of single-precision floating-point numbers.
 
-typedef aligned_highp_vec4 aligned_vec4
 4 components vector aligned in memory of single-precision floating-point numbers.
 
-typedef packed_highp_bvec1 packed_bvec1
 1 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_bvec2 packed_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_bvec3 packed_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_bvec4 packed_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_dvec1 packed_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef packed_highp_dvec2 packed_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef packed_highp_dvec3 packed_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef packed_highp_dvec4 packed_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef vec< 1, bool, packed_highp > packed_highp_bvec1
 1 component vector tightly packed in memory of bool values.
 
-typedef vec< 2, bool, packed_highp > packed_highp_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef vec< 3, bool, packed_highp > packed_highp_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef vec< 4, bool, packed_highp > packed_highp_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef vec< 1, double, packed_highp > packed_highp_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, packed_highp > packed_highp_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, packed_highp > packed_highp_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, packed_highp > packed_highp_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, packed_highp > packed_highp_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 2, int, packed_highp > packed_highp_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 3, int, packed_highp > packed_highp_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 4, int, packed_highp > packed_highp_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, uint, packed_highp > packed_highp_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, packed_highp > packed_highp_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, packed_highp > packed_highp_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, packed_highp > packed_highp_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 1, float, packed_highp > packed_highp_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, packed_highp > packed_highp_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, packed_highp > packed_highp_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, packed_highp > packed_highp_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef packed_highp_ivec1 packed_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef packed_highp_ivec2 packed_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef packed_highp_ivec3 packed_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef packed_highp_ivec4 packed_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, bool, packed_lowp > packed_lowp_bvec1
 1 component vector tightly packed in memory of bool values.
 
-typedef vec< 2, bool, packed_lowp > packed_lowp_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef vec< 3, bool, packed_lowp > packed_lowp_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef vec< 4, bool, packed_lowp > packed_lowp_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef vec< 1, double, packed_lowp > packed_lowp_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, packed_lowp > packed_lowp_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, packed_lowp > packed_lowp_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, packed_lowp > packed_lowp_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, packed_lowp > packed_lowp_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 2, int, packed_lowp > packed_lowp_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 3, int, packed_lowp > packed_lowp_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 4, int, packed_lowp > packed_lowp_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, uint, packed_lowp > packed_lowp_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, packed_lowp > packed_lowp_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, packed_lowp > packed_lowp_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, packed_lowp > packed_lowp_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 1, float, packed_lowp > packed_lowp_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, packed_lowp > packed_lowp_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, packed_lowp > packed_lowp_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, packed_lowp > packed_lowp_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, bool, packed_mediump > packed_mediump_bvec1
 1 component vector tightly packed in memory of bool values.
 
-typedef vec< 2, bool, packed_mediump > packed_mediump_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef vec< 3, bool, packed_mediump > packed_mediump_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef vec< 4, bool, packed_mediump > packed_mediump_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef vec< 1, double, packed_mediump > packed_mediump_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, packed_mediump > packed_mediump_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, packed_mediump > packed_mediump_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, packed_mediump > packed_mediump_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, packed_mediump > packed_mediump_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 2, int, packed_mediump > packed_mediump_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 3, int, packed_mediump > packed_mediump_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 4, int, packed_mediump > packed_mediump_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, uint, packed_mediump > packed_mediump_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, packed_mediump > packed_mediump_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, packed_mediump > packed_mediump_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, packed_mediump > packed_mediump_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 1, float, packed_mediump > packed_mediump_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, packed_mediump > packed_mediump_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, packed_mediump > packed_mediump_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, packed_mediump > packed_mediump_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef packed_highp_uvec1 packed_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_uvec2 packed_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_uvec3 packed_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_uvec4 packed_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_vec1 packed_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers.
 
-typedef packed_highp_vec2 packed_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers.
 
-typedef packed_highp_vec3 packed_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers.
 
-typedef packed_highp_vec4 packed_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers.
 
-

Detailed Description

-

GLM_GTC_type_aligned

-
See also
Core features (dependence)
- -

Definition in file gtc/type_aligned.hpp.

-
- - - - diff --git a/doc/api/a00102_source.html b/doc/api/a00102_source.html deleted file mode 100644 index c21cc58c..00000000 --- a/doc/api/a00102_source.html +++ /dev/null @@ -1,688 +0,0 @@ - - - - - - -0.9.9 API documenation: type_aligned.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gtc/type_aligned.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #if !GLM_HAS_ALIGNED_TYPE
-
16 # error "GLM: Aligned types are not supported on this platform"
-
17 #endif
-
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
19 # pragma message("GLM: GLM_GTC_type_aligned extension included")
-
20 #endif
-
21 
-
22 #include "../vec2.hpp"
-
23 #include "../vec3.hpp"
-
24 #include "../vec4.hpp"
-
25 #include "../gtc/vec1.hpp"
-
26 
-
27 namespace glm
-
28 {
-
31 
-
32  // -- *vec1 --
-
33 
-
35  typedef vec<1, float, aligned_highp> aligned_highp_vec1;
-
36 
-
38  typedef vec<1, float, aligned_mediump> aligned_mediump_vec1;
-
39 
-
41  typedef vec<1, float, aligned_lowp> aligned_lowp_vec1;
-
42 
-
44  typedef vec<1, double, aligned_highp> aligned_highp_dvec1;
-
45 
-
47  typedef vec<1, double, aligned_mediump> aligned_mediump_dvec1;
-
48 
-
50  typedef vec<1, double, aligned_lowp> aligned_lowp_dvec1;
-
51 
-
53  typedef vec<1, int, aligned_highp> aligned_highp_ivec1;
-
54 
-
56  typedef vec<1, int, aligned_mediump> aligned_mediump_ivec1;
-
57 
-
59  typedef vec<1, int, aligned_lowp> aligned_lowp_ivec1;
-
60 
-
62  typedef vec<1, uint, aligned_highp> aligned_highp_uvec1;
-
63 
-
65  typedef vec<1, uint, aligned_mediump> aligned_mediump_uvec1;
-
66 
-
68  typedef vec<1, uint, aligned_lowp> aligned_lowp_uvec1;
-
69 
-
71  typedef vec<1, bool, aligned_highp> aligned_highp_bvec1;
-
72 
-
74  typedef vec<1, bool, aligned_mediump> aligned_mediump_bvec1;
-
75 
-
77  typedef vec<1, bool, aligned_lowp> aligned_lowp_bvec1;
-
78 
-
80  typedef vec<1, float, packed_highp> packed_highp_vec1;
-
81 
-
83  typedef vec<1, float, packed_mediump> packed_mediump_vec1;
-
84 
-
86  typedef vec<1, float, packed_lowp> packed_lowp_vec1;
-
87 
-
89  typedef vec<1, double, packed_highp> packed_highp_dvec1;
-
90 
-
92  typedef vec<1, double, packed_mediump> packed_mediump_dvec1;
-
93 
-
95  typedef vec<1, double, packed_lowp> packed_lowp_dvec1;
-
96 
-
98  typedef vec<1, int, packed_highp> packed_highp_ivec1;
-
99 
-
101  typedef vec<1, int, packed_mediump> packed_mediump_ivec1;
-
102 
-
104  typedef vec<1, int, packed_lowp> packed_lowp_ivec1;
-
105 
-
107  typedef vec<1, uint, packed_highp> packed_highp_uvec1;
-
108 
-
110  typedef vec<1, uint, packed_mediump> packed_mediump_uvec1;
-
111 
-
113  typedef vec<1, uint, packed_lowp> packed_lowp_uvec1;
-
114 
-
116  typedef vec<1, bool, packed_highp> packed_highp_bvec1;
-
117 
-
119  typedef vec<1, bool, packed_mediump> packed_mediump_bvec1;
-
120 
-
122  typedef vec<1, bool, packed_lowp> packed_lowp_bvec1;
-
123 
-
124  // -- *vec2 --
-
125 
-
127  typedef vec<2, float, aligned_highp> aligned_highp_vec2;
-
128 
-
130  typedef vec<2, float, aligned_mediump> aligned_mediump_vec2;
-
131 
-
133  typedef vec<2, float, aligned_lowp> aligned_lowp_vec2;
-
134 
-
136  typedef vec<2, double, aligned_highp> aligned_highp_dvec2;
-
137 
-
139  typedef vec<2, double, aligned_mediump> aligned_mediump_dvec2;
-
140 
-
142  typedef vec<2, double, aligned_lowp> aligned_lowp_dvec2;
-
143 
-
145  typedef vec<2, int, aligned_highp> aligned_highp_ivec2;
-
146 
-
148  typedef vec<2, int, aligned_mediump> aligned_mediump_ivec2;
-
149 
-
151  typedef vec<2, int, aligned_lowp> aligned_lowp_ivec2;
-
152 
-
154  typedef vec<2, uint, aligned_highp> aligned_highp_uvec2;
-
155 
-
157  typedef vec<2, uint, aligned_mediump> aligned_mediump_uvec2;
-
158 
-
160  typedef vec<2, uint, aligned_lowp> aligned_lowp_uvec2;
-
161 
-
163  typedef vec<2, bool, aligned_highp> aligned_highp_bvec2;
-
164 
-
166  typedef vec<2, bool, aligned_mediump> aligned_mediump_bvec2;
-
167 
-
169  typedef vec<2, bool, aligned_lowp> aligned_lowp_bvec2;
-
170 
-
172  typedef vec<2, float, packed_highp> packed_highp_vec2;
-
173 
-
175  typedef vec<2, float, packed_mediump> packed_mediump_vec2;
-
176 
-
178  typedef vec<2, float, packed_lowp> packed_lowp_vec2;
-
179 
-
181  typedef vec<2, double, packed_highp> packed_highp_dvec2;
-
182 
-
184  typedef vec<2, double, packed_mediump> packed_mediump_dvec2;
-
185 
-
187  typedef vec<2, double, packed_lowp> packed_lowp_dvec2;
-
188 
-
190  typedef vec<2, int, packed_highp> packed_highp_ivec2;
-
191 
-
193  typedef vec<2, int, packed_mediump> packed_mediump_ivec2;
-
194 
-
196  typedef vec<2, int, packed_lowp> packed_lowp_ivec2;
-
197 
-
199  typedef vec<2, uint, packed_highp> packed_highp_uvec2;
-
200 
-
202  typedef vec<2, uint, packed_mediump> packed_mediump_uvec2;
-
203 
-
205  typedef vec<2, uint, packed_lowp> packed_lowp_uvec2;
-
206 
-
208  typedef vec<2, bool, packed_highp> packed_highp_bvec2;
-
209 
-
211  typedef vec<2, bool, packed_mediump> packed_mediump_bvec2;
-
212 
-
214  typedef vec<2, bool, packed_lowp> packed_lowp_bvec2;
-
215 
-
216  // -- *vec3 --
-
217 
-
219  typedef vec<3, float, aligned_highp> aligned_highp_vec3;
-
220 
-
222  typedef vec<3, float, aligned_mediump> aligned_mediump_vec3;
-
223 
-
225  typedef vec<3, float, aligned_lowp> aligned_lowp_vec3;
-
226 
-
228  typedef vec<3, double, aligned_highp> aligned_highp_dvec3;
-
229 
-
231  typedef vec<3, double, aligned_mediump> aligned_mediump_dvec3;
-
232 
-
234  typedef vec<3, double, aligned_lowp> aligned_lowp_dvec3;
-
235 
-
237  typedef vec<3, int, aligned_highp> aligned_highp_ivec3;
-
238 
-
240  typedef vec<3, int, aligned_mediump> aligned_mediump_ivec3;
-
241 
-
243  typedef vec<3, int, aligned_lowp> aligned_lowp_ivec3;
-
244 
-
246  typedef vec<3, uint, aligned_highp> aligned_highp_uvec3;
-
247 
-
249  typedef vec<3, uint, aligned_mediump> aligned_mediump_uvec3;
-
250 
-
252  typedef vec<3, uint, aligned_lowp> aligned_lowp_uvec3;
-
253 
-
255  typedef vec<3, bool, aligned_highp> aligned_highp_bvec3;
-
256 
-
258  typedef vec<3, bool, aligned_mediump> aligned_mediump_bvec3;
-
259 
-
261  typedef vec<3, bool, aligned_lowp> aligned_lowp_bvec3;
-
262 
-
264  typedef vec<3, float, packed_highp> packed_highp_vec3;
-
265 
-
267  typedef vec<3, float, packed_mediump> packed_mediump_vec3;
-
268 
-
270  typedef vec<3, float, packed_lowp> packed_lowp_vec3;
-
271 
-
273  typedef vec<3, double, packed_highp> packed_highp_dvec3;
-
274 
-
276  typedef vec<3, double, packed_mediump> packed_mediump_dvec3;
-
277 
-
279  typedef vec<3, double, packed_lowp> packed_lowp_dvec3;
-
280 
-
282  typedef vec<3, int, packed_highp> packed_highp_ivec3;
-
283 
-
285  typedef vec<3, int, packed_mediump> packed_mediump_ivec3;
-
286 
-
288  typedef vec<3, int, packed_lowp> packed_lowp_ivec3;
-
289 
-
291  typedef vec<3, uint, packed_highp> packed_highp_uvec3;
-
292 
-
294  typedef vec<3, uint, packed_mediump> packed_mediump_uvec3;
-
295 
-
297  typedef vec<3, uint, packed_lowp> packed_lowp_uvec3;
-
298 
-
300  typedef vec<3, bool, packed_highp> packed_highp_bvec3;
-
301 
-
303  typedef vec<3, bool, packed_mediump> packed_mediump_bvec3;
-
304 
-
306  typedef vec<3, bool, packed_lowp> packed_lowp_bvec3;
-
307 
-
308  // -- *vec4 --
-
309 
-
311  typedef vec<4, float, aligned_highp> aligned_highp_vec4;
-
312 
-
314  typedef vec<4, float, aligned_mediump> aligned_mediump_vec4;
-
315 
-
317  typedef vec<4, float, aligned_lowp> aligned_lowp_vec4;
-
318 
-
320  typedef vec<4, double, aligned_highp> aligned_highp_dvec4;
-
321 
-
323  typedef vec<4, double, aligned_mediump> aligned_mediump_dvec4;
-
324 
-
326  typedef vec<4, double, aligned_lowp> aligned_lowp_dvec4;
-
327 
-
329  typedef vec<4, int, aligned_highp> aligned_highp_ivec4;
-
330 
-
332  typedef vec<4, int, aligned_mediump> aligned_mediump_ivec4;
-
333 
-
335  typedef vec<4, int, aligned_lowp> aligned_lowp_ivec4;
-
336 
-
338  typedef vec<4, uint, aligned_highp> aligned_highp_uvec4;
-
339 
-
341  typedef vec<4, uint, aligned_mediump> aligned_mediump_uvec4;
-
342 
-
344  typedef vec<4, uint, aligned_lowp> aligned_lowp_uvec4;
-
345 
-
347  typedef vec<4, bool, aligned_highp> aligned_highp_bvec4;
-
348 
-
350  typedef vec<4, bool, aligned_mediump> aligned_mediump_bvec4;
-
351 
-
353  typedef vec<4, bool, aligned_lowp> aligned_lowp_bvec4;
-
354 
-
356  typedef vec<4, float, packed_highp> packed_highp_vec4;
-
357 
-
359  typedef vec<4, float, packed_mediump> packed_mediump_vec4;
-
360 
-
362  typedef vec<4, float, packed_lowp> packed_lowp_vec4;
-
363 
-
365  typedef vec<4, double, packed_highp> packed_highp_dvec4;
-
366 
-
368  typedef vec<4, double, packed_mediump> packed_mediump_dvec4;
-
369 
-
371  typedef vec<4, double, packed_lowp> packed_lowp_dvec4;
-
372 
-
374  typedef vec<4, int, packed_highp> packed_highp_ivec4;
-
375 
-
377  typedef vec<4, int, packed_mediump> packed_mediump_ivec4;
-
378 
-
380  typedef vec<4, int, packed_lowp> packed_lowp_ivec4;
-
381 
-
383  typedef vec<4, uint, packed_highp> packed_highp_uvec4;
-
384 
-
386  typedef vec<4, uint, packed_mediump> packed_mediump_uvec4;
-
387 
-
389  typedef vec<4, uint, packed_lowp> packed_lowp_uvec4;
-
390 
-
392  typedef vec<4, bool, packed_highp> packed_highp_bvec4;
-
393 
-
395  typedef vec<4, bool, packed_mediump> packed_mediump_bvec4;
-
396 
-
398  typedef vec<4, bool, packed_lowp> packed_lowp_bvec4;
-
399 
-
400  // -- default --
-
401 
-
402 #if(defined(GLM_PRECISION_LOWP_FLOAT))
-
403  typedef aligned_lowp_vec1 aligned_vec1;
-
404  typedef aligned_lowp_vec2 aligned_vec2;
-
405  typedef aligned_lowp_vec3 aligned_vec3;
-
406  typedef aligned_lowp_vec4 aligned_vec4;
-
407  typedef packed_lowp_vec1 packed_vec1;
-
408  typedef packed_lowp_vec2 packed_vec2;
-
409  typedef packed_lowp_vec3 packed_vec3;
-
410  typedef packed_lowp_vec4 packed_vec4;
-
411 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
-
412  typedef aligned_mediump_vec1 aligned_vec1;
-
413  typedef aligned_mediump_vec2 aligned_vec2;
-
414  typedef aligned_mediump_vec3 aligned_vec3;
-
415  typedef aligned_mediump_vec4 aligned_vec4;
-
416  typedef packed_mediump_vec1 packed_vec1;
-
417  typedef packed_mediump_vec2 packed_vec2;
-
418  typedef packed_mediump_vec3 packed_vec3;
-
419  typedef packed_mediump_vec4 packed_vec4;
-
420 #else //defined(GLM_PRECISION_HIGHP_FLOAT)
-
421  typedef aligned_highp_vec1 aligned_vec1;
-
423 
-
425  typedef aligned_highp_vec2 aligned_vec2;
-
426 
-
428  typedef aligned_highp_vec3 aligned_vec3;
-
429 
-
431  typedef aligned_highp_vec4 aligned_vec4;
-
432 
-
434  typedef packed_highp_vec1 packed_vec1;
-
435 
-
437  typedef packed_highp_vec2 packed_vec2;
-
438 
-
440  typedef packed_highp_vec3 packed_vec3;
-
441 
-
443  typedef packed_highp_vec4 packed_vec4;
-
444 #endif//GLM_PRECISION
-
445 
-
446 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
-
447  typedef aligned_lowp_dvec1 aligned_dvec1;
-
448  typedef aligned_lowp_dvec2 aligned_dvec2;
-
449  typedef aligned_lowp_dvec3 aligned_dvec3;
-
450  typedef aligned_lowp_dvec4 aligned_dvec4;
-
451  typedef packed_lowp_dvec1 packed_dvec1;
-
452  typedef packed_lowp_dvec2 packed_dvec2;
-
453  typedef packed_lowp_dvec3 packed_dvec3;
-
454  typedef packed_lowp_dvec4 packed_dvec4;
-
455 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
-
456  typedef aligned_mediump_dvec1 aligned_dvec1;
-
457  typedef aligned_mediump_dvec2 aligned_dvec2;
-
458  typedef aligned_mediump_dvec3 aligned_dvec3;
-
459  typedef aligned_mediump_dvec4 aligned_dvec4;
-
460  typedef packed_mediump_dvec1 packed_dvec1;
-
461  typedef packed_mediump_dvec2 packed_dvec2;
-
462  typedef packed_mediump_dvec3 packed_dvec3;
-
463  typedef packed_mediump_dvec4 packed_dvec4;
-
464 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
-
465  typedef aligned_highp_dvec1 aligned_dvec1;
-
467 
-
469  typedef aligned_highp_dvec2 aligned_dvec2;
-
470 
-
472  typedef aligned_highp_dvec3 aligned_dvec3;
-
473 
-
475  typedef aligned_highp_dvec4 aligned_dvec4;
-
476 
-
478  typedef packed_highp_dvec1 packed_dvec1;
-
479 
-
481  typedef packed_highp_dvec2 packed_dvec2;
-
482 
-
484  typedef packed_highp_dvec3 packed_dvec3;
-
485 
-
487  typedef packed_highp_dvec4 packed_dvec4;
-
488 #endif//GLM_PRECISION
-
489 
-
490 #if(defined(GLM_PRECISION_LOWP_INT))
-
491  typedef aligned_lowp_ivec1 aligned_ivec1;
-
492  typedef aligned_lowp_ivec2 aligned_ivec2;
-
493  typedef aligned_lowp_ivec3 aligned_ivec3;
-
494  typedef aligned_lowp_ivec4 aligned_ivec4;
-
495 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
496  typedef aligned_mediump_ivec1 aligned_ivec1;
-
497  typedef aligned_mediump_ivec2 aligned_ivec2;
-
498  typedef aligned_mediump_ivec3 aligned_ivec3;
-
499  typedef aligned_mediump_ivec4 aligned_ivec4;
-
500 #else //defined(GLM_PRECISION_HIGHP_INT)
-
501  typedef aligned_highp_ivec1 aligned_ivec1;
-
503 
-
505  typedef aligned_highp_ivec2 aligned_ivec2;
-
506 
-
508  typedef aligned_highp_ivec3 aligned_ivec3;
-
509 
-
511  typedef aligned_highp_ivec4 aligned_ivec4;
-
512 
-
514  typedef packed_highp_ivec1 packed_ivec1;
-
515 
-
517  typedef packed_highp_ivec2 packed_ivec2;
-
518 
-
520  typedef packed_highp_ivec3 packed_ivec3;
-
521 
-
523  typedef packed_highp_ivec4 packed_ivec4;
-
524 
-
525 #endif//GLM_PRECISION
-
526 
-
527  // -- Unsigned integer definition --
-
528 
-
529 #if(defined(GLM_PRECISION_LOWP_UINT))
-
530  typedef aligned_lowp_uvec1 aligned_uvec1;
-
531  typedef aligned_lowp_uvec2 aligned_uvec2;
-
532  typedef aligned_lowp_uvec3 aligned_uvec3;
-
533  typedef aligned_lowp_uvec4 aligned_uvec4;
-
534 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
-
535  typedef aligned_mediump_uvec1 aligned_uvec1;
-
536  typedef aligned_mediump_uvec2 aligned_uvec2;
-
537  typedef aligned_mediump_uvec3 aligned_uvec3;
-
538  typedef aligned_mediump_uvec4 aligned_uvec4;
-
539 #else //defined(GLM_PRECISION_HIGHP_UINT)
-
540  typedef aligned_highp_uvec1 aligned_uvec1;
-
542 
-
544  typedef aligned_highp_uvec2 aligned_uvec2;
-
545 
-
547  typedef aligned_highp_uvec3 aligned_uvec3;
-
548 
-
550  typedef aligned_highp_uvec4 aligned_uvec4;
-
551 
-
553  typedef packed_highp_uvec1 packed_uvec1;
-
554 
-
556  typedef packed_highp_uvec2 packed_uvec2;
-
557 
-
559  typedef packed_highp_uvec3 packed_uvec3;
-
560 
-
562  typedef packed_highp_uvec4 packed_uvec4;
-
563 #endif//GLM_PRECISION
-
564 
-
565 #if(defined(GLM_PRECISION_LOWP_BOOL))
-
566  typedef aligned_lowp_bvec1 aligned_bvec1;
-
567  typedef aligned_lowp_bvec2 aligned_bvec2;
-
568  typedef aligned_lowp_bvec3 aligned_bvec3;
-
569  typedef aligned_lowp_bvec4 aligned_bvec4;
-
570 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
-
571  typedef aligned_mediump_bvec1 aligned_bvec1;
-
572  typedef aligned_mediump_bvec2 aligned_bvec2;
-
573  typedef aligned_mediump_bvec3 aligned_bvec3;
-
574  typedef aligned_mediump_bvec4 aligned_bvec4;
-
575 #else //defined(GLM_PRECISION_HIGHP_BOOL)
-
576  typedef aligned_highp_bvec1 aligned_bvec1;
-
578 
-
580  typedef aligned_highp_bvec2 aligned_bvec2;
-
581 
-
583  typedef aligned_highp_bvec3 aligned_bvec3;
-
584 
-
586  typedef aligned_highp_bvec4 aligned_bvec4;
-
587 
-
589  typedef packed_highp_bvec1 packed_bvec1;
-
590 
-
592  typedef packed_highp_bvec2 packed_bvec2;
-
593 
-
595  typedef packed_highp_bvec3 packed_bvec3;
-
596 
-
598  typedef packed_highp_bvec4 packed_bvec4;
-
599 #endif//GLM_PRECISION
-
600 
-
602 }//namespace glm
-
packed_highp_dvec1 packed_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers.
-
vec< 4, int, aligned_lowp > aligned_lowp_ivec4
4 components vector aligned in memory of signed integer numbers.
-
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
-
vec< 1, float, aligned_highp > aligned_highp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using high precision ...
-
vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
3 components vector aligned in memory of bool values.
-
vec< 4, bool, packed_highp > packed_highp_bvec4
4 components vector tightly packed in memory of bool values.
-
vec< 4, float, packed_mediump > packed_mediump_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
-
vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
-
packed_highp_ivec4 packed_ivec4
4 components vector tightly packed in memory of signed integer numbers.
-
vec< 2, int, packed_lowp > packed_lowp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
-
vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
4 components vector aligned in memory of bool values.
-
vec< 3, float, packed_highp > packed_highp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
-
vec< 4, int, aligned_mediump > aligned_mediump_ivec4
4 components vector aligned in memory of signed integer numbers.
-
vec< 3, int, aligned_lowp > aligned_lowp_ivec3
3 components vector aligned in memory of signed integer numbers.
-
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
-
vec< 1, int, packed_highp > packed_highp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
-
vec< 2, float, aligned_highp > aligned_highp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using high precision...
-
vec< 3, bool, packed_mediump > packed_mediump_bvec3
3 components vector tightly packed in memory of bool values.
-
vec< 4, float, packed_lowp > packed_lowp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
-
vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
2 components vector aligned in memory of bool values.
-
vec< 2, float, packed_lowp > packed_lowp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
-
packed_highp_ivec2 packed_ivec2
2 components vector tightly packed in memory of signed integer numbers.
-
vec< 1, bool, packed_highp > packed_highp_bvec1
1 component vector tightly packed in memory of bool values.
-
vec< 3, double, packed_mediump > packed_mediump_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
-
vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
3 components vector aligned in memory of bool values.
-
vec< 2, bool, packed_mediump > packed_mediump_bvec2
2 components vector tightly packed in memory of bool values.
-
packed_highp_vec1 packed_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers.
-
vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
2 components vector aligned in memory of unsigned integer numbers.
-
vec< 1, int, aligned_highp > aligned_highp_ivec1
1 component vector aligned in memory of signed integer numbers.
-
vec< 3, float, aligned_mediump > aligned_mediump_vec3
3 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
-
packed_highp_dvec4 packed_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers.
-
vec< 3, uint, packed_mediump > packed_mediump_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 2, double, aligned_lowp > aligned_lowp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using low precision ...
-
vec< 1, int, packed_lowp > packed_lowp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
-
packed_highp_vec2 packed_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers.
-
aligned_highp_bvec1 aligned_bvec1
1 component vector aligned in memory of bool values.
-
vec< 4, bool, aligned_highp > aligned_highp_bvec4
4 components vector aligned in memory of bool values.
-
vec< 4, bool, packed_mediump > packed_mediump_bvec4
4 components vector tightly packed in memory of bool values.
-
vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
-
aligned_highp_bvec3 aligned_bvec3
3 components vector aligned in memory of bool values.
-
vec< 1, double, aligned_lowp > aligned_lowp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using low precision a...
-
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
-
packed_highp_vec4 packed_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers.
-
vec< 2, uint, packed_lowp > packed_lowp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 2, int, aligned_highp > aligned_highp_ivec2
2 components vector aligned in memory of signed integer numbers.
-
vec< 3, double, aligned_highp > aligned_highp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using high precision...
-
vec< 2, double, aligned_highp > aligned_highp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using high precision...
-
vec< 2, uint, packed_highp > packed_highp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 4, double, packed_lowp > packed_lowp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
-
vec< 4, uint, aligned_highp > aligned_highp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
-
vec< 3, double, aligned_mediump > aligned_mediump_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
-
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
-
vec< 2, double, packed_lowp > packed_lowp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
-
vec< 2, int, aligned_lowp > aligned_lowp_ivec2
2 components vector aligned in memory of signed integer numbers.
-
vec< 1, double, packed_mediump > packed_mediump_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using medium p...
-
vec< 3, float, aligned_lowp > aligned_lowp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using low precision ...
-
vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
1 component vector aligned in memory of bool values.
-
vec< 4, float, packed_highp > packed_highp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
-
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
-
packed_highp_bvec2 packed_bvec2
2 components vector tightly packed in memory of bool values.
-
vec< 3, double, packed_highp > packed_highp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
-
vec< 3, float, packed_mediump > packed_mediump_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
-
vec< 3, float, aligned_highp > aligned_highp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using high precision...
-
vec< 3, uint, aligned_highp > aligned_highp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
-
vec< 3, bool, packed_highp > packed_highp_bvec3
3 components vector tightly packed in memory of bool values.
-
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
-
vec< 2, bool, packed_lowp > packed_lowp_bvec2
2 components vector tightly packed in memory of bool values.
-
vec< 1, uint, aligned_highp > aligned_highp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
-
vec< 1, int, aligned_mediump > aligned_mediump_ivec1
1 component vector aligned in memory of signed integer numbers.
-
vec< 1, double, aligned_highp > aligned_highp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using high precision ...
-
vec< 2, uint, aligned_highp > aligned_highp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
-
vec< 4, double, aligned_mediump > aligned_mediump_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
-
vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
-
vec< 1, bool, aligned_highp > aligned_highp_bvec1
1 component vector aligned in memory of bool values.
-
vec< 1, double, packed_highp > packed_highp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using high pre...
-
Definition: common.hpp:20
-
vec< 2, float, packed_mediump > packed_mediump_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
-
vec< 2, bool, aligned_highp > aligned_highp_bvec2
2 components vector aligned in memory of bool values.
-
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
-
packed_highp_bvec4 packed_bvec4
4 components vector tightly packed in memory of bool values.
-
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
-
vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
3 components vector aligned in memory of unsigned integer numbers.
-
packed_highp_dvec3 packed_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers.
-
vec< 1, double, aligned_mediump > aligned_mediump_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using medium precisio...
-
vec< 3, double, packed_lowp > packed_lowp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
-
vec< 1, uint, packed_mediump > packed_mediump_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
-
aligned_highp_bvec2 aligned_bvec2
2 components vector aligned in memory of bool values.
-
vec< 4, double, packed_highp > packed_highp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
-
vec< 1, float, packed_lowp > packed_lowp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using low prec...
-
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
-
vec< 3, int, packed_mediump > packed_mediump_ivec3
3 components vector tightly packed in memory of signed integer numbers.
-
vec< 4, int, packed_mediump > packed_mediump_ivec4
4 components vector tightly packed in memory of signed integer numbers.
-
vec< 2, int, packed_highp > packed_highp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
-
vec< 1, int, packed_mediump > packed_mediump_ivec1
1 component vector tightly packed in memory of signed integer numbers.
-
vec< 4, float, aligned_lowp > aligned_lowp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using low precision ...
-
vec< 3, int, packed_lowp > packed_lowp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
-
vec< 3, uint, packed_lowp > packed_lowp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
-
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
-
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
-
packed_highp_dvec2 packed_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers.
-
vec< 4, int, aligned_highp > aligned_highp_ivec4
4 components vector aligned in memory of signed integer numbers.
-
packed_highp_bvec1 packed_bvec1
1 components vector tightly packed in memory of bool values.
-
vec< 1, int, aligned_lowp > aligned_lowp_ivec1
1 component vector aligned in memory of signed integer numbers.
-
vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
4 components vector aligned in memory of bool values.
-
vec< 2, bool, packed_highp > packed_highp_bvec2
2 components vector tightly packed in memory of bool values.
-
vec< 2, int, aligned_mediump > aligned_mediump_ivec2
2 components vector aligned in memory of signed integer numbers.
-
vec< 4, double, aligned_lowp > aligned_lowp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using low precision ...
-
vec< 1, float, aligned_lowp > aligned_lowp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using low precision a...
-
vec< 2, double, aligned_mediump > aligned_mediump_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
-
vec< 2, uint, packed_mediump > packed_mediump_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 2, float, aligned_lowp > aligned_lowp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using low precision ...
-
vec< 1, bool, packed_lowp > packed_lowp_bvec1
1 component vector tightly packed in memory of bool values.
-
vec< 1, uint, packed_highp > packed_highp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
-
vec< 2, float, packed_highp > packed_highp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
-
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
-
vec< 4, int, packed_highp > packed_highp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
-
packed_highp_uvec1 packed_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
-
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
-
vec< 4, bool, packed_lowp > packed_lowp_bvec4
4 components vector tightly packed in memory of bool values.
-
vec< 4, int, packed_lowp > packed_lowp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
-
vec< 4, uint, packed_mediump > packed_mediump_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 4, uint, packed_highp > packed_highp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 4, double, aligned_highp > aligned_highp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using high precision...
-
packed_highp_vec3 packed_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers.
-
vec< 2, int, packed_mediump > packed_mediump_ivec2
2 components vector tightly packed in memory of signed integer numbers.
-
packed_highp_ivec1 packed_ivec1
1 component vector tightly packed in memory of signed integer numbers.
-
vec< 2, double, packed_mediump > packed_mediump_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
-
vec< 4, float, aligned_highp > aligned_highp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using high precision...
-
vec< 1, float, aligned_mediump > aligned_mediump_vec1
1 component vector aligned in memory of single-precision floating-point numbers using medium precisio...
-
packed_highp_uvec2 packed_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 3, int, aligned_mediump > aligned_mediump_ivec3
3 components vector aligned in memory of signed integer numbers.
-
vec< 4, float, aligned_mediump > aligned_mediump_vec4
4 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
-
vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
-
packed_highp_ivec3 packed_ivec3
3 components vector tightly packed in memory of signed integer numbers.
-
vec< 1, double, packed_lowp > packed_lowp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using low prec...
-
vec< 3, double, aligned_lowp > aligned_lowp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using low precision ...
-
vec< 3, int, aligned_highp > aligned_highp_ivec3
3 components vector aligned in memory of signed integer numbers.
-
vec< 3, bool, packed_lowp > packed_lowp_bvec3
3 components vector tightly packed in memory of bool values.
-
vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
4 components vector aligned in memory of unsigned integer numbers.
-
vec< 1, float, packed_mediump > packed_mediump_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using medium p...
-
vec< 4, uint, packed_lowp > packed_lowp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
-
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
-
vec< 4, double, packed_mediump > packed_mediump_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
-
vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
1 component vector aligned in memory of bool values.
-
vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
2 components vector aligned in memory of bool values.
-
vec< 1, uint, packed_lowp > packed_lowp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
-
vec< 3, int, packed_highp > packed_highp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
-
packed_highp_uvec3 packed_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 1, float, packed_highp > packed_highp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using high pre...
-
vec< 3, float, packed_lowp > packed_lowp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
-
vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
1 component vector aligned in memory of unsigned integer numbers.
-
vec< 1, bool, packed_mediump > packed_mediump_bvec1
1 component vector tightly packed in memory of bool values.
-
aligned_highp_bvec4 aligned_bvec4
4 components vector aligned in memory of bool values.
-
vec< 3, uint, packed_highp > packed_highp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 2, float, aligned_mediump > aligned_mediump_vec2
2 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
-
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
-
packed_highp_uvec4 packed_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
-
vec< 3, bool, aligned_highp > aligned_highp_bvec3
3 components vector aligned in memory of bool values.
-
packed_highp_bvec3 packed_bvec3
3 components vector tightly packed in memory of bool values.
-
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
-
vec< 2, double, packed_highp > packed_highp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
-
- - - - diff --git a/doc/api/a00103_source.html b/doc/api/a00103_source.html deleted file mode 100644 index 6c874693..00000000 --- a/doc/api/a00103_source.html +++ /dev/null @@ -1,829 +0,0 @@ - - - - - - -0.9.9 API documenation: type_aligned.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
gtx/type_aligned.hpp
-
-
-Go to the documentation of this file.
1 
-
16 #pragma once
-
17 
-
18 // Dependency:
-
19 #include "../gtc/type_precision.hpp"
-
20 
-
21 #ifndef GLM_ENABLE_EXPERIMENTAL
-
22 # error "GLM: GLM_GTX_type_aligned is an experimental 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_type_aligned extension included")
-
27 #endif
-
28 
-
29 namespace glm
-
30 {
-
32  // Signed int vector types
-
33 
-
36 
-
39  GLM_ALIGNED_TYPEDEF(lowp_int8, aligned_lowp_int8, 1);
-
40 
-
43  GLM_ALIGNED_TYPEDEF(lowp_int16, aligned_lowp_int16, 2);
-
44 
-
47  GLM_ALIGNED_TYPEDEF(lowp_int32, aligned_lowp_int32, 4);
-
48 
-
51  GLM_ALIGNED_TYPEDEF(lowp_int64, aligned_lowp_int64, 8);
-
52 
-
53 
-
56  GLM_ALIGNED_TYPEDEF(lowp_int8_t, aligned_lowp_int8_t, 1);
-
57 
-
60  GLM_ALIGNED_TYPEDEF(lowp_int16_t, aligned_lowp_int16_t, 2);
-
61 
-
64  GLM_ALIGNED_TYPEDEF(lowp_int32_t, aligned_lowp_int32_t, 4);
-
65 
-
68  GLM_ALIGNED_TYPEDEF(lowp_int64_t, aligned_lowp_int64_t, 8);
-
69 
-
70 
-
73  GLM_ALIGNED_TYPEDEF(lowp_i8, aligned_lowp_i8, 1);
-
74 
-
77  GLM_ALIGNED_TYPEDEF(lowp_i16, aligned_lowp_i16, 2);
-
78 
-
81  GLM_ALIGNED_TYPEDEF(lowp_i32, aligned_lowp_i32, 4);
-
82 
-
85  GLM_ALIGNED_TYPEDEF(lowp_i64, aligned_lowp_i64, 8);
-
86 
-
87 
-
90  GLM_ALIGNED_TYPEDEF(mediump_int8, aligned_mediump_int8, 1);
-
91 
-
94  GLM_ALIGNED_TYPEDEF(mediump_int16, aligned_mediump_int16, 2);
-
95 
-
98  GLM_ALIGNED_TYPEDEF(mediump_int32, aligned_mediump_int32, 4);
-
99 
-
102  GLM_ALIGNED_TYPEDEF(mediump_int64, aligned_mediump_int64, 8);
-
103 
-
104 
-
107  GLM_ALIGNED_TYPEDEF(mediump_int8_t, aligned_mediump_int8_t, 1);
-
108 
-
111  GLM_ALIGNED_TYPEDEF(mediump_int16_t, aligned_mediump_int16_t, 2);
-
112 
-
115  GLM_ALIGNED_TYPEDEF(mediump_int32_t, aligned_mediump_int32_t, 4);
-
116 
-
119  GLM_ALIGNED_TYPEDEF(mediump_int64_t, aligned_mediump_int64_t, 8);
-
120 
-
121 
-
124  GLM_ALIGNED_TYPEDEF(mediump_i8, aligned_mediump_i8, 1);
-
125 
-
128  GLM_ALIGNED_TYPEDEF(mediump_i16, aligned_mediump_i16, 2);
-
129 
-
132  GLM_ALIGNED_TYPEDEF(mediump_i32, aligned_mediump_i32, 4);
-
133 
-
136  GLM_ALIGNED_TYPEDEF(mediump_i64, aligned_mediump_i64, 8);
-
137 
-
138 
-
141  GLM_ALIGNED_TYPEDEF(highp_int8, aligned_highp_int8, 1);
-
142 
-
145  GLM_ALIGNED_TYPEDEF(highp_int16, aligned_highp_int16, 2);
-
146 
-
149  GLM_ALIGNED_TYPEDEF(highp_int32, aligned_highp_int32, 4);
-
150 
-
153  GLM_ALIGNED_TYPEDEF(highp_int64, aligned_highp_int64, 8);
-
154 
-
155 
-
158  GLM_ALIGNED_TYPEDEF(highp_int8_t, aligned_highp_int8_t, 1);
-
159 
-
162  GLM_ALIGNED_TYPEDEF(highp_int16_t, aligned_highp_int16_t, 2);
-
163 
-
166  GLM_ALIGNED_TYPEDEF(highp_int32_t, aligned_highp_int32_t, 4);
-
167 
-
170  GLM_ALIGNED_TYPEDEF(highp_int64_t, aligned_highp_int64_t, 8);
-
171 
-
172 
-
175  GLM_ALIGNED_TYPEDEF(highp_i8, aligned_highp_i8, 1);
-
176 
-
179  GLM_ALIGNED_TYPEDEF(highp_i16, aligned_highp_i16, 2);
-
180 
-
183  GLM_ALIGNED_TYPEDEF(highp_i32, aligned_highp_i32, 4);
-
184 
-
187  GLM_ALIGNED_TYPEDEF(highp_i64, aligned_highp_i64, 8);
-
188 
-
189 
-
192  GLM_ALIGNED_TYPEDEF(int8, aligned_int8, 1);
-
193 
-
196  GLM_ALIGNED_TYPEDEF(int16, aligned_int16, 2);
-
197 
-
200  GLM_ALIGNED_TYPEDEF(int32, aligned_int32, 4);
-
201 
-
204  GLM_ALIGNED_TYPEDEF(int64, aligned_int64, 8);
-
205 
-
206 
-
209  GLM_ALIGNED_TYPEDEF(int8_t, aligned_int8_t, 1);
-
210 
-
213  GLM_ALIGNED_TYPEDEF(int16_t, aligned_int16_t, 2);
-
214 
-
217  GLM_ALIGNED_TYPEDEF(int32_t, aligned_int32_t, 4);
-
218 
-
221  GLM_ALIGNED_TYPEDEF(int64_t, aligned_int64_t, 8);
-
222 
-
223 
-
226  GLM_ALIGNED_TYPEDEF(i8, aligned_i8, 1);
-
227 
-
230  GLM_ALIGNED_TYPEDEF(i16, aligned_i16, 2);
-
231 
-
234  GLM_ALIGNED_TYPEDEF(i32, aligned_i32, 4);
-
235 
-
238  GLM_ALIGNED_TYPEDEF(i64, aligned_i64, 8);
-
239 
-
240 
- -
244 
- -
248 
- -
252 
- -
256 
-
257 
-
260  GLM_ALIGNED_TYPEDEF(i8vec1, aligned_i8vec1, 1);
-
261 
-
264  GLM_ALIGNED_TYPEDEF(i8vec2, aligned_i8vec2, 2);
-
265 
-
268  GLM_ALIGNED_TYPEDEF(i8vec3, aligned_i8vec3, 4);
-
269 
-
272  GLM_ALIGNED_TYPEDEF(i8vec4, aligned_i8vec4, 4);
-
273 
-
274 
-
277  GLM_ALIGNED_TYPEDEF(i16vec1, aligned_i16vec1, 2);
-
278 
-
281  GLM_ALIGNED_TYPEDEF(i16vec2, aligned_i16vec2, 4);
-
282 
-
285  GLM_ALIGNED_TYPEDEF(i16vec3, aligned_i16vec3, 8);
-
286 
-
289  GLM_ALIGNED_TYPEDEF(i16vec4, aligned_i16vec4, 8);
-
290 
-
291 
-
294  GLM_ALIGNED_TYPEDEF(i32vec1, aligned_i32vec1, 4);
-
295 
-
298  GLM_ALIGNED_TYPEDEF(i32vec2, aligned_i32vec2, 8);
-
299 
-
302  GLM_ALIGNED_TYPEDEF(i32vec3, aligned_i32vec3, 16);
-
303 
-
306  GLM_ALIGNED_TYPEDEF(i32vec4, aligned_i32vec4, 16);
-
307 
-
308 
-
311  GLM_ALIGNED_TYPEDEF(i64vec1, aligned_i64vec1, 8);
-
312 
-
315  GLM_ALIGNED_TYPEDEF(i64vec2, aligned_i64vec2, 16);
-
316 
-
319  GLM_ALIGNED_TYPEDEF(i64vec3, aligned_i64vec3, 32);
-
320 
-
323  GLM_ALIGNED_TYPEDEF(i64vec4, aligned_i64vec4, 32);
-
324 
-
325 
-
327  // Unsigned int vector types
-
328 
-
331  GLM_ALIGNED_TYPEDEF(lowp_uint8, aligned_lowp_uint8, 1);
-
332 
-
335  GLM_ALIGNED_TYPEDEF(lowp_uint16, aligned_lowp_uint16, 2);
-
336 
-
339  GLM_ALIGNED_TYPEDEF(lowp_uint32, aligned_lowp_uint32, 4);
-
340 
-
343  GLM_ALIGNED_TYPEDEF(lowp_uint64, aligned_lowp_uint64, 8);
-
344 
-
345 
-
348  GLM_ALIGNED_TYPEDEF(lowp_uint8_t, aligned_lowp_uint8_t, 1);
-
349 
-
352  GLM_ALIGNED_TYPEDEF(lowp_uint16_t, aligned_lowp_uint16_t, 2);
-
353 
-
356  GLM_ALIGNED_TYPEDEF(lowp_uint32_t, aligned_lowp_uint32_t, 4);
-
357 
-
360  GLM_ALIGNED_TYPEDEF(lowp_uint64_t, aligned_lowp_uint64_t, 8);
-
361 
-
362 
-
365  GLM_ALIGNED_TYPEDEF(lowp_u8, aligned_lowp_u8, 1);
-
366 
-
369  GLM_ALIGNED_TYPEDEF(lowp_u16, aligned_lowp_u16, 2);
-
370 
-
373  GLM_ALIGNED_TYPEDEF(lowp_u32, aligned_lowp_u32, 4);
-
374 
-
377  GLM_ALIGNED_TYPEDEF(lowp_u64, aligned_lowp_u64, 8);
-
378 
-
379 
-
382  GLM_ALIGNED_TYPEDEF(mediump_uint8, aligned_mediump_uint8, 1);
-
383 
-
386  GLM_ALIGNED_TYPEDEF(mediump_uint16, aligned_mediump_uint16, 2);
-
387 
-
390  GLM_ALIGNED_TYPEDEF(mediump_uint32, aligned_mediump_uint32, 4);
-
391 
-
394  GLM_ALIGNED_TYPEDEF(mediump_uint64, aligned_mediump_uint64, 8);
-
395 
-
396 
-
399  GLM_ALIGNED_TYPEDEF(mediump_uint8_t, aligned_mediump_uint8_t, 1);
-
400 
-
403  GLM_ALIGNED_TYPEDEF(mediump_uint16_t, aligned_mediump_uint16_t, 2);
-
404 
-
407  GLM_ALIGNED_TYPEDEF(mediump_uint32_t, aligned_mediump_uint32_t, 4);
-
408 
-
411  GLM_ALIGNED_TYPEDEF(mediump_uint64_t, aligned_mediump_uint64_t, 8);
-
412 
-
413 
-
416  GLM_ALIGNED_TYPEDEF(mediump_u8, aligned_mediump_u8, 1);
-
417 
-
420  GLM_ALIGNED_TYPEDEF(mediump_u16, aligned_mediump_u16, 2);
-
421 
-
424  GLM_ALIGNED_TYPEDEF(mediump_u32, aligned_mediump_u32, 4);
-
425 
-
428  GLM_ALIGNED_TYPEDEF(mediump_u64, aligned_mediump_u64, 8);
-
429 
-
430 
-
433  GLM_ALIGNED_TYPEDEF(highp_uint8, aligned_highp_uint8, 1);
-
434 
-
437  GLM_ALIGNED_TYPEDEF(highp_uint16, aligned_highp_uint16, 2);
-
438 
-
441  GLM_ALIGNED_TYPEDEF(highp_uint32, aligned_highp_uint32, 4);
-
442 
-
445  GLM_ALIGNED_TYPEDEF(highp_uint64, aligned_highp_uint64, 8);
-
446 
-
447 
-
450  GLM_ALIGNED_TYPEDEF(highp_uint8_t, aligned_highp_uint8_t, 1);
-
451 
-
454  GLM_ALIGNED_TYPEDEF(highp_uint16_t, aligned_highp_uint16_t, 2);
-
455 
-
458  GLM_ALIGNED_TYPEDEF(highp_uint32_t, aligned_highp_uint32_t, 4);
-
459 
-
462  GLM_ALIGNED_TYPEDEF(highp_uint64_t, aligned_highp_uint64_t, 8);
-
463 
-
464 
-
467  GLM_ALIGNED_TYPEDEF(highp_u8, aligned_highp_u8, 1);
-
468 
-
471  GLM_ALIGNED_TYPEDEF(highp_u16, aligned_highp_u16, 2);
-
472 
-
475  GLM_ALIGNED_TYPEDEF(highp_u32, aligned_highp_u32, 4);
-
476 
-
479  GLM_ALIGNED_TYPEDEF(highp_u64, aligned_highp_u64, 8);
-
480 
-
481 
-
484  GLM_ALIGNED_TYPEDEF(uint8, aligned_uint8, 1);
-
485 
-
488  GLM_ALIGNED_TYPEDEF(uint16, aligned_uint16, 2);
-
489 
-
492  GLM_ALIGNED_TYPEDEF(uint32, aligned_uint32, 4);
-
493 
-
496  GLM_ALIGNED_TYPEDEF(uint64, aligned_uint64, 8);
-
497 
-
498 
-
501  GLM_ALIGNED_TYPEDEF(uint8_t, aligned_uint8_t, 1);
-
502 
-
505  GLM_ALIGNED_TYPEDEF(uint16_t, aligned_uint16_t, 2);
-
506 
-
509  GLM_ALIGNED_TYPEDEF(uint32_t, aligned_uint32_t, 4);
-
510 
-
513  GLM_ALIGNED_TYPEDEF(uint64_t, aligned_uint64_t, 8);
-
514 
-
515 
-
518  GLM_ALIGNED_TYPEDEF(u8, aligned_u8, 1);
-
519 
-
522  GLM_ALIGNED_TYPEDEF(u16, aligned_u16, 2);
-
523 
-
526  GLM_ALIGNED_TYPEDEF(u32, aligned_u32, 4);
-
527 
-
530  GLM_ALIGNED_TYPEDEF(u64, aligned_u64, 8);
-
531 
-
532 
- -
536 
- -
540 
- -
544 
- -
548 
-
549 
-
552  GLM_ALIGNED_TYPEDEF(u8vec1, aligned_u8vec1, 1);
-
553 
-
556  GLM_ALIGNED_TYPEDEF(u8vec2, aligned_u8vec2, 2);
-
557 
-
560  GLM_ALIGNED_TYPEDEF(u8vec3, aligned_u8vec3, 4);
-
561 
-
564  GLM_ALIGNED_TYPEDEF(u8vec4, aligned_u8vec4, 4);
-
565 
-
566 
-
569  GLM_ALIGNED_TYPEDEF(u16vec1, aligned_u16vec1, 2);
-
570 
-
573  GLM_ALIGNED_TYPEDEF(u16vec2, aligned_u16vec2, 4);
-
574 
-
577  GLM_ALIGNED_TYPEDEF(u16vec3, aligned_u16vec3, 8);
-
578 
-
581  GLM_ALIGNED_TYPEDEF(u16vec4, aligned_u16vec4, 8);
-
582 
-
583 
-
586  GLM_ALIGNED_TYPEDEF(u32vec1, aligned_u32vec1, 4);
-
587 
-
590  GLM_ALIGNED_TYPEDEF(u32vec2, aligned_u32vec2, 8);
-
591 
-
594  GLM_ALIGNED_TYPEDEF(u32vec3, aligned_u32vec3, 16);
-
595 
-
598  GLM_ALIGNED_TYPEDEF(u32vec4, aligned_u32vec4, 16);
-
599 
-
600 
-
603  GLM_ALIGNED_TYPEDEF(u64vec1, aligned_u64vec1, 8);
-
604 
-
607  GLM_ALIGNED_TYPEDEF(u64vec2, aligned_u64vec2, 16);
-
608 
-
611  GLM_ALIGNED_TYPEDEF(u64vec3, aligned_u64vec3, 32);
-
612 
-
615  GLM_ALIGNED_TYPEDEF(u64vec4, aligned_u64vec4, 32);
-
616 
-
617 
-
619  // Float vector types
-
620 
-
623  GLM_ALIGNED_TYPEDEF(float32, aligned_float32, 4);
-
624 
-
627  GLM_ALIGNED_TYPEDEF(float32_t, aligned_float32_t, 4);
-
628 
-
631  GLM_ALIGNED_TYPEDEF(float32, aligned_f32, 4);
-
632 
-
633 # ifndef GLM_FORCE_SINGLE_ONLY
-
634 
-
637  GLM_ALIGNED_TYPEDEF(float64, aligned_float64, 8);
-
638 
-
641  GLM_ALIGNED_TYPEDEF(float64_t, aligned_float64_t, 8);
-
642 
-
645  GLM_ALIGNED_TYPEDEF(float64, aligned_f64, 8);
-
646 
-
647 # endif//GLM_FORCE_SINGLE_ONLY
-
648 
-
649 
- -
653 
- -
657 
- -
661 
- -
665 
-
666 
-
669  GLM_ALIGNED_TYPEDEF(fvec1, aligned_fvec1, 4);
-
670 
-
673  GLM_ALIGNED_TYPEDEF(fvec2, aligned_fvec2, 8);
-
674 
-
677  GLM_ALIGNED_TYPEDEF(fvec3, aligned_fvec3, 16);
-
678 
-
681  GLM_ALIGNED_TYPEDEF(fvec4, aligned_fvec4, 16);
-
682 
-
683 
-
686  GLM_ALIGNED_TYPEDEF(f32vec1, aligned_f32vec1, 4);
-
687 
-
690  GLM_ALIGNED_TYPEDEF(f32vec2, aligned_f32vec2, 8);
-
691 
-
694  GLM_ALIGNED_TYPEDEF(f32vec3, aligned_f32vec3, 16);
-
695 
-
698  GLM_ALIGNED_TYPEDEF(f32vec4, aligned_f32vec4, 16);
-
699 
-
700 
- -
704 
- -
708 
- -
712 
- -
716 
-
717 
-
718 # ifndef GLM_FORCE_SINGLE_ONLY
-
719 
-
722  GLM_ALIGNED_TYPEDEF(f64vec1, aligned_f64vec1, 8);
-
723 
-
726  GLM_ALIGNED_TYPEDEF(f64vec2, aligned_f64vec2, 16);
-
727 
-
730  GLM_ALIGNED_TYPEDEF(f64vec3, aligned_f64vec3, 32);
-
731 
-
734  GLM_ALIGNED_TYPEDEF(f64vec4, aligned_f64vec4, 32);
-
735 
-
736 # endif//GLM_FORCE_SINGLE_ONLY
-
737 
-
739  // Float matrix types
-
740 
-
743  //typedef detail::tmat1<f32> mat1;
-
744 
-
747  GLM_ALIGNED_TYPEDEF(mat2, aligned_mat2, 16);
-
748 
-
751  GLM_ALIGNED_TYPEDEF(mat3, aligned_mat3, 16);
-
752 
-
755  GLM_ALIGNED_TYPEDEF(mat4, aligned_mat4, 16);
-
756 
-
757 
-
760  //typedef detail::tmat1x1<f32> mat1;
-
761 
-
764  GLM_ALIGNED_TYPEDEF(mat2x2, aligned_mat2x2, 16);
-
765 
-
768  GLM_ALIGNED_TYPEDEF(mat3x3, aligned_mat3x3, 16);
-
769 
-
772  GLM_ALIGNED_TYPEDEF(mat4x4, aligned_mat4x4, 16);
-
773 
-
774 
-
777  //typedef detail::tmat1x1<f32> fmat1;
-
778 
-
781  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2, 16);
-
782 
-
785  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3, 16);
-
786 
-
789  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4, 16);
-
790 
-
791 
-
794  //typedef f32 fmat1x1;
-
795 
-
798  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2x2, 16);
-
799 
-
802  GLM_ALIGNED_TYPEDEF(fmat2x3, aligned_fmat2x3, 16);
-
803 
-
806  GLM_ALIGNED_TYPEDEF(fmat2x4, aligned_fmat2x4, 16);
-
807 
-
810  GLM_ALIGNED_TYPEDEF(fmat3x2, aligned_fmat3x2, 16);
-
811 
-
814  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3x3, 16);
-
815 
-
818  GLM_ALIGNED_TYPEDEF(fmat3x4, aligned_fmat3x4, 16);
-
819 
-
822  GLM_ALIGNED_TYPEDEF(fmat4x2, aligned_fmat4x2, 16);
-
823 
-
826  GLM_ALIGNED_TYPEDEF(fmat4x3, aligned_fmat4x3, 16);
-
827 
-
830  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4x4, 16);
-
831 
-
832 
-
835  //typedef detail::tmat1x1<f32, defaultp> f32mat1;
-
836 
-
839  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2, 16);
-
840 
-
843  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3, 16);
-
844 
-
847  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4, 16);
-
848 
-
849 
-
852  //typedef f32 f32mat1x1;
-
853 
-
856  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2x2, 16);
-
857 
-
860  GLM_ALIGNED_TYPEDEF(f32mat2x3, aligned_f32mat2x3, 16);
-
861 
-
864  GLM_ALIGNED_TYPEDEF(f32mat2x4, aligned_f32mat2x4, 16);
-
865 
-
868  GLM_ALIGNED_TYPEDEF(f32mat3x2, aligned_f32mat3x2, 16);
-
869 
-
872  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3x3, 16);
-
873 
-
876  GLM_ALIGNED_TYPEDEF(f32mat3x4, aligned_f32mat3x4, 16);
-
877 
-
880  GLM_ALIGNED_TYPEDEF(f32mat4x2, aligned_f32mat4x2, 16);
-
881 
-
884  GLM_ALIGNED_TYPEDEF(f32mat4x3, aligned_f32mat4x3, 16);
-
885 
-
888  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4x4, 16);
-
889 
-
890 
-
891 # ifndef GLM_FORCE_SINGLE_ONLY
-
892 
-
895  //typedef detail::tmat1x1<f64, defaultp> f64mat1;
-
896 
-
899  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2, 32);
-
900 
-
903  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3, 32);
-
904 
-
907  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4, 32);
-
908 
-
909 
-
912  //typedef f64 f64mat1x1;
-
913 
-
916  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2x2, 32);
-
917 
-
920  GLM_ALIGNED_TYPEDEF(f64mat2x3, aligned_f64mat2x3, 32);
-
921 
-
924  GLM_ALIGNED_TYPEDEF(f64mat2x4, aligned_f64mat2x4, 32);
-
925 
-
928  GLM_ALIGNED_TYPEDEF(f64mat3x2, aligned_f64mat3x2, 32);
-
929 
-
932  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3x3, 32);
-
933 
-
936  GLM_ALIGNED_TYPEDEF(f64mat3x4, aligned_f64mat3x4, 32);
-
937 
-
940  GLM_ALIGNED_TYPEDEF(f64mat4x2, aligned_f64mat4x2, 32);
-
941 
-
944  GLM_ALIGNED_TYPEDEF(f64mat4x3, aligned_f64mat4x3, 32);
-
945 
-
948  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4x4, 32);
-
949 
-
950 # endif//GLM_FORCE_SINGLE_ONLY
-
951 
-
952 
-
954  // Quaternion types
-
955 
-
958  GLM_ALIGNED_TYPEDEF(quat, aligned_quat, 16);
-
959 
-
962  GLM_ALIGNED_TYPEDEF(fquat, aligned_fquat, 16);
-
963 
-
966  GLM_ALIGNED_TYPEDEF(dquat, aligned_dquat, 32);
-
967 
-
970  GLM_ALIGNED_TYPEDEF(f32quat, aligned_f32quat, 16);
-
971 
-
972 # ifndef GLM_FORCE_SINGLE_ONLY
-
973 
-
976  GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32);
-
977 
-
978 # endif//GLM_FORCE_SINGLE_ONLY
-
979 
-
981 }//namespace glm
-
982 
-
983 #include "type_aligned.inl"
-
detail::uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:751
-
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
-
highp_u64vec2 u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1297
-
GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32)
Double-qualifier floating-point aligned quaternion.
-
highp_u32vec4 u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1146
-
detail::int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:138
-
highp_i64vec2 i64vec2
Default qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:688
-
highp_f32mat3x3 fmat3x3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2361
-
detail::int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:178
-
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
-
detail::uint8 highp_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:823
-
detail::int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:130
-
detail::uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:781
-
highp_ivec3 ivec3
3 components vector of signed integer numbers.
Definition: type_vec.hpp:499
-
detail::int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:186
-
detail::int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:110
-
detail::uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:726
-
detail::int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:242
-
highp_f32mat4x2 fmat4x2
Default single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2369
-
highp_u16vec4 u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1067
-
detail::uint32 uint32_t
32 bit unsigned integer type.
Definition: fwd.hpp:887
-
detail::int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:278
-
highp_i16vec1 i16vec1
Default qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:446
-
highp_u32vec2 u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1138
-
detail::uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:761
-
detail::uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:793
-
highp_vec2 vec2
2 components vector of floating-point numbers.
Definition: type_vec.hpp:440
-
highp_f32mat2x4 f32mat2x4
Default single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2423
-
highp_mat4x4 mat4x4
4 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:398
-
detail::uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:765
-
detail::int8 i8
8 bit signed integer type.
Definition: fwd.hpp:287
-
detail::int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:114
-
detail::int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:122
-
highp_i8vec2 i8vec2
Default qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:370
-
detail::uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:773
-
highp_f64mat3x2 f64mat3x2
Default double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2533
-
highp_u16vec1 u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:1055
-
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
-
highp_f64mat4x2 f64mat4x2
Default double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2545
-
detail::uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:717
-
detail::int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:210
-
highp_f32vec1 f32vec1
Default single-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2399
-
highp_uvec2 uvec2
2 components vector of unsigned integer numbers.
Definition: type_vec.hpp:521
-
mat3x3 mat3
3 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:410
-
highp_f32vec4 fvec4
Default single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2341
-
detail::uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:797
-
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
-
detail::int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:134
-
highp_f32mat3x4 fmat3x4
Default single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2365
-
highp_uvec1 uvec1
1 component vector of unsigned integer numbers.
Definition: ext/vec1.hpp:453
-
highp_u64vec1 u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:1293
-
highp_i16vec4 i16vec4
Default qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:458
-
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
-
detail::int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:222
-
highp_f32mat2x4 fmat2x4
Default single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2353
-
detail::int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:162
-
detail::uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:801
-
highp_dvec4 dvec4
4 components vector of double-qualifier floating-point numbers.
Definition: type_vec.hpp:477
-
highp_f64quat f64quat
Default double-qualifier floating-point quaternion.
Definition: fwd.hpp:2569
-
detail::uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:739
-
highp_f32mat2x2 f32mat2x2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2415
-
highp_ivec2 ivec2
2 components vector of signed integer numbers.
Definition: type_vec.hpp:494
-
detail::uint32 highp_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:815
-
highp_i16vec2 i16vec2
Default qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:450
-
highp_i64vec4 i64vec4
Default qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:696
-
highp_f32vec1 fvec1
Default single-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2329
-
highp_i8vec4 i8vec4
Default qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:378
-
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
-
detail::int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:166
-
detail::uint16 highp_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:811
-
highp_u32vec1 u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:1134
-
detail::int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:230
-
highp_i32vec4 i32vec4
Default qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:537
-
highp_f64mat4x3 f64mat4x3
Default double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2549
-
detail::uint64 uint64_t
64 bit unsigned integer type.
Definition: fwd.hpp:891
-
highp_f64mat2x3 f64mat2x3
Default double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2525
-
highp_mat3x3 mat3x3
3 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:378
-
highp_u16vec3 u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1063
-
Definition: common.hpp:20
-
detail::uint64 highp_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:851
-
highp_dvec1 dvec1
1 component vector of floating-point numbers.
Definition: ext/vec1.hpp:429
-
detail::int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:274
-
detail::int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:282
-
detail::int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:154
-
highp_float64_t float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1503
-
highp_f32mat2x3 fmat2x3
Default single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2349
-
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
-
detail::int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:102
-
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
-
detail::int64 i64
64 bit signed integer type.
Definition: fwd.hpp:299
-
highp_f32mat2x2 fmat2x2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2345
-
detail::uint16 uint16_t
16 bit unsigned integer type.
Definition: fwd.hpp:883
-
detail::uint8 highp_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:807
-
detail::int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:214
-
detail::uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:757
-
highp_ivec4 ivec4
4 components vector of signed integer numbers.
Definition: type_vec.hpp:504
-
highp_vec4 vec4
4 components vector of floating-point numbers.
Definition: type_vec.hpp:450
-
detail::int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:118
-
highp_i64vec3 i64vec3
Default qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:692
-
highp_uvec4 uvec4
4 components vector of unsigned integer numbers.
Definition: type_vec.hpp:531
-
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
-
detail::uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:705
-
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:904
-
highp_u64vec4 u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1305
-
highp_f64vec1 f64vec1
Default double-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2505
-
detail::int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:150
-
detail::int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:182
-
highp_i16vec3 i16vec3
Default qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:454
-
mat2x2 mat2
2 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:405
-
detail::uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:777
-
detail::uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:785
-
highp_u16vec2 u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1059
-
detail::uint64 highp_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:835
-
highp_vec3 vec3
3 components vector of floating-point numbers.
Definition: type_vec.hpp:445
-
highp_ivec1 ivec1
1 component vector of signed integer numbers.
Definition: ext/vec1.hpp:441
-
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
-
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
-
detail::uint8 highp_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:839
-
detail::int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:226
-
detail::uint32 highp_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:831
-
detail::int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:190
-
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:908
-
highp_f64mat3x3 f64mat3x3
Default double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2537
-
detail::int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:194
-
highp_i8vec3 i8vec3
Default qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:374
-
detail::int32 i32
32 bit signed integer type.
Definition: fwd.hpp:295
-
mat4x4 mat4
4 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:415
-
detail::uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:730
-
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
-
detail::int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:202
-
detail::int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:142
-
detail::int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:234
-
detail::uint8 uint8_t
8 bit unsigned integer type.
Definition: fwd.hpp:879
-
detail::int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:106
-
highp_f32quat f32quat
Default single-qualifier floating-point quaternion.
Definition: fwd.hpp:2463
-
highp_f32mat4x3 fmat4x3
Default single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2373
-
highp_f32mat3x2 f32mat3x2
Default single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2427
-
detail::int16 i16
16 bit signed integer type.
Definition: fwd.hpp:291
-
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
-
detail::int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:238
-
detail::int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:218
-
highp_float32_t float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1499
-
highp_dvec2 dvec2
2 components vector of double-qualifier floating-point numbers.
Definition: type_vec.hpp:467
-
detail::uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:789
-
detail::uint32 highp_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:847
-
detail::uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:734
-
highp_u8vec4 u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:987
-
highp_u8vec1 u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:975
-
highp_f32mat4x4 fmat4x4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2377
-
detail::uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:722
-
highp_vec1 vec1
1 component vector of floating-point numbers.
Definition: ext/vec1.hpp:417
-
highp_u8vec3 u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:983
-
highp_f32mat2x3 f32mat2x3
Default single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2419
-
highp_f32vec3 f32vec3
Default single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2407
-
highp_i32vec2 i32vec2
Default qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:529
-
detail::int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:270
-
highp_f32mat4x3 f32mat4x3
Default single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2443
-
detail::uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:713
-
highp_i64vec1 i64vec1
Default qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:684
-
detail::int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:170
-
highp_uvec3 uvec3
3 components vector of unsigned integer numbers.
Definition: type_vec.hpp:526
-
detail::uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:769
-
detail::uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:709
-
highp_f32mat3x4 f32mat3x4
Default single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2435
-
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:900
-
highp_f32vec2 fvec2
Default single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2333
-
highp_f32mat3x2 fmat3x2
Default single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2357
-
highp_f64vec4 f64vec4
Default double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2517
-
highp_f32vec4 f32vec4
Default single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2411
-
highp_f32mat4x2 f32mat4x2
Default single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2439
-
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
-
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:896
-
detail::int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:158
-
detail::uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:743
-
highp_u64vec3 u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1301
-
detail::int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:126
-
highp_f64mat2x2 f64mat2x2
Default double-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2521
-
highp_f64vec2 f64vec2
Default double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2509
-
highp_u8vec2 u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:979
-
detail::uint64 highp_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:819
-
detail::int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:146
-
detail::uint16 highp_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:843
-
highp_i32vec3 i32vec3
Default qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:533
-
highp_f64mat3x4 f64mat3x4
Default double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2541
-
highp_mat2x2 mat2x2
2 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:358
-
detail::int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:206
-
highp_i8vec1 i8vec1
Default qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:366
-
highp_f32vec3 fvec3
Default single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2337
-
highp_f32mat4x4 f32mat4x4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2447
-
highp_i32vec1 i32vec1
Default qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:525
-
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
-
detail::int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:174
-
detail::uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:747
-
detail::int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:198
-
highp_f64mat4x4 f64mat4x4
Default double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2553
-
highp_f32mat3x3 f32mat3x3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2431
-
highp_u32vec3 u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1142
-
highp_f64vec3 f64vec3
Default double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2513
-
highp_f64mat2x4 f64mat2x4
Default double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2529
-
highp_f32vec2 f32vec2
Default single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2403
-
detail::uint16 highp_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:827
-
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
-
highp_dvec3 dvec3
3 components vector of double-qualifier floating-point numbers.
Definition: type_vec.hpp:472
-
- - - - diff --git a/doc/api/a00104.html b/doc/api/a00104.html index b2281079..25ff46ac 100644 --- a/doc/api/a00104.html +++ b/doc/api/a00104.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_float.hpp File Reference + + +0.9.9 API documenation: matrix_double3x2.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
Typedefs
-
type_float.hpp File Reference
+
matrix_double3x2.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - + +

Typedefs

typedef float float32
 Default 32 bit single-qualifier floating-point scalar. More...
 
typedef double float64
 Default 64 bit double-qualifier floating-point scalar. More...
 
typedef highp_float_t highp_float
 High qualifier floating-point numbers. More...
 
typedef lowp_float_t lowp_float
 Low qualifier floating-point numbers. More...
 
typedef mediump_float_t mediump_float
 Medium qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, defaultp > dmat3x2
 

Detailed Description

-

Core features

+

Core features

-

Definition in file type_float.hpp.

+

Definition in file matrix_double3x2.hpp.

diff --git a/doc/api/a00104_source.html b/doc/api/a00104_source.html index 9898a7c3..370311a2 100644 --- a/doc/api/a00104_source.html +++ b/doc/api/a00104_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_float.hpp Source File + + +0.9.9 API documenation: matrix_double3x2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_float.hpp
+
matrix_double3x2.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "setup.hpp"
-
7 
-
8 namespace glm{
-
9 namespace detail
-
10 {
-
11  typedef float float32;
-
12 
-
13 # ifndef GLM_FORCE_SINGLE_ONLY
-
14  typedef double float64;
-
15 # endif//GLM_FORCE_SINGLE_ONLY
-
16 }//namespace detail
-
17 
-
18  typedef float lowp_float_t;
-
19  typedef float mediump_float_t;
-
20  typedef double highp_float_t;
-
21 
-
24 
-
30  typedef lowp_float_t lowp_float;
-
31 
-
37  typedef mediump_float_t mediump_float;
-
38 
-
44  typedef highp_float_t highp_float;
-
45 
-
46 #if(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
47  typedef mediump_float float_t;
-
48 #elif(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
49  typedef highp_float float_t;
-
50 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
-
51  typedef mediump_float float_t;
-
52 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
-
53  typedef lowp_float float_t;
-
54 #else
-
55 # error "GLM error: multiple default precision requested for floating-point types"
-
56 #endif
-
57 
-
58  typedef float float32;
-
59 
-
60 # ifndef GLM_FORCE_SINGLE_ONLY
-
61  typedef double float64;
-
62 # endif//GLM_FORCE_SINGLE_ONLY
-
63 
-
65 // check type sizes
-
66 #ifndef GLM_STATIC_ASSERT_NULL
-
67  GLM_STATIC_ASSERT(sizeof(glm::float32) == 4, "float32 size isn't 4 bytes on this platform");
-
68 # ifndef GLM_FORCE_SINGLE_ONLY
-
69  GLM_STATIC_ASSERT(sizeof(glm::float64) == 8, "float64 size isn't 8 bytes on this platform");
-
70 # endif//GLM_FORCE_SINGLE_ONLY
-
71 #endif//GLM_STATIC_ASSERT_NULL
-
72 
-
74 
-
75 }//namespace glm
-
highp_float_t highp_float
High qualifier floating-point numbers.
Definition: type_float.hpp:44
-
Definition: common.hpp:20
-
mediump_float_t mediump_float
Medium qualifier floating-point numbers.
Definition: type_float.hpp:37
-
float float32
Default 32 bit single-qualifier floating-point scalar.
Definition: type_float.hpp:58
-
Core features
-
lowp_float_t lowp_float
Low qualifier floating-point numbers.
Definition: type_float.hpp:30
-
double float64
Default 64 bit double-qualifier floating-point scalar.
Definition: type_float.hpp:61
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<3, 2, double, defaultp> dmat3x2;
16 
18 }//namespace glm
mat< 3, 2, double, defaultp > dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00105.html b/doc/api/a00105.html deleted file mode 100644 index e1f21dc1..00000000 --- a/doc/api/a00105.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_gentype.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_gentype.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_gentype.hpp.

-
- - - - diff --git a/doc/api/a00105_source.html b/doc/api/a00105_source.html deleted file mode 100644 index a4cbee77..00000000 --- a/doc/api/a00105_source.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - -0.9.9 API documenation: type_gentype.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_gentype.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 namespace glm
-
7 {
-
8  enum profile
-
9  {
-
10  nice,
-
11  fast,
-
12  simd
-
13  };
-
14 
-
15  typedef std::size_t sizeType;
-
16 
-
17 namespace detail
-
18 {
-
19  template
-
20  <
-
21  typename VALTYPE,
-
22  template<typename> class TYPE
-
23  >
-
24  struct genType
-
25  {
-
26  public:
-
27  enum ctor{null};
-
28 
-
29  typedef VALTYPE value_type;
-
30  typedef VALTYPE & value_reference;
-
31  typedef VALTYPE * value_pointer;
-
32  typedef VALTYPE const * value_const_pointer;
-
33  typedef TYPE<bool> bool_type;
-
34 
-
35  typedef sizeType size_type;
-
36  static bool is_vector();
-
37  static bool is_matrix();
-
38 
-
39  typedef TYPE<VALTYPE> type;
-
40  typedef TYPE<VALTYPE> * pointer;
-
41  typedef TYPE<VALTYPE> const * const_pointer;
-
42  typedef TYPE<VALTYPE> const * const const_pointer_const;
-
43  typedef TYPE<VALTYPE> * const pointer_const;
-
44  typedef TYPE<VALTYPE> & reference;
-
45  typedef TYPE<VALTYPE> const& const_reference;
-
46  typedef TYPE<VALTYPE> const& param_type;
-
47 
-
49  // Address (Implementation details)
-
50 
-
51  value_const_pointer value_address() const{return value_pointer(this);}
-
52  value_pointer value_address(){return value_pointer(this);}
-
53 
-
54  //protected:
-
55  // enum kind
-
56  // {
-
57  // GEN_TYPE,
-
58  // VEC_TYPE,
-
59  // MAT_TYPE
-
60  // };
-
61 
-
62  // typedef typename TYPE::kind kind;
-
63  };
-
64 
-
65  template
-
66  <
-
67  typename VALTYPE,
-
68  template<typename> class TYPE
-
69  >
-
70  bool genType<VALTYPE, TYPE>::is_vector()
-
71  {
-
72  return true;
-
73  }
-
74 /*
-
75  template<typename valTypeT, unsigned int colT, unsigned int rowT, profile proT = nice>
-
76  class base
-
77  {
-
78  public:
-
80  // Traits
-
81 
-
82  typedef sizeType size_type;
-
83  typedef valTypeT value_type;
-
84 
-
85  typedef base<value_type, colT, rowT> class_type;
-
86 
-
87  typedef base<bool, colT, rowT> bool_type;
-
88  typedef base<value_type, rowT, 1> col_type;
-
89  typedef base<value_type, colT, 1> row_type;
-
90  typedef base<value_type, rowT, colT> transpose_type;
-
91 
-
92  static size_type col_size();
-
93  static size_type row_size();
-
94  static size_type value_size();
-
95  static bool is_scalar();
-
96  static bool is_vector();
-
97  static bool is_matrix();
-
98 
-
99  private:
-
100  // Data
-
101  col_type value[colT];
-
102 
-
103  public:
-
105  // Constructors
-
106  base();
-
107  base(class_type const& m);
-
108 
-
109  explicit base(T const& x);
-
110  explicit base(value_type const * const x);
-
111  explicit base(col_type const * const x);
-
112 
-
114  // Conversions
-
115  template<typename vU, uint cU, uint rU, profile pU>
-
116  explicit base(base<vU, cU, rU, pU> const& m);
-
117 
-
119  // Accesses
-
120  col_type& operator[](size_type i);
-
121  col_type const& operator[](size_type i) const;
-
122 
-
124  // Unary updatable operators
-
125  class_type& operator= (class_type const& x);
-
126  class_type& operator+= (T const& x);
-
127  class_type& operator+= (class_type const& x);
-
128  class_type& operator-= (T const& x);
-
129  class_type& operator-= (class_type const& x);
-
130  class_type& operator*= (T const& x);
-
131  class_type& operator*= (class_type const& x);
-
132  class_type& operator/= (T const& x);
-
133  class_type& operator/= (class_type const& x);
-
134  class_type& operator++ ();
-
135  class_type& operator-- ();
-
136  };
-
137 */
-
138 
-
139  //template<typename T>
-
140  //struct traits
-
141  //{
-
142  // static const bool is_signed = false;
-
143  // static const bool is_float = false;
-
144  // static const bool is_vector = false;
-
145  // static const bool is_matrix = false;
-
146  // static const bool is_genType = false;
-
147  // static const bool is_genIType = false;
-
148  // static const bool is_genUType = false;
-
149  //};
-
150 
-
151  //template<>
-
152  //struct traits<half>
-
153  //{
-
154  // static const bool is_float = true;
-
155  // static const bool is_genType = true;
-
156  //};
-
157 
-
158  //template<>
-
159  //struct traits<float>
-
160  //{
-
161  // static const bool is_float = true;
-
162  // static const bool is_genType = true;
-
163  //};
-
164 
-
165  //template<>
-
166  //struct traits<double>
-
167  //{
-
168  // static const bool is_float = true;
-
169  // static const bool is_genType = true;
-
170  //};
-
171 
-
172  //template<typename genType>
-
173  //struct desc
-
174  //{
-
175  // typedef genType type;
-
176  // typedef genType * pointer;
-
177  // typedef genType const* const_pointer;
-
178  // typedef genType const *const const_pointer_const;
-
179  // typedef genType *const pointer_const;
-
180  // typedef genType & reference;
-
181  // typedef genType const& const_reference;
-
182  // typedef genType const& param_type;
-
183 
-
184  // typedef typename genType::value_type value_type;
-
185  // typedef typename genType::size_type size_type;
-
186  // static const typename size_type value_size;
-
187  //};
-
188 
-
189  //template<typename genType>
-
190  //const typename desc<genType>::size_type desc<genType>::value_size = genType::value_size();
-
191 
-
192 }//namespace detail
-
193 }//namespace glm
-
194 
-
195 //#include "type_gentype.inl"
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00106.html b/doc/api/a00106.html deleted file mode 100644 index 358d87a5..00000000 --- a/doc/api/a00106.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_half.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_half.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_half.hpp.

-
- - - - diff --git a/doc/api/a00106_source.html b/doc/api/a00106_source.html deleted file mode 100644 index cae47485..00000000 --- a/doc/api/a00106_source.html +++ /dev/null @@ -1,118 +0,0 @@ - - - - - - -0.9.9 API documenation: type_half.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_half.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "setup.hpp"
-
7 
-
8 namespace glm{
-
9 namespace detail
-
10 {
-
11  typedef short hdata;
-
12 
-
13  GLM_FUNC_DECL float toFloat32(hdata value);
-
14  GLM_FUNC_DECL hdata toFloat16(float const& value);
-
15 
-
16 }//namespace detail
-
17 }//namespace glm
-
18 
-
19 #include "type_half.inl"
-
Definition: common.hpp:20
-
Core features
-
- - - - diff --git a/doc/api/a00107.html b/doc/api/a00107.html index 36f9dc62..20876cc9 100644 --- a/doc/api/a00107.html +++ b/doc/api/a00107.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_int.hpp File Reference + + +0.9.9 API documenation: matrix_double3x2_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
Typedefs
-
type_int.hpp File Reference
+
matrix_double3x2_precision.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + +

Typedefs

typedef detail::highp_int_t highp_int
 High qualifier signed integer. More...
 
typedef detail::highp_uint_t highp_uint
 High qualifier unsigned integer. More...
 
typedef detail::int16 int16
 16 bit signed integer type. More...
 
typedef detail::int32 int32
 32 bit signed integer type. More...
 
typedef detail::int64 int64
 64 bit signed integer type. More...
 
typedef detail::int8 int8
 8 bit signed integer type. More...
 
typedef detail::lowp_int_t lowp_int
 Low qualifier signed integer. More...
 
typedef detail::lowp_uint_t lowp_uint
 Low qualifier unsigned integer. More...
 
typedef detail::mediump_int_t mediump_int
 Medium qualifier signed integer. More...
 
typedef detail::mediump_uint_t mediump_uint
 Medium qualifier unsigned integer. More...
 
typedef unsigned int uint
 Unsigned integer type. More...
 
typedef detail::uint16 uint16
 16 bit unsigned integer type. More...
 
typedef detail::uint32 uint32
 32 bit unsigned integer type. More...
 
typedef detail::uint64 uint64
 64 bit unsigned integer type. More...
 
typedef detail::uint8 uint8
 8 bit unsigned integer type. More...
 
typedef mat< 3, 2, double, highp > highp_dmat3x2
 
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
 
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
 

Detailed Description

-

Core features

+

Core features

-

Definition in file type_int.hpp.

+

Definition in file matrix_double3x2_precision.hpp.

diff --git a/doc/api/a00107_source.html b/doc/api/a00107_source.html index e95859e1..b07cdf19 100644 --- a/doc/api/a00107_source.html +++ b/doc/api/a00107_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_int.hpp Source File + + +0.9.9 API documenation: matrix_double3x2_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_int.hpp
+
matrix_double3x2_precision.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "setup.hpp"
-
7 #if GLM_HAS_MAKE_SIGNED
-
8 # include <type_traits>
-
9 #endif
-
10 
-
11 #if GLM_HAS_EXTENDED_INTEGER_TYPE
-
12 # include <cstdint>
-
13 #endif
-
14 
-
15 namespace glm{
-
16 namespace detail
-
17 {
-
18 # if GLM_HAS_EXTENDED_INTEGER_TYPE
-
19  typedef std::int8_t int8;
-
20  typedef std::int16_t int16;
-
21  typedef std::int32_t int32;
-
22  typedef std::int64_t int64;
-
23 
-
24  typedef std::uint8_t uint8;
-
25  typedef std::uint16_t uint16;
-
26  typedef std::uint32_t uint32;
-
27  typedef std::uint64_t uint64;
-
28 # else
-
29 # if(defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)) // C99 detected, 64 bit types available
-
30  typedef int64_t sint64;
-
31  typedef uint64_t uint64;
-
32 
-
33 # elif GLM_COMPILER & GLM_COMPILER_VC
-
34  typedef signed __int64 sint64;
-
35  typedef unsigned __int64 uint64;
-
36 
-
37 # elif GLM_COMPILER & GLM_COMPILER_GCC
-
38 # pragma GCC diagnostic ignored "-Wlong-long"
-
39  __extension__ typedef signed long long sint64;
-
40  __extension__ typedef unsigned long long uint64;
-
41 
-
42 # elif (GLM_COMPILER & GLM_COMPILER_CLANG)
-
43 # pragma clang diagnostic ignored "-Wc++11-long-long"
-
44  typedef signed long long sint64;
-
45  typedef unsigned long long uint64;
-
46 
-
47 # else//unknown compiler
-
48  typedef signed long long sint64;
-
49  typedef unsigned long long uint64;
-
50 # endif//GLM_COMPILER
-
51 
-
52  typedef signed char int8;
-
53  typedef signed short int16;
-
54  typedef signed int int32;
-
55  typedef sint64 int64;
-
56 
-
57  typedef unsigned char uint8;
-
58  typedef unsigned short uint16;
-
59  typedef unsigned int uint32;
-
60  typedef uint64 uint64;
-
61 #endif//
-
62 
-
63  typedef signed int lowp_int_t;
-
64  typedef signed int mediump_int_t;
-
65  typedef signed int highp_int_t;
-
66 
-
67  typedef unsigned int lowp_uint_t;
-
68  typedef unsigned int mediump_uint_t;
-
69  typedef unsigned int highp_uint_t;
-
70 
-
71 # if GLM_HAS_MAKE_SIGNED
-
72  using std::make_signed;
-
73  using std::make_unsigned;
-
74 
-
75 # else//GLM_HAS_MAKE_SIGNED
-
76  template<typename genType>
-
77  struct make_signed
-
78  {};
-
79 
-
80  template<>
-
81  struct make_signed<char>
-
82  {
-
83  typedef char type;
-
84  };
-
85 
-
86  template<>
-
87  struct make_signed<short>
-
88  {
-
89  typedef short type;
-
90  };
-
91 
-
92  template<>
-
93  struct make_signed<int>
-
94  {
-
95  typedef int type;
-
96  };
-
97 
-
98  template<>
-
99  struct make_signed<long>
-
100  {
-
101  typedef long type;
-
102  };
-
103 
-
104  template<>
-
105  struct make_signed<unsigned char>
-
106  {
-
107  typedef char type;
-
108  };
-
109 
-
110  template<>
-
111  struct make_signed<unsigned short>
-
112  {
-
113  typedef short type;
-
114  };
-
115 
-
116  template<>
-
117  struct make_signed<unsigned int>
-
118  {
-
119  typedef int type;
-
120  };
-
121 
-
122  template<>
-
123  struct make_signed<unsigned long>
-
124  {
-
125  typedef long type;
-
126  };
-
127 
-
128  template<typename genType>
-
129  struct make_unsigned
-
130  {};
-
131 
-
132  template<>
-
133  struct make_unsigned<char>
-
134  {
-
135  typedef unsigned char type;
-
136  };
-
137 
-
138  template<>
-
139  struct make_unsigned<short>
-
140  {
-
141  typedef unsigned short type;
-
142  };
-
143 
-
144  template<>
-
145  struct make_unsigned<int>
-
146  {
-
147  typedef unsigned int type;
-
148  };
-
149 
-
150  template<>
-
151  struct make_unsigned<long>
-
152  {
-
153  typedef unsigned long type;
-
154  };
-
155 
-
156  template<>
-
157  struct make_unsigned<unsigned char>
-
158  {
-
159  typedef unsigned char type;
-
160  };
-
161 
-
162  template<>
-
163  struct make_unsigned<unsigned short>
-
164  {
-
165  typedef unsigned short type;
-
166  };
-
167 
-
168  template<>
-
169  struct make_unsigned<unsigned int>
-
170  {
-
171  typedef unsigned int type;
-
172  };
-
173 
-
174  template<>
-
175  struct make_unsigned<unsigned long>
-
176  {
-
177  typedef unsigned long type;
-
178  };
-
179 
-
180  template<>
-
181  struct make_signed<long long>
-
182  {
-
183  typedef long long type;
-
184  };
-
185 
-
186  template<>
-
187  struct make_signed<unsigned long long>
-
188  {
-
189  typedef long long type;
-
190  };
-
191 
-
192  template<>
-
193  struct make_unsigned<long long>
-
194  {
-
195  typedef unsigned long long type;
-
196  };
-
197 
-
198  template<>
-
199  struct make_unsigned<unsigned long long>
-
200  {
-
201  typedef unsigned long long type;
-
202  };
-
203 # endif//GLM_HAS_MAKE_SIGNED
-
204 }//namespace detail
-
205 
-
206  typedef detail::int8 int8;
-
207  typedef detail::int16 int16;
-
208  typedef detail::int32 int32;
-
209  typedef detail::int64 int64;
-
210 
-
211  typedef detail::uint8 uint8;
-
212  typedef detail::uint16 uint16;
-
213  typedef detail::uint32 uint32;
-
214  typedef detail::uint64 uint64;
-
215 
-
218 
-
224  typedef detail::lowp_int_t lowp_int;
-
225 
-
231  typedef detail::mediump_int_t mediump_int;
-
232 
-
238  typedef detail::highp_int_t highp_int;
-
239 
-
245  typedef detail::lowp_uint_t lowp_uint;
-
246 
-
252  typedef detail::mediump_uint_t mediump_uint;
-
253 
-
259  typedef detail::highp_uint_t highp_uint;
-
260 
-
261 #if(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
-
262  typedef mediump_int int_t;
-
263 #elif(defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
-
264  typedef highp_int int_t;
-
265 #elif(!defined(GLM_PRECISION_HIGHP_INT) && defined(GLM_PRECISION_MEDIUMP_INT) && !defined(GLM_PRECISION_LOWP_INT))
-
266  typedef mediump_int int_t;
-
267 #elif(!defined(GLM_PRECISION_HIGHP_INT) && !defined(GLM_PRECISION_MEDIUMP_INT) && defined(GLM_PRECISION_LOWP_INT))
-
268  typedef lowp_int int_t;
-
269 #else
-
270 # error "GLM error: multiple default precision requested for signed integer types"
-
271 #endif
-
272 
-
273 #if(!defined(GLM_PRECISION_HIGHP_UINT) && !defined(GLM_PRECISION_MEDIUMP_UINT) && !defined(GLM_PRECISION_LOWP_UINT))
-
274  typedef mediump_uint uint_t;
-
275 #elif(defined(GLM_PRECISION_HIGHP_UINT) && !defined(GLM_PRECISION_MEDIUMP_UINT) && !defined(GLM_PRECISION_LOWP_UINT))
-
276  typedef highp_uint uint_t;
-
277 #elif(!defined(GLM_PRECISION_HIGHP_UINT) && defined(GLM_PRECISION_MEDIUMP_UINT) && !defined(GLM_PRECISION_LOWP_UINT))
-
278  typedef mediump_uint uint_t;
-
279 #elif(!defined(GLM_PRECISION_HIGHP_UINT) && !defined(GLM_PRECISION_MEDIUMP_UINT) && defined(GLM_PRECISION_LOWP_UINT))
-
280  typedef lowp_uint uint_t;
-
281 #else
-
282 # error "GLM error: multiple default precision requested for unsigned integer types"
-
283 #endif
-
284 
-
288  typedef unsigned int uint;
-
289 
-
291 
-
293 // check type sizes
-
294 #ifndef GLM_STATIC_ASSERT_NULL
-
295  GLM_STATIC_ASSERT(sizeof(glm::int8) == 1, "int8 size isn't 1 byte on this platform");
-
296  GLM_STATIC_ASSERT(sizeof(glm::int16) == 2, "int16 size isn't 2 bytes on this platform");
-
297  GLM_STATIC_ASSERT(sizeof(glm::int32) == 4, "int32 size isn't 4 bytes on this platform");
-
298  GLM_STATIC_ASSERT(sizeof(glm::int64) == 8, "int64 size isn't 8 bytes on this platform");
-
299 
-
300  GLM_STATIC_ASSERT(sizeof(glm::uint8) == 1, "uint8 size isn't 1 byte on this platform");
-
301  GLM_STATIC_ASSERT(sizeof(glm::uint16) == 2, "uint16 size isn't 2 bytes on this platform");
-
302  GLM_STATIC_ASSERT(sizeof(glm::uint32) == 4, "uint32 size isn't 4 bytes on this platform");
-
303  GLM_STATIC_ASSERT(sizeof(glm::uint64) == 8, "uint64 size isn't 8 bytes on this platform");
-
304 #endif//GLM_STATIC_ASSERT_NULL
-
305 
-
306 }//namespace glm
-
detail::uint64 uint64
64 bit unsigned integer type.
Definition: type_int.hpp:214
-
detail::lowp_uint_t lowp_uint
Low qualifier unsigned integer.
Definition: type_int.hpp:245
-
detail::uint32 uint32_t
32 bit unsigned integer type.
Definition: fwd.hpp:887
-
detail::highp_int_t highp_int
High qualifier signed integer.
Definition: type_int.hpp:238
-
detail::int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:278
-
detail::mediump_int_t mediump_int
Medium qualifier signed integer.
Definition: type_int.hpp:231
-
detail::uint8 uint8
8 bit unsigned integer type.
Definition: type_int.hpp:211
-
detail::int32 int32
32 bit signed integer type.
Definition: type_int.hpp:208
-
detail::uint32 uint32
32 bit unsigned integer type.
Definition: type_int.hpp:213
-
detail::highp_uint_t highp_uint
High qualifier unsigned integer.
Definition: type_int.hpp:259
-
detail::uint64 uint64_t
64 bit unsigned integer type.
Definition: fwd.hpp:891
-
Definition: common.hpp:20
-
detail::int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:274
-
detail::int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:282
-
detail::mediump_uint_t mediump_uint
Medium qualifier unsigned integer.
Definition: type_int.hpp:252
-
detail::int8 int8
8 bit signed integer type.
Definition: type_int.hpp:206
-
detail::uint16 uint16_t
16 bit unsigned integer type.
Definition: fwd.hpp:883
-
detail::uint8 uint8_t
8 bit unsigned integer type.
Definition: fwd.hpp:879
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
detail::int64 int64
64 bit signed integer type.
Definition: type_int.hpp:209
-
detail::lowp_int_t lowp_int
Low qualifier signed integer.
Definition: type_int.hpp:224
-
detail::int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:270
-
detail::uint16 uint16
16 bit unsigned integer type.
Definition: type_int.hpp:212
-
Core features
-
detail::int16 int16
16 bit signed integer type.
Definition: type_int.hpp:207
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<3, 2, double, lowp> lowp_dmat3x2;
17 
22  typedef mat<3, 2, double, mediump> mediump_dmat3x2;
23 
28  typedef mat<3, 2, double, highp> highp_dmat3x2;
29 
31 }//namespace glm
mat< 3, 2, double, highp > highp_dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 2, double, mediump > mediump_dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 2, double, lowp > lowp_dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
Definition: common.hpp:20
diff --git a/doc/api/a00108.html b/doc/api/a00108.html deleted file mode 100644 index 0cf6c7e1..00000000 --- a/doc/api/a00108.html +++ /dev/null @@ -1,410 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
type_mat.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef highp_dmat2x2 dmat2
 2 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat2x2 dmat2x2
 2 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat2x3 dmat2x3
 2 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat2x4 dmat2x4
 2 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x3 dmat3
 3 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x2 dmat3x2
 3 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x3 dmat3x3
 3 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x4 dmat3x4
 3 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x4 dmat4
 4 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x2 dmat4x2
 4 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x3 dmat4x3
 4 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x4 dmat4x4
 4 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, highp > highp_dmat2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, highp > highp_dmat2x2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 3, double, highp > highp_dmat2x3
 2 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 4, double, highp > highp_dmat2x4
 2 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, highp > highp_dmat3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, highp > highp_dmat3x2
 3 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, highp > highp_dmat3x3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 4, double, highp > highp_dmat3x4
 3 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, highp > highp_dmat4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 2, double, highp > highp_dmat4x2
 4 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 3, double, highp > highp_dmat4x3
 4 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, highp > highp_dmat4x4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, highp > highp_mat2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, highp > highp_mat2x2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 3, float, highp > highp_mat2x3
 2 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 4, float, highp > highp_mat2x4
 2 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, highp > highp_mat3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 2, float, highp > highp_mat3x2
 3 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, highp > highp_mat3x3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 4, float, highp > highp_mat3x4
 3 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, highp > highp_mat4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 2, float, highp > highp_mat4x2
 4 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 3, float, highp > highp_mat4x3
 4 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, highp > highp_mat4x4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, lowp > lowp_dmat2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
 2 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
 2 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, lowp > lowp_dmat3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
 3 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
 3 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, lowp > lowp_dmat4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
 4 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
 4 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, lowp > lowp_mat2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, lowp > lowp_mat2x2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 3, float, lowp > lowp_mat2x3
 2 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 4, float, lowp > lowp_mat2x4
 2 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, lowp > lowp_mat3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 2, float, lowp > lowp_mat3x2
 3 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, lowp > lowp_mat3x3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 4, float, lowp > lowp_mat3x4
 3 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, lowp > lowp_mat4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 2, float, lowp > lowp_mat4x2
 4 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 3, float, lowp > lowp_mat4x3
 4 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, lowp > lowp_mat4x4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat2x2 mat2
 2 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat2x2 mat2x2
 2 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat2x3 mat2x3
 2 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat2x4 mat2x4
 2 columns of 4 components matrix of floating-point numbers. More...
 
typedef mat3x3 mat3
 3 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat3x2 mat3x2
 3 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat3x3 mat3x3
 3 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat3x4 mat3x4
 3 columns of 4 components matrix of floating-point numbers. More...
 
typedef mat4x4 mat4
 4 columns of 4 components matrix of floating-point numbers. More...
 
typedef highp_mat4x2 mat4x2
 4 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat4x3 mat4x3
 4 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat4x4 mat4x4
 4 columns of 4 components matrix of floating-point numbers. More...
 
typedef mat< 2, 2, double, mediump > mediump_dmat2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
 2 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
 2 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, mediump > mediump_dmat3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
 3 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
 3 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, mediump > mediump_dmat4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
 4 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
 4 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, mediump > mediump_mat2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, mediump > mediump_mat2x2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 3, float, mediump > mediump_mat2x3
 2 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 4, float, mediump > mediump_mat2x4
 2 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, mediump > mediump_mat3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 2, float, mediump > mediump_mat3x2
 3 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, mediump > mediump_mat3x3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 4, float, mediump > mediump_mat3x4
 3 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, mediump > mediump_mat4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 2, float, mediump > mediump_mat4x2
 4 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 3, float, mediump > mediump_mat4x3
 4 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, mediump > mediump_mat4x4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
- - - - - -

-Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse (mat< C, R, T, Q > const &m)
 Return the inverse of a squared matrix. More...
 
-

Detailed Description

-

Core features

- -

Definition in file type_mat.hpp.

-
- - - - diff --git a/doc/api/a00108_source.html b/doc/api/a00108_source.html deleted file mode 100644 index ff56e0a3..00000000 --- a/doc/api/a00108_source.html +++ /dev/null @@ -1,507 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "qualifier.hpp"
-
7 
-
8 namespace glm{
-
9 namespace detail
-
10 {
-
11  template<length_t C, length_t R, typename T, qualifier Q>
-
12  struct outerProduct_trait{};
-
13 }//namespace detail
-
14 
-
15 #if GLM_HAS_TEMPLATE_ALIASES
-
16  template <typename T, qualifier Q = defaultp> using tmat2x2 = mat<2, 2, T, Q>;
-
17  template <typename T, qualifier Q = defaultp> using tmat2x3 = mat<2, 3, T, Q>;
-
18  template <typename T, qualifier Q = defaultp> using tmat2x4 = mat<2, 4, T, Q>;
-
19  template <typename T, qualifier Q = defaultp> using tmat3x2 = mat<3, 2, T, Q>;
-
20  template <typename T, qualifier Q = defaultp> using tmat3x3 = mat<3, 3, T, Q>;
-
21  template <typename T, qualifier Q = defaultp> using tmat3x4 = mat<3, 4, T, Q>;
-
22  template <typename T, qualifier Q = defaultp> using tmat4x2 = mat<4, 2, T, Q>;
-
23  template <typename T, qualifier Q = defaultp> using tmat4x3 = mat<4, 3, T, Q>;
-
24  template <typename T, qualifier Q = defaultp> using tmat4x4 = mat<4, 4, T, Q>;
-
25 #endif//GLM_HAS_TEMPLATE_ALIASES
-
26 
-
27  template<length_t C, length_t R, typename T, qualifier Q>
-
28  GLM_FUNC_DECL mat<C, R, T, Q> inverse(mat<C, R, T, Q> const& m);
-
29 
-
32 
-
38  typedef mat<2, 2, float, lowp> lowp_mat2;
-
39 
-
45  typedef mat<2, 2, float, mediump> mediump_mat2;
-
46 
-
52  typedef mat<2, 2, float, highp> highp_mat2;
-
53 
-
59  typedef mat<2, 2, float, lowp> lowp_mat2x2;
-
60 
-
66  typedef mat<2, 2, float, mediump> mediump_mat2x2;
-
67 
-
73  typedef mat<2, 2, float, highp> highp_mat2x2;
-
74 
-
76 
-
79 
-
85  typedef mat<2, 3, float, lowp> lowp_mat2x3;
-
86 
-
92  typedef mat<2, 3, float, mediump> mediump_mat2x3;
-
93 
-
99  typedef mat<2, 3, float, highp> highp_mat2x3;
-
100 
-
102 
-
105 
-
111  typedef mat<2, 4, float, lowp> lowp_mat2x4;
-
112 
-
118  typedef mat<2, 4, float, mediump> mediump_mat2x4;
-
119 
-
125  typedef mat<2, 4, float, highp> highp_mat2x4;
-
126 
-
128 
-
131 
-
137  typedef mat<3, 2, float, lowp> lowp_mat3x2;
-
138 
-
144  typedef mat<3, 2, float, mediump> mediump_mat3x2;
-
145 
-
151  typedef mat<3, 2, float, highp> highp_mat3x2;
-
152 
-
154 
-
157 
-
163  typedef mat<3, 3, float, lowp> lowp_mat3;
-
164 
-
170  typedef mat<3, 3, float, mediump> mediump_mat3;
-
171 
-
177  typedef mat<3, 3, float, highp> highp_mat3;
-
178 
-
184  typedef mat<3, 3, float, lowp> lowp_mat3x3;
-
185 
-
191  typedef mat<3, 3, float, mediump> mediump_mat3x3;
-
192 
-
198  typedef mat<3, 3, float, highp> highp_mat3x3;
-
199 
-
201 
-
204 
-
210  typedef mat<3, 4, float, lowp> lowp_mat3x4;
-
211 
-
217  typedef mat<3, 4, float, mediump> mediump_mat3x4;
-
218 
-
224  typedef mat<3, 4, float, highp> highp_mat3x4;
-
225 
-
227 
-
230 
-
236  typedef mat<4, 2, float, lowp> lowp_mat4x2;
-
237 
-
243  typedef mat<4, 2, float, mediump> mediump_mat4x2;
-
244 
-
250  typedef mat<4, 2, float, highp> highp_mat4x2;
-
251 
-
253 
-
256 
-
262  typedef mat<4, 3, float, lowp> lowp_mat4x3;
-
263 
-
269  typedef mat<4, 3, float, mediump> mediump_mat4x3;
-
270 
-
276  typedef mat<4, 3, float, highp> highp_mat4x3;
-
277 
-
279 
-
280 
-
283 
-
289  typedef mat<4, 4, float, lowp> lowp_mat4;
-
290 
-
296  typedef mat<4, 4, float, mediump> mediump_mat4;
-
297 
-
303  typedef mat<4, 4, float, highp> highp_mat4;
-
304 
-
310  typedef mat<4, 4, float, lowp> lowp_mat4x4;
-
311 
-
317  typedef mat<4, 4, float, mediump> mediump_mat4x4;
-
318 
-
324  typedef mat<4, 4, float, highp> highp_mat4x4;
-
325 
-
327 
-
330 
-
332  // Float definition
-
333 
-
334 #if(defined(GLM_PRECISION_LOWP_FLOAT))
-
335  typedef lowp_mat2x2 mat2x2;
-
336  typedef lowp_mat2x3 mat2x3;
-
337  typedef lowp_mat2x4 mat2x4;
-
338  typedef lowp_mat3x2 mat3x2;
-
339  typedef lowp_mat3x3 mat3x3;
-
340  typedef lowp_mat3x4 mat3x4;
-
341  typedef lowp_mat4x2 mat4x2;
-
342  typedef lowp_mat4x3 mat4x3;
-
343  typedef lowp_mat4x4 mat4x4;
-
344 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
-
345  typedef mediump_mat2x2 mat2x2;
-
346  typedef mediump_mat2x3 mat2x3;
-
347  typedef mediump_mat2x4 mat2x4;
-
348  typedef mediump_mat3x2 mat3x2;
-
349  typedef mediump_mat3x3 mat3x3;
-
350  typedef mediump_mat3x4 mat3x4;
-
351  typedef mediump_mat4x2 mat4x2;
-
352  typedef mediump_mat4x3 mat4x3;
-
353  typedef mediump_mat4x4 mat4x4;
-
354 #else
-
355  typedef highp_mat2x2 mat2x2;
-
359 
-
363  typedef highp_mat2x3 mat2x3;
-
364 
-
368  typedef highp_mat2x4 mat2x4;
-
369 
-
373  typedef highp_mat3x2 mat3x2;
-
374 
-
378  typedef highp_mat3x3 mat3x3;
-
379 
-
383  typedef highp_mat3x4 mat3x4;
-
384 
-
388  typedef highp_mat4x2 mat4x2;
-
389 
-
393  typedef highp_mat4x3 mat4x3;
-
394 
-
398  typedef highp_mat4x4 mat4x4;
-
399 
-
400 #endif//GLM_PRECISION
-
401 
-
405  typedef mat2x2 mat2;
-
406 
-
410  typedef mat3x3 mat3;
-
411 
-
415  typedef mat4x4 mat4;
-
416 
-
418  // Double definition
-
419 
-
422 
-
427  typedef mat<2, 2, double, lowp> lowp_dmat2;
-
428 
-
433  typedef mat<2, 2, double, mediump> mediump_dmat2;
-
434 
-
439  typedef mat<2, 2, double, highp> highp_dmat2;
-
440 
-
445  typedef mat<2, 2, double, lowp> lowp_dmat2x2;
-
446 
-
451  typedef mat<2, 2, double, mediump> mediump_dmat2x2;
-
452 
-
457  typedef mat<2, 2, double, highp> highp_dmat2x2;
-
458 
-
460 
-
463 
-
468  typedef mat<2, 3, double, lowp> lowp_dmat2x3;
-
469 
-
474  typedef mat<2, 3, double, mediump> mediump_dmat2x3;
-
475 
-
480  typedef mat<2, 3, double, highp> highp_dmat2x3;
-
481 
-
483 
-
486 
-
491  typedef mat<2, 4, double, lowp> lowp_dmat2x4;
-
492 
-
497  typedef mat<2, 4, double, mediump> mediump_dmat2x4;
-
498 
-
503  typedef mat<2, 4, double, highp> highp_dmat2x4;
-
504 
-
506 
-
509 
-
514  typedef mat<3, 2, double, lowp> lowp_dmat3x2;
-
515 
-
520  typedef mat<3, 2, double, mediump> mediump_dmat3x2;
-
521 
-
526  typedef mat<3, 2, double, highp> highp_dmat3x2;
-
527 
-
529 
-
532 
-
537  typedef mat<3, 3, float, lowp> lowp_dmat3;
-
538 
-
543  typedef mat<3, 3, double, mediump> mediump_dmat3;
-
544 
-
549  typedef mat<3, 3, double, highp> highp_dmat3;
-
550 
-
555  typedef mat<3, 3, double, lowp> lowp_dmat3x3;
-
556 
-
561  typedef mat<3, 3, double, mediump> mediump_dmat3x3;
-
562 
-
567  typedef mat<3, 3, double, highp> highp_dmat3x3;
-
568 
-
570 
-
573 
-
578  typedef mat<3, 4, double, lowp> lowp_dmat3x4;
-
579 
-
584  typedef mat<3, 4, double, mediump> mediump_dmat3x4;
-
585 
-
590  typedef mat<3, 4, double, highp> highp_dmat3x4;
-
591 
-
593 
-
596 
-
601  typedef mat<4, 2, double, lowp> lowp_dmat4x2;
-
602 
-
607  typedef mat<4, 2, double, mediump> mediump_dmat4x2;
-
608 
-
613  typedef mat<4, 2, double, highp> highp_dmat4x2;
-
614 
-
616 
-
619 
-
624  typedef mat<4, 3, double, lowp> lowp_dmat4x3;
-
625 
-
630  typedef mat<4, 3, double, mediump> mediump_dmat4x3;
-
631 
-
636  typedef mat<4, 3, double, highp> highp_dmat4x3;
-
637 
-
639 
-
642 
-
647  typedef mat<4, 4, double, lowp> lowp_dmat4;
-
648 
-
653  typedef mat<4, 4, double, mediump> mediump_dmat4;
-
654 
-
659  typedef mat<4, 4, double, highp> highp_dmat4;
-
660 
-
665  typedef mat<4, 4, double, lowp> lowp_dmat4x4;
-
666 
-
671  typedef mat<4, 4, double, mediump> mediump_dmat4x4;
-
672 
-
677  typedef mat<4, 4, double, highp> highp_dmat4x4;
-
678 
-
680 
-
681 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
-
682  typedef lowp_dmat2x2 dmat2x2;
-
683  typedef lowp_dmat2x3 dmat2x3;
-
684  typedef lowp_dmat2x4 dmat2x4;
-
685  typedef lowp_dmat3x2 dmat3x2;
-
686  typedef lowp_dmat3x3 dmat3x3;
-
687  typedef lowp_dmat3x4 dmat3x4;
-
688  typedef lowp_dmat4x2 dmat4x2;
-
689  typedef lowp_dmat4x3 dmat4x3;
-
690  typedef lowp_dmat4x4 dmat4x4;
-
691 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
-
692  typedef mediump_dmat2x2 dmat2x2;
-
693  typedef mediump_dmat2x3 dmat2x3;
-
694  typedef mediump_dmat2x4 dmat2x4;
-
695  typedef mediump_dmat3x2 dmat3x2;
-
696  typedef mediump_dmat3x3 dmat3x3;
-
697  typedef mediump_dmat3x4 dmat3x4;
-
698  typedef mediump_dmat4x2 dmat4x2;
-
699  typedef mediump_dmat4x3 dmat4x3;
-
700  typedef mediump_dmat4x4 dmat4x4;
-
701 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
-
702 
-
706  typedef highp_dmat2x2 dmat2;
-
707 
-
711  typedef highp_dmat3x3 dmat3;
-
712 
-
716  typedef highp_dmat4x4 dmat4;
-
717 
-
721  typedef highp_dmat2x2 dmat2x2;
-
722 
-
726  typedef highp_dmat2x3 dmat2x3;
-
727 
-
731  typedef highp_dmat2x4 dmat2x4;
-
732 
-
736  typedef highp_dmat3x2 dmat3x2;
-
737 
-
741  typedef highp_dmat3x3 dmat3x3;
-
742 
-
746  typedef highp_dmat3x4 dmat3x4;
-
747 
-
751  typedef highp_dmat4x2 dmat4x2;
-
752 
-
756  typedef highp_dmat4x3 dmat4x3;
-
757 
-
761  typedef highp_dmat4x4 dmat4x4;
-
762 
-
763 #endif//GLM_PRECISION
-
764 
-
766 }//namespace glm
-
mat< 3, 3, float, lowp > lowp_dmat3
3 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:537
-
mat< 2, 4, double, lowp > lowp_dmat2x4
2 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:491
-
mat< 4, 3, float, lowp > lowp_mat4x3
4 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:262
-
mat< 3, 3, double, lowp > lowp_dmat3x3
3 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:555
-
mat< 2, 2, float, highp > highp_mat2x2
2 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:73
-
mat< 2, 2, double, mediump > mediump_dmat2
2 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:433
-
mat< 2, 3, double, lowp > lowp_dmat2x3
2 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:468
-
mat< 4, 3, double, mediump > mediump_dmat4x3
4 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:630
-
highp_dmat3x3 dmat3x3
3 * 3 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:741
-
mat< 2, 4, float, highp > highp_mat2x4
2 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:125
-
mat< 3, 2, double, lowp > lowp_dmat3x2
3 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:514
-
mat< 3, 2, float, lowp > lowp_mat3x2
3 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:137
-
mat< 4, 4, double, highp > highp_dmat4
4 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:659
-
highp_dmat2x4 dmat2x4
2 * 4 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:731
-
mat< 4, 4, double, mediump > mediump_dmat4
4 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:653
-
mat< 3, 3, float, lowp > lowp_mat3
3 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:163
-
mat< 4, 2, float, highp > highp_mat4x2
4 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:250
-
mat< 2, 2, double, lowp > lowp_dmat2
2 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:427
-
mat< 3, 3, float, mediump > mediump_mat3x3
3 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:191
-
mat< 4, 2, double, highp > highp_dmat4x2
4 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:613
-
mat< 4, 3, float, mediump > mediump_mat4x3
4 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:269
-
highp_mat4x4 mat4x4
4 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:398
-
mat< 3, 4, double, highp > highp_dmat3x4
3 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:590
-
highp_dmat2x3 dmat2x3
2 * 3 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:726
-
mat< 4, 2, double, lowp > lowp_dmat4x2
4 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:601
-
mat< 3, 3, double, highp > highp_dmat3x3
3 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:567
-
highp_dmat3x2 dmat3x2
3 * 2 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:736
-
mat< 4, 4, double, mediump > mediump_dmat4x4
4 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:671
-
mat< 3, 3, float, mediump > mediump_mat3
3 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:170
-
mat< 4, 4, float, lowp > lowp_mat4x4
4 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:310
-
highp_dmat3x3 dmat3
3 * 3 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:711
-
mat3x3 mat3
3 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:410
-
highp_dmat4x4 dmat4x4
4 * 4 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:761
-
mat< 2, 3, float, lowp > lowp_mat2x3
2 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:85
-
mat< 3, 2, double, highp > highp_dmat3x2
3 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:526
-
Core features
-
mat< 2, 3, float, mediump > mediump_mat2x3
2 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:92
-
highp_dmat4x3 dmat4x3
4 * 3 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:756
-
mat< 3, 2, float, highp > highp_mat3x2
3 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:151
-
highp_dmat4x2 dmat4x2
4 * 2 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:751
-
mat< 3, 4, double, mediump > mediump_dmat3x4
3 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:584
-
highp_mat4x3 mat4x3
4 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:393
-
mat< 4, 4, float, lowp > lowp_mat4
4 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:289
-
mat< 3, 3, double, mediump > mediump_dmat3x3
3 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:561
-
mat< 2, 3, double, mediump > mediump_dmat2x3
2 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:474
-
mat< 4, 4, double, lowp > lowp_dmat4
4 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:647
-
mat< 2, 2, double, highp > highp_dmat2x2
2 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:457
-
mat< 3, 3, double, mediump > mediump_dmat3
3 columns of 3 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:543
-
highp_mat3x3 mat3x3
3 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:378
-
mat< 3, 3, float, highp > highp_mat3x3
3 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:198
-
Definition: common.hpp:20
-
mat< 4, 3, float, highp > highp_mat4x3
4 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:276
-
highp_mat2x3 mat2x3
2 columns of 3 components matrix of floating-point numbers.
Definition: type_mat.hpp:363
-
mat< 3, 4, double, lowp > lowp_dmat3x4
3 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:578
-
mat< 4, 4, float, highp > highp_mat4
4 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:303
-
mat< 4, 2, float, mediump > mediump_mat4x2
4 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:243
-
mat< 2, 4, float, lowp > lowp_mat2x4
2 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:111
-
highp_mat4x2 mat4x2
4 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:388
-
mat< 2, 4, float, mediump > mediump_mat2x4
2 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:118
-
mat2x2 mat2
2 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:405
-
mat< 4, 2, double, mediump > mediump_dmat4x2
4 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:607
-
mat< 2, 2, double, lowp > lowp_dmat2x2
2 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:445
-
mat< 2, 2, float, lowp > lowp_mat2
2 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:38
-
mat4x4 mat4
4 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:415
-
highp_dmat2x2 dmat2
2 * 2 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:706
-
mat< 2, 2, float, lowp > lowp_mat2x2
2 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:59
-
mat< 2, 2, double, mediump > mediump_dmat2x2
2 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:451
-
mat< 4, 4, float, mediump > mediump_mat4x4
4 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:317
-
mat< 3, 3, float, highp > highp_mat3
3 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:177
-
mat< 2, 4, double, mediump > mediump_dmat2x4
2 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:497
-
mat< 4, 4, double, highp > highp_dmat4x4
4 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:677
-
mat< 4, 4, float, mediump > mediump_mat4
4 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:296
-
mat< 3, 2, float, mediump > mediump_mat3x2
3 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:144
-
mat< 3, 4, float, highp > highp_mat3x4
3 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:224
-
highp_mat3x2 mat3x2
3 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:373
-
mat< 2, 2, double, highp > highp_dmat2
2 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:439
-
mat< 2, 2, float, highp > highp_mat2
2 columns of 2 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:52
-
GLM_FUNC_DECL mat< C, R, T, Q > inverse(mat< C, R, T, Q > const &m)
Return the inverse of a squared matrix.
-
mat< 4, 3, double, lowp > lowp_dmat4x3
4 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:624
-
mat< 3, 4, float, lowp > lowp_mat3x4
3 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:210
-
mat< 4, 4, double, lowp > lowp_dmat4x4
4 columns of 4 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:665
-
highp_mat2x4 mat2x4
2 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:368
-
highp_dmat4x4 dmat4
4 * 4 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:716
-
mat< 2, 2, float, mediump > mediump_mat2x2
2 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:66
-
mat< 2, 3, double, highp > highp_dmat2x3
2 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:480
-
mat< 2, 3, float, highp > highp_mat2x3
2 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:99
-
mat< 4, 4, float, highp > highp_mat4x4
4 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:324
-
highp_dmat3x4 dmat3x4
3 * 4 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:746
-
highp_mat2x2 mat2x2
2 columns of 2 components matrix of floating-point numbers.
Definition: type_mat.hpp:358
-
highp_mat3x4 mat3x4
3 columns of 4 components matrix of floating-point numbers.
Definition: type_mat.hpp:383
-
mat< 4, 3, double, highp > highp_dmat4x3
4 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:636
-
mat< 2, 2, float, mediump > mediump_mat2
2 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:45
-
mat< 3, 3, double, highp > highp_dmat3
3 columns of 3 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:549
-
mat< 3, 4, float, mediump > mediump_mat3x4
3 columns of 4 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:217
-
mat< 4, 2, float, lowp > lowp_mat4x2
4 columns of 2 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:236
-
mat< 2, 4, double, highp > highp_dmat2x4
2 columns of 4 components matrix of high qualifier floating-point numbers.
Definition: type_mat.hpp:503
-
highp_dmat2x2 dmat2x2
2 * 2 matrix of double-qualifier floating-point numbers.
Definition: type_mat.hpp:721
-
mat< 3, 3, float, lowp > lowp_mat3x3
3 columns of 3 components matrix of low qualifier floating-point numbers.
Definition: type_mat.hpp:184
-
mat< 3, 2, double, mediump > mediump_dmat3x2
3 columns of 2 components matrix of medium qualifier floating-point numbers.
Definition: type_mat.hpp:520
-
- - - - diff --git a/doc/api/a00109.html b/doc/api/a00109.html deleted file mode 100644 index 69434980..00000000 --- a/doc/api/a00109.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat2x2.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat2x2.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_mat2x2.hpp.

-
- - - - diff --git a/doc/api/a00109_source.html b/doc/api/a00109_source.html deleted file mode 100644 index 195f4c90..00000000 --- a/doc/api/a00109_source.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat2x2.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat2x2.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec2.hpp"
-
8 #include "type_mat.hpp"
-
9 #include <limits>
-
10 #include <cstddef>
-
11 
-
12 namespace glm
-
13 {
-
14  template<typename T, qualifier Q>
-
15  struct mat<2, 2, T, Q>
-
16  {
-
17  typedef vec<2, T, Q> col_type;
-
18  typedef vec<2, T, Q> row_type;
-
19  typedef mat<2, 2, T, Q> type;
-
20  typedef mat<2, 2, T, Q> transpose_type;
-
21  typedef T value_type;
-
22 
-
23  private:
-
24  col_type value[2];
-
25 
-
26  public:
-
27  // -- Accesses --
-
28 
-
29  typedef length_t length_type;
-
30  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 2; }
-
31 
-
32  GLM_FUNC_DECL col_type & operator[](length_type i);
-
33  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
34 
-
35  // -- Constructors --
-
36 
-
37  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& m) GLM_DEFAULT;
-
39  template<qualifier P>
-
40  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, P> const& m);
-
41 
-
42  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
43  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
44  T const& x1, T const& y1,
-
45  T const& x2, T const& y2);
-
46  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
47  col_type const& v1,
-
48  col_type const& v2);
-
49 
-
50  // -- Conversions --
-
51 
-
52  template<typename U, typename V, typename M, typename N>
-
53  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
54  U const& x1, V const& y1,
-
55  M const& x2, N const& y2);
-
56 
-
57  template<typename U, typename V>
-
58  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
59  vec<2, U, Q> const& v1,
-
60  vec<2, V, Q> const& v2);
-
61 
-
62  // -- Matrix conversions --
-
63 
-
64  template<typename U, qualifier P>
-
65  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, U, P> const& m);
-
66 
-
67  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
68  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
69  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
75 
-
76  // -- Unary arithmetic operators --
-
77 
-
78  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<2, 2, T, Q> & operator=(mat<2, 2, T, Q> const& v) GLM_DEFAULT;
-
79 
-
80  template<typename U>
-
81  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<2, 2, T, Q> & operator=(mat<2, 2, U, Q> const& m);
-
82  template<typename U>
-
83  GLM_FUNC_DECL mat<2, 2, T, Q> & operator+=(U s);
-
84  template<typename U>
-
85  GLM_FUNC_DECL mat<2, 2, T, Q> & operator+=(mat<2, 2, U, Q> const& m);
-
86  template<typename U>
-
87  GLM_FUNC_DECL mat<2, 2, T, Q> & operator-=(U s);
-
88  template<typename U>
-
89  GLM_FUNC_DECL mat<2, 2, T, Q> & operator-=(mat<2, 2, U, Q> const& m);
-
90  template<typename U>
-
91  GLM_FUNC_DECL mat<2, 2, T, Q> & operator*=(U s);
-
92  template<typename U>
-
93  GLM_FUNC_DECL mat<2, 2, T, Q> & operator*=(mat<2, 2, U, Q> const& m);
-
94  template<typename U>
-
95  GLM_FUNC_DECL mat<2, 2, T, Q> & operator/=(U s);
-
96  template<typename U>
-
97  GLM_FUNC_DECL mat<2, 2, T, Q> & operator/=(mat<2, 2, U, Q> const& m);
-
98 
-
99  // -- Increment and decrement operators --
-
100 
-
101  GLM_FUNC_DECL mat<2, 2, T, Q> & operator++ ();
-
102  GLM_FUNC_DECL mat<2, 2, T, Q> & operator-- ();
-
103  GLM_FUNC_DECL mat<2, 2, T, Q> operator++(int);
-
104  GLM_FUNC_DECL mat<2, 2, T, Q> operator--(int);
-
105  };
-
106 
-
107  // -- Unary operators --
-
108 
-
109  template<typename T, qualifier Q>
-
110  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(mat<2, 2, T, Q> const& m);
-
111 
-
112  template<typename T, qualifier Q>
-
113  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(mat<2, 2, T, Q> const& m);
-
114 
-
115  // -- Binary operators --
-
116 
-
117  template<typename T, qualifier Q>
-
118  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(mat<2, 2, T, Q> const& m, T scalar);
-
119 
-
120  template<typename T, qualifier Q>
-
121  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(T scalar, mat<2, 2, T, Q> const& m);
-
122 
-
123  template<typename T, qualifier Q>
-
124  GLM_FUNC_DECL mat<2, 2, T, Q> operator+(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
125 
-
126  template<typename T, qualifier Q>
-
127  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(mat<2, 2, T, Q> const& m, T scalar);
-
128 
-
129  template<typename T, qualifier Q>
-
130  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(T scalar, mat<2, 2, T, Q> const& m);
-
131 
-
132  template<typename T, qualifier Q>
-
133  GLM_FUNC_DECL mat<2, 2, T, Q> operator-(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
134 
-
135  template<typename T, qualifier Q>
-
136  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<2, 2, T, Q> const& m, T scalar);
-
137 
-
138  template<typename T, qualifier Q>
-
139  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(T scalar, mat<2, 2, T, Q> const& m);
-
140 
-
141  template<typename T, qualifier Q>
-
142  GLM_FUNC_DECL typename mat<2, 2, T, Q>::col_type operator*(mat<2, 2, T, Q> const& m, typename mat<2, 2, T, Q>::row_type const& v);
-
143 
-
144  template<typename T, qualifier Q>
-
145  GLM_FUNC_DECL typename mat<2, 2, T, Q>::row_type operator*(typename mat<2, 2, T, Q>::col_type const& v, mat<2, 2, T, Q> const& m);
-
146 
-
147  template<typename T, qualifier Q>
-
148  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
149 
-
150  template<typename T, qualifier Q>
-
151  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<2, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
152 
-
153  template<typename T, qualifier Q>
-
154  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<2, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
155 
-
156  template<typename T, qualifier Q>
-
157  GLM_FUNC_DECL mat<2, 2, T, Q> operator/(mat<2, 2, T, Q> const& m, T scalar);
-
158 
-
159  template<typename T, qualifier Q>
-
160  GLM_FUNC_DECL mat<2, 2, T, Q> operator/(T scalar, mat<2, 2, T, Q> const& m);
-
161 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL typename mat<2, 2, T, Q>::col_type operator/(mat<2, 2, T, Q> const& m, typename mat<2, 2, T, Q>::row_type const& v);
-
164 
-
165  template<typename T, qualifier Q>
-
166  GLM_FUNC_DECL typename mat<2, 2, T, Q>::row_type operator/(typename mat<2, 2, T, Q>::col_type const& v, mat<2, 2, T, Q> const& m);
-
167 
-
168  template<typename T, qualifier Q>
-
169  GLM_FUNC_DECL mat<2, 2, T, Q> operator/(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
170 
-
171  // -- Boolean operators --
-
172 
-
173  template<typename T, qualifier Q>
-
174  GLM_FUNC_DECL bool operator==(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
175 
-
176  template<typename T, qualifier Q>
-
177  GLM_FUNC_DECL bool operator!=(mat<2, 2, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
178 } //namespace glm
-
179 
-
180 #ifndef GLM_EXTERNAL_TEMPLATE
-
181 #include "type_mat2x2.inl"
-
182 #endif
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
- - - - diff --git a/doc/api/a00110.html b/doc/api/a00110.html index 5afe2339..69658c54 100644 --- a/doc/api/a00110.html +++ b/doc/api/a00110.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_mat2x3.hpp File Reference + + +0.9.9 API documenation: matrix_double3x3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
type_mat2x3.hpp File Reference
+
matrix_double3x3.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

+ + + + + + +

+Typedefs

typedef mat< 3, 3, double, defaultp > dmat3
 
typedef mat< 3, 3, double, defaultp > dmat3x3
 

Detailed Description

-

Core features

+

Core features

-

Definition in file type_mat2x3.hpp.

+

Definition in file matrix_double3x3.hpp.

diff --git a/doc/api/a00110_source.html b/doc/api/a00110_source.html index bf445b11..8b6d2d66 100644 --- a/doc/api/a00110_source.html +++ b/doc/api/a00110_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_mat2x3.hpp Source File + + +0.9.9 API documenation: matrix_double3x3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_mat2x3.hpp
+
matrix_double3x3.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec2.hpp"
-
8 #include "type_vec3.hpp"
-
9 #include "type_mat.hpp"
-
10 #include <limits>
-
11 #include <cstddef>
-
12 
-
13 namespace glm
-
14 {
-
15  template<typename T, qualifier Q>
-
16  struct mat<2, 3, T, Q>
-
17  {
-
18  typedef vec<3, T, Q> col_type;
-
19  typedef vec<2, T, Q> row_type;
-
20  typedef mat<2, 3, T, Q> type;
-
21  typedef mat<3, 2, T, Q> transpose_type;
-
22  typedef T value_type;
-
23 
-
24  private:
-
25  col_type value[2];
-
26 
-
27  public:
-
28  // -- Accesses --
-
29 
-
30  typedef length_t length_type;
-
31  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 2; }
-
32 
-
33  GLM_FUNC_DECL col_type & operator[](length_type i);
-
34  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
35 
-
36  // -- Constructors --
-
37 
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
39  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& m) GLM_DEFAULT;
-
40  template<qualifier P>
-
41  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, P> const& m);
-
42 
-
43  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
44  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
45  T x0, T y0, T z0,
-
46  T x1, T y1, T z1);
-
47  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
48  col_type const& v0,
-
49  col_type const& v1);
-
50 
-
51  // -- Conversions --
-
52 
-
53  template<typename X1, typename Y1, typename Z1, typename X2, typename Y2, typename Z2>
-
54  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
55  X1 x1, Y1 y1, Z1 z1,
-
56  X2 x2, Y2 y2, Z2 z2);
-
57 
-
58  template<typename U, typename V>
-
59  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
60  vec<3, U, Q> const& v1,
-
61  vec<3, V, Q> const& v2);
-
62 
-
63  // -- Matrix conversions --
-
64 
-
65  template<typename U, qualifier P>
-
66  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, U, P> const& m);
-
67 
-
68  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
69  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
76 
-
77  // -- Unary arithmetic operators --
-
78 
-
79  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<2, 3, T, Q> & operator=(mat<2, 3, T, Q> const& m) GLM_DEFAULT;
-
80 
-
81  template<typename U>
-
82  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<2, 3, T, Q> & operator=(mat<2, 3, U, Q> const& m);
-
83  template<typename U>
-
84  GLM_FUNC_DECL mat<2, 3, T, Q> & operator+=(U s);
-
85  template<typename U>
-
86  GLM_FUNC_DECL mat<2, 3, T, Q> & operator+=(mat<2, 3, U, Q> const& m);
-
87  template<typename U>
-
88  GLM_FUNC_DECL mat<2, 3, T, Q> & operator-=(U s);
-
89  template<typename U>
-
90  GLM_FUNC_DECL mat<2, 3, T, Q> & operator-=(mat<2, 3, U, Q> const& m);
-
91  template<typename U>
-
92  GLM_FUNC_DECL mat<2, 3, T, Q> & operator*=(U s);
-
93  template<typename U>
-
94  GLM_FUNC_DECL mat<2, 3, T, Q> & operator/=(U s);
-
95 
-
96  // -- Increment and decrement operators --
-
97 
-
98  GLM_FUNC_DECL mat<2, 3, T, Q> & operator++ ();
-
99  GLM_FUNC_DECL mat<2, 3, T, Q> & operator-- ();
-
100  GLM_FUNC_DECL mat<2, 3, T, Q> operator++(int);
-
101  GLM_FUNC_DECL mat<2, 3, T, Q> operator--(int);
-
102  };
-
103 
-
104  // -- Unary operators --
-
105 
-
106  template<typename T, qualifier Q>
-
107  GLM_FUNC_DECL mat<2, 3, T, Q> operator+(mat<2, 3, T, Q> const& m);
-
108 
-
109  template<typename T, qualifier Q>
-
110  GLM_FUNC_DECL mat<2, 3, T, Q> operator-(mat<2, 3, T, Q> const& m);
-
111 
-
112  // -- Binary operators --
-
113 
-
114  template<typename T, qualifier Q>
-
115  GLM_FUNC_DECL mat<2, 3, T, Q> operator+(mat<2, 3, T, Q> const& m, T scalar);
-
116 
-
117  template<typename T, qualifier Q>
-
118  GLM_FUNC_DECL mat<2, 3, T, Q> operator+(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
119 
-
120  template<typename T, qualifier Q>
-
121  GLM_FUNC_DECL mat<2, 3, T, Q> operator-(mat<2, 3, T, Q> const& m, T scalar);
-
122 
-
123  template<typename T, qualifier Q>
-
124  GLM_FUNC_DECL mat<2, 3, T, Q> operator-(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
125 
-
126  template<typename T, qualifier Q>
-
127  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<2, 3, T, Q> const& m, T scalar);
-
128 
-
129  template<typename T, qualifier Q>
-
130  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(T scalar, mat<2, 3, T, Q> const& m);
-
131 
-
132  template<typename T, qualifier Q>
-
133  GLM_FUNC_DECL typename mat<2, 3, T, Q>::col_type operator*(mat<2, 3, T, Q> const& m, typename mat<2, 3, T, Q>::row_type const& v);
-
134 
-
135  template<typename T, qualifier Q>
-
136  GLM_FUNC_DECL typename mat<2, 3, T, Q>::row_type operator*(typename mat<2, 3, T, Q>::col_type const& v, mat<2, 3, T, Q> const& m);
-
137 
-
138  template<typename T, qualifier Q>
-
139  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<2, 3, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
140 
-
141  template<typename T, qualifier Q>
-
142  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<2, 3, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
143 
-
144  template<typename T, qualifier Q>
-
145  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<2, 3, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
146 
-
147  template<typename T, qualifier Q>
-
148  GLM_FUNC_DECL mat<2, 3, T, Q> operator/(mat<2, 3, T, Q> const& m, T scalar);
-
149 
-
150  template<typename T, qualifier Q>
-
151  GLM_FUNC_DECL mat<2, 3, T, Q> operator/(T scalar, mat<2, 3, T, Q> const& m);
-
152 
-
153  // -- Boolean operators --
-
154 
-
155  template<typename T, qualifier Q>
-
156  GLM_FUNC_DECL bool operator==(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
157 
-
158  template<typename T, qualifier Q>
-
159  GLM_FUNC_DECL bool operator!=(mat<2, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
160 }//namespace glm
-
161 
-
162 #ifndef GLM_EXTERNAL_TEMPLATE
-
163 #include "type_mat2x3.inl"
-
164 #endif
-
Core features
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<3, 3, double, defaultp> dmat3x3;
16 
20  typedef mat<3, 3, double, defaultp> dmat3;
21 
23 }//namespace glm
mat< 3, 3, double, defaultp > dmat3
3 columns of 3 components matrix of double-precision floating-point numbers.
+
mat< 3, 3, double, defaultp > dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00111.html b/doc/api/a00111.html deleted file mode 100644 index 68a81e29..00000000 --- a/doc/api/a00111.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat2x4.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat2x4.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_mat2x4.hpp.

-
- - - - diff --git a/doc/api/a00111_source.html b/doc/api/a00111_source.html deleted file mode 100644 index cc0754c8..00000000 --- a/doc/api/a00111_source.html +++ /dev/null @@ -1,268 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat2x4.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat2x4.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec2.hpp"
-
8 #include "type_vec4.hpp"
-
9 #include "type_mat.hpp"
-
10 #include <limits>
-
11 #include <cstddef>
-
12 
-
13 namespace glm
-
14 {
-
15  template<typename T, qualifier Q>
-
16  struct mat<2, 4, T, Q>
-
17  {
-
18  typedef vec<4, T, Q> col_type;
-
19  typedef vec<2, T, Q> row_type;
-
20  typedef mat<2, 4, T, Q> type;
-
21  typedef mat<4, 2, T, Q> transpose_type;
-
22  typedef T value_type;
-
23 
-
24  private:
-
25  col_type value[2];
-
26 
-
27  public:
-
28  // -- Accesses --
-
29 
-
30  typedef length_t length_type;
-
31  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 2; }
-
32 
-
33  GLM_FUNC_DECL col_type & operator[](length_type i);
-
34  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
35 
-
36  // -- Constructors --
-
37 
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
39  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& m) GLM_DEFAULT;
-
40  template<qualifier P>
-
41  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, P> const& m);
-
42 
-
43  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
44  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
45  T x0, T y0, T z0, T w0,
-
46  T x1, T y1, T z1, T w1);
-
47  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
48  col_type const& v0,
-
49  col_type const& v1);
-
50 
-
51  // -- Conversions --
-
52 
-
53  template<
-
54  typename X1, typename Y1, typename Z1, typename W1,
-
55  typename X2, typename Y2, typename Z2, typename W2>
-
56  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
57  X1 x1, Y1 y1, Z1 z1, W1 w1,
-
58  X2 x2, Y2 y2, Z2 z2, W2 w2);
-
59 
-
60  template<typename U, typename V>
-
61  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
62  vec<4, U, Q> const& v1,
-
63  vec<4, V, Q> const& v2);
-
64 
-
65  // -- Matrix conversions --
-
66 
-
67  template<typename U, qualifier P>
-
68  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, U, P> const& m);
-
69 
-
70  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
71  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
78 
-
79  // -- Unary arithmetic operators --
-
80 
-
81  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<2, 4, T, Q> & operator=(mat<2, 4, T, Q> const& m) GLM_DEFAULT;
-
82 
-
83  template<typename U>
-
84  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<2, 4, T, Q> & operator=(mat<2, 4, U, Q> const& m);
-
85  template<typename U>
-
86  GLM_FUNC_DECL mat<2, 4, T, Q> & operator+=(U s);
-
87  template<typename U>
-
88  GLM_FUNC_DECL mat<2, 4, T, Q> & operator+=(mat<2, 4, U, Q> const& m);
-
89  template<typename U>
-
90  GLM_FUNC_DECL mat<2, 4, T, Q> & operator-=(U s);
-
91  template<typename U>
-
92  GLM_FUNC_DECL mat<2, 4, T, Q> & operator-=(mat<2, 4, U, Q> const& m);
-
93  template<typename U>
-
94  GLM_FUNC_DECL mat<2, 4, T, Q> & operator*=(U s);
-
95  template<typename U>
-
96  GLM_FUNC_DECL mat<2, 4, T, Q> & operator/=(U s);
-
97 
-
98  // -- Increment and decrement operators --
-
99 
-
100  GLM_FUNC_DECL mat<2, 4, T, Q> & operator++ ();
-
101  GLM_FUNC_DECL mat<2, 4, T, Q> & operator-- ();
-
102  GLM_FUNC_DECL mat<2, 4, T, Q> operator++(int);
-
103  GLM_FUNC_DECL mat<2, 4, T, Q> operator--(int);
-
104  };
-
105 
-
106  // -- Unary operators --
-
107 
-
108  template<typename T, qualifier Q>
-
109  GLM_FUNC_DECL mat<2, 4, T, Q> operator+(mat<2, 4, T, Q> const& m);
-
110 
-
111  template<typename T, qualifier Q>
-
112  GLM_FUNC_DECL mat<2, 4, T, Q> operator-(mat<2, 4, T, Q> const& m);
-
113 
-
114  // -- Binary operators --
-
115 
-
116  template<typename T, qualifier Q>
-
117  GLM_FUNC_DECL mat<2, 4, T, Q> operator+(mat<2, 4, T, Q> const& m, T scalar);
-
118 
-
119  template<typename T, qualifier Q>
-
120  GLM_FUNC_DECL mat<2, 4, T, Q> operator+(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
121 
-
122  template<typename T, qualifier Q>
-
123  GLM_FUNC_DECL mat<2, 4, T, Q> operator-(mat<2, 4, T, Q> const& m, T scalar);
-
124 
-
125  template<typename T, qualifier Q>
-
126  GLM_FUNC_DECL mat<2, 4, T, Q> operator-(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
127 
-
128  template<typename T, qualifier Q>
-
129  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<2, 4, T, Q> const& m, T scalar);
-
130 
-
131  template<typename T, qualifier Q>
-
132  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(T scalar, mat<2, 4, T, Q> const& m);
-
133 
-
134  template<typename T, qualifier Q>
-
135  GLM_FUNC_DECL typename mat<2, 4, T, Q>::col_type operator*(mat<2, 4, T, Q> const& m, typename mat<2, 4, T, Q>::row_type const& v);
-
136 
-
137  template<typename T, qualifier Q>
-
138  GLM_FUNC_DECL typename mat<2, 4, T, Q>::row_type operator*(typename mat<2, 4, T, Q>::col_type const& v, mat<2, 4, T, Q> const& m);
-
139 
-
140  template<typename T, qualifier Q>
-
141  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<2, 4, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
142 
-
143  template<typename T, qualifier Q>
-
144  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<2, 4, T, Q> const& m1, mat<2, 2, T, Q> const& m2);
-
145 
-
146  template<typename T, qualifier Q>
-
147  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<2, 4, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
148 
-
149  template<typename T, qualifier Q>
-
150  GLM_FUNC_DECL mat<2, 4, T, Q> operator/(mat<2, 4, T, Q> const& m, T scalar);
-
151 
-
152  template<typename T, qualifier Q>
-
153  GLM_FUNC_DECL mat<2, 4, T, Q> operator/(T scalar, mat<2, 4, T, Q> const& m);
-
154 
-
155  // -- Boolean operators --
-
156 
-
157  template<typename T, qualifier Q>
-
158  GLM_FUNC_DECL bool operator==(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
159 
-
160  template<typename T, qualifier Q>
-
161  GLM_FUNC_DECL bool operator!=(mat<2, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
162 }//namespace glm
-
163 
-
164 #ifndef GLM_EXTERNAL_TEMPLATE
-
165 #include "type_mat2x4.inl"
-
166 #endif
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00112.html b/doc/api/a00112.html deleted file mode 100644 index 12a83071..00000000 --- a/doc/api/a00112.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat3x2.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat3x2.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_mat3x2.hpp.

-
- - - - diff --git a/doc/api/a00112_source.html b/doc/api/a00112_source.html deleted file mode 100644 index 30bec1ce..00000000 --- a/doc/api/a00112_source.html +++ /dev/null @@ -1,274 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat3x2.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat3x2.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec2.hpp"
-
8 #include "type_vec3.hpp"
-
9 #include "type_mat.hpp"
-
10 #include <limits>
-
11 #include <cstddef>
-
12 
-
13 namespace glm
-
14 {
-
15  template<typename T, qualifier Q>
-
16  struct mat<3, 2, T, Q>
-
17  {
-
18  typedef vec<2, T, Q> col_type;
-
19  typedef vec<3, T, Q> row_type;
-
20  typedef mat<3, 2, T, Q> type;
-
21  typedef mat<2, 3, T, Q> transpose_type;
-
22  typedef T value_type;
-
23 
-
24  private:
-
25  col_type value[3];
-
26 
-
27  public:
-
28  // -- Accesses --
-
29 
-
30  typedef length_t length_type;
-
31  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 3; }
-
32 
-
33  GLM_FUNC_DECL col_type & operator[](length_type i);
-
34  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
35 
-
36  // -- Constructors --
-
37 
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
39  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& m) GLM_DEFAULT;
-
40  template<qualifier P>
-
41  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, P> const& m);
-
42 
-
43  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
44  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
45  T x0, T y0,
-
46  T x1, T y1,
-
47  T x2, T y2);
-
48  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
49  col_type const& v0,
-
50  col_type const& v1,
-
51  col_type const& v2);
-
52 
-
53  // -- Conversions --
-
54 
-
55  template<
-
56  typename X1, typename Y1,
-
57  typename X2, typename Y2,
-
58  typename X3, typename Y3>
-
59  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
60  X1 x1, Y1 y1,
-
61  X2 x2, Y2 y2,
-
62  X3 x3, Y3 y3);
-
63 
-
64  template<typename V1, typename V2, typename V3>
-
65  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
66  vec<2, V1, Q> const& v1,
-
67  vec<2, V2, Q> const& v2,
-
68  vec<2, V3, Q> const& v3);
-
69 
-
70  // -- Matrix conversions --
-
71 
-
72  template<typename U, qualifier P>
-
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, U, P> const& m);
-
74 
-
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
83 
-
84  // -- Unary arithmetic operators --
-
85 
-
86  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<3, 2, T, Q> & operator=(mat<3, 2, T, Q> const& m) GLM_DEFAULT;
-
87 
-
88  template<typename U>
-
89  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<3, 2, T, Q> & operator=(mat<3, 2, U, Q> const& m);
-
90  template<typename U>
-
91  GLM_FUNC_DECL mat<3, 2, T, Q> & operator+=(U s);
-
92  template<typename U>
-
93  GLM_FUNC_DECL mat<3, 2, T, Q> & operator+=(mat<3, 2, U, Q> const& m);
-
94  template<typename U>
-
95  GLM_FUNC_DECL mat<3, 2, T, Q> & operator-=(U s);
-
96  template<typename U>
-
97  GLM_FUNC_DECL mat<3, 2, T, Q> & operator-=(mat<3, 2, U, Q> const& m);
-
98  template<typename U>
-
99  GLM_FUNC_DECL mat<3, 2, T, Q> & operator*=(U s);
-
100  template<typename U>
-
101  GLM_FUNC_DECL mat<3, 2, T, Q> & operator/=(U s);
-
102 
-
103  // -- Increment and decrement operators --
-
104 
-
105  GLM_FUNC_DECL mat<3, 2, T, Q> & operator++ ();
-
106  GLM_FUNC_DECL mat<3, 2, T, Q> & operator-- ();
-
107  GLM_FUNC_DECL mat<3, 2, T, Q> operator++(int);
-
108  GLM_FUNC_DECL mat<3, 2, T, Q> operator--(int);
-
109  };
-
110 
-
111  // -- Unary operators --
-
112 
-
113  template<typename T, qualifier Q>
-
114  GLM_FUNC_DECL mat<3, 2, T, Q> operator+(mat<3, 2, T, Q> const& m);
-
115 
-
116  template<typename T, qualifier Q>
-
117  GLM_FUNC_DECL mat<3, 2, T, Q> operator-(mat<3, 2, T, Q> const& m);
-
118 
-
119  // -- Binary operators --
-
120 
-
121  template<typename T, qualifier Q>
-
122  GLM_FUNC_DECL mat<3, 2, T, Q> operator+(mat<3, 2, T, Q> const& m, T scalar);
-
123 
-
124  template<typename T, qualifier Q>
-
125  GLM_FUNC_DECL mat<3, 2, T, Q> operator+(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
126 
-
127  template<typename T, qualifier Q>
-
128  GLM_FUNC_DECL mat<3, 2, T, Q> operator-(mat<3, 2, T, Q> const& m, T scalar);
-
129 
-
130  template<typename T, qualifier Q>
-
131  GLM_FUNC_DECL mat<3, 2, T, Q> operator-(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
132 
-
133  template<typename T, qualifier Q>
-
134  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<3, 2, T, Q> const& m, T scalar);
-
135 
-
136  template<typename T, qualifier Q>
-
137  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(T scalar, mat<3, 2, T, Q> const& m);
-
138 
-
139  template<typename T, qualifier Q>
-
140  GLM_FUNC_DECL typename mat<3, 2, T, Q>::col_type operator*(mat<3, 2, T, Q> const& m, typename mat<3, 2, T, Q>::row_type const& v);
-
141 
-
142  template<typename T, qualifier Q>
-
143  GLM_FUNC_DECL typename mat<3, 2, T, Q>::row_type operator*(typename mat<3, 2, T, Q>::col_type const& v, mat<3, 2, T, Q> const& m);
-
144 
-
145  template<typename T, qualifier Q>
-
146  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<3, 2, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
147 
-
148  template<typename T, qualifier Q>
-
149  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<3, 2, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
150 
-
151  template<typename T, qualifier Q>
-
152  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<3, 2, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
153 
-
154  template<typename T, qualifier Q>
-
155  GLM_FUNC_DECL mat<3, 2, T, Q> operator/(mat<3, 2, T, Q> const& m, T scalar);
-
156 
-
157  template<typename T, qualifier Q>
-
158  GLM_FUNC_DECL mat<3, 2, T, Q> operator/(T scalar, mat<3, 2, T, Q> const& m);
-
159 
-
160  // -- Boolean operators --
-
161 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL bool operator==(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
164 
-
165  template<typename T, qualifier Q>
-
166  GLM_FUNC_DECL bool operator!=(mat<3, 2, T, Q> const& m1, mat<3, 2, T, Q> const& m2);
-
167 
-
168 }//namespace glm
-
169 
-
170 #ifndef GLM_EXTERNAL_TEMPLATE
-
171 #include "type_mat3x2.inl"
-
172 #endif
-
Core features
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
- - - - diff --git a/doc/api/a00113.html b/doc/api/a00113.html index d52c3e33..d8c1f1ce 100644 --- a/doc/api/a00113.html +++ b/doc/api/a00113.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_mat3x3.hpp File Reference + + +0.9.9 API documenation: matrix_double3x3_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
type_mat3x3.hpp File Reference
+
matrix_double3x3_precision.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Typedefs

typedef mat< 3, 3, double, highp > highp_dmat3
 
typedef mat< 3, 3, double, highp > highp_dmat3x3
 
typedef mat< 3, 3, double, lowp > lowp_dmat3
 
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
 
typedef mat< 3, 3, double, mediump > mediump_dmat3
 
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
 

Detailed Description

-

Core features

+

Core features

-

Definition in file type_mat3x3.hpp.

+

Definition in file matrix_double3x3_precision.hpp.

diff --git a/doc/api/a00113_source.html b/doc/api/a00113_source.html index bb52040c..0b298270 100644 --- a/doc/api/a00113_source.html +++ b/doc/api/a00113_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_mat3x3.hpp Source File + + +0.9.9 API documenation: matrix_double3x3_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_mat3x3.hpp
+
matrix_double3x3_precision.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec3.hpp"
-
8 #include "type_mat.hpp"
-
9 #include <limits>
-
10 #include <cstddef>
-
11 
-
12 namespace glm
-
13 {
-
14  template<typename T, qualifier Q>
-
15  struct mat<3, 3, T, Q>
-
16  {
-
17  typedef vec<3, T, Q> col_type;
-
18  typedef vec<3, T, Q> row_type;
-
19  typedef mat<3, 3, T, Q> type;
-
20  typedef mat<3, 3, T, Q> transpose_type;
-
21  typedef T value_type;
-
22 
-
23  private:
-
24  col_type value[3];
-
25 
-
26  public:
-
27  // -- Accesses --
-
28 
-
29  typedef length_t length_type;
-
30  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 3; }
-
31 
-
32  GLM_FUNC_DECL col_type & operator[](length_type i);
-
33  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
34 
-
35  // -- Constructors --
-
36 
-
37  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& m) GLM_DEFAULT;
-
39  template<qualifier P>
-
40  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, P> const& m);
-
41 
-
42  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
43  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
44  T x0, T y0, T z0,
-
45  T x1, T y1, T z1,
-
46  T x2, T y2, T z2);
-
47  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
48  col_type const& v0,
-
49  col_type const& v1,
-
50  col_type const& v2);
-
51 
-
52  // -- Conversions --
-
53 
-
54  template<
-
55  typename X1, typename Y1, typename Z1,
-
56  typename X2, typename Y2, typename Z2,
-
57  typename X3, typename Y3, typename Z3>
-
58  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
59  X1 x1, Y1 y1, Z1 z1,
-
60  X2 x2, Y2 y2, Z2 z2,
-
61  X3 x3, Y3 y3, Z3 z3);
-
62 
-
63  template<typename V1, typename V2, typename V3>
-
64  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
65  vec<3, V1, Q> const& v1,
-
66  vec<3, V2, Q> const& v2,
-
67  vec<3, V3, Q> const& v3);
-
68 
-
69  // -- Matrix conversions --
-
70 
-
71  template<typename U, qualifier P>
-
72  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, U, P> const& m);
-
73 
-
74  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
82 
-
83  // -- Unary arithmetic operators --
-
84 
-
85  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<3, 3, T, Q> & operator=(mat<3, 3, T, Q> const& m) GLM_DEFAULT;
-
86 
-
87  template<typename U>
-
88  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<3, 3, T, Q> & operator=(mat<3, 3, U, Q> const& m);
-
89  template<typename U>
-
90  GLM_FUNC_DECL mat<3, 3, T, Q> & operator+=(U s);
-
91  template<typename U>
-
92  GLM_FUNC_DECL mat<3, 3, T, Q> & operator+=(mat<3, 3, U, Q> const& m);
-
93  template<typename U>
-
94  GLM_FUNC_DECL mat<3, 3, T, Q> & operator-=(U s);
-
95  template<typename U>
-
96  GLM_FUNC_DECL mat<3, 3, T, Q> & operator-=(mat<3, 3, U, Q> const& m);
-
97  template<typename U>
-
98  GLM_FUNC_DECL mat<3, 3, T, Q> & operator*=(U s);
-
99  template<typename U>
-
100  GLM_FUNC_DECL mat<3, 3, T, Q> & operator*=(mat<3, 3, U, Q> const& m);
-
101  template<typename U>
-
102  GLM_FUNC_DECL mat<3, 3, T, Q> & operator/=(U s);
-
103  template<typename U>
-
104  GLM_FUNC_DECL mat<3, 3, T, Q> & operator/=(mat<3, 3, U, Q> const& m);
-
105 
-
106  // -- Increment and decrement operators --
-
107 
-
108  GLM_FUNC_DECL mat<3, 3, T, Q> & operator++();
-
109  GLM_FUNC_DECL mat<3, 3, T, Q> & operator--();
-
110  GLM_FUNC_DECL mat<3, 3, T, Q> operator++(int);
-
111  GLM_FUNC_DECL mat<3, 3, T, Q> operator--(int);
-
112  };
-
113 
-
114  // -- Unary operators --
-
115 
-
116  template<typename T, qualifier Q>
-
117  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(mat<3, 3, T, Q> const& m);
-
118 
-
119  template<typename T, qualifier Q>
-
120  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(mat<3, 3, T, Q> const& m);
-
121 
-
122  // -- Binary operators --
-
123 
-
124  template<typename T, qualifier Q>
-
125  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(mat<3, 3, T, Q> const& m, T scalar);
-
126 
-
127  template<typename T, qualifier Q>
-
128  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(T scalar, mat<3, 3, T, Q> const& m);
-
129 
-
130  template<typename T, qualifier Q>
-
131  GLM_FUNC_DECL mat<3, 3, T, Q> operator+(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
132 
-
133  template<typename T, qualifier Q>
-
134  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(mat<3, 3, T, Q> const& m, T scalar);
-
135 
-
136  template<typename T, qualifier Q>
-
137  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(T scalar, mat<3, 3, T, Q> const& m);
-
138 
-
139  template<typename T, qualifier Q>
-
140  GLM_FUNC_DECL mat<3, 3, T, Q> operator-(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
141 
-
142  template<typename T, qualifier Q>
-
143  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<3, 3, T, Q> const& m, T scalar);
-
144 
-
145  template<typename T, qualifier Q>
-
146  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(T scalar, mat<3, 3, T, Q> const& m);
-
147 
-
148  template<typename T, qualifier Q>
-
149  GLM_FUNC_DECL typename mat<3, 3, T, Q>::col_type operator*(mat<3, 3, T, Q> const& m, typename mat<3, 3, T, Q>::row_type const& v);
-
150 
-
151  template<typename T, qualifier Q>
-
152  GLM_FUNC_DECL typename mat<3, 3, T, Q>::row_type operator*(typename mat<3, 3, T, Q>::col_type const& v, mat<3, 3, T, Q> const& m);
-
153 
-
154  template<typename T, qualifier Q>
-
155  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
156 
-
157  template<typename T, qualifier Q>
-
158  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<3, 3, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
159 
-
160  template<typename T, qualifier Q>
-
161  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<3, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
162 
-
163  template<typename T, qualifier Q>
-
164  GLM_FUNC_DECL mat<3, 3, T, Q> operator/(mat<3, 3, T, Q> const& m, T scalar);
-
165 
-
166  template<typename T, qualifier Q>
-
167  GLM_FUNC_DECL mat<3, 3, T, Q> operator/(T scalar, mat<3, 3, T, Q> const& m);
-
168 
-
169  template<typename T, qualifier Q>
-
170  GLM_FUNC_DECL typename mat<3, 3, T, Q>::col_type operator/(mat<3, 3, T, Q> const& m, typename mat<3, 3, T, Q>::row_type const& v);
-
171 
-
172  template<typename T, qualifier Q>
-
173  GLM_FUNC_DECL typename mat<3, 3, T, Q>::row_type operator/(typename mat<3, 3, T, Q>::col_type const& v, mat<3, 3, T, Q> const& m);
-
174 
-
175  template<typename T, qualifier Q>
-
176  GLM_FUNC_DECL mat<3, 3, T, Q> operator/(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
177 
-
178  // -- Boolean operators --
-
179 
-
180  template<typename T, qualifier Q>
-
181  GLM_FUNC_DECL bool operator==(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
182 
-
183  template<typename T, qualifier Q>
-
184  GLM_FUNC_DECL bool operator!=(mat<3, 3, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
185 }//namespace glm
-
186 
-
187 #ifndef GLM_EXTERNAL_TEMPLATE
-
188 #include "type_mat3x3.inl"
-
189 #endif
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<3, 3, double, lowp> lowp_dmat3;
17 
22  typedef mat<3, 3, double, mediump> mediump_dmat3;
23 
28  typedef mat<3, 3, double, highp> highp_dmat3;
29 
34  typedef mat<3, 3, double, lowp> lowp_dmat3x3;
35 
40  typedef mat<3, 3, double, mediump> mediump_dmat3x3;
41 
46  typedef mat<3, 3, double, highp> highp_dmat3x3;
47 
49 }//namespace glm
mat< 3, 3, double, highp > highp_dmat3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, double, highp > highp_dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, double, lowp > lowp_dmat3
3 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 3, 3, double, lowp > lowp_dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 3, 3, double, mediump > mediump_dmat3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, double, mediump > mediump_dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
diff --git a/doc/api/a00114.html b/doc/api/a00114.html deleted file mode 100644 index cf0b4e86..00000000 --- a/doc/api/a00114.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat3x4.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat3x4.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_mat3x4.hpp.

-
- - - - diff --git a/doc/api/a00114_source.html b/doc/api/a00114_source.html deleted file mode 100644 index 5ea1b3ae..00000000 --- a/doc/api/a00114_source.html +++ /dev/null @@ -1,273 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat3x4.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat3x4.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec3.hpp"
-
8 #include "type_vec4.hpp"
-
9 #include "type_mat.hpp"
-
10 #include <limits>
-
11 #include <cstddef>
-
12 
-
13 namespace glm
-
14 {
-
15  template<typename T, qualifier Q>
-
16  struct mat<3, 4, T, Q>
-
17  {
-
18  typedef vec<4, T, Q> col_type;
-
19  typedef vec<3, T, Q> row_type;
-
20  typedef mat<3, 4, T, Q> type;
-
21  typedef mat<4, 3, T, Q> transpose_type;
-
22  typedef T value_type;
-
23 
-
24  private:
-
25  col_type value[3];
-
26 
-
27  public:
-
28  // -- Accesses --
-
29 
-
30  typedef length_t length_type;
-
31  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 3; }
-
32 
-
33  GLM_FUNC_DECL col_type & operator[](length_type i);
-
34  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
35 
-
36  // -- Constructors --
-
37 
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
39  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& m) GLM_DEFAULT;
-
40  template<qualifier P>
-
41  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, P> const& m);
-
42 
-
43  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
44  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
45  T x0, T y0, T z0, T w0,
-
46  T x1, T y1, T z1, T w1,
-
47  T x2, T y2, T z2, T w2);
-
48  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
49  col_type const& v0,
-
50  col_type const& v1,
-
51  col_type const& v2);
-
52 
-
53  // -- Conversions --
-
54 
-
55  template<
-
56  typename X1, typename Y1, typename Z1, typename W1,
-
57  typename X2, typename Y2, typename Z2, typename W2,
-
58  typename X3, typename Y3, typename Z3, typename W3>
-
59  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
60  X1 x1, Y1 y1, Z1 z1, W1 w1,
-
61  X2 x2, Y2 y2, Z2 z2, W2 w2,
-
62  X3 x3, Y3 y3, Z3 z3, W3 w3);
-
63 
-
64  template<typename V1, typename V2, typename V3>
-
65  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
66  vec<4, V1, Q> const& v1,
-
67  vec<4, V2, Q> const& v2,
-
68  vec<4, V3, Q> const& v3);
-
69 
-
70  // -- Matrix conversions --
-
71 
-
72  template<typename U, qualifier P>
-
73  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, U, P> const& m);
-
74 
-
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
83 
-
84  // -- Unary arithmetic operators --
-
85 
-
86  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<3, 4, T, Q> & operator=(mat<3, 4, T, Q> const& m) GLM_DEFAULT;
-
87 
-
88  template<typename U>
-
89  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<3, 4, T, Q> & operator=(mat<3, 4, U, Q> const& m);
-
90  template<typename U>
-
91  GLM_FUNC_DECL mat<3, 4, T, Q> & operator+=(U s);
-
92  template<typename U>
-
93  GLM_FUNC_DECL mat<3, 4, T, Q> & operator+=(mat<3, 4, U, Q> const& m);
-
94  template<typename U>
-
95  GLM_FUNC_DECL mat<3, 4, T, Q> & operator-=(U s);
-
96  template<typename U>
-
97  GLM_FUNC_DECL mat<3, 4, T, Q> & operator-=(mat<3, 4, U, Q> const& m);
-
98  template<typename U>
-
99  GLM_FUNC_DECL mat<3, 4, T, Q> & operator*=(U s);
-
100  template<typename U>
-
101  GLM_FUNC_DECL mat<3, 4, T, Q> & operator/=(U s);
-
102 
-
103  // -- Increment and decrement operators --
-
104 
-
105  GLM_FUNC_DECL mat<3, 4, T, Q> & operator++();
-
106  GLM_FUNC_DECL mat<3, 4, T, Q> & operator--();
-
107  GLM_FUNC_DECL mat<3, 4, T, Q> operator++(int);
-
108  GLM_FUNC_DECL mat<3, 4, T, Q> operator--(int);
-
109  };
-
110 
-
111  // -- Unary operators --
-
112 
-
113  template<typename T, qualifier Q>
-
114  GLM_FUNC_DECL mat<3, 4, T, Q> operator+(mat<3, 4, T, Q> const& m);
-
115 
-
116  template<typename T, qualifier Q>
-
117  GLM_FUNC_DECL mat<3, 4, T, Q> operator-(mat<3, 4, T, Q> const& m);
-
118 
-
119  // -- Binary operators --
-
120 
-
121  template<typename T, qualifier Q>
-
122  GLM_FUNC_DECL mat<3, 4, T, Q> operator+(mat<3, 4, T, Q> const& m, T scalar);
-
123 
-
124  template<typename T, qualifier Q>
-
125  GLM_FUNC_DECL mat<3, 4, T, Q> operator+(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
126 
-
127  template<typename T, qualifier Q>
-
128  GLM_FUNC_DECL mat<3, 4, T, Q> operator-(mat<3, 4, T, Q> const& m, T scalar);
-
129 
-
130  template<typename T, qualifier Q>
-
131  GLM_FUNC_DECL mat<3, 4, T, Q> operator-(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
132 
-
133  template<typename T, qualifier Q>
-
134  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<3, 4, T, Q> const& m, T scalar);
-
135 
-
136  template<typename T, qualifier Q>
-
137  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(T scalar, mat<3, 4, T, Q> const& m);
-
138 
-
139  template<typename T, qualifier Q>
-
140  GLM_FUNC_DECL typename mat<3, 4, T, Q>::col_type operator*(mat<3, 4, T, Q> const& m, typename mat<3, 4, T, Q>::row_type const& v);
-
141 
-
142  template<typename T, qualifier Q>
-
143  GLM_FUNC_DECL typename mat<3, 4, T, Q>::row_type operator*(typename mat<3, 4, T, Q>::col_type const& v, mat<3, 4, T, Q> const& m);
-
144 
-
145  template<typename T, qualifier Q>
-
146  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<3, 4, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
147 
-
148  template<typename T, qualifier Q>
-
149  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<3, 4, T, Q> const& m1, mat<2, 3, T, Q> const& m2);
-
150 
-
151  template<typename T, qualifier Q>
-
152  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<3, 4, T, Q> const& m1, mat<3, 3, T, Q> const& m2);
-
153 
-
154  template<typename T, qualifier Q>
-
155  GLM_FUNC_DECL mat<3, 4, T, Q> operator/(mat<3, 4, T, Q> const& m, T scalar);
-
156 
-
157  template<typename T, qualifier Q>
-
158  GLM_FUNC_DECL mat<3, 4, T, Q> operator/(T scalar, mat<3, 4, T, Q> const& m);
-
159 
-
160  // -- Boolean operators --
-
161 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL bool operator==(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
164 
-
165  template<typename T, qualifier Q>
-
166  GLM_FUNC_DECL bool operator!=(mat<3, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
167 }//namespace glm
-
168 
-
169 #ifndef GLM_EXTERNAL_TEMPLATE
-
170 #include "type_mat3x4.inl"
-
171 #endif
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00115.html b/doc/api/a00115.html deleted file mode 100644 index cbc00534..00000000 --- a/doc/api/a00115.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat4x2.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat4x2.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_mat4x2.hpp.

-
- - - - diff --git a/doc/api/a00115_source.html b/doc/api/a00115_source.html deleted file mode 100644 index 3b410433..00000000 --- a/doc/api/a00115_source.html +++ /dev/null @@ -1,278 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat4x2.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat4x2.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec2.hpp"
-
8 #include "type_vec4.hpp"
-
9 #include "type_mat.hpp"
-
10 #include <limits>
-
11 #include <cstddef>
-
12 
-
13 namespace glm
-
14 {
-
15  template<typename T, qualifier Q>
-
16  struct mat<4, 2, T, Q>
-
17  {
-
18  typedef vec<2, T, Q> col_type;
-
19  typedef vec<4, T, Q> row_type;
-
20  typedef mat<4, 2, T, Q> type;
-
21  typedef mat<2, 4, T, Q> transpose_type;
-
22  typedef T value_type;
-
23 
-
24  private:
-
25  col_type value[4];
-
26 
-
27  public:
-
28  // -- Accesses --
-
29 
-
30  typedef length_t length_type;
-
31  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 4; }
-
32 
-
33  GLM_FUNC_DECL col_type & operator[](length_type i);
-
34  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
35 
-
36  // -- Constructors --
-
37 
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
39  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& m) GLM_DEFAULT;
-
40  template<qualifier P>
-
41  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, P> const& m);
-
42 
-
43  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T scalar);
-
44  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
45  T x0, T y0,
-
46  T x1, T y1,
-
47  T x2, T y2,
-
48  T x3, T y3);
-
49  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
50  col_type const& v0,
-
51  col_type const& v1,
-
52  col_type const& v2,
-
53  col_type const& v3);
-
54 
-
55  // -- Conversions --
-
56 
-
57  template<
-
58  typename X1, typename Y1,
-
59  typename X2, typename Y2,
-
60  typename X3, typename Y3,
-
61  typename X4, typename Y4>
-
62  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
63  X1 x1, Y1 y1,
-
64  X2 x2, Y2 y2,
-
65  X3 x3, Y3 y3,
-
66  X4 x4, Y4 y4);
-
67 
-
68  template<typename V1, typename V2, typename V3, typename V4>
-
69  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
70  vec<2, V1, Q> const& v1,
-
71  vec<2, V2, Q> const& v2,
-
72  vec<2, V3, Q> const& v3,
-
73  vec<2, V4, Q> const& v4);
-
74 
-
75  // -- Matrix conversions --
-
76 
-
77  template<typename U, qualifier P>
-
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, U, P> const& m);
-
79 
-
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
83  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
84  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
85  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
86  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
87  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
88 
-
89  // -- Unary arithmetic operators --
-
90 
-
91  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<4, 2, T, Q> & operator=(mat<4, 2, T, Q> const& m) GLM_DEFAULT;
-
92 
-
93  template<typename U>
-
94  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<4, 2, T, Q> & operator=(mat<4, 2, U, Q> const& m);
-
95  template<typename U>
-
96  GLM_FUNC_DECL mat<4, 2, T, Q> & operator+=(U s);
-
97  template<typename U>
-
98  GLM_FUNC_DECL mat<4, 2, T, Q> & operator+=(mat<4, 2, U, Q> const& m);
-
99  template<typename U>
-
100  GLM_FUNC_DECL mat<4, 2, T, Q> & operator-=(U s);
-
101  template<typename U>
-
102  GLM_FUNC_DECL mat<4, 2, T, Q> & operator-=(mat<4, 2, U, Q> const& m);
-
103  template<typename U>
-
104  GLM_FUNC_DECL mat<4, 2, T, Q> & operator*=(U s);
-
105  template<typename U>
-
106  GLM_FUNC_DECL mat<4, 2, T, Q> & operator/=(U s);
-
107 
-
108  // -- Increment and decrement operators --
-
109 
-
110  GLM_FUNC_DECL mat<4, 2, T, Q> & operator++ ();
-
111  GLM_FUNC_DECL mat<4, 2, T, Q> & operator-- ();
-
112  GLM_FUNC_DECL mat<4, 2, T, Q> operator++(int);
-
113  GLM_FUNC_DECL mat<4, 2, T, Q> operator--(int);
-
114  };
-
115 
-
116  // -- Unary operators --
-
117 
-
118  template<typename T, qualifier Q>
-
119  GLM_FUNC_DECL mat<4, 2, T, Q> operator+(mat<4, 2, T, Q> const& m);
-
120 
-
121  template<typename T, qualifier Q>
-
122  GLM_FUNC_DECL mat<4, 2, T, Q> operator-(mat<4, 2, T, Q> const& m);
-
123 
-
124  // -- Binary operators --
-
125 
-
126  template<typename T, qualifier Q>
-
127  GLM_FUNC_DECL mat<4, 2, T, Q> operator+(mat<4, 2, T, Q> const& m, T scalar);
-
128 
-
129  template<typename T, qualifier Q>
-
130  GLM_FUNC_DECL mat<4, 2, T, Q> operator+(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
131 
-
132  template<typename T, qualifier Q>
-
133  GLM_FUNC_DECL mat<4, 2, T, Q> operator-(mat<4, 2, T, Q> const& m, T scalar);
-
134 
-
135  template<typename T, qualifier Q>
-
136  GLM_FUNC_DECL mat<4, 2, T, Q> operator-(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
137 
-
138  template<typename T, qualifier Q>
-
139  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<4, 2, T, Q> const& m, T scalar);
-
140 
-
141  template<typename T, qualifier Q>
-
142  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(T scalar, mat<4, 2, T, Q> const& m);
-
143 
-
144  template<typename T, qualifier Q>
-
145  GLM_FUNC_DECL typename mat<4, 2, T, Q>::col_type operator*(mat<4, 2, T, Q> const& m, typename mat<4, 2, T, Q>::row_type const& v);
-
146 
-
147  template<typename T, qualifier Q>
-
148  GLM_FUNC_DECL typename mat<4, 2, T, Q>::row_type operator*(typename mat<4, 2, T, Q>::col_type const& v, mat<4, 2, T, Q> const& m);
-
149 
-
150  template<typename T, qualifier Q>
-
151  GLM_FUNC_DECL mat<2, 2, T, Q> operator*(mat<4, 2, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
152 
-
153  template<typename T, qualifier Q>
-
154  GLM_FUNC_DECL mat<3, 2, T, Q> operator*(mat<4, 2, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
155 
-
156  template<typename T, qualifier Q>
-
157  GLM_FUNC_DECL mat<4, 2, T, Q> operator*(mat<4, 2, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
158 
-
159  template<typename T, qualifier Q>
-
160  GLM_FUNC_DECL mat<4, 2, T, Q> operator/(mat<4, 2, T, Q> const& m, T scalar);
-
161 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL mat<4, 2, T, Q> operator/(T scalar, mat<4, 2, T, Q> const& m);
-
164 
-
165  // -- Boolean operators --
-
166 
-
167  template<typename T, qualifier Q>
-
168  GLM_FUNC_DECL bool operator==(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
169 
-
170  template<typename T, qualifier Q>
-
171  GLM_FUNC_DECL bool operator!=(mat<4, 2, T, Q> const& m1, mat<4, 2, T, Q> const& m2);
-
172 }//namespace glm
-
173 
-
174 #ifndef GLM_EXTERNAL_TEMPLATE
-
175 #include "type_mat4x2.inl"
-
176 #endif
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00116.html b/doc/api/a00116.html index 72988306..1d89da60 100644 --- a/doc/api/a00116.html +++ b/doc/api/a00116.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_mat4x3.hpp File Reference + + +0.9.9 API documenation: matrix_double3x4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
type_mat4x3.hpp File Reference
+
matrix_double3x4.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

+ + + + +

+Typedefs

typedef mat< 3, 4, double, defaultp > dmat3x4
 

Detailed Description

-

Core features

+

Core features

-

Definition in file type_mat4x3.hpp.

+

Definition in file matrix_double3x4.hpp.

diff --git a/doc/api/a00116_source.html b/doc/api/a00116_source.html index 9d15d88c..ba13a5f3 100644 --- a/doc/api/a00116_source.html +++ b/doc/api/a00116_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_mat4x3.hpp Source File + + +0.9.9 API documenation: matrix_double3x4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_mat4x3.hpp
+
matrix_double3x4.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec3.hpp"
-
8 #include "type_vec4.hpp"
-
9 #include "type_mat.hpp"
-
10 #include <limits>
-
11 #include <cstddef>
-
12 
-
13 namespace glm
-
14 {
-
15  template<typename T, qualifier Q>
-
16  struct mat<4, 3, T, Q>
-
17  {
-
18  typedef vec<3, T, Q> col_type;
-
19  typedef vec<4, T, Q> row_type;
-
20  typedef mat<4, 3, T, Q> type;
-
21  typedef mat<3, 4, T, Q> transpose_type;
-
22  typedef T value_type;
-
23 
-
24  private:
-
25  col_type value[4];
-
26 
-
27  public:
-
28  // -- Accesses --
-
29 
-
30  typedef length_t length_type;
-
31  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length() { return 4; }
-
32 
-
33  GLM_FUNC_DECL col_type & operator[](length_type i);
-
34  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
35 
-
36  // -- Constructors --
-
37 
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
39  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& m) GLM_DEFAULT;
-
40  template<qualifier P>
-
41  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, P> const& m);
-
42 
-
43  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T const& x);
-
44  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
45  T const& x0, T const& y0, T const& z0,
-
46  T const& x1, T const& y1, T const& z1,
-
47  T const& x2, T const& y2, T const& z2,
-
48  T const& x3, T const& y3, T const& z3);
-
49  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
50  col_type const& v0,
-
51  col_type const& v1,
-
52  col_type const& v2,
-
53  col_type const& v3);
-
54 
-
55  // -- Conversions --
-
56 
-
57  template<
-
58  typename X1, typename Y1, typename Z1,
-
59  typename X2, typename Y2, typename Z2,
-
60  typename X3, typename Y3, typename Z3,
-
61  typename X4, typename Y4, typename Z4>
-
62  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
63  X1 const& x1, Y1 const& y1, Z1 const& z1,
-
64  X2 const& x2, Y2 const& y2, Z2 const& z2,
-
65  X3 const& x3, Y3 const& y3, Z3 const& z3,
-
66  X4 const& x4, Y4 const& y4, Z4 const& z4);
-
67 
-
68  template<typename V1, typename V2, typename V3, typename V4>
-
69  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
70  vec<3, V1, Q> const& v1,
-
71  vec<3, V2, Q> const& v2,
-
72  vec<3, V3, Q> const& v3,
-
73  vec<3, V4, Q> const& v4);
-
74 
-
75  // -- Matrix conversions --
-
76 
-
77  template<typename U, qualifier P>
-
78  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, U, P> const& m);
-
79 
-
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& x);
-
83  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
84  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
85  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
86  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
87  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
88 
-
89  // -- Unary arithmetic operators --
-
90 
-
91  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<4, 3, T, Q> & operator=(mat<4, 3, T, Q> const& m) GLM_DEFAULT;
-
92 
-
93  template<typename U>
-
94  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<4, 3, T, Q> & operator=(mat<4, 3, U, Q> const& m);
-
95  template<typename U>
-
96  GLM_FUNC_DECL mat<4, 3, T, Q> & operator+=(U s);
-
97  template<typename U>
-
98  GLM_FUNC_DECL mat<4, 3, T, Q> & operator+=(mat<4, 3, U, Q> const& m);
-
99  template<typename U>
-
100  GLM_FUNC_DECL mat<4, 3, T, Q> & operator-=(U s);
-
101  template<typename U>
-
102  GLM_FUNC_DECL mat<4, 3, T, Q> & operator-=(mat<4, 3, U, Q> const& m);
-
103  template<typename U>
-
104  GLM_FUNC_DECL mat<4, 3, T, Q> & operator*=(U s);
-
105  template<typename U>
-
106  GLM_FUNC_DECL mat<4, 3, T, Q> & operator/=(U s);
-
107 
-
108  // -- Increment and decrement operators --
-
109 
-
110  GLM_FUNC_DECL mat<4, 3, T, Q>& operator++();
-
111  GLM_FUNC_DECL mat<4, 3, T, Q>& operator--();
-
112  GLM_FUNC_DECL mat<4, 3, T, Q> operator++(int);
-
113  GLM_FUNC_DECL mat<4, 3, T, Q> operator--(int);
-
114  };
-
115 
-
116  // -- Unary operators --
-
117 
-
118  template<typename T, qualifier Q>
-
119  GLM_FUNC_DECL mat<4, 3, T, Q> operator+(mat<4, 3, T, Q> const& m);
-
120 
-
121  template<typename T, qualifier Q>
-
122  GLM_FUNC_DECL mat<4, 3, T, Q> operator-(mat<4, 3, T, Q> const& m);
-
123 
-
124  // -- Binary operators --
-
125 
-
126  template<typename T, qualifier Q>
-
127  GLM_FUNC_DECL mat<4, 3, T, Q> operator+(mat<4, 3, T, Q> const& m, T const& s);
-
128 
-
129  template<typename T, qualifier Q>
-
130  GLM_FUNC_DECL mat<4, 3, T, Q> operator+(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
131 
-
132  template<typename T, qualifier Q>
-
133  GLM_FUNC_DECL mat<4, 3, T, Q> operator-(mat<4, 3, T, Q> const& m, T const& s);
-
134 
-
135  template<typename T, qualifier Q>
-
136  GLM_FUNC_DECL mat<4, 3, T, Q> operator-(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
137 
-
138  template<typename T, qualifier Q>
-
139  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<4, 3, T, Q> const& m, T const& s);
-
140 
-
141  template<typename T, qualifier Q>
-
142  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(T const& s, mat<4, 3, T, Q> const& m);
-
143 
-
144  template<typename T, qualifier Q>
-
145  GLM_FUNC_DECL typename mat<4, 3, T, Q>::col_type operator*(mat<4, 3, T, Q> const& m, typename mat<4, 3, T, Q>::row_type const& v);
-
146 
-
147  template<typename T, qualifier Q>
-
148  GLM_FUNC_DECL typename mat<4, 3, T, Q>::row_type operator*(typename mat<4, 3, T, Q>::col_type const& v, mat<4, 3, T, Q> const& m);
-
149 
-
150  template<typename T, qualifier Q>
-
151  GLM_FUNC_DECL mat<2, 3, T, Q> operator*(mat<4, 3, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
152 
-
153  template<typename T, qualifier Q>
-
154  GLM_FUNC_DECL mat<3, 3, T, Q> operator*(mat<4, 3, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
155 
-
156  template<typename T, qualifier Q>
-
157  GLM_FUNC_DECL mat<4, 3, T, Q> operator*(mat<4, 3, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
158 
-
159  template<typename T, qualifier Q>
-
160  GLM_FUNC_DECL mat<4, 3, T, Q> operator/(mat<4, 3, T, Q> const& m, T const& s);
-
161 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL mat<4, 3, T, Q> operator/(T const& s, mat<4, 3, T, Q> const& m);
-
164 
-
165  // -- Boolean operators --
-
166 
-
167  template<typename T, qualifier Q>
-
168  GLM_FUNC_DECL bool operator==(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
169 
-
170  template<typename T, qualifier Q>
-
171  GLM_FUNC_DECL bool operator!=(mat<4, 3, T, Q> const& m1, mat<4, 3, T, Q> const& m2);
-
172 }//namespace glm
-
173 
-
174 #ifndef GLM_EXTERNAL_TEMPLATE
-
175 #include "type_mat4x3.inl"
-
176 #endif //GLM_EXTERNAL_TEMPLATE
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<3, 4, double, defaultp> dmat3x4;
16 
18 }//namespace glm
mat< 3, 4, double, defaultp > dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00117.html b/doc/api/a00117.html deleted file mode 100644 index f8df7e63..00000000 --- a/doc/api/a00117.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat4x4.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat4x4.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_mat4x4.hpp.

-
- - - - diff --git a/doc/api/a00117_source.html b/doc/api/a00117_source.html deleted file mode 100644 index 0a6ba1a9..00000000 --- a/doc/api/a00117_source.html +++ /dev/null @@ -1,295 +0,0 @@ - - - - - - -0.9.9 API documenation: type_mat4x4.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_mat4x4.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "../fwd.hpp"
-
7 #include "type_vec4.hpp"
-
8 #include "type_mat.hpp"
-
9 #include <limits>
-
10 #include <cstddef>
-
11 
-
12 namespace glm
-
13 {
-
14  template<typename T, qualifier Q>
-
15  struct mat<4, 4, T, Q>
-
16  {
-
17  typedef vec<4, T, Q> col_type;
-
18  typedef vec<4, T, Q> row_type;
-
19  typedef mat<4, 4, T, Q> type;
-
20  typedef mat<4, 4, T, Q> transpose_type;
-
21  typedef T value_type;
-
22 
-
23  private:
-
24  col_type value[4];
-
25 
-
26  public:
-
27  // -- Accesses --
-
28 
-
29  typedef length_t length_type;
-
30  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 4;}
-
31 
-
32  GLM_FUNC_DECL col_type & operator[](length_type i);
-
33  GLM_FUNC_DECL col_type const& operator[](length_type i) const;
-
34 
-
35  // -- Constructors --
-
36 
-
37  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat() GLM_DEFAULT_CTOR;
-
38  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, Q> const& m) GLM_DEFAULT;
-
39  template<qualifier P>
-
40  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, T, P> const& m);
-
41 
-
42  GLM_FUNC_DECL explicit GLM_CONSTEXPR_CTOR_CXX14 mat(T const& x);
-
43  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
44  T const& x0, T const& y0, T const& z0, T const& w0,
-
45  T const& x1, T const& y1, T const& z1, T const& w1,
-
46  T const& x2, T const& y2, T const& z2, T const& w2,
-
47  T const& x3, T const& y3, T const& z3, T const& w3);
-
48  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
49  col_type const& v0,
-
50  col_type const& v1,
-
51  col_type const& v2,
-
52  col_type const& v3);
-
53 
-
54  // -- Conversions --
-
55 
-
56  template<
-
57  typename X1, typename Y1, typename Z1, typename W1,
-
58  typename X2, typename Y2, typename Z2, typename W2,
-
59  typename X3, typename Y3, typename Z3, typename W3,
-
60  typename X4, typename Y4, typename Z4, typename W4>
-
61  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
62  X1 const& x1, Y1 const& y1, Z1 const& z1, W1 const& w1,
-
63  X2 const& x2, Y2 const& y2, Z2 const& z2, W2 const& w2,
-
64  X3 const& x3, Y3 const& y3, Z3 const& z3, W3 const& w3,
-
65  X4 const& x4, Y4 const& y4, Z4 const& z4, W4 const& w4);
-
66 
-
67  template<typename V1, typename V2, typename V3, typename V4>
-
68  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR_CXX14 mat(
-
69  vec<4, V1, Q> const& v1,
-
70  vec<4, V2, Q> const& v2,
-
71  vec<4, V3, Q> const& v3,
-
72  vec<4, V4, Q> const& v4);
-
73 
-
74  // -- Matrix conversions --
-
75 
-
76  template<typename U, qualifier P>
-
77  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 4, U, P> const& m);
-
78 
-
79  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 2, T, Q> const& x);
-
80  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 3, T, Q> const& x);
-
81  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 3, T, Q> const& x);
-
82  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 2, T, Q> const& x);
-
83  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<2, 4, T, Q> const& x);
-
84  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 2, T, Q> const& x);
-
85  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<3, 4, T, Q> const& x);
-
86  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR_CTOR_CXX14 mat(mat<4, 3, T, Q> const& x);
-
87 
-
88  // -- Unary arithmetic operators --
-
89 
-
90  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<4, 4, T, Q> & operator=(mat<4, 4, T, Q> const& m) GLM_DEFAULT;
-
91 
-
92  template<typename U>
-
93  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 mat<4, 4, T, Q> & operator=(mat<4, 4, U, Q> const& m);
-
94  template<typename U>
-
95  GLM_FUNC_DECL mat<4, 4, T, Q> & operator+=(U s);
-
96  template<typename U>
-
97  GLM_FUNC_DECL mat<4, 4, T, Q> & operator+=(mat<4, 4, U, Q> const& m);
-
98  template<typename U>
-
99  GLM_FUNC_DECL mat<4, 4, T, Q> & operator-=(U s);
-
100  template<typename U>
-
101  GLM_FUNC_DECL mat<4, 4, T, Q> & operator-=(mat<4, 4, U, Q> const& m);
-
102  template<typename U>
-
103  GLM_FUNC_DECL mat<4, 4, T, Q> & operator*=(U s);
-
104  template<typename U>
-
105  GLM_FUNC_DECL mat<4, 4, T, Q> & operator*=(mat<4, 4, U, Q> const& m);
-
106  template<typename U>
-
107  GLM_FUNC_DECL mat<4, 4, T, Q> & operator/=(U s);
-
108  template<typename U>
-
109  GLM_FUNC_DECL mat<4, 4, T, Q> & operator/=(mat<4, 4, U, Q> const& m);
-
110 
-
111  // -- Increment and decrement operators --
-
112 
-
113  GLM_FUNC_DECL mat<4, 4, T, Q> & operator++();
-
114  GLM_FUNC_DECL mat<4, 4, T, Q> & operator--();
-
115  GLM_FUNC_DECL mat<4, 4, T, Q> operator++(int);
-
116  GLM_FUNC_DECL mat<4, 4, T, Q> operator--(int);
-
117  };
-
118 
-
119  // -- Unary operators --
-
120 
-
121  template<typename T, qualifier Q>
-
122  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(mat<4, 4, T, Q> const& m);
-
123 
-
124  template<typename T, qualifier Q>
-
125  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(mat<4, 4, T, Q> const& m);
-
126 
-
127  // -- Binary operators --
-
128 
-
129  template<typename T, qualifier Q>
-
130  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(mat<4, 4, T, Q> const& m, T const& s);
-
131 
-
132  template<typename T, qualifier Q>
-
133  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(T const& s, mat<4, 4, T, Q> const& m);
-
134 
-
135  template<typename T, qualifier Q>
-
136  GLM_FUNC_DECL mat<4, 4, T, Q> operator+(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
137 
-
138  template<typename T, qualifier Q>
-
139  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(mat<4, 4, T, Q> const& m, T const& s);
-
140 
-
141  template<typename T, qualifier Q>
-
142  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(T const& s, mat<4, 4, T, Q> const& m);
-
143 
-
144  template<typename T, qualifier Q>
-
145  GLM_FUNC_DECL mat<4, 4, T, Q> operator-(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
146 
-
147  template<typename T, qualifier Q>
-
148  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<4, 4, T, Q> const& m, T const& s);
-
149 
-
150  template<typename T, qualifier Q>
-
151  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(T const& s, mat<4, 4, T, Q> const& m);
-
152 
-
153  template<typename T, qualifier Q>
-
154  GLM_FUNC_DECL typename mat<4, 4, T, Q>::col_type operator*(mat<4, 4, T, Q> const& m, typename mat<4, 4, T, Q>::row_type const& v);
-
155 
-
156  template<typename T, qualifier Q>
-
157  GLM_FUNC_DECL typename mat<4, 4, T, Q>::row_type operator*(typename mat<4, 4, T, Q>::col_type const& v, mat<4, 4, T, Q> const& m);
-
158 
-
159  template<typename T, qualifier Q>
-
160  GLM_FUNC_DECL mat<2, 4, T, Q> operator*(mat<4, 4, T, Q> const& m1, mat<2, 4, T, Q> const& m2);
-
161 
-
162  template<typename T, qualifier Q>
-
163  GLM_FUNC_DECL mat<3, 4, T, Q> operator*(mat<4, 4, T, Q> const& m1, mat<3, 4, T, Q> const& m2);
-
164 
-
165  template<typename T, qualifier Q>
-
166  GLM_FUNC_DECL mat<4, 4, T, Q> operator*(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
167 
-
168  template<typename T, qualifier Q>
-
169  GLM_FUNC_DECL mat<4, 4, T, Q> operator/(mat<4, 4, T, Q> const& m, T const& s);
-
170 
-
171  template<typename T, qualifier Q>
-
172  GLM_FUNC_DECL mat<4, 4, T, Q> operator/(T const& s, mat<4, 4, T, Q> const& m);
-
173 
-
174  template<typename T, qualifier Q>
-
175  GLM_FUNC_DECL typename mat<4, 4, T, Q>::col_type operator/(mat<4, 4, T, Q> const& m, typename mat<4, 4, T, Q>::row_type const& v);
-
176 
-
177  template<typename T, qualifier Q>
-
178  GLM_FUNC_DECL typename mat<4, 4, T, Q>::row_type operator/(typename mat<4, 4, T, Q>::col_type const& v, mat<4, 4, T, Q> const& m);
-
179 
-
180  template<typename T, qualifier Q>
-
181  GLM_FUNC_DECL mat<4, 4, T, Q> operator/(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
182 
-
183  // -- Boolean operators --
-
184 
-
185  template<typename T, qualifier Q>
-
186  GLM_FUNC_DECL bool operator==(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
187 
-
188  template<typename T, qualifier Q>
-
189  GLM_FUNC_DECL bool operator!=(mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2);
-
190 }//namespace glm
-
191 
-
192 #ifndef GLM_EXTERNAL_TEMPLATE
-
193 #include "type_mat4x4.inl"
-
194 #endif//GLM_EXTERNAL_TEMPLATE
-
Definition: common.hpp:20
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00118_source.html b/doc/api/a00118_source.html deleted file mode 100644 index 4487725f..00000000 --- a/doc/api/a00118_source.html +++ /dev/null @@ -1,738 +0,0 @@ - - - - - - -0.9.9 API documenation: type_precision.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_precision.hpp
-
-
-Go to the documentation of this file.
1 
-
17 #pragma once
-
18 
-
19 // Dependency:
-
20 #include "../gtc/quaternion.hpp"
-
21 #include "../gtc/vec1.hpp"
-
22 #include "../vec2.hpp"
-
23 #include "../vec3.hpp"
-
24 #include "../vec4.hpp"
-
25 #include "../mat2x2.hpp"
-
26 #include "../mat2x3.hpp"
-
27 #include "../mat2x4.hpp"
-
28 #include "../mat3x2.hpp"
-
29 #include "../mat3x3.hpp"
-
30 #include "../mat3x4.hpp"
-
31 #include "../mat4x2.hpp"
-
32 #include "../mat4x3.hpp"
-
33 #include "../mat4x4.hpp"
-
34 
-
35 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
36 # pragma message("GLM: GLM_GTC_type_precision extension included")
-
37 #endif
-
38 
-
39 namespace glm
-
40 {
-
42  // Signed int vector types
-
43 
-
46 
-
49  typedef detail::int8 lowp_int8;
-
50 
-
53  typedef detail::int16 lowp_int16;
-
54 
-
57  typedef detail::int32 lowp_int32;
-
58 
-
61  typedef detail::int64 lowp_int64;
-
62 
-
65  typedef detail::int8 lowp_int8_t;
-
66 
-
69  typedef detail::int16 lowp_int16_t;
-
70 
-
73  typedef detail::int32 lowp_int32_t;
-
74 
-
77  typedef detail::int64 lowp_int64_t;
-
78 
-
81  typedef detail::int8 lowp_i8;
-
82 
-
85  typedef detail::int16 lowp_i16;
-
86 
-
89  typedef detail::int32 lowp_i32;
-
90 
-
93  typedef detail::int64 lowp_i64;
-
94 
-
97  typedef detail::int8 mediump_int8;
-
98 
-
101  typedef detail::int16 mediump_int16;
-
102 
-
105  typedef detail::int32 mediump_int32;
-
106 
-
109  typedef detail::int64 mediump_int64;
-
110 
-
113  typedef detail::int8 mediump_int8_t;
-
114 
-
117  typedef detail::int16 mediump_int16_t;
-
118 
-
121  typedef detail::int32 mediump_int32_t;
-
122 
-
125  typedef detail::int64 mediump_int64_t;
-
126 
-
129  typedef detail::int8 mediump_i8;
-
130 
-
133  typedef detail::int16 mediump_i16;
-
134 
-
137  typedef detail::int32 mediump_i32;
-
138 
-
141  typedef detail::int64 mediump_i64;
-
142 
-
145  typedef detail::int8 highp_int8;
-
146 
-
149  typedef detail::int16 highp_int16;
-
150 
-
153  typedef detail::int32 highp_int32;
-
154 
-
157  typedef detail::int64 highp_int64;
-
158 
-
161  typedef detail::int8 highp_int8_t;
-
162 
-
165  typedef detail::int16 highp_int16_t;
-
166 
-
169  typedef detail::int32 highp_int32_t;
-
170 
-
173  typedef detail::int64 highp_int64_t;
-
174 
-
177  typedef detail::int8 highp_i8;
-
178 
-
181  typedef detail::int16 highp_i16;
-
182 
-
185  typedef detail::int32 highp_i32;
-
186 
-
189  typedef detail::int64 highp_i64;
-
190 
-
191 
-
194  typedef detail::int8 int8;
-
195 
-
198  typedef detail::int16 int16;
-
199 
-
202  typedef detail::int32 int32;
-
203 
-
206  typedef detail::int64 int64;
-
207 
-
208 #if GLM_HAS_EXTENDED_INTEGER_TYPE
-
209  using std::int8_t;
-
210  using std::int16_t;
-
211  using std::int32_t;
-
212  using std::int64_t;
-
213 #else
-
214  typedef detail::int8 int8_t;
-
217 
-
220  typedef detail::int16 int16_t;
-
221 
-
224  typedef detail::int32 int32_t;
-
225 
-
228  typedef detail::int64 int64_t;
-
229 #endif
-
230 
-
233  typedef detail::int8 i8;
-
234 
-
237  typedef detail::int16 i16;
-
238 
-
241  typedef detail::int32 i32;
-
242 
-
245  typedef detail::int64 i64;
-
246 
-
247 
-
250  typedef vec<1, i8, defaultp> i8vec1;
-
251 
-
254  typedef vec<2, i8, defaultp> i8vec2;
-
255 
-
258  typedef vec<3, i8, defaultp> i8vec3;
-
259 
-
262  typedef vec<4, i8, defaultp> i8vec4;
-
263 
-
264 
-
267  typedef vec<1, i16, defaultp> i16vec1;
-
268 
-
271  typedef vec<2, i16, defaultp> i16vec2;
-
272 
-
275  typedef vec<3, i16, defaultp> i16vec3;
-
276 
-
279  typedef vec<4, i16, defaultp> i16vec4;
-
280 
-
281 
-
284  typedef vec<1, i32, defaultp> i32vec1;
-
285 
-
288  typedef vec<2, i32, defaultp> i32vec2;
-
289 
-
292  typedef vec<3, i32, defaultp> i32vec3;
-
293 
-
296  typedef vec<4, i32, defaultp> i32vec4;
-
297 
-
298 
-
301  typedef vec<1, i64, defaultp> i64vec1;
-
302 
-
305  typedef vec<2, i64, defaultp> i64vec2;
-
306 
-
309  typedef vec<3, i64, defaultp> i64vec3;
-
310 
-
313  typedef vec<4, i64, defaultp> i64vec4;
-
314 
-
315 
-
317  // Unsigned int vector types
-
318 
-
321  typedef detail::uint8 lowp_uint8;
-
322 
-
325  typedef detail::uint16 lowp_uint16;
-
326 
-
329  typedef detail::uint32 lowp_uint32;
-
330 
-
333  typedef detail::uint64 lowp_uint64;
-
334 
-
337  typedef detail::uint8 lowp_uint8_t;
-
338 
-
341  typedef detail::uint16 lowp_uint16_t;
-
342 
-
345  typedef detail::uint32 lowp_uint32_t;
-
346 
-
349  typedef detail::uint64 lowp_uint64_t;
-
350 
-
353  typedef detail::uint8 lowp_u8;
-
354 
-
357  typedef detail::uint16 lowp_u16;
-
358 
-
361  typedef detail::uint32 lowp_u32;
-
362 
-
365  typedef detail::uint64 lowp_u64;
-
366 
-
369  typedef detail::uint8 mediump_uint8;
-
370 
-
373  typedef detail::uint16 mediump_uint16;
-
374 
-
377  typedef detail::uint32 mediump_uint32;
-
378 
-
381  typedef detail::uint64 mediump_uint64;
-
382 
-
385  typedef detail::uint8 mediump_uint8_t;
-
386 
-
389  typedef detail::uint16 mediump_uint16_t;
-
390 
-
393  typedef detail::uint32 mediump_uint32_t;
-
394 
-
397  typedef detail::uint64 mediump_uint64_t;
-
398 
-
401  typedef detail::uint8 mediump_u8;
-
402 
-
405  typedef detail::uint16 mediump_u16;
-
406 
-
409  typedef detail::uint32 mediump_u32;
-
410 
-
413  typedef detail::uint64 mediump_u64;
-
414 
-
417  typedef detail::uint8 highp_uint8;
-
418 
-
421  typedef detail::uint16 highp_uint16;
-
422 
-
425  typedef detail::uint32 highp_uint32;
-
426 
-
429  typedef detail::uint64 highp_uint64;
-
430 
-
433  typedef detail::uint8 highp_uint8_t;
-
434 
-
437  typedef detail::uint16 highp_uint16_t;
-
438 
-
441  typedef detail::uint32 highp_uint32_t;
-
442 
-
445  typedef detail::uint64 highp_uint64_t;
-
446 
-
449  typedef detail::uint8 highp_u8;
-
450 
-
453  typedef detail::uint16 highp_u16;
-
454 
-
457  typedef detail::uint32 highp_u32;
-
458 
-
461  typedef detail::uint64 highp_u64;
-
462 
-
465  typedef detail::uint8 uint8;
-
466 
-
469  typedef detail::uint16 uint16;
-
470 
-
473  typedef detail::uint32 uint32;
-
474 
-
477  typedef detail::uint64 uint64;
-
478 
-
479 #if GLM_HAS_EXTENDED_INTEGER_TYPE
-
480  using std::uint8_t;
-
481  using std::uint16_t;
-
482  using std::uint32_t;
-
483  using std::uint64_t;
-
484 #else
-
485  typedef detail::uint8 uint8_t;
-
488 
-
491  typedef detail::uint16 uint16_t;
-
492 
-
495  typedef detail::uint32 uint32_t;
-
496 
-
499  typedef detail::uint64 uint64_t;
-
500 #endif
-
501 
-
504  typedef detail::uint8 u8;
-
505 
-
508  typedef detail::uint16 u16;
-
509 
-
512  typedef detail::uint32 u32;
-
513 
-
516  typedef detail::uint64 u64;
-
517 
-
518 
-
519 
-
522  typedef vec<1, u8, defaultp> u8vec1;
-
523 
-
526  typedef vec<2, u8, defaultp> u8vec2;
-
527 
-
530  typedef vec<3, u8, defaultp> u8vec3;
-
531 
-
534  typedef vec<4, u8, defaultp> u8vec4;
-
535 
-
536 
-
539  typedef vec<1, u16, defaultp> u16vec1;
-
540 
-
543  typedef vec<2, u16, defaultp> u16vec2;
-
544 
-
547  typedef vec<3, u16, defaultp> u16vec3;
-
548 
-
551  typedef vec<4, u16, defaultp> u16vec4;
-
552 
-
553 
-
556  typedef vec<1, u32, defaultp> u32vec1;
-
557 
-
560  typedef vec<2, u32, defaultp> u32vec2;
-
561 
-
564  typedef vec<3, u32, defaultp> u32vec3;
-
565 
-
568  typedef vec<4, u32, defaultp> u32vec4;
-
569 
-
570 
-
573  typedef vec<1, u64, defaultp> u64vec1;
-
574 
-
577  typedef vec<2, u64, defaultp> u64vec2;
-
578 
-
581  typedef vec<3, u64, defaultp> u64vec3;
-
582 
-
585  typedef vec<4, u64, defaultp> u64vec4;
-
586 
-
587 
-
589  // Float vector types
-
590 
-
593  typedef detail::float32 float32;
-
594 
-
597  typedef detail::float32 float32_t;
-
598 
-
601  typedef float32 f32;
-
602 
-
603 # ifndef GLM_FORCE_SINGLE_ONLY
-
604  typedef detail::float64 float64;
-
607 
-
610  typedef detail::float64 float64_t;
-
611 
-
614  typedef float64 f64;
-
615 # endif//GLM_FORCE_SINGLE_ONLY
-
616 
-
619  typedef vec<1, float, defaultp> fvec1;
-
620 
-
623  typedef vec<2, float, defaultp> fvec2;
-
624 
-
627  typedef vec<3, float, defaultp> fvec3;
-
628 
-
631  typedef vec<4, float, defaultp> fvec4;
-
632 
-
633 
-
636  typedef vec<1, f32, defaultp> f32vec1;
-
637 
-
640  typedef vec<2, f32, defaultp> f32vec2;
-
641 
-
644  typedef vec<3, f32, defaultp> f32vec3;
-
645 
-
648  typedef vec<4, f32, defaultp> f32vec4;
-
649 
-
650 # ifndef GLM_FORCE_SINGLE_ONLY
-
651  typedef vec<1, f64, defaultp> f64vec1;
-
654 
-
657  typedef vec<2, f64, defaultp> f64vec2;
-
658 
-
661  typedef vec<3, f64, defaultp> f64vec3;
-
662 
-
665  typedef vec<4, f64, defaultp> f64vec4;
-
666 # endif//GLM_FORCE_SINGLE_ONLY
-
667 
-
668 
-
670  // Float matrix types
-
671 
-
674  //typedef detail::tmat1x1<f32> fmat1;
-
675 
-
678  typedef mat<2, 2, f32, defaultp> fmat2;
-
679 
-
682  typedef mat<3, 3, f32, defaultp> fmat3;
-
683 
-
686  typedef mat<4, 4, f32, defaultp> fmat4;
-
687 
-
688 
-
691  //typedef f32 fmat1x1;
-
692 
-
695  typedef mat<2, 2, f32, defaultp> fmat2x2;
-
696 
-
699  typedef mat<2, 3, f32, defaultp> fmat2x3;
-
700 
-
703  typedef mat<2, 4, f32, defaultp> fmat2x4;
-
704 
-
707  typedef mat<3, 2, f32, defaultp> fmat3x2;
-
708 
-
711  typedef mat<3, 3, f32, defaultp> fmat3x3;
-
712 
-
715  typedef mat<3, 4, f32, defaultp> fmat3x4;
-
716 
-
719  typedef mat<4, 2, f32, defaultp> fmat4x2;
-
720 
-
723  typedef mat<4, 3, f32, defaultp> fmat4x3;
-
724 
-
727  typedef mat<4, 4, f32, defaultp> fmat4x4;
-
728 
-
729 
-
732  //typedef detail::tmat1x1<f32, defaultp> f32mat1;
-
733 
-
736  typedef mat<2, 2, f32, defaultp> f32mat2;
-
737 
-
740  typedef mat<3, 3, f32, defaultp> f32mat3;
-
741 
-
744  typedef mat<4, 4, f32, defaultp> f32mat4;
-
745 
-
746 
-
749  //typedef f32 f32mat1x1;
-
750 
-
753  typedef mat<2, 2, f32, defaultp> f32mat2x2;
-
754 
-
757  typedef mat<2, 3, f32, defaultp> f32mat2x3;
-
758 
-
761  typedef mat<2, 4, f32, defaultp> f32mat2x4;
-
762 
-
765  typedef mat<3, 2, f32, defaultp> f32mat3x2;
-
766 
-
769  typedef mat<3, 3, f32, defaultp> f32mat3x3;
-
770 
-
773  typedef mat<3, 4, f32, defaultp> f32mat3x4;
-
774 
-
777  typedef mat<4, 2, f32, defaultp> f32mat4x2;
-
778 
-
781  typedef mat<4, 3, f32, defaultp> f32mat4x3;
-
782 
-
785  typedef mat<4, 4, f32, defaultp> f32mat4x4;
-
786 
-
787 
-
788 # ifndef GLM_FORCE_SINGLE_ONLY
-
789 
-
792  //typedef detail::tmat1x1<f64, defaultp> f64mat1;
-
793 
-
796  typedef mat<2, 2, f64, defaultp> f64mat2;
-
797 
-
800  typedef mat<3, 3, f64, defaultp> f64mat3;
-
801 
-
804  typedef mat<4, 4, f64, defaultp> f64mat4;
-
805 
-
806 
-
809  //typedef f64 f64mat1x1;
-
810 
-
813  typedef mat<2, 2, f64, defaultp> f64mat2x2;
-
814 
-
817  typedef mat<2, 3, f64, defaultp> f64mat2x3;
-
818 
-
821  typedef mat<2, 4, f64, defaultp> f64mat2x4;
-
822 
-
825  typedef mat<3, 2, f64, defaultp> f64mat3x2;
-
826 
-
829  typedef mat<3, 3, f64, defaultp> f64mat3x3;
-
830 
-
833  typedef mat<3, 4, f64, defaultp> f64mat3x4;
-
834 
-
837  typedef mat<4, 2, f64, defaultp> f64mat4x2;
-
838 
-
841  typedef mat<4, 3, f64, defaultp> f64mat4x3;
-
842 
-
845  typedef mat<4, 4, f64, defaultp> f64mat4x4;
-
846 
-
847 # endif//GLM_FORCE_SINGLE_ONLY
-
848 
-
850  // Quaternion types
-
851 
-
854  typedef tquat<f32, defaultp> f32quat;
-
855 
-
856 # ifndef GLM_FORCE_SINGLE_ONLY
-
857 
-
860  typedef tquat<f64, defaultp> f64quat;
-
861 
-
862 # endif//GLM_FORCE_SINGLE_ONLY
-
863 
-
865 }//namespace glm
-
866 
-
867 #include "type_precision.inl"
-
detail::uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:751
-
highp_u64vec2 u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1297
-
highp_u32vec4 u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1146
-
detail::int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:138
-
highp_i64vec2 i64vec2
Default qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:688
-
highp_f32mat3x3 fmat3x3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2361
-
detail::int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:178
-
detail::uint8 highp_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:823
-
detail::int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:130
-
detail::uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:781
-
fmat3x3 fmat3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2385
-
detail::int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:186
-
detail::int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:110
-
f64mat3x3 f64mat3
Default double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2561
-
detail::uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:726
-
detail::int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:242
-
highp_f32mat4x2 fmat4x2
Default single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2369
-
highp_u16vec4 u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1067
-
detail::uint32 uint32_t
32 bit unsigned integer type.
Definition: fwd.hpp:887
-
detail::int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:278
-
highp_i16vec1 i16vec1
Default qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:446
-
highp_u32vec2 u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1138
-
detail::uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:761
-
detail::uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:793
-
highp_f32mat2x4 f32mat2x4
Default single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2423
-
detail::uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:765
-
detail::int8 i8
8 bit signed integer type.
Definition: fwd.hpp:287
-
detail::int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:114
-
detail::int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:122
-
highp_i8vec2 i8vec2
Default qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:370
-
detail::uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:773
-
highp_f64mat3x2 f64mat3x2
Default double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2533
-
highp_u16vec1 u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:1055
-
highp_f64mat4x2 f64mat4x2
Default double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2545
-
f64mat2x2 f64mat2
Default double-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2557
-
detail::uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:717
-
detail::int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:210
-
highp_f32vec1 f32vec1
Default single-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2399
-
highp_f32vec4 fvec4
Default single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2341
-
detail::uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:797
-
highp_float32_t f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1507
-
detail::int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:134
-
highp_f32mat3x4 fmat3x4
Default single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2365
-
highp_u64vec1 u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:1293
-
highp_i16vec4 i16vec4
Default qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:458
-
detail::int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:222
-
highp_f32mat2x4 fmat2x4
Default single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2353
-
detail::int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:162
-
detail::uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:801
-
highp_f64quat f64quat
Default double-qualifier floating-point quaternion.
Definition: fwd.hpp:2569
-
detail::uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:739
-
highp_f32mat2x2 f32mat2x2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2415
-
detail::uint32 highp_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:815
-
highp_i16vec2 i16vec2
Default qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:450
-
highp_i64vec4 i64vec4
Default qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:696
-
highp_f32vec1 fvec1
Default single-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2329
-
highp_i8vec4 i8vec4
Default qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:378
-
detail::int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:166
-
detail::uint16 highp_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:811
-
highp_u32vec1 u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:1134
-
detail::int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:230
-
highp_i32vec4 i32vec4
Default qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:537
-
f32mat2x2 f32mat2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2451
-
highp_f64mat4x3 f64mat4x3
Default double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2549
-
detail::uint64 uint64_t
64 bit unsigned integer type.
Definition: fwd.hpp:891
-
highp_f64mat2x3 f64mat2x3
Default double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2525
-
fmat2x2 fmat2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2381
-
highp_u16vec3 u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1063
-
Definition: common.hpp:20
-
detail::uint64 highp_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:851
-
detail::int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:274
-
detail::int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:282
-
detail::int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:154
-
highp_float64_t float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1503
-
highp_f32mat2x3 fmat2x3
Default single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2349
-
detail::int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:102
-
f32mat4x4 f32mat4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2459
-
detail::int64 i64
64 bit signed integer type.
Definition: fwd.hpp:299
-
highp_f32mat2x2 fmat2x2
Default single-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2345
-
detail::uint16 uint16_t
16 bit unsigned integer type.
Definition: fwd.hpp:883
-
detail::uint8 highp_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:807
-
detail::int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:214
-
detail::uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:757
-
detail::int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:118
-
highp_i64vec3 i64vec3
Default qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:692
-
detail::uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:705
-
detail::uint32 u32
32 bit unsigned integer type.
Definition: fwd.hpp:904
-
highp_u64vec4 u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:1305
-
highp_f64vec1 f64vec1
Default double-qualifier floating-point vector of 1 components.
Definition: fwd.hpp:2505
-
detail::int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:150
-
detail::int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:182
-
highp_i16vec3 i16vec3
Default qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:454
-
detail::uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:777
-
detail::uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:785
-
highp_u16vec2 u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:1059
-
detail::uint64 highp_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:835
-
detail::uint8 highp_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:839
-
detail::int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:226
-
detail::uint32 highp_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:831
-
detail::int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:190
-
detail::uint64 u64
64 bit unsigned integer type.
Definition: fwd.hpp:908
-
highp_f64mat3x3 f64mat3x3
Default double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2537
-
detail::int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:194
-
highp_i8vec3 i8vec3
Default qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:374
-
detail::int32 i32
32 bit signed integer type.
Definition: fwd.hpp:295
-
detail::uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:730
-
detail::int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:202
-
detail::int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:142
-
detail::int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:234
-
detail::uint8 uint8_t
8 bit unsigned integer type.
Definition: fwd.hpp:879
-
detail::int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:106
-
highp_f32quat f32quat
Default single-qualifier floating-point quaternion.
Definition: fwd.hpp:2463
-
highp_f32mat4x3 fmat4x3
Default single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2373
-
highp_f32mat3x2 f32mat3x2
Default single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2427
-
detail::int16 i16
16 bit signed integer type.
Definition: fwd.hpp:291
-
detail::int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:238
-
detail::int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:218
-
highp_float32_t float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:1499
-
detail::uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:789
-
detail::uint32 highp_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:847
-
detail::uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:734
-
highp_u8vec4 u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:987
-
highp_u8vec1 u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:975
-
highp_f32mat4x4 fmat4x4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2377
-
detail::uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:722
-
highp_u8vec3 u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:983
-
highp_f32mat2x3 f32mat2x3
Default single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:2419
-
highp_f32vec3 f32vec3
Default single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2407
-
highp_i32vec2 i32vec2
Default qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:529
-
detail::int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:270
-
highp_f32mat4x3 f32mat4x3
Default single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:2443
-
detail::uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:713
-
highp_i64vec1 i64vec1
Default qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:684
-
detail::int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:170
-
detail::uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:769
-
detail::uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:709
-
highp_f32mat3x4 f32mat3x4
Default single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2435
-
detail::uint16 u16
16 bit unsigned integer type.
Definition: fwd.hpp:900
-
highp_f32vec2 fvec2
Default single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2333
-
highp_float64_t f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:1511
-
highp_f32mat3x2 fmat3x2
Default single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:2357
-
highp_f64vec4 f64vec4
Default double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2517
-
highp_f32vec4 f32vec4
Default single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:2411
-
highp_f32mat4x2 f32mat4x2
Default single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:2439
-
detail::uint8 u8
8 bit unsigned integer type.
Definition: fwd.hpp:896
-
detail::int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:158
-
detail::uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:743
-
highp_u64vec3 u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1301
-
detail::int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:126
-
highp_f64mat2x2 f64mat2x2
Default double-qualifier floating-point 2x2 matrix.
Definition: fwd.hpp:2521
-
highp_f64vec2 f64vec2
Default double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2509
-
highp_u8vec2 u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:979
-
detail::uint64 highp_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:819
-
detail::int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:146
-
f64mat4x4 f64mat4
Default double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2565
-
detail::uint16 highp_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:843
-
highp_i32vec3 i32vec3
Default qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:533
-
highp_f64mat3x4 f64mat3x4
Default double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:2541
-
detail::int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:206
-
highp_i8vec1 i8vec1
Default qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:366
-
fmat4x4 fmat4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2389
-
highp_f32vec3 fvec3
Default single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2337
-
highp_f32mat4x4 f32mat4x4
Default single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2447
-
highp_i32vec1 i32vec1
Default qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:525
-
detail::int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:174
-
detail::uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:747
-
detail::int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:198
-
highp_f64mat4x4 f64mat4x4
Default double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:2553
-
highp_f32mat3x3 f32mat3x3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2431
-
highp_u32vec3 u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:1142
-
highp_f64vec3 f64vec3
Default double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:2513
-
highp_f64mat2x4 f64mat2x4
Default double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:2529
-
highp_f32vec2 f32vec2
Default single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:2403
-
f32mat3x3 f32mat3
Default single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:2455
-
detail::uint16 highp_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:827
-
- - - - diff --git a/doc/api/a00119.html b/doc/api/a00119.html index 435680f0..c7dddad9 100644 --- a/doc/api/a00119.html +++ b/doc/api/a00119.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_ptr.hpp File Reference + + +0.9.9 API documenation: matrix_double3x4_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
type_ptr.hpp File Reference
+
matrix_double3x4_precision.hpp File Reference
-

GLM_GTC_type_ptr -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +

-Functions

template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2x2 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 2, 3, T, defaultp > make_mat2x3 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 2, 4, T, defaultp > make_mat2x4 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 3, 2, T, defaultp > make_mat3x2 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3x3 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 3, 4, T, defaultp > make_mat3x4 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 2, T, defaultp > make_mat4x2 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 3, T, defaultp > make_mat4x3 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4x4 (T const *const ptr)
 Build a matrix from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL tquat< T, defaultp > make_quat (T const *const ptr)
 Build a quaternion from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > make_vec2 (T const *const ptr)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > make_vec3 (T const *const ptr)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL vec< 4, T, defaultp > make_vec4 (T const *const ptr)
 Build a vector from a pointer. More...
 
template<typename genType >
GLM_FUNC_DECL genType::value_type const * value_ptr (genType const &v)
 Return the constant address to the data of the input parameter. More...
 

+Typedefs

typedef mat< 3, 4, double, highp > highp_dmat3x4
 
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
 
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
 

Detailed Description

-

GLM_GTC_type_ptr

-
See also
Core features (dependence)
-
-GLM_GTC_quaternion (dependence)
+

Core features

-

Definition in file type_ptr.hpp.

+

Definition in file matrix_double3x4_precision.hpp.

diff --git a/doc/api/a00119_source.html b/doc/api/a00119_source.html index 701e04c6..89303c07 100644 --- a/doc/api/a00119_source.html +++ b/doc/api/a00119_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_ptr.hpp Source File + + +0.9.9 API documenation: matrix_double3x4_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_ptr.hpp
+
matrix_double3x4_precision.hpp
-Go to the documentation of this file.
1 
-
35 #pragma once
-
36 
-
37 // Dependency:
-
38 #include "../gtc/quaternion.hpp"
-
39 #include "../gtc/vec1.hpp"
-
40 #include "../vec2.hpp"
-
41 #include "../vec3.hpp"
-
42 #include "../vec4.hpp"
-
43 #include "../mat2x2.hpp"
-
44 #include "../mat2x3.hpp"
-
45 #include "../mat2x4.hpp"
-
46 #include "../mat3x2.hpp"
-
47 #include "../mat3x3.hpp"
-
48 #include "../mat3x4.hpp"
-
49 #include "../mat4x2.hpp"
-
50 #include "../mat4x3.hpp"
-
51 #include "../mat4x4.hpp"
-
52 #include <cstring>
-
53 
-
54 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
55 # pragma message("GLM: GLM_GTC_type_ptr extension included")
-
56 #endif
-
57 
-
58 namespace glm
-
59 {
-
62 
-
65  template<typename genType>
-
66  GLM_FUNC_DECL typename genType::value_type const * value_ptr(genType const& v);
-
67 
-
70  template <typename T, qualifier Q>
-
71  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<1, T, Q> const& v);
-
72 
-
75  template <typename T, qualifier Q>
-
76  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<2, T, Q> const& v);
-
77 
-
80  template <typename T, qualifier Q>
-
81  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<3, T, Q> const& v);
-
82 
-
85  template <typename T, qualifier Q>
-
86  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<4, T, Q> const& v);
-
87 
-
90  template <typename T, qualifier Q>
-
91  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<1, T, Q> const& v);
-
92 
-
95  template <typename T, qualifier Q>
-
96  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<2, T, Q> const& v);
-
97 
-
100  template <typename T, qualifier Q>
-
101  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<3, T, Q> const& v);
-
102 
-
105  template <typename T, qualifier Q>
-
106  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<4, T, Q> const& v);
-
107 
-
110  template <typename T, qualifier Q>
-
111  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<1, T, Q> const& v);
-
112 
-
115  template <typename T, qualifier Q>
-
116  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<2, T, Q> const& v);
-
117 
-
120  template <typename T, qualifier Q>
-
121  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<3, T, Q> const& v);
-
122 
-
125  template <typename T, qualifier Q>
-
126  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<4, T, Q> const& v);
-
127 
-
130  template <typename T, qualifier Q>
-
131  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<1, T, Q> const& v);
-
132 
-
135  template <typename T, qualifier Q>
-
136  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<2, T, Q> const& v);
-
137 
-
140  template <typename T, qualifier Q>
-
141  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<3, T, Q> const& v);
-
142 
-
145  template <typename T, qualifier Q>
-
146  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<4, T, Q> const& v);
-
147 
-
150  template<typename T>
-
151  GLM_FUNC_DECL vec<2, T, defaultp> make_vec2(T const * const ptr);
-
152 
-
155  template<typename T>
-
156  GLM_FUNC_DECL vec<3, T, defaultp> make_vec3(T const * const ptr);
-
157 
-
160  template<typename T>
-
161  GLM_FUNC_DECL vec<4, T, defaultp> make_vec4(T const * const ptr);
-
162 
-
165  template<typename T>
-
166  GLM_FUNC_DECL mat<2, 2, T, defaultp> make_mat2x2(T const * const ptr);
-
167 
-
170  template<typename T>
-
171  GLM_FUNC_DECL mat<2, 3, T, defaultp> make_mat2x3(T const * const ptr);
-
172 
-
175  template<typename T>
-
176  GLM_FUNC_DECL mat<2, 4, T, defaultp> make_mat2x4(T const * const ptr);
-
177 
-
180  template<typename T>
-
181  GLM_FUNC_DECL mat<3, 2, T, defaultp> make_mat3x2(T const * const ptr);
-
182 
-
185  template<typename T>
-
186  GLM_FUNC_DECL mat<3, 3, T, defaultp> make_mat3x3(T const * const ptr);
-
187 
-
190  template<typename T>
-
191  GLM_FUNC_DECL mat<3, 4, T, defaultp> make_mat3x4(T const * const ptr);
-
192 
-
195  template<typename T>
-
196  GLM_FUNC_DECL mat<4, 2, T, defaultp> make_mat4x2(T const * const ptr);
-
197 
-
200  template<typename T>
-
201  GLM_FUNC_DECL mat<4, 3, T, defaultp> make_mat4x3(T const * const ptr);
-
202 
-
205  template<typename T>
-
206  GLM_FUNC_DECL mat<4, 4, T, defaultp> make_mat4x4(T const * const ptr);
-
207 
-
210  template<typename T>
-
211  GLM_FUNC_DECL mat<2, 2, T, defaultp> make_mat2(T const * const ptr);
-
212 
-
215  template<typename T>
-
216  GLM_FUNC_DECL mat<3, 3, T, defaultp> make_mat3(T const * const ptr);
-
217 
-
220  template<typename T>
-
221  GLM_FUNC_DECL mat<4, 4, T, defaultp> make_mat4(T const * const ptr);
-
222 
-
225  template<typename T>
-
226  GLM_FUNC_DECL tquat<T, defaultp> make_quat(T const * const ptr);
-
227 
-
229 }//namespace glm
-
230 
-
231 #include "type_ptr.inl"
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4x4(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL mat< 4, 3, T, defaultp > make_mat4x3(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL genType::value_type const * value_ptr(genType const &v)
Return the constant address to the data of the input parameter.
-
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3x3(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL vec< 4, T, defaultp > make_vec4(T const *const ptr)
Build a vector from a pointer.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL vec< 3, T, defaultp > make_vec3(T const *const ptr)
Build a vector from a pointer.
-
GLM_FUNC_DECL mat< 3, 4, T, defaultp > make_mat3x4(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL tquat< T, defaultp > make_quat(T const *const ptr)
Build a quaternion from a pointer.
-
GLM_FUNC_DECL mat< 3, 2, T, defaultp > make_mat3x2(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2x2(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL mat< 4, 2, T, defaultp > make_mat4x2(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL vec< 2, T, defaultp > make_vec2(T const *const ptr)
Build a vector from a pointer.
-
GLM_FUNC_DECL mat< 2, 4, T, defaultp > make_mat2x4(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL vec< 1, T, Q > make_vec1(vec< 4, T, Q > const &v)
Build a vector from a pointer.
-
GLM_FUNC_DECL mat< 2, 3, T, defaultp > make_mat2x3(T const *const ptr)
Build a matrix from a pointer.
-
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4(T const *const ptr)
Build a matrix from a pointer.
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<3, 4, double, lowp> lowp_dmat3x4;
17 
22  typedef mat<3, 4, double, mediump> mediump_dmat3x4;
23 
28  typedef mat<3, 4, double, highp> highp_dmat3x4;
29 
31 }//namespace glm
mat< 3, 4, double, lowp > lowp_dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 3, 4, double, highp > highp_dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 4, double, mediump > mediump_dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
diff --git a/doc/api/a00120_source.html b/doc/api/a00120_source.html deleted file mode 100644 index 1a188991..00000000 --- a/doc/api/a00120_source.html +++ /dev/null @@ -1,171 +0,0 @@ - - - - - - -0.9.9 API documenation: type_trait.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_trait.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #ifndef GLM_ENABLE_EXPERIMENTAL
-
16 # error "GLM: GLM_GTX_type_trait is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
17 #endif
-
18 
-
19 // Dependency:
-
20 #include "../detail/qualifier.hpp"
-
21 #include "../gtc/quaternion.hpp"
-
22 #include "../gtx/dual_quaternion.hpp"
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_type_trait extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
33  template<typename T>
-
34  struct type
-
35  {
-
36  static bool const is_vec = false;
-
37  static bool const is_mat = false;
-
38  static bool const is_quat = false;
-
39  static length_t const components = 0;
-
40  static length_t const cols = 0;
-
41  static length_t const rows = 0;
-
42  };
-
43 
-
44  template<length_t L, typename T, qualifier Q>
-
45  struct type<vec<L, T, Q> >
-
46  {
-
47  static bool const is_vec = true;
-
48  static bool const is_mat = false;
-
49  static bool const is_quat = false;
-
50  static length_t const components = L;
-
51  };
-
52 
-
53  template<length_t C, length_t R, typename T, qualifier Q>
-
54  struct type<mat<C, R, T, Q> >
-
55  {
-
56  static bool const is_vec = false;
-
57  static bool const is_mat = true;
-
58  static bool const is_quat = false;
-
59  static length_t const components = C;
-
60  static length_t const cols = C;
-
61  static length_t const rows = R;
-
62  };
-
63 
-
64  template<typename T, qualifier Q>
-
65  struct type<tquat<T, Q> >
-
66  {
-
67  static bool const is_vec = false;
-
68  static bool const is_mat = false;
-
69  static bool const is_quat = true;
-
70  static length_t const components = 4;
-
71  };
-
72 
-
73  template<typename T, qualifier Q>
-
74  struct type<tdualquat<T, Q> >
-
75  {
-
76  static bool const is_vec = false;
-
77  static bool const is_mat = false;
-
78  static bool const is_quat = true;
-
79  static length_t const components = 8;
-
80  };
-
81 
-
83 }//namespace glm
-
84 
-
85 #include "type_trait.inl"
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00121.html b/doc/api/a00121.html deleted file mode 100644 index 95fa5bc5..00000000 --- a/doc/api/a00121.html +++ /dev/null @@ -1,294 +0,0 @@ - - - - - - -0.9.9 API documenation: type_vec.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
type_vec.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef highp_bvec2 bvec2
 2 components vector of boolean. More...
 
typedef highp_bvec3 bvec3
 3 components vector of boolean. More...
 
typedef highp_bvec4 bvec4
 4 components vector of boolean. More...
 
typedef highp_dvec2 dvec2
 2 components vector of double-qualifier floating-point numbers. More...
 
typedef highp_dvec3 dvec3
 3 components vector of double-qualifier floating-point numbers. More...
 
typedef highp_dvec4 dvec4
 4 components vector of double-qualifier floating-point numbers. More...
 
typedef vec< 2, bool, highp > highp_bvec2
 2 components vector of high qualifier bool numbers. More...
 
typedef vec< 3, bool, highp > highp_bvec3
 3 components vector of high qualifier bool numbers. More...
 
typedef vec< 4, bool, highp > highp_bvec4
 4 components vector of high qualifier bool numbers. More...
 
typedef vec< 2, double, highp > highp_dvec2
 2 components vector of high double-qualifier floating-point numbers. More...
 
typedef vec< 3, double, highp > highp_dvec3
 3 components vector of high double-qualifier floating-point numbers. More...
 
typedef vec< 4, double, highp > highp_dvec4
 4 components vector of high double-qualifier floating-point numbers. More...
 
typedef vec< 2, int, highp > highp_ivec2
 2 components vector of high qualifier signed integer numbers. More...
 
typedef vec< 3, int, highp > highp_ivec3
 3 components vector of high qualifier signed integer numbers. More...
 
typedef vec< 4, int, highp > highp_ivec4
 4 components vector of high qualifier signed integer numbers. More...
 
typedef vec< 2, uint, highp > highp_uvec2
 2 components vector of high qualifier unsigned integer numbers. More...
 
typedef vec< 3, uint, highp > highp_uvec3
 3 components vector of high qualifier unsigned integer numbers. More...
 
typedef vec< 4, uint, highp > highp_uvec4
 4 components vector of high qualifier unsigned integer numbers. More...
 
typedef vec< 2, float, highp > highp_vec2
 2 components vector of high single-qualifier floating-point numbers. More...
 
typedef vec< 3, float, highp > highp_vec3
 3 components vector of high single-qualifier floating-point numbers. More...
 
typedef vec< 4, float, highp > highp_vec4
 4 components vector of high single-qualifier floating-point numbers. More...
 
typedef highp_ivec2 ivec2
 2 components vector of signed integer numbers. More...
 
typedef highp_ivec3 ivec3
 3 components vector of signed integer numbers. More...
 
typedef highp_ivec4 ivec4
 4 components vector of signed integer numbers. More...
 
typedef vec< 2, bool, lowp > lowp_bvec2
 2 components vector of low qualifier bool numbers. More...
 
typedef vec< 3, bool, lowp > lowp_bvec3
 3 components vector of low qualifier bool numbers. More...
 
typedef vec< 4, bool, lowp > lowp_bvec4
 4 components vector of low qualifier bool numbers. More...
 
typedef vec< 2, double, lowp > lowp_dvec2
 2 components vector of low double-qualifier floating-point numbers. More...
 
typedef vec< 3, double, lowp > lowp_dvec3
 3 components vector of low double-qualifier floating-point numbers. More...
 
typedef vec< 4, double, lowp > lowp_dvec4
 4 components vector of low double-qualifier floating-point numbers. More...
 
typedef vec< 2, int, lowp > lowp_ivec2
 2 components vector of low qualifier signed integer numbers. More...
 
typedef vec< 3, int, lowp > lowp_ivec3
 3 components vector of low qualifier signed integer numbers. More...
 
typedef vec< 4, int, lowp > lowp_ivec4
 4 components vector of low qualifier signed integer numbers. More...
 
typedef vec< 2, uint, lowp > lowp_uvec2
 2 components vector of low qualifier unsigned integer numbers. More...
 
typedef vec< 3, uint, lowp > lowp_uvec3
 3 components vector of low qualifier unsigned integer numbers. More...
 
typedef vec< 4, uint, lowp > lowp_uvec4
 4 components vector of low qualifier unsigned integer numbers. More...
 
typedef vec< 2, float, lowp > lowp_vec2
 2 components vector of low single-qualifier floating-point numbers. More...
 
typedef vec< 3, float, lowp > lowp_vec3
 3 components vector of low single-qualifier floating-point numbers. More...
 
typedef vec< 4, float, lowp > lowp_vec4
 4 components vector of low single-qualifier floating-point numbers. More...
 
typedef vec< 2, bool, mediump > mediump_bvec2
 2 components vector of medium qualifier bool numbers. More...
 
typedef vec< 3, bool, mediump > mediump_bvec3
 3 components vector of medium qualifier bool numbers. More...
 
typedef vec< 4, bool, mediump > mediump_bvec4
 4 components vector of medium qualifier bool numbers. More...
 
typedef vec< 2, double, mediump > mediump_dvec2
 2 components vector of medium double-qualifier floating-point numbers. More...
 
typedef vec< 3, double, mediump > mediump_dvec3
 3 components vector of medium double-qualifier floating-point numbers. More...
 
typedef vec< 4, double, mediump > mediump_dvec4
 4 components vector of medium double-qualifier floating-point numbers. More...
 
typedef vec< 2, int, mediump > mediump_ivec2
 2 components vector of medium qualifier signed integer numbers. More...
 
typedef vec< 3, int, mediump > mediump_ivec3
 3 components vector of medium qualifier signed integer numbers. More...
 
typedef vec< 4, int, mediump > mediump_ivec4
 4 components vector of medium qualifier signed integer numbers. More...
 
typedef vec< 2, uint, mediump > mediump_uvec2
 2 components vector of medium qualifier unsigned integer numbers. More...
 
typedef vec< 3, uint, mediump > mediump_uvec3
 3 components vector of medium qualifier unsigned integer numbers. More...
 
typedef vec< 4, uint, mediump > mediump_uvec4
 4 components vector of medium qualifier unsigned integer numbers. More...
 
typedef vec< 2, float, mediump > mediump_vec2
 2 components vector of medium single-qualifier floating-point numbers. More...
 
typedef vec< 3, float, mediump > mediump_vec3
 3 components vector of medium single-qualifier floating-point numbers. More...
 
typedef vec< 4, float, mediump > mediump_vec4
 4 components vector of medium single-qualifier floating-point numbers. More...
 
typedef highp_uvec2 uvec2
 2 components vector of unsigned integer numbers. More...
 
typedef highp_uvec3 uvec3
 3 components vector of unsigned integer numbers. More...
 
typedef highp_uvec4 uvec4
 4 components vector of unsigned integer numbers. More...
 
typedef highp_vec2 vec2
 2 components vector of floating-point numbers. More...
 
typedef highp_vec3 vec3
 3 components vector of floating-point numbers. More...
 
typedef highp_vec4 vec4
 4 components vector of floating-point numbers. More...
 
-

Detailed Description

-

Core features

- -

Definition in file type_vec.hpp.

-
- - - - diff --git a/doc/api/a00121_source.html b/doc/api/a00121_source.html deleted file mode 100644 index 7d23162b..00000000 --- a/doc/api/a00121_source.html +++ /dev/null @@ -1,458 +0,0 @@ - - - - - - -0.9.9 API documenation: type_vec.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_vec.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "qualifier.hpp"
-
7 #include "type_int.hpp"
-
8 #include "compute_vector_relational.hpp"
-
9 
-
10 namespace glm{
-
11 namespace detail
-
12 {
-
13  template<typename T, std::size_t size, bool aligned>
-
14  struct storage
-
15  {
-
16  typedef struct type {
-
17  uint8 data[size];
-
18  } type;
-
19  };
-
20 
-
21  #define GLM_ALIGNED_STORAGE_TYPE_STRUCT(x) \
-
22  template<typename T> \
-
23  struct storage<T, x, true> { \
-
24  GLM_ALIGNED_STRUCT(x) type { \
-
25  uint8 data[x]; \
-
26  }; \
-
27  };
-
28 
-
29  GLM_ALIGNED_STORAGE_TYPE_STRUCT(1)
-
30  GLM_ALIGNED_STORAGE_TYPE_STRUCT(2)
-
31  GLM_ALIGNED_STORAGE_TYPE_STRUCT(4)
-
32  GLM_ALIGNED_STORAGE_TYPE_STRUCT(8)
-
33  GLM_ALIGNED_STORAGE_TYPE_STRUCT(16)
-
34  GLM_ALIGNED_STORAGE_TYPE_STRUCT(32)
-
35  GLM_ALIGNED_STORAGE_TYPE_STRUCT(64)
-
36 
-
37 # if GLM_ARCH & GLM_ARCH_SSE2_BIT
-
38  template<>
-
39  struct storage<float, 16, true>
-
40  {
-
41  typedef glm_vec4 type;
-
42  };
-
43 
-
44  template<>
-
45  struct storage<int, 16, true>
-
46  {
-
47  typedef glm_ivec4 type;
-
48  };
-
49 
-
50  template<>
-
51  struct storage<unsigned int, 16, true>
-
52  {
-
53  typedef glm_uvec4 type;
-
54  };
-
55 /*
-
56 # else
-
57  typedef union __declspec(align(16)) glm_128
-
58  {
-
59  unsigned __int8 data[16];
-
60  } glm_128;
-
61 
-
62  template<>
-
63  struct storage<float, 16, true>
-
64  {
-
65  typedef glm_128 type;
-
66  };
-
67 
-
68  template<>
-
69  struct storage<int, 16, true>
-
70  {
-
71  typedef glm_128 type;
-
72  };
-
73 
-
74  template<>
-
75  struct storage<unsigned int, 16, true>
-
76  {
-
77  typedef glm_128 type;
-
78  };
-
79 */
-
80 # endif
-
81 
-
82 # if (GLM_ARCH & GLM_ARCH_AVX_BIT)
-
83  template<>
-
84  struct storage<double, 32, true>
-
85  {
-
86  typedef glm_dvec4 type;
-
87  };
-
88 # endif
-
89 
-
90 # if (GLM_ARCH & GLM_ARCH_AVX2_BIT)
-
91  template<>
-
92  struct storage<int64, 32, true>
-
93  {
-
94  typedef glm_i64vec4 type;
-
95  };
-
96 
-
97  template<>
-
98  struct storage<uint64, 32, true>
-
99  {
-
100  typedef glm_u64vec4 type;
-
101  };
-
102 # endif
-
103 }//namespace detail
-
104 
-
105 #if GLM_HAS_TEMPLATE_ALIASES
-
106  template <typename T, qualifier Q = defaultp> using tvec2 = vec<2, T, Q>;
-
107  template <typename T, qualifier Q = defaultp> using tvec3 = vec<3, T, Q>;
-
108  template <typename T, qualifier Q = defaultp> using tvec4 = vec<4, T, Q>;
-
109 #endif//GLM_HAS_TEMPLATE_ALIASES
-
110 
-
113 
-
119  typedef vec<2, float, highp> highp_vec2;
-
120 
-
126  typedef vec<2, float, mediump> mediump_vec2;
-
127 
-
133  typedef vec<2, float, lowp> lowp_vec2;
-
134 
-
140  typedef vec<2, double, highp> highp_dvec2;
-
141 
-
147  typedef vec<2, double, mediump> mediump_dvec2;
-
148 
-
154  typedef vec<2, double, lowp> lowp_dvec2;
-
155 
-
161  typedef vec<2, int, highp> highp_ivec2;
-
162 
-
168  typedef vec<2, int, mediump> mediump_ivec2;
-
169 
-
175  typedef vec<2, int, lowp> lowp_ivec2;
-
176 
-
182  typedef vec<2, uint, highp> highp_uvec2;
-
183 
-
189  typedef vec<2, uint, mediump> mediump_uvec2;
-
190 
-
196  typedef vec<2, uint, lowp> lowp_uvec2;
-
197 
-
203  typedef vec<2, bool, highp> highp_bvec2;
-
204 
-
210  typedef vec<2, bool, mediump> mediump_bvec2;
-
211 
-
217  typedef vec<2, bool, lowp> lowp_bvec2;
-
218 
-
220 
-
223 
-
229  typedef vec<3, float, highp> highp_vec3;
-
230 
-
236  typedef vec<3, float, mediump> mediump_vec3;
-
237 
-
243  typedef vec<3, float, lowp> lowp_vec3;
-
244 
-
250  typedef vec<3, double, highp> highp_dvec3;
-
251 
-
257  typedef vec<3, double, mediump> mediump_dvec3;
-
258 
-
264  typedef vec<3, double, lowp> lowp_dvec3;
-
265 
-
271  typedef vec<3, int, highp> highp_ivec3;
-
272 
-
278  typedef vec<3, int, mediump> mediump_ivec3;
-
279 
-
285  typedef vec<3, int, lowp> lowp_ivec3;
-
286 
-
292  typedef vec<3, uint, highp> highp_uvec3;
-
293 
-
299  typedef vec<3, uint, mediump> mediump_uvec3;
-
300 
-
306  typedef vec<3, uint, lowp> lowp_uvec3;
-
307 
-
312  typedef vec<3, bool, highp> highp_bvec3;
-
313 
-
318  typedef vec<3, bool, mediump> mediump_bvec3;
-
319 
-
324  typedef vec<3, bool, lowp> lowp_bvec3;
-
325 
-
327 
-
330 
-
335  typedef vec<4, float, highp> highp_vec4;
-
336 
-
341  typedef vec<4, float, mediump> mediump_vec4;
-
342 
-
347  typedef vec<4, float, lowp> lowp_vec4;
-
348 
-
353  typedef vec<4, double, highp> highp_dvec4;
-
354 
-
359  typedef vec<4, double, mediump> mediump_dvec4;
-
360 
-
365  typedef vec<4, double, lowp> lowp_dvec4;
-
366 
-
371  typedef vec<4, int, highp> highp_ivec4;
-
372 
-
377  typedef vec<4, int, mediump> mediump_ivec4;
-
378 
-
383  typedef vec<4, int, lowp> lowp_ivec4;
-
384 
-
389  typedef vec<4, uint, highp> highp_uvec4;
-
390 
-
395  typedef vec<4, uint, mediump> mediump_uvec4;
-
396 
-
401  typedef vec<4, uint, lowp> lowp_uvec4;
-
402 
-
407  typedef vec<4, bool, highp> highp_bvec4;
-
408 
-
413  typedef vec<4, bool, mediump> mediump_bvec4;
-
414 
-
419  typedef vec<4, bool, lowp> lowp_bvec4;
-
420 
-
422 
-
425 
-
426  // -- Default float definition --
-
427 
-
428 #if(defined(GLM_PRECISION_LOWP_FLOAT))
-
429  typedef lowp_vec2 vec2;
-
430  typedef lowp_vec3 vec3;
-
431  typedef lowp_vec4 vec4;
-
432 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
-
433  typedef mediump_vec2 vec2;
-
434  typedef mediump_vec3 vec3;
-
435  typedef mediump_vec4 vec4;
-
436 #else //defined(GLM_PRECISION_HIGHP_FLOAT)
-
437  typedef highp_vec2 vec2;
-
441 
-
445  typedef highp_vec3 vec3;
-
446 
-
450  typedef highp_vec4 vec4;
-
451 #endif//GLM_PRECISION
-
452 
-
453  // -- Default double definition --
-
454 
-
455 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
-
456  typedef lowp_dvec2 dvec2;
-
457  typedef lowp_dvec3 dvec3;
-
458  typedef lowp_dvec4 dvec4;
-
459 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
-
460  typedef mediump_dvec2 dvec2;
-
461  typedef mediump_dvec3 dvec3;
-
462  typedef mediump_dvec4 dvec4;
-
463 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
-
464  typedef highp_dvec2 dvec2;
-
468 
-
472  typedef highp_dvec3 dvec3;
-
473 
-
477  typedef highp_dvec4 dvec4;
-
478 #endif//GLM_PRECISION
-
479 
-
480  // -- Signed integer definition --
-
481 
-
482 #if(defined(GLM_PRECISION_LOWP_INT))
-
483  typedef lowp_ivec2 ivec2;
-
484  typedef lowp_ivec3 ivec3;
-
485  typedef lowp_ivec4 ivec4;
-
486 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
487  typedef mediump_ivec2 ivec2;
-
488  typedef mediump_ivec3 ivec3;
-
489  typedef mediump_ivec4 ivec4;
-
490 #else //defined(GLM_PRECISION_HIGHP_INT)
-
491  typedef highp_ivec2 ivec2;
-
495 
-
499  typedef highp_ivec3 ivec3;
-
500 
-
504  typedef highp_ivec4 ivec4;
-
505 #endif//GLM_PRECISION
-
506 
-
507  // -- Unsigned integer definition --
-
508 
-
509 #if(defined(GLM_PRECISION_LOWP_UINT))
-
510  typedef lowp_uvec2 uvec2;
-
511  typedef lowp_uvec3 uvec3;
-
512  typedef lowp_uvec4 uvec4;
-
513 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
-
514  typedef mediump_uvec2 uvec2;
-
515  typedef mediump_uvec3 uvec3;
-
516  typedef mediump_uvec4 uvec4;
-
517 #else //defined(GLM_PRECISION_HIGHP_UINT)
-
518  typedef highp_uvec2 uvec2;
-
522 
-
526  typedef highp_uvec3 uvec3;
-
527 
-
531  typedef highp_uvec4 uvec4;
-
532 #endif//GLM_PRECISION
-
533 
-
534  // -- Boolean definition --
-
535 
-
536 #if(defined(GLM_PRECISION_LOWP_BOOL))
-
537  typedef lowp_bvec2 bvec2;
-
538  typedef lowp_bvec3 bvec3;
-
539  typedef lowp_bvec4 bvec4;
-
540 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
-
541  typedef mediump_bvec2 bvec2;
-
542  typedef mediump_bvec3 bvec3;
-
543  typedef mediump_bvec4 bvec4;
-
544 #else //defined(GLM_PRECISION_HIGHP_BOOL)
-
545  typedef highp_bvec2 bvec2;
-
549 
-
553  typedef highp_bvec3 bvec3;
-
554 
-
558  typedef highp_bvec4 bvec4;
-
559 #endif//GLM_PRECISION
-
560 
-
562 }//namespace glm
-
vec< 4, bool, lowp > lowp_bvec4
4 components vector of low qualifier bool numbers.
Definition: type_vec.hpp:419
-
vec< 2, int, highp > highp_ivec2
2 components vector of high qualifier signed integer numbers.
Definition: type_vec.hpp:161
-
vec< 3, int, highp > highp_ivec3
3 components vector of high qualifier signed integer numbers.
Definition: type_vec.hpp:271
-
vec< 3, uint, lowp > lowp_uvec3
3 components vector of low qualifier unsigned integer numbers.
Definition: type_vec.hpp:306
-
highp_ivec3 ivec3
3 components vector of signed integer numbers.
Definition: type_vec.hpp:499
-
vec< 3, bool, lowp > lowp_bvec3
3 components vector of low qualifier bool numbers.
Definition: type_vec.hpp:324
-
vec< 2, int, mediump > mediump_ivec2
2 components vector of medium qualifier signed integer numbers.
Definition: type_vec.hpp:168
-
highp_bvec2 bvec2
2 components vector of boolean.
Definition: type_vec.hpp:548
-
vec< 4, float, lowp > lowp_vec4
4 components vector of low single-qualifier floating-point numbers.
Definition: type_vec.hpp:347
-
highp_vec2 vec2
2 components vector of floating-point numbers.
Definition: type_vec.hpp:440
-
vec< 4, double, highp > highp_dvec4
4 components vector of high double-qualifier floating-point numbers.
Definition: type_vec.hpp:353
-
vec< 2, double, highp > highp_dvec2
2 components vector of high double-qualifier floating-point numbers.
Definition: type_vec.hpp:140
-
highp_uvec2 uvec2
2 components vector of unsigned integer numbers.
Definition: type_vec.hpp:521
-
vec< 2, double, mediump > mediump_dvec2
2 components vector of medium double-qualifier floating-point numbers.
Definition: type_vec.hpp:147
-
Core features
-
highp_dvec4 dvec4
4 components vector of double-qualifier floating-point numbers.
Definition: type_vec.hpp:477
-
vec< 3, int, mediump > mediump_ivec3
3 components vector of medium qualifier signed integer numbers.
Definition: type_vec.hpp:278
-
vec< 4, float, mediump > mediump_vec4
4 components vector of medium single-qualifier floating-point numbers.
Definition: type_vec.hpp:341
-
highp_ivec2 ivec2
2 components vector of signed integer numbers.
Definition: type_vec.hpp:494
-
Definition: common.hpp:20
-
vec< 4, bool, highp > highp_bvec4
4 components vector of high qualifier bool numbers.
Definition: type_vec.hpp:407
-
vec< 4, double, lowp > lowp_dvec4
4 components vector of low double-qualifier floating-point numbers.
Definition: type_vec.hpp:365
-
vec< 2, double, lowp > lowp_dvec2
2 components vector of low double-qualifier floating-point numbers.
Definition: type_vec.hpp:154
-
vec< 3, bool, mediump > mediump_bvec3
3 components vector of medium qualifier bool numbers.
Definition: type_vec.hpp:318
-
vec< 4, double, mediump > mediump_dvec4
4 components vector of medium double-qualifier floating-point numbers.
Definition: type_vec.hpp:359
-
highp_ivec4 ivec4
4 components vector of signed integer numbers.
Definition: type_vec.hpp:504
-
vec< 2, float, highp > highp_vec2
2 components vector of high single-qualifier floating-point numbers.
Definition: type_vec.hpp:119
-
vec< 3, uint, mediump > mediump_uvec3
3 components vector of medium qualifier unsigned integer numbers.
Definition: type_vec.hpp:299
-
highp_vec4 vec4
4 components vector of floating-point numbers.
Definition: type_vec.hpp:450
-
highp_uvec4 uvec4
4 components vector of unsigned integer numbers.
Definition: type_vec.hpp:531
-
vec< 2, bool, mediump > mediump_bvec2
2 components vector of medium qualifier bool numbers.
Definition: type_vec.hpp:210
-
vec< 4, int, lowp > lowp_ivec4
4 components vector of low qualifier signed integer numbers.
Definition: type_vec.hpp:383
-
vec< 2, bool, lowp > lowp_bvec2
2 components vector of low qualifier bool numbers.
Definition: type_vec.hpp:217
-
vec< 3, uint, highp > highp_uvec3
3 components vector of high qualifier unsigned integer numbers.
Definition: type_vec.hpp:292
-
vec< 2, float, mediump > mediump_vec2
2 components vector of medium single-qualifier floating-point numbers.
Definition: type_vec.hpp:126
-
highp_vec3 vec3
3 components vector of floating-point numbers.
Definition: type_vec.hpp:445
-
highp_bvec3 bvec3
3 components vector of boolean.
Definition: type_vec.hpp:553
-
vec< 3, int, lowp > lowp_ivec3
3 components vector of low qualifier signed integer numbers.
Definition: type_vec.hpp:285
-
vec< 4, uint, highp > highp_uvec4
4 components vector of high qualifier unsigned integer numbers.
Definition: type_vec.hpp:389
-
vec< 4, uint, lowp > lowp_uvec4
4 components vector of low qualifier unsigned integer numbers.
Definition: type_vec.hpp:401
-
vec< 4, bool, mediump > mediump_bvec4
4 components vector of medium qualifier bool numbers.
Definition: type_vec.hpp:413
-
highp_bvec4 bvec4
4 components vector of boolean.
Definition: type_vec.hpp:558
-
vec< 4, int, mediump > mediump_ivec4
4 components vector of medium qualifier signed integer numbers.
Definition: type_vec.hpp:377
-
highp_dvec2 dvec2
2 components vector of double-qualifier floating-point numbers.
Definition: type_vec.hpp:467
-
vec< 4, float, highp > highp_vec4
4 components vector of high single-qualifier floating-point numbers.
Definition: type_vec.hpp:335
-
vec< 2, uint, mediump > mediump_uvec2
2 components vector of medium qualifier unsigned integer numbers.
Definition: type_vec.hpp:189
-
vec< 4, uint, mediump > mediump_uvec4
4 components vector of medium qualifier unsigned integer numbers.
Definition: type_vec.hpp:395
-
vec< 2, bool, highp > highp_bvec2
2 components vector of high qualifier bool numbers.
Definition: type_vec.hpp:203
-
vec< 3, double, highp > highp_dvec3
3 components vector of high double-qualifier floating-point numbers.
Definition: type_vec.hpp:250
-
vec< 2, uint, highp > highp_uvec2
2 components vector of high qualifier unsigned integer numbers.
Definition: type_vec.hpp:182
-
vec< 3, double, mediump > mediump_dvec3
3 components vector of medium double-qualifier floating-point numbers.
Definition: type_vec.hpp:257
-
vec< 4, int, highp > highp_ivec4
4 components vector of high qualifier signed integer numbers.
Definition: type_vec.hpp:371
-
highp_uvec3 uvec3
3 components vector of unsigned integer numbers.
Definition: type_vec.hpp:526
-
vec< 3, bool, highp > highp_bvec3
3 components vector of high qualifier bool numbers.
Definition: type_vec.hpp:312
-
vec< 2, int, lowp > lowp_ivec2
2 components vector of low qualifier signed integer numbers.
Definition: type_vec.hpp:175
-
vec< 2, uint, lowp > lowp_uvec2
2 components vector of low qualifier unsigned integer numbers.
Definition: type_vec.hpp:196
-
vec< 3, double, lowp > lowp_dvec3
3 components vector of low double-qualifier floating-point numbers.
Definition: type_vec.hpp:264
-
vec< 3, float, mediump > mediump_vec3
3 components vector of medium single-qualifier floating-point numbers.
Definition: type_vec.hpp:236
-
vec< 3, float, highp > highp_vec3
3 components vector of high single-qualifier floating-point numbers.
Definition: type_vec.hpp:229
-
vec< 2, float, lowp > lowp_vec2
2 components vector of low single-qualifier floating-point numbers.
Definition: type_vec.hpp:133
-
vec< 3, float, lowp > lowp_vec3
3 components vector of low single-qualifier floating-point numbers.
Definition: type_vec.hpp:243
-
Core features
-
highp_dvec3 dvec3
3 components vector of double-qualifier floating-point numbers.
Definition: type_vec.hpp:472
-
- - - - diff --git a/doc/api/a00122.html b/doc/api/a00122.html new file mode 100644 index 00000000..366ac6f4 --- /dev/null +++ b/doc/api/a00122.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: matrix_double4x2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
matrix_double4x2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef mat< 4, 2, double, defaultp > dmat4x2
 
+

Detailed Description

+

Core features

+ +

Definition in file matrix_double4x2.hpp.

+
+ + + + diff --git a/doc/api/a00122_source.html b/doc/api/a00122_source.html index 8b3ba307..6e848aac 100644 --- a/doc/api/a00122_source.html +++ b/doc/api/a00122_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_vec1.hpp Source File + + +0.9.9 API documenation: matrix_double4x2.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_vec1.hpp
+
matrix_double4x2.hpp
-
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<4, 2, double, defaultp> dmat4x2;
16 
18 }//namespace glm
mat< 4, 2, double, defaultp > dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
+
diff --git a/doc/api/a00123.html b/doc/api/a00123.html deleted file mode 100644 index 98c4f195..00000000 --- a/doc/api/a00123.html +++ /dev/null @@ -1,108 +0,0 @@ - - - - - - -0.9.9 API documenation: type_vec2.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_vec2.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

-

Detailed Description

-

Core features

- -

Definition in file type_vec2.hpp.

-
- - - - diff --git a/doc/api/a00123_source.html b/doc/api/a00123_source.html deleted file mode 100644 index a9ddac86..00000000 --- a/doc/api/a00123_source.html +++ /dev/null @@ -1,484 +0,0 @@ - - - - - - -0.9.9 API documenation: type_vec2.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_vec2.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "type_vec.hpp"
-
7 #if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
8 # if GLM_HAS_UNRESTRICTED_UNIONS
-
9 # include "_swizzle.hpp"
-
10 # else
-
11 # include "_swizzle_func.hpp"
-
12 # endif
-
13 #endif //GLM_SWIZZLE
-
14 #include <cstddef>
-
15 
-
16 namespace glm
-
17 {
-
18  template<typename T, qualifier Q>
-
19  struct vec<2, T, Q>
-
20  {
-
21  // -- Implementation detail --
-
22 
-
23  typedef T value_type;
-
24  typedef vec type;
-
25  typedef vec<2, bool, Q> bool_type;
-
26 
-
27  // -- Data --
-
28 
-
29 # if GLM_HAS_ONLY_XYZW
-
30  T x, y;
-
31 
-
32 # elif GLM_HAS_ALIGNED_TYPE
-
33 # if GLM_COMPILER & GLM_COMPILER_GCC
-
34 # pragma GCC diagnostic push
-
35 # pragma GCC diagnostic ignored "-Wpedantic"
-
36 # endif
-
37 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
38 # pragma clang diagnostic push
-
39 # pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
-
40 # pragma clang diagnostic ignored "-Wnested-anon-types"
-
41 # endif
-
42 
-
43  union
-
44  {
-
45  struct{ T x, y; };
-
46  struct{ T r, g; };
-
47  struct{ T s, t; };
-
48 
-
49 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
50  GLM_SWIZZLE2_2_MEMBERS(T, Q, x, y)
-
51  GLM_SWIZZLE2_2_MEMBERS(T, Q, r, g)
-
52  GLM_SWIZZLE2_2_MEMBERS(T, Q, s, t)
-
53  GLM_SWIZZLE2_3_MEMBERS(T, Q, x, y)
-
54  GLM_SWIZZLE2_3_MEMBERS(T, Q, r, g)
-
55  GLM_SWIZZLE2_3_MEMBERS(T, Q, s, t)
-
56  GLM_SWIZZLE2_4_MEMBERS(T, Q, x, y)
-
57  GLM_SWIZZLE2_4_MEMBERS(T, Q, r, g)
-
58  GLM_SWIZZLE2_4_MEMBERS(T, Q, s, t)
-
59 # endif//GLM_SWIZZLE
-
60 
-
61  };
-
62 
-
63 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
64 # pragma clang diagnostic pop
-
65 # endif
-
66 # if GLM_COMPILER & GLM_COMPILER_GCC
-
67 # pragma GCC diagnostic pop
-
68 # endif
-
69 # else
-
70  union {T x, r, s;};
-
71  union {T y, g, t;};
-
72 
-
73 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
74  GLM_SWIZZLE_GEN_VEC_FROM_VEC2(T, P)
-
75 # endif//GLM_SWIZZLE
-
76 # endif
-
77 
-
78  // -- Component accesses --
-
79 
-
81  typedef length_t length_type;
-
82  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 2;}
-
83 
-
84  GLM_FUNC_DECL T& operator[](length_type i);
-
85  GLM_FUNC_DECL T const& operator[](length_type i) const;
-
86 
-
87  // -- Implicit basic constructors --
-
88 
-
89  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec() GLM_DEFAULT_CTOR;
-
90  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec const& v) GLM_DEFAULT;
-
91  template<qualifier P>
-
92  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<2, T, P> const& v);
-
93 
-
94  // -- Explicit basic constructors --
-
95 
-
96  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit vec(T scalar);
-
97  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(T x, T y);
-
98 
-
99  // -- Conversion constructors --
-
100 
-
102  template<typename A, typename B>
-
103  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(A x, B y);
-
104  template<typename A, typename B>
-
105  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, A, Q> const& x, vec<1, B, Q> const& y);
-
106 
-
107  // -- Conversion vector constructors --
-
108 
-
110  template<typename U, qualifier P>
-
111  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<3, U, P> const& v);
-
113  template<typename U, qualifier P>
-
114  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<4, U, P> const& v);
-
115 
-
117  template<typename U, qualifier P>
-
118  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<2, U, P> const& v);
-
119 
-
120  // -- Swizzle constructors --
-
121 # if GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED)
-
122  template<int E0, int E1>
-
123  GLM_FUNC_DECL vec(detail::_swizzle<2, T, Q, E0, E1,-1,-2> const& that)
-
124  {
-
125  *this = that();
-
126  }
-
127 # endif// GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED)
-
128 
-
129  // -- Unary arithmetic operators --
-
130 
-
131  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec& operator=(vec const& v) GLM_DEFAULT;
-
132 
-
133  template<typename U>
-
134  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec& operator=(vec<2, U, Q> const& v);
-
135  template<typename U>
-
136  GLM_FUNC_DECL vec& operator+=(U scalar);
-
137  template<typename U>
-
138  GLM_FUNC_DECL vec& operator+=(vec<1, U, Q> const& v);
-
139  template<typename U>
-
140  GLM_FUNC_DECL vec& operator+=(vec<2, U, Q> const& v);
-
141  template<typename U>
-
142  GLM_FUNC_DECL vec& operator-=(U scalar);
-
143  template<typename U>
-
144  GLM_FUNC_DECL vec& operator-=(vec<1, U, Q> const& v);
-
145  template<typename U>
-
146  GLM_FUNC_DECL vec& operator-=(vec<2, U, Q> const& v);
-
147  template<typename U>
-
148  GLM_FUNC_DECL vec& operator*=(U scalar);
-
149  template<typename U>
-
150  GLM_FUNC_DECL vec& operator*=(vec<1, U, Q> const& v);
-
151  template<typename U>
-
152  GLM_FUNC_DECL vec& operator*=(vec<2, U, Q> const& v);
-
153  template<typename U>
-
154  GLM_FUNC_DECL vec& operator/=(U scalar);
-
155  template<typename U>
-
156  GLM_FUNC_DECL vec& operator/=(vec<1, U, Q> const& v);
-
157  template<typename U>
-
158  GLM_FUNC_DECL vec& operator/=(vec<2, U, Q> const& v);
-
159 
-
160  // -- Increment and decrement operators --
-
161 
-
162  GLM_FUNC_DECL vec & operator++();
-
163  GLM_FUNC_DECL vec & operator--();
-
164  GLM_FUNC_DECL vec operator++(int);
-
165  GLM_FUNC_DECL vec operator--(int);
-
166 
-
167  // -- Unary bit operators --
-
168 
-
169  template<typename U>
-
170  GLM_FUNC_DECL vec & operator%=(U scalar);
-
171  template<typename U>
-
172  GLM_FUNC_DECL vec & operator%=(vec<1, U, Q> const& v);
-
173  template<typename U>
-
174  GLM_FUNC_DECL vec & operator%=(vec<2, U, Q> const& v);
-
175  template<typename U>
-
176  GLM_FUNC_DECL vec & operator&=(U scalar);
-
177  template<typename U>
-
178  GLM_FUNC_DECL vec & operator&=(vec<1, U, Q> const& v);
-
179  template<typename U>
-
180  GLM_FUNC_DECL vec & operator&=(vec<2, U, Q> const& v);
-
181  template<typename U>
-
182  GLM_FUNC_DECL vec & operator|=(U scalar);
-
183  template<typename U>
-
184  GLM_FUNC_DECL vec & operator|=(vec<1, U, Q> const& v);
-
185  template<typename U>
-
186  GLM_FUNC_DECL vec & operator|=(vec<2, U, Q> const& v);
-
187  template<typename U>
-
188  GLM_FUNC_DECL vec & operator^=(U scalar);
-
189  template<typename U>
-
190  GLM_FUNC_DECL vec & operator^=(vec<1, U, Q> const& v);
-
191  template<typename U>
-
192  GLM_FUNC_DECL vec & operator^=(vec<2, U, Q> const& v);
-
193  template<typename U>
-
194  GLM_FUNC_DECL vec & operator<<=(U scalar);
-
195  template<typename U>
-
196  GLM_FUNC_DECL vec & operator<<=(vec<1, U, Q> const& v);
-
197  template<typename U>
-
198  GLM_FUNC_DECL vec & operator<<=(vec<2, U, Q> const& v);
-
199  template<typename U>
-
200  GLM_FUNC_DECL vec & operator>>=(U scalar);
-
201  template<typename U>
-
202  GLM_FUNC_DECL vec & operator>>=(vec<1, U, Q> const& v);
-
203  template<typename U>
-
204  GLM_FUNC_DECL vec & operator>>=(vec<2, U, Q> const& v);
-
205  };
-
206 
-
207  // -- Unary operators --
-
208 
-
209  template<typename T, qualifier Q>
-
210  GLM_FUNC_DECL vec<2, T, Q> operator+(vec<2, T, Q> const& v);
-
211 
-
212  template<typename T, qualifier Q>
-
213  GLM_FUNC_DECL vec<2, T, Q> operator-(vec<2, T, Q> const& v);
-
214 
-
215  // -- Binary operators --
-
216 
-
217  template<typename T, qualifier Q>
-
218  GLM_FUNC_DECL vec<2, T, Q> operator+(vec<2, T, Q> const& v, T scalar);
-
219 
-
220  template<typename T, qualifier Q>
-
221  GLM_FUNC_DECL vec<2, T, Q> operator+(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
222 
-
223  template<typename T, qualifier Q>
-
224  GLM_FUNC_DECL vec<2, T, Q> operator+(T scalar, vec<2, T, Q> const& v);
-
225 
-
226  template<typename T, qualifier Q>
-
227  GLM_FUNC_DECL vec<2, T, Q> operator+(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
228 
-
229  template<typename T, qualifier Q>
-
230  GLM_FUNC_DECL vec<2, T, Q> operator+(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
231 
-
232  template<typename T, qualifier Q>
-
233  GLM_FUNC_DECL vec<2, T, Q> operator-(vec<2, T, Q> const& v, T scalar);
-
234 
-
235  template<typename T, qualifier Q>
-
236  GLM_FUNC_DECL vec<2, T, Q> operator-(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
237 
-
238  template<typename T, qualifier Q>
-
239  GLM_FUNC_DECL vec<2, T, Q> operator-(T scalar, vec<2, T, Q> const& v);
-
240 
-
241  template<typename T, qualifier Q>
-
242  GLM_FUNC_DECL vec<2, T, Q> operator-(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
243 
-
244  template<typename T, qualifier Q>
-
245  GLM_FUNC_DECL vec<2, T, Q> operator-(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
246 
-
247  template<typename T, qualifier Q>
-
248  GLM_FUNC_DECL vec<2, T, Q> operator*(vec<2, T, Q> const& v, T scalar);
-
249 
-
250  template<typename T, qualifier Q>
-
251  GLM_FUNC_DECL vec<2, T, Q> operator*(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
252 
-
253  template<typename T, qualifier Q>
-
254  GLM_FUNC_DECL vec<2, T, Q> operator*(T scalar, vec<2, T, Q> const& v);
-
255 
-
256  template<typename T, qualifier Q>
-
257  GLM_FUNC_DECL vec<2, T, Q> operator*(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
258 
-
259  template<typename T, qualifier Q>
-
260  GLM_FUNC_DECL vec<2, T, Q> operator*(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
261 
-
262  template<typename T, qualifier Q>
-
263  GLM_FUNC_DECL vec<2, T, Q> operator/(vec<2, T, Q> const& v, T scalar);
-
264 
-
265  template<typename T, qualifier Q>
-
266  GLM_FUNC_DECL vec<2, T, Q> operator/(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
267 
-
268  template<typename T, qualifier Q>
-
269  GLM_FUNC_DECL vec<2, T, Q> operator/(T scalar, vec<2, T, Q> const& v);
-
270 
-
271  template<typename T, qualifier Q>
-
272  GLM_FUNC_DECL vec<2, T, Q> operator/(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
273 
-
274  template<typename T, qualifier Q>
-
275  GLM_FUNC_DECL vec<2, T, Q> operator/(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
276 
-
277  template<typename T, qualifier Q>
-
278  GLM_FUNC_DECL vec<2, T, Q> operator%(vec<2, T, Q> const& v, T scalar);
-
279 
-
280  template<typename T, qualifier Q>
-
281  GLM_FUNC_DECL vec<2, T, Q> operator%(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
282 
-
283  template<typename T, qualifier Q>
-
284  GLM_FUNC_DECL vec<2, T, Q> operator%(T scalar, vec<2, T, Q> const& v);
-
285 
-
286  template<typename T, qualifier Q>
-
287  GLM_FUNC_DECL vec<2, T, Q> operator%(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
288 
-
289  template<typename T, qualifier Q>
-
290  GLM_FUNC_DECL vec<2, T, Q> operator%(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
291 
-
292  template<typename T, qualifier Q>
-
293  GLM_FUNC_DECL vec<2, T, Q> operator&(vec<2, T, Q> const& v, T scalar);
-
294 
-
295  template<typename T, qualifier Q>
-
296  GLM_FUNC_DECL vec<2, T, Q> operator&(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
297 
-
298  template<typename T, qualifier Q>
-
299  GLM_FUNC_DECL vec<2, T, Q> operator&(T scalar, vec<2, T, Q> const& v);
-
300 
-
301  template<typename T, qualifier Q>
-
302  GLM_FUNC_DECL vec<2, T, Q> operator&(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
303 
-
304  template<typename T, qualifier Q>
-
305  GLM_FUNC_DECL vec<2, T, Q> operator&(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
306 
-
307  template<typename T, qualifier Q>
-
308  GLM_FUNC_DECL vec<2, T, Q> operator|(vec<2, T, Q> const& v, T scalar);
-
309 
-
310  template<typename T, qualifier Q>
-
311  GLM_FUNC_DECL vec<2, T, Q> operator|(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
312 
-
313  template<typename T, qualifier Q>
-
314  GLM_FUNC_DECL vec<2, T, Q> operator|(T scalar, vec<2, T, Q> const& v);
-
315 
-
316  template<typename T, qualifier Q>
-
317  GLM_FUNC_DECL vec<2, T, Q> operator|(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
318 
-
319  template<typename T, qualifier Q>
-
320  GLM_FUNC_DECL vec<2, T, Q> operator|(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
321 
-
322  template<typename T, qualifier Q>
-
323  GLM_FUNC_DECL vec<2, T, Q> operator^(vec<2, T, Q> const& v, T scalar);
-
324 
-
325  template<typename T, qualifier Q>
-
326  GLM_FUNC_DECL vec<2, T, Q> operator^(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
327 
-
328  template<typename T, qualifier Q>
-
329  GLM_FUNC_DECL vec<2, T, Q> operator^(T scalar, vec<2, T, Q> const& v);
-
330 
-
331  template<typename T, qualifier Q>
-
332  GLM_FUNC_DECL vec<2, T, Q> operator^(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
333 
-
334  template<typename T, qualifier Q>
-
335  GLM_FUNC_DECL vec<2, T, Q> operator^(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
336 
-
337  template<typename T, qualifier Q>
-
338  GLM_FUNC_DECL vec<2, T, Q> operator<<(vec<2, T, Q> const& v, T scalar);
-
339 
-
340  template<typename T, qualifier Q>
-
341  GLM_FUNC_DECL vec<2, T, Q> operator<<(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
342 
-
343  template<typename T, qualifier Q>
-
344  GLM_FUNC_DECL vec<2, T, Q> operator<<(T scalar, vec<2, T, Q> const& v);
-
345 
-
346  template<typename T, qualifier Q>
-
347  GLM_FUNC_DECL vec<2, T, Q> operator<<(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
348 
-
349  template<typename T, qualifier Q>
-
350  GLM_FUNC_DECL vec<2, T, Q> operator<<(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
351 
-
352  template<typename T, qualifier Q>
-
353  GLM_FUNC_DECL vec<2, T, Q> operator>>(vec<2, T, Q> const& v, T scalar);
-
354 
-
355  template<typename T, qualifier Q>
-
356  GLM_FUNC_DECL vec<2, T, Q> operator>>(vec<2, T, Q> const& v1, vec<1, T, Q> const& v2);
-
357 
-
358  template<typename T, qualifier Q>
-
359  GLM_FUNC_DECL vec<2, T, Q> operator>>(T scalar, vec<2, T, Q> const& v);
-
360 
-
361  template<typename T, qualifier Q>
-
362  GLM_FUNC_DECL vec<2, T, Q> operator>>(vec<1, T, Q> const& v1, vec<2, T, Q> const& v2);
-
363 
-
364  template<typename T, qualifier Q>
-
365  GLM_FUNC_DECL vec<2, T, Q> operator>>(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
366 
-
367  template<typename T, qualifier Q>
-
368  GLM_FUNC_DECL vec<2, T, Q> operator~(vec<2, T, Q> const& v);
-
369 
-
370  // -- Boolean operators --
-
371 
-
372  template<typename T, qualifier Q>
-
373  GLM_FUNC_DECL bool operator==(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
374 
-
375  template<typename T, qualifier Q>
-
376  GLM_FUNC_DECL bool operator!=(vec<2, T, Q> const& v1, vec<2, T, Q> const& v2);
-
377 
-
378  template<qualifier Q>
-
379  GLM_FUNC_DECL vec<2, bool, Q> operator&&(vec<2, bool, Q> const& v1, vec<2, bool, Q> const& v2);
-
380 
-
381  template<qualifier Q>
-
382  GLM_FUNC_DECL vec<2, bool, Q> operator||(vec<2, bool, Q> const& v1, vec<2, bool, Q> const& v2);
-
383 }//namespace glm
-
384 
-
385 #ifndef GLM_EXTERNAL_TEMPLATE
-
386 #include "type_vec2.inl"
-
387 #endif//GLM_EXTERNAL_TEMPLATE
-
Core features
-
Definition: common.hpp:20
-
Core features
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
- - - - diff --git a/doc/api/a00124_source.html b/doc/api/a00124_source.html deleted file mode 100644 index f57fb3ab..00000000 --- a/doc/api/a00124_source.html +++ /dev/null @@ -1,502 +0,0 @@ - - - - - - -0.9.9 API documenation: type_vec3.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
type_vec3.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "type_vec.hpp"
-
7 #if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
8 # if GLM_HAS_UNRESTRICTED_UNIONS
-
9 # include "_swizzle.hpp"
-
10 # else
-
11 # include "_swizzle_func.hpp"
-
12 # endif
-
13 #endif //GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
14 #include <cstddef>
-
15 
-
16 namespace glm
-
17 {
-
18  template<typename T, qualifier Q>
-
19  struct vec<3, T, Q>
-
20  {
-
21  // -- Implementation detail --
-
22 
-
23  typedef T value_type;
-
24  typedef vec type;
-
25  typedef vec<3, bool, Q> bool_type;
-
26 
-
27  // -- Data --
-
28 
-
29 # if GLM_HAS_ONLY_XYZW
-
30  T x, y, z;
-
31 
-
32 # elif GLM_HAS_ALIGNED_TYPE
-
33 # if GLM_COMPILER & GLM_COMPILER_GCC
-
34 # pragma GCC diagnostic push
-
35 # pragma GCC diagnostic ignored "-Wpedantic"
-
36 # endif
-
37 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
38 # pragma clang diagnostic push
-
39 # pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
-
40 # pragma clang diagnostic ignored "-Wnested-anon-types"
-
41 # endif
-
42 
-
43  union
-
44  {
-
45  struct{ T x, y, z; };
-
46  struct{ T r, g, b; };
-
47  struct{ T s, t, p; };
-
48 
-
49 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
50  GLM_SWIZZLE3_2_MEMBERS(T, Q, x, y, z)
-
51  GLM_SWIZZLE3_2_MEMBERS(T, Q, r, g, b)
-
52  GLM_SWIZZLE3_2_MEMBERS(T, Q, s, t, p)
-
53  GLM_SWIZZLE3_3_MEMBERS(T, Q, x, y, z)
-
54  GLM_SWIZZLE3_3_MEMBERS(T, Q, r, g, b)
-
55  GLM_SWIZZLE3_3_MEMBERS(T, Q, s, t, p)
-
56  GLM_SWIZZLE3_4_MEMBERS(T, Q, x, y, z)
-
57  GLM_SWIZZLE3_4_MEMBERS(T, Q, r, g, b)
-
58  GLM_SWIZZLE3_4_MEMBERS(T, Q, s, t, p)
-
59 # endif//GLM_SWIZZLE
-
60  };
-
61 
-
62 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
63 # pragma clang diagnostic pop
-
64 # endif
-
65 # if GLM_COMPILER & GLM_COMPILER_GCC
-
66 # pragma GCC diagnostic pop
-
67 # endif
-
68 # else
-
69  union { T x, r, s; };
-
70  union { T y, g, t; };
-
71  union { T z, b, p; };
-
72 
-
73 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
74  GLM_SWIZZLE_GEN_VEC_FROM_VEC3(T, P)
-
75 # endif//GLM_SWIZZLE
-
76 # endif//GLM_LANG
-
77 
-
78  // -- Component accesses --
-
79 
-
81  typedef length_t length_type;
-
82  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 3;}
-
83 
-
84  GLM_FUNC_DECL T & operator[](length_type i);
-
85  GLM_FUNC_DECL T const& operator[](length_type i) const;
-
86 
-
87  // -- Implicit basic constructors --
-
88 
-
89  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec() GLM_DEFAULT_CTOR;
-
90  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec const& v) GLM_DEFAULT;
-
91  template<qualifier P>
-
92  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<3, T, P> const& v);
-
93 
-
94  // -- Explicit basic constructors --
-
95 
-
96  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit vec(T scalar);
-
97  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(T a, T b, T c);
-
98 
-
99  // -- Conversion scalar constructors --
-
100 
-
102  template<typename X, typename Y, typename Z>
-
103  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(X x, Y y, Z z);
-
104  template<typename X, typename Y, typename Z>
-
105  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _y, vec<1, Z, Q> const& _z);
-
106 
-
107  // -- Conversion vector constructors --
-
108 
-
110  template<typename A, typename B, qualifier P>
-
111  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<2, A, P> const& _xy, B _z);
-
113  template<typename A, typename B, qualifier P>
-
114  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<2, A, P> const& _xy, vec<1, B, P> const& _z);
-
116  template<typename A, typename B, qualifier P>
-
117  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(A _x, vec<2, B, P> const& _yz);
-
119  template<typename A, typename B, qualifier P>
-
120  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, A, P> const& _x, vec<2, B, P> const& _yz);
-
122  template<typename U, qualifier P>
-
123  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<4, U, P> const& v);
-
124 
-
126  template<typename U, qualifier P>
-
127  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<3, U, P> const& v);
-
128 
-
129  // -- Swizzle constructors --
-
130 # if GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED)
-
131  template<int E0, int E1, int E2>
-
132  GLM_FUNC_DECL vec(detail::_swizzle<3, T, Q, E0, E1, E2, -1> const& that)
-
133  {
-
134  *this = that();
-
135  }
-
136 
-
137  template<int E0, int E1>
-
138  GLM_FUNC_DECL vec(detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, T const& scalar)
-
139  {
-
140  *this = vec(v(), scalar);
-
141  }
-
142 
-
143  template<int E0, int E1>
-
144  GLM_FUNC_DECL vec(T const& scalar, detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v)
-
145  {
-
146  *this = vec(scalar, v());
-
147  }
-
148 # endif// GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED)
-
149 
-
150  // -- Unary arithmetic operators --
-
151 
-
152  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec & operator=(vec const& v) GLM_DEFAULT;
-
153 
-
154  template<typename U>
-
155  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec & operator=(vec<3, U, Q> const& v);
-
156  template<typename U>
-
157  GLM_FUNC_DECL vec & operator+=(U scalar);
-
158  template<typename U>
-
159  GLM_FUNC_DECL vec & operator+=(vec<1, U, Q> const& v);
-
160  template<typename U>
-
161  GLM_FUNC_DECL vec & operator+=(vec<3, U, Q> const& v);
-
162  template<typename U>
-
163  GLM_FUNC_DECL vec & operator-=(U scalar);
-
164  template<typename U>
-
165  GLM_FUNC_DECL vec & operator-=(vec<1, U, Q> const& v);
-
166  template<typename U>
-
167  GLM_FUNC_DECL vec & operator-=(vec<3, U, Q> const& v);
-
168  template<typename U>
-
169  GLM_FUNC_DECL vec & operator*=(U scalar);
-
170  template<typename U>
-
171  GLM_FUNC_DECL vec & operator*=(vec<1, U, Q> const& v);
-
172  template<typename U>
-
173  GLM_FUNC_DECL vec & operator*=(vec<3, U, Q> const& v);
-
174  template<typename U>
-
175  GLM_FUNC_DECL vec & operator/=(U scalar);
-
176  template<typename U>
-
177  GLM_FUNC_DECL vec & operator/=(vec<1, U, Q> const& v);
-
178  template<typename U>
-
179  GLM_FUNC_DECL vec & operator/=(vec<3, U, Q> const& v);
-
180 
-
181  // -- Increment and decrement operators --
-
182 
-
183  GLM_FUNC_DECL vec & operator++();
-
184  GLM_FUNC_DECL vec & operator--();
-
185  GLM_FUNC_DECL vec operator++(int);
-
186  GLM_FUNC_DECL vec operator--(int);
-
187 
-
188  // -- Unary bit operators --
-
189 
-
190  template<typename U>
-
191  GLM_FUNC_DECL vec & operator%=(U scalar);
-
192  template<typename U>
-
193  GLM_FUNC_DECL vec & operator%=(vec<1, U, Q> const& v);
-
194  template<typename U>
-
195  GLM_FUNC_DECL vec & operator%=(vec<3, U, Q> const& v);
-
196  template<typename U>
-
197  GLM_FUNC_DECL vec & operator&=(U scalar);
-
198  template<typename U>
-
199  GLM_FUNC_DECL vec & operator&=(vec<1, U, Q> const& v);
-
200  template<typename U>
-
201  GLM_FUNC_DECL vec & operator&=(vec<3, U, Q> const& v);
-
202  template<typename U>
-
203  GLM_FUNC_DECL vec & operator|=(U scalar);
-
204  template<typename U>
-
205  GLM_FUNC_DECL vec & operator|=(vec<1, U, Q> const& v);
-
206  template<typename U>
-
207  GLM_FUNC_DECL vec & operator|=(vec<3, U, Q> const& v);
-
208  template<typename U>
-
209  GLM_FUNC_DECL vec & operator^=(U scalar);
-
210  template<typename U>
-
211  GLM_FUNC_DECL vec & operator^=(vec<1, U, Q> const& v);
-
212  template<typename U>
-
213  GLM_FUNC_DECL vec & operator^=(vec<3, U, Q> const& v);
-
214  template<typename U>
-
215  GLM_FUNC_DECL vec & operator<<=(U scalar);
-
216  template<typename U>
-
217  GLM_FUNC_DECL vec & operator<<=(vec<1, U, Q> const& v);
-
218  template<typename U>
-
219  GLM_FUNC_DECL vec & operator<<=(vec<3, U, Q> const& v);
-
220  template<typename U>
-
221  GLM_FUNC_DECL vec & operator>>=(U scalar);
-
222  template<typename U>
-
223  GLM_FUNC_DECL vec & operator>>=(vec<1, U, Q> const& v);
-
224  template<typename U>
-
225  GLM_FUNC_DECL vec & operator>>=(vec<3, U, Q> const& v);
-
226  };
-
227 
-
228  // -- Unary operators --
-
229 
-
230  template<typename T, qualifier Q>
-
231  GLM_FUNC_DECL vec<3, T, Q> operator+(vec<3, T, Q> const& v);
-
232 
-
233  template<typename T, qualifier Q>
-
234  GLM_FUNC_DECL vec<3, T, Q> operator-(vec<3, T, Q> const& v);
-
235 
-
236  // -- Binary operators --
-
237 
-
238  template<typename T, qualifier Q>
-
239  GLM_FUNC_DECL vec<3, T, Q> operator+(vec<3, T, Q> const& v, T scalar);
-
240 
-
241  template<typename T, qualifier Q>
-
242  GLM_FUNC_DECL vec<3, T, Q> operator+(vec<3, T, Q> const& v, vec<1, T, Q> const& scalar);
-
243 
-
244  template<typename T, qualifier Q>
-
245  GLM_FUNC_DECL vec<3, T, Q> operator+(T scalar, vec<3, T, Q> const& v);
-
246 
-
247  template<typename T, qualifier Q>
-
248  GLM_FUNC_DECL vec<3, T, Q> operator+(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
249 
-
250  template<typename T, qualifier Q>
-
251  GLM_FUNC_DECL vec<3, T, Q> operator+(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
252 
-
253  template<typename T, qualifier Q>
-
254  GLM_FUNC_DECL vec<3, T, Q> operator-(vec<3, T, Q> const& v, T scalar);
-
255 
-
256  template<typename T, qualifier Q>
-
257  GLM_FUNC_DECL vec<3, T, Q> operator-(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
258 
-
259  template<typename T, qualifier Q>
-
260  GLM_FUNC_DECL vec<3, T, Q> operator-(T scalar, vec<3, T, Q> const& v);
-
261 
-
262  template<typename T, qualifier Q>
-
263  GLM_FUNC_DECL vec<3, T, Q> operator-(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
264 
-
265  template<typename T, qualifier Q>
-
266  GLM_FUNC_DECL vec<3, T, Q> operator-(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
267 
-
268  template<typename T, qualifier Q>
-
269  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v, T scalar);
-
270 
-
271  template<typename T, qualifier Q>
-
272  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
273 
-
274  template<typename T, qualifier Q>
-
275  GLM_FUNC_DECL vec<3, T, Q> operator*(T scalar, vec<3, T, Q> const& v);
-
276 
-
277  template<typename T, qualifier Q>
-
278  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
279 
-
280  template<typename T, qualifier Q>
-
281  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
282 
-
283  template<typename T, qualifier Q>
-
284  GLM_FUNC_DECL vec<3, T, Q> operator/(vec<3, T, Q> const& v, T scalar);
-
285 
-
286  template<typename T, qualifier Q>
-
287  GLM_FUNC_DECL vec<3, T, Q> operator/(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
288 
-
289  template<typename T, qualifier Q>
-
290  GLM_FUNC_DECL vec<3, T, Q> operator/(T scalar, vec<3, T, Q> const& v);
-
291 
-
292  template<typename T, qualifier Q>
-
293  GLM_FUNC_DECL vec<3, T, Q> operator/(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
294 
-
295  template<typename T, qualifier Q>
-
296  GLM_FUNC_DECL vec<3, T, Q> operator/(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
297 
-
298  template<typename T, qualifier Q>
-
299  GLM_FUNC_DECL vec<3, T, Q> operator%(vec<3, T, Q> const& v, T scalar);
-
300 
-
301  template<typename T, qualifier Q>
-
302  GLM_FUNC_DECL vec<3, T, Q> operator%(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
303 
-
304  template<typename T, qualifier Q>
-
305  GLM_FUNC_DECL vec<3, T, Q> operator%(T const& scalar, vec<3, T, Q> const& v);
-
306 
-
307  template<typename T, qualifier Q>
-
308  GLM_FUNC_DECL vec<3, T, Q> operator%(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
309 
-
310  template<typename T, qualifier Q>
-
311  GLM_FUNC_DECL vec<3, T, Q> operator%(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
312 
-
313  template<typename T, qualifier Q>
-
314  GLM_FUNC_DECL vec<3, T, Q> operator&(vec<3, T, Q> const& v1, T scalar);
-
315 
-
316  template<typename T, qualifier Q>
-
317  GLM_FUNC_DECL vec<3, T, Q> operator&(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
318 
-
319  template<typename T, qualifier Q>
-
320  GLM_FUNC_DECL vec<3, T, Q> operator&(T scalar, vec<3, T, Q> const& v);
-
321 
-
322  template<typename T, qualifier Q>
-
323  GLM_FUNC_DECL vec<3, T, Q> operator&(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
324 
-
325  template<typename T, qualifier Q>
-
326  GLM_FUNC_DECL vec<3, T, Q> operator&(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
327 
-
328  template<typename T, qualifier Q>
-
329  GLM_FUNC_DECL vec<3, T, Q> operator|(vec<3, T, Q> const& v, T scalar);
-
330 
-
331  template<typename T, qualifier Q>
-
332  GLM_FUNC_DECL vec<3, T, Q> operator|(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
333 
-
334  template<typename T, qualifier Q>
-
335  GLM_FUNC_DECL vec<3, T, Q> operator|(T scalar, vec<3, T, Q> const& v);
-
336 
-
337  template<typename T, qualifier Q>
-
338  GLM_FUNC_DECL vec<3, T, Q> operator|(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
339 
-
340  template<typename T, qualifier Q>
-
341  GLM_FUNC_DECL vec<3, T, Q> operator|(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
342 
-
343  template<typename T, qualifier Q>
-
344  GLM_FUNC_DECL vec<3, T, Q> operator^(vec<3, T, Q> const& v, T scalar);
-
345 
-
346  template<typename T, qualifier Q>
-
347  GLM_FUNC_DECL vec<3, T, Q> operator^(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
348 
-
349  template<typename T, qualifier Q>
-
350  GLM_FUNC_DECL vec<3, T, Q> operator^(T scalar, vec<3, T, Q> const& v);
-
351 
-
352  template<typename T, qualifier Q>
-
353  GLM_FUNC_DECL vec<3, T, Q> operator^(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
354 
-
355  template<typename T, qualifier Q>
-
356  GLM_FUNC_DECL vec<3, T, Q> operator^(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
357 
-
358  template<typename T, qualifier Q>
-
359  GLM_FUNC_DECL vec<3, T, Q> operator<<(vec<3, T, Q> const& v, T scalar);
-
360 
-
361  template<typename T, qualifier Q>
-
362  GLM_FUNC_DECL vec<3, T, Q> operator<<(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
363 
-
364  template<typename T, qualifier Q>
-
365  GLM_FUNC_DECL vec<3, T, Q> operator<<(T scalar, vec<3, T, Q> const& v);
-
366 
-
367  template<typename T, qualifier Q>
-
368  GLM_FUNC_DECL vec<3, T, Q> operator<<(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
369 
-
370  template<typename T, qualifier Q>
-
371  GLM_FUNC_DECL vec<3, T, Q> operator<<(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
372 
-
373  template<typename T, qualifier Q>
-
374  GLM_FUNC_DECL vec<3, T, Q> operator>>(vec<3, T, Q> const& v, T scalar);
-
375 
-
376  template<typename T, qualifier Q>
-
377  GLM_FUNC_DECL vec<3, T, Q> operator>>(vec<3, T, Q> const& v1, vec<1, T, Q> const& v2);
-
378 
-
379  template<typename T, qualifier Q>
-
380  GLM_FUNC_DECL vec<3, T, Q> operator>>(T scalar, vec<3, T, Q> const& v);
-
381 
-
382  template<typename T, qualifier Q>
-
383  GLM_FUNC_DECL vec<3, T, Q> operator>>(vec<1, T, Q> const& v1, vec<3, T, Q> const& v2);
-
384 
-
385  template<typename T, qualifier Q>
-
386  GLM_FUNC_DECL vec<3, T, Q> operator>>(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
387 
-
388  template<typename T, qualifier Q>
-
389  GLM_FUNC_DECL vec<3, T, Q> operator~(vec<3, T, Q> const& v);
-
390 
-
391  // -- Boolean operators --
-
392 
-
393  template<typename T, qualifier Q>
-
394  GLM_FUNC_DECL bool operator==(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
395 
-
396  template<typename T, qualifier Q>
-
397  GLM_FUNC_DECL bool operator!=(vec<3, T, Q> const& v1, vec<3, T, Q> const& v2);
-
398 
-
399  template<qualifier Q>
-
400  GLM_FUNC_DECL vec<3, bool, Q> operator&&(vec<3, bool, Q> const& v1, vec<3, bool, Q> const& v2);
-
401 
-
402  template<qualifier Q>
-
403  GLM_FUNC_DECL vec<3, bool, Q> operator||(vec<3, bool, Q> const& v1, vec<3, bool, Q> const& v2);
-
404 }//namespace glm
-
405 
-
406 #ifndef GLM_EXTERNAL_TEMPLATE
-
407 #include "type_vec3.inl"
-
408 #endif//GLM_EXTERNAL_TEMPLATE
-
Core features
-
Definition: common.hpp:20
-
Core features
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
-
- - - - diff --git a/doc/api/a00125.html b/doc/api/a00125.html index 408ee949..201a5841 100644 --- a/doc/api/a00125.html +++ b/doc/api/a00125.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_vec4.hpp File Reference + + +0.9.9 API documenation: matrix_double4x2_precision.hpp File Reference - @@ -32,38 +30,22 @@ - + - - + + + +
+
+Typedefs
-
type_vec4.hpp File Reference
+
matrix_double4x2_precision.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef mat< 4, 2, double, highp > highp_dmat4x2
 
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
 
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
 

Detailed Description

-

Core features

+

Core features

-

Definition in file type_vec4.hpp.

+

Definition in file matrix_double4x2_precision.hpp.

diff --git a/doc/api/a00125_source.html b/doc/api/a00125_source.html index 51479e82..39577bfd 100644 --- a/doc/api/a00125_source.html +++ b/doc/api/a00125_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_vec4.hpp Source File + + +0.9.9 API documenation: matrix_double4x2_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
type_vec4.hpp
+
matrix_double4x2_precision.hpp
-Go to the documentation of this file.
1 
-
4 #pragma once
-
5 
-
6 #include "type_vec.hpp"
-
7 #if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
8 # if GLM_HAS_UNRESTRICTED_UNIONS
-
9 # include "_swizzle.hpp"
-
10 # else
-
11 # include "_swizzle_func.hpp"
-
12 # endif
-
13 #endif //GLM_SWIZZLE
-
14 #include <cstddef>
-
15 
-
16 namespace glm
-
17 {
-
18  template<typename T, qualifier Q>
-
19  struct vec<4, T, Q>
-
20  {
-
21  // -- Implementation detail --
-
22 
-
23  typedef T value_type;
-
24  typedef vec<4, T, Q> type;
-
25  typedef vec<4, bool, Q> bool_type;
-
26 
-
27  // -- Data --
-
28 
-
29 # if GLM_HAS_ONLY_XYZW
-
30  T x, y, z, w;
-
31 
-
32 # elif GLM_HAS_ALIGNED_TYPE
-
33 # if GLM_COMPILER & GLM_COMPILER_GCC
-
34 # pragma GCC diagnostic push
-
35 # pragma GCC diagnostic ignored "-Wpedantic"
-
36 # endif
-
37 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
38 # pragma clang diagnostic push
-
39 # pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
-
40 # pragma clang diagnostic ignored "-Wnested-anon-types"
-
41 # endif
-
42 
-
43  union
-
44  {
-
45  struct { T x, y, z, w;};
-
46  struct { T r, g, b, a; };
-
47  struct { T s, t, p, q; };
-
48 
-
49  typename detail::storage<T, sizeof(T) * 4, detail::is_aligned<Q>::value>::type data;
-
50 
-
51 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
52  GLM_SWIZZLE4_2_MEMBERS(T, Q, x, y, z, w)
-
53  GLM_SWIZZLE4_2_MEMBERS(T, Q, r, g, b, a)
-
54  GLM_SWIZZLE4_2_MEMBERS(T, Q, s, t, p, q)
-
55  GLM_SWIZZLE4_3_MEMBERS(T, Q, x, y, z, w)
-
56  GLM_SWIZZLE4_3_MEMBERS(T, Q, r, g, b, a)
-
57  GLM_SWIZZLE4_3_MEMBERS(T, Q, s, t, p, q)
-
58  GLM_SWIZZLE4_4_MEMBERS(T, Q, x, y, z, w)
-
59  GLM_SWIZZLE4_4_MEMBERS(T, Q, r, g, b, a)
-
60  GLM_SWIZZLE4_4_MEMBERS(T, Q, s, t, p, q)
-
61 # endif//GLM_SWIZZLE
-
62  };
-
63 
-
64 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
65 # pragma clang diagnostic pop
-
66 # endif
-
67 # if GLM_COMPILER & GLM_COMPILER_GCC
-
68 # pragma GCC diagnostic pop
-
69 # endif
-
70 # else
-
71  union { T x, r, s; };
-
72  union { T y, g, t; };
-
73  union { T z, b, p; };
-
74  union { T w, a, q; };
-
75 
-
76 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
77  GLM_SWIZZLE_GEN_VEC_FROM_VEC4(T, P)
-
78 # endif//GLM_SWIZZLE
-
79 # endif
-
80 
-
81  // -- Component accesses --
-
82 
-
84  typedef length_t length_type;
-
85  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 4;}
-
86 
-
87  GLM_FUNC_DECL T & operator[](length_type i);
-
88  GLM_FUNC_DECL T const& operator[](length_type i) const;
-
89 
-
90  // -- Implicit basic constructors --
-
91 
-
92  GLM_FUNC_DECL GLM_CONSTEXPR_SIMD vec() GLM_DEFAULT_CTOR;
-
93  GLM_FUNC_DECL GLM_CONSTEXPR_SIMD vec(vec<4, T, Q> const& v) GLM_DEFAULT;
-
94  template<qualifier P>
-
95  GLM_FUNC_DECL GLM_CONSTEXPR_SIMD vec(vec<4, T, P> const& v);
-
96 
-
97  // -- Explicit basic constructors --
-
98 
-
99  GLM_FUNC_DECL GLM_CONSTEXPR_SIMD explicit vec(T scalar);
-
100  GLM_FUNC_DECL GLM_CONSTEXPR_SIMD vec(T x, T y, T z, T w);
-
101 
-
102  // -- Conversion scalar constructors --
-
103 
-
105  template<typename X, typename Y, typename Z, typename W>
-
106  GLM_FUNC_DECL GLM_CONSTEXPR_SIMD vec(X _x, Y _y, Z _z, W _w);
-
107  template<typename X, typename Y, typename Z, typename W>
-
108  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, X, Q> const& _x, vec<1, Y, Q> const& _Y, vec<1, Z, Q> const& _z, vec<1, W, Q> const& _w);
-
109 
-
110  // -- Conversion vector constructors --
-
111 
-
113  template<typename A, typename B, typename C, qualifier P>
-
114  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<2, A, P> const& _xy, B _z, C _w);
-
116  template<typename A, typename B, typename C, qualifier P>
-
117  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<2, A, P> const& _xy, vec<1, B, P> const& _z, vec<1, C, P> const& _w);
-
119  template<typename A, typename B, typename C, qualifier P>
-
120  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(A _x, vec<2, B, P> const& _yz, C _w);
-
122  template<typename A, typename B, typename C, qualifier P>
-
123  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, A, P> const& _x, vec<2, B, P> const& _yz, vec<1, C, P> const& _w);
-
125  template<typename A, typename B, typename C, qualifier P>
-
126  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(A _x, B _y, vec<2, C, P> const& _zw);
-
128  template<typename A, typename B, typename C, qualifier P>
-
129  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, A, P> const& _x, vec<1, B, P> const& _y, vec<2, C, P> const& _zw);
-
131  template<typename A, typename B, qualifier P>
-
132  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<3, A, P> const& _xyz, B _w);
-
134  template<typename A, typename B, qualifier P>
-
135  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<3, A, P> const& _xyz, vec<1, B, P> const& _w);
-
137  template<typename A, typename B, qualifier P>
-
138  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(A _x, vec<3, B, P> const& _yzw);
-
140  template<typename A, typename B, qualifier P>
-
141  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, A, P> const& _x, vec<3, B, P> const& _yzw);
-
143  template<typename A, typename B, qualifier P>
-
144  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<2, A, P> const& _xy, vec<2, B, P> const& _zw);
-
145 
-
147  template<typename U, qualifier P>
-
148  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<4, U, P> const& v);
-
149 
-
150  // -- Swizzle constructors --
-
151 # if GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED)
-
152  template<int E0, int E1, int E2, int E3>
-
153  GLM_FUNC_DECL vec(detail::_swizzle<4, T, Q, E0, E1, E2, E3> const& that)
-
154  {
-
155  *this = that();
-
156  }
-
157 
-
158  template<int E0, int E1, int F0, int F1>
-
159  GLM_FUNC_DECL vec(detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, detail::_swizzle<2, T, Q, F0, F1, -1, -2> const& u)
-
160  {
-
161  *this = vec<4, T, Q>(v(), u());
-
162  }
-
163 
-
164  template<int E0, int E1>
-
165  GLM_FUNC_DECL vec(T const& x, T const& y, detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v)
-
166  {
-
167  *this = vec<4, T, Q>(x, y, v());
-
168  }
-
169 
-
170  template<int E0, int E1>
-
171  GLM_FUNC_DECL vec(T const& x, detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, T const& w)
-
172  {
-
173  *this = vec<4, T, Q>(x, v(), w);
-
174  }
-
175 
-
176  template<int E0, int E1>
-
177  GLM_FUNC_DECL vec(detail::_swizzle<2, T, Q, E0, E1, -1, -2> const& v, T const& z, T const& w)
-
178  {
-
179  *this = vec<4, T, Q>(v(), z, w);
-
180  }
-
181 
-
182  template<int E0, int E1, int E2>
-
183  GLM_FUNC_DECL vec(detail::_swizzle<3, T, Q, E0, E1, E2, -1> const& v, T const& w)
-
184  {
-
185  *this = vec<4, T, Q>(v(), w);
-
186  }
-
187 
-
188  template<int E0, int E1, int E2>
-
189  GLM_FUNC_DECL vec(T const& x, detail::_swizzle<3, T, Q, E0, E1, E2, -1> const& v)
-
190  {
-
191  *this = vec<4, T, Q>(x, v());
-
192  }
-
193 # endif// GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED)
-
194 
-
195  // -- Unary arithmetic operators --
-
196 
-
197  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec<4, T, Q>& operator=(vec<4, T, Q> const& v) GLM_DEFAULT;
-
198 
-
199  template<typename U>
-
200  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec<4, T, Q>& operator=(vec<4, U, Q> const& v);
-
201  template<typename U>
-
202  GLM_FUNC_DECL vec<4, T, Q>& operator+=(U scalar);
-
203  template<typename U>
-
204  GLM_FUNC_DECL vec<4, T, Q>& operator+=(vec<1, U, Q> const& v);
-
205  template<typename U>
-
206  GLM_FUNC_DECL vec<4, T, Q>& operator+=(vec<4, U, Q> const& v);
-
207  template<typename U>
-
208  GLM_FUNC_DECL vec<4, T, Q>& operator-=(U scalar);
-
209  template<typename U>
-
210  GLM_FUNC_DECL vec<4, T, Q>& operator-=(vec<1, U, Q> const& v);
-
211  template<typename U>
-
212  GLM_FUNC_DECL vec<4, T, Q>& operator-=(vec<4, U, Q> const& v);
-
213  template<typename U>
-
214  GLM_FUNC_DECL vec<4, T, Q>& operator*=(U scalar);
-
215  template<typename U>
-
216  GLM_FUNC_DECL vec<4, T, Q>& operator*=(vec<1, U, Q> const& v);
-
217  template<typename U>
-
218  GLM_FUNC_DECL vec<4, T, Q>& operator*=(vec<4, U, Q> const& v);
-
219  template<typename U>
-
220  GLM_FUNC_DECL vec<4, T, Q>& operator/=(U scalar);
-
221  template<typename U>
-
222  GLM_FUNC_DECL vec<4, T, Q>& operator/=(vec<1, U, Q> const& v);
-
223  template<typename U>
-
224  GLM_FUNC_DECL vec<4, T, Q>& operator/=(vec<4, U, Q> const& v);
-
225 
-
226  // -- Increment and decrement operators --
-
227 
-
228  GLM_FUNC_DECL vec<4, T, Q> & operator++();
-
229  GLM_FUNC_DECL vec<4, T, Q> & operator--();
-
230  GLM_FUNC_DECL vec<4, T, Q> operator++(int);
-
231  GLM_FUNC_DECL vec<4, T, Q> operator--(int);
-
232 
-
233  // -- Unary bit operators --
-
234 
-
235  template<typename U>
-
236  GLM_FUNC_DECL vec<4, T, Q> & operator%=(U scalar);
-
237  template<typename U>
-
238  GLM_FUNC_DECL vec<4, T, Q> & operator%=(vec<1, U, Q> const& v);
-
239  template<typename U>
-
240  GLM_FUNC_DECL vec<4, T, Q> & operator%=(vec<4, U, Q> const& v);
-
241  template<typename U>
-
242  GLM_FUNC_DECL vec<4, T, Q> & operator&=(U scalar);
-
243  template<typename U>
-
244  GLM_FUNC_DECL vec<4, T, Q> & operator&=(vec<1, U, Q> const& v);
-
245  template<typename U>
-
246  GLM_FUNC_DECL vec<4, T, Q> & operator&=(vec<4, U, Q> const& v);
-
247  template<typename U>
-
248  GLM_FUNC_DECL vec<4, T, Q> & operator|=(U scalar);
-
249  template<typename U>
-
250  GLM_FUNC_DECL vec<4, T, Q> & operator|=(vec<1, U, Q> const& v);
-
251  template<typename U>
-
252  GLM_FUNC_DECL vec<4, T, Q> & operator|=(vec<4, U, Q> const& v);
-
253  template<typename U>
-
254  GLM_FUNC_DECL vec<4, T, Q> & operator^=(U scalar);
-
255  template<typename U>
-
256  GLM_FUNC_DECL vec<4, T, Q> & operator^=(vec<1, U, Q> const& v);
-
257  template<typename U>
-
258  GLM_FUNC_DECL vec<4, T, Q> & operator^=(vec<4, U, Q> const& v);
-
259  template<typename U>
-
260  GLM_FUNC_DECL vec<4, T, Q> & operator<<=(U scalar);
-
261  template<typename U>
-
262  GLM_FUNC_DECL vec<4, T, Q> & operator<<=(vec<1, U, Q> const& v);
-
263  template<typename U>
-
264  GLM_FUNC_DECL vec<4, T, Q> & operator<<=(vec<4, U, Q> const& v);
-
265  template<typename U>
-
266  GLM_FUNC_DECL vec<4, T, Q> & operator>>=(U scalar);
-
267  template<typename U>
-
268  GLM_FUNC_DECL vec<4, T, Q> & operator>>=(vec<1, U, Q> const& v);
-
269  template<typename U>
-
270  GLM_FUNC_DECL vec<4, T, Q> & operator>>=(vec<4, U, Q> const& v);
-
271  };
-
272 
-
273  // -- Unary operators --
-
274 
-
275  template<typename T, qualifier Q>
-
276  GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v);
-
277 
-
278  template<typename T, qualifier Q>
-
279  GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v);
-
280 
-
281  // -- Binary operators --
-
282 
-
283  template<typename T, qualifier Q>
-
284  GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v, T const & scalar);
-
285 
-
286  template<typename T, qualifier Q>
-
287  GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
-
288 
-
289  template<typename T, qualifier Q>
-
290  GLM_FUNC_DECL vec<4, T, Q> operator+(T scalar, vec<4, T, Q> const& v);
-
291 
-
292  template<typename T, qualifier Q>
-
293  GLM_FUNC_DECL vec<4, T, Q> operator+(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
-
294 
-
295  template<typename T, qualifier Q>
-
296  GLM_FUNC_DECL vec<4, T, Q> operator+(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
297 
-
298  template<typename T, qualifier Q>
-
299  GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v, T const & scalar);
-
300 
-
301  template<typename T, qualifier Q>
-
302  GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
-
303 
-
304  template<typename T, qualifier Q>
-
305  GLM_FUNC_DECL vec<4, T, Q> operator-(T scalar, vec<4, T, Q> const& v);
-
306 
-
307  template<typename T, qualifier Q>
-
308  GLM_FUNC_DECL vec<4, T, Q> operator-(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
-
309 
-
310  template<typename T, qualifier Q>
-
311  GLM_FUNC_DECL vec<4, T, Q> operator-(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
312 
-
313  template<typename T, qualifier Q>
-
314  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, T const & scalar);
-
315 
-
316  template<typename T, qualifier Q>
-
317  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
-
318 
-
319  template<typename T, qualifier Q>
-
320  GLM_FUNC_DECL vec<4, T, Q> operator*(T scalar, vec<4, T, Q> const& v);
-
321 
-
322  template<typename T, qualifier Q>
-
323  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
-
324 
-
325  template<typename T, qualifier Q>
-
326  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
327 
-
328  template<typename T, qualifier Q>
-
329  GLM_FUNC_DECL vec<4, T, Q> operator/(vec<4, T, Q> const& v, T const & scalar);
-
330 
-
331  template<typename T, qualifier Q>
-
332  GLM_FUNC_DECL vec<4, T, Q> operator/(vec<4, T, Q> const& v1, vec<1, T, Q> const& v2);
-
333 
-
334  template<typename T, qualifier Q>
-
335  GLM_FUNC_DECL vec<4, T, Q> operator/(T scalar, vec<4, T, Q> const& v);
-
336 
-
337  template<typename T, qualifier Q>
-
338  GLM_FUNC_DECL vec<4, T, Q> operator/(vec<1, T, Q> const& v1, vec<4, T, Q> const& v2);
-
339 
-
340  template<typename T, qualifier Q>
-
341  GLM_FUNC_DECL vec<4, T, Q> operator/(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
342 
-
343  template<typename T, qualifier Q>
-
344  GLM_FUNC_DECL vec<4, T, Q> operator%(vec<4, T, Q> const& v, T scalar);
-
345 
-
346  template<typename T, qualifier Q>
-
347  GLM_FUNC_DECL vec<4, T, Q> operator%(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
-
348 
-
349  template<typename T, qualifier Q>
-
350  GLM_FUNC_DECL vec<4, T, Q> operator%(T scalar, vec<4, T, Q> const& v);
-
351 
-
352  template<typename T, qualifier Q>
-
353  GLM_FUNC_DECL vec<4, T, Q> operator%(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
-
354 
-
355  template<typename T, qualifier Q>
-
356  GLM_FUNC_DECL vec<4, T, Q> operator%(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
357 
-
358  template<typename T, qualifier Q>
-
359  GLM_FUNC_DECL vec<4, T, Q> operator&(vec<4, T, Q> const& v, T scalar);
-
360 
-
361  template<typename T, qualifier Q>
-
362  GLM_FUNC_DECL vec<4, T, Q> operator&(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
-
363 
-
364  template<typename T, qualifier Q>
-
365  GLM_FUNC_DECL vec<4, T, Q> operator&(T scalar, vec<4, T, Q> const& v);
-
366 
-
367  template<typename T, qualifier Q>
-
368  GLM_FUNC_DECL vec<4, T, Q> operator&(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
-
369 
-
370  template<typename T, qualifier Q>
-
371  GLM_FUNC_DECL vec<4, T, Q> operator&(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
372 
-
373  template<typename T, qualifier Q>
-
374  GLM_FUNC_DECL vec<4, T, Q> operator|(vec<4, T, Q> const& v, T scalar);
-
375 
-
376  template<typename T, qualifier Q>
-
377  GLM_FUNC_DECL vec<4, T, Q> operator|(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
-
378 
-
379  template<typename T, qualifier Q>
-
380  GLM_FUNC_DECL vec<4, T, Q> operator|(T scalar, vec<4, T, Q> const& v);
-
381 
-
382  template<typename T, qualifier Q>
-
383  GLM_FUNC_DECL vec<4, T, Q> operator|(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
-
384 
-
385  template<typename T, qualifier Q>
-
386  GLM_FUNC_DECL vec<4, T, Q> operator|(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
387 
-
388  template<typename T, qualifier Q>
-
389  GLM_FUNC_DECL vec<4, T, Q> operator^(vec<4, T, Q> const& v, T scalar);
-
390 
-
391  template<typename T, qualifier Q>
-
392  GLM_FUNC_DECL vec<4, T, Q> operator^(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
-
393 
-
394  template<typename T, qualifier Q>
-
395  GLM_FUNC_DECL vec<4, T, Q> operator^(T scalar, vec<4, T, Q> const& v);
-
396 
-
397  template<typename T, qualifier Q>
-
398  GLM_FUNC_DECL vec<4, T, Q> operator^(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
-
399 
-
400  template<typename T, qualifier Q>
-
401  GLM_FUNC_DECL vec<4, T, Q> operator^(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
402 
-
403  template<typename T, qualifier Q>
-
404  GLM_FUNC_DECL vec<4, T, Q> operator<<(vec<4, T, Q> const& v, T scalar);
-
405 
-
406  template<typename T, qualifier Q>
-
407  GLM_FUNC_DECL vec<4, T, Q> operator<<(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
-
408 
-
409  template<typename T, qualifier Q>
-
410  GLM_FUNC_DECL vec<4, T, Q> operator<<(T scalar, vec<4, T, Q> const& v);
-
411 
-
412  template<typename T, qualifier Q>
-
413  GLM_FUNC_DECL vec<4, T, Q> operator<<(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
-
414 
-
415  template<typename T, qualifier Q>
-
416  GLM_FUNC_DECL vec<4, T, Q> operator<<(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
417 
-
418  template<typename T, qualifier Q>
-
419  GLM_FUNC_DECL vec<4, T, Q> operator>>(vec<4, T, Q> const& v, T scalar);
-
420 
-
421  template<typename T, qualifier Q>
-
422  GLM_FUNC_DECL vec<4, T, Q> operator>>(vec<4, T, Q> const& v, vec<1, T, Q> const& scalar);
-
423 
-
424  template<typename T, qualifier Q>
-
425  GLM_FUNC_DECL vec<4, T, Q> operator>>(T scalar, vec<4, T, Q> const& v);
-
426 
-
427  template<typename T, qualifier Q>
-
428  GLM_FUNC_DECL vec<4, T, Q> operator>>(vec<1, T, Q> const& scalar, vec<4, T, Q> const& v);
-
429 
-
430  template<typename T, qualifier Q>
-
431  GLM_FUNC_DECL vec<4, T, Q> operator>>(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
432 
-
433  template<typename T, qualifier Q>
-
434  GLM_FUNC_DECL vec<4, T, Q> operator~(vec<4, T, Q> const& v);
-
435 
-
436  // -- Boolean operators --
-
437 
-
438  template<typename T, qualifier Q>
-
439  GLM_FUNC_DECL bool operator==(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
440 
-
441  template<typename T, qualifier Q>
-
442  GLM_FUNC_DECL bool operator!=(vec<4, T, Q> const& v1, vec<4, T, Q> const& v2);
-
443 
-
444  template<qualifier Q>
-
445  GLM_FUNC_DECL vec<4, bool, Q> operator&&(vec<4, bool, Q> const& v1, vec<4, bool, Q> const& v2);
-
446 
-
447  template<qualifier Q>
-
448  GLM_FUNC_DECL vec<4, bool, Q> operator||(vec<4, bool, Q> const& v1, vec<4, bool, Q> const& v2);
-
449 }//namespace glm
-
450 
-
451 #ifndef GLM_EXTERNAL_TEMPLATE
-
452 #include "type_vec4.inl"
-
453 #endif//GLM_EXTERNAL_TEMPLATE
-
Core features
-
Definition: common.hpp:20
-
Core features
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<4, 2, double, lowp> lowp_dmat4x2;
17 
22  typedef mat<4, 2, double, mediump> mediump_dmat4x2;
23 
28  typedef mat<4, 2, double, highp> highp_dmat4x2;
29 
31 }//namespace glm
mat< 4, 2, double, highp > highp_dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 2, double, mediump > mediump_dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 2, double, lowp > lowp_dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
Definition: common.hpp:20
diff --git a/doc/api/a00126_source.html b/doc/api/a00126_source.html deleted file mode 100644 index 7cd86397..00000000 --- a/doc/api/a00126_source.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - - -0.9.9 API documenation: ulp.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
ulp.hpp
-
-
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 // Dependencies
-
18 #include "../detail/setup.hpp"
-
19 #include "../detail/qualifier.hpp"
-
20 #include "../detail/type_int.hpp"
-
21 #include "../detail/compute_vector_relational.hpp"
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTC_ulp extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename genType>
-
35  GLM_FUNC_DECL genType next_float(genType const& x);
-
36 
-
39  template<typename genType>
-
40  GLM_FUNC_DECL genType prev_float(genType const& x);
-
41 
-
44  template<typename genType>
-
45  GLM_FUNC_DECL genType next_float(genType const& x, uint const& Distance);
-
46 
-
49  template<typename genType>
-
50  GLM_FUNC_DECL genType prev_float(genType const& x, uint const& Distance);
-
51 
-
54  template<typename T>
-
55  GLM_FUNC_DECL uint float_distance(T const& x, T const& y);
-
56 
-
59  template<typename T, qualifier Q>
-
60  GLM_FUNC_DECL vec<2, uint, Q> float_distance(vec<2, T, Q> const& x, vec<2, T, Q> const& y);
-
61 
-
63 }// namespace glm
-
64 
-
65 #include "ulp.inl"
-
GLM_FUNC_DECL vec< 2, uint, Q > float_distance(vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
Return the distance in the number of ULP between 2 vectors.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType next_float(genType const &x, uint const &Distance)
Return the value(s) ULP distance after the input value(s).
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
GLM_FUNC_DECL genType prev_float(genType const &x, uint const &Distance)
Return the value(s) ULP distance before the input value(s).
-
- - - - diff --git a/doc/api/a00127.html b/doc/api/a00127.html deleted file mode 100644 index 262e6470..00000000 --- a/doc/api/a00127.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - -0.9.9 API documenation: vec1.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
ext/vec1.hpp File Reference
-
-
- -

GLM_EXT_vec1 -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef highp_bvec1 bvec1
 1 component vector of boolean. More...
 
typedef highp_dvec1 dvec1
 1 component vector of floating-point numbers. More...
 
typedef vec< 1, bool, highp > highp_bvec1
 1 component vector of bool values. More...
 
typedef vec< 1, double, highp > highp_dvec1
 1 component vector of double-precision floating-point numbers using high precision arithmetic in term of ULPs. More...
 
typedef vec< 1, int, highp > highp_ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, uint, highp > highp_uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef vec< 1, float, highp > highp_vec1
 1 component vector of single-precision floating-point numbers using high precision arithmetic in term of ULPs. More...
 
typedef highp_ivec1 ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, bool, lowp > lowp_bvec1
 1 component vector of bool values. More...
 
typedef vec< 1, double, lowp > lowp_dvec1
 1 component vector of double-precision floating-point numbers using low precision arithmetic in term of ULPs. More...
 
typedef vec< 1, int, lowp > lowp_ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, uint, lowp > lowp_uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef vec< 1, float, lowp > lowp_vec1
 1 component vector of single-precision floating-point numbers using low precision arithmetic in term of ULPs. More...
 
typedef vec< 1, bool, mediump > mediump_bvec1
 1 component vector of bool values. More...
 
typedef vec< 1, double, mediump > mediump_dvec1
 1 component vector of double-precision floating-point numbers using medium precision arithmetic in term of ULPs. More...
 
typedef vec< 1, int, mediump > mediump_ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, uint, mediump > mediump_uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef vec< 1, float, mediump > mediump_vec1
 1 component vector of single-precision floating-point numbers using medium precision arithmetic in term of ULPs. More...
 
typedef highp_uvec1 uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef highp_vec1 vec1
 1 component vector of floating-point numbers. More...
 
-

Detailed Description

-

GLM_EXT_vec1

-
See also
Core features (dependence)
- -

Definition in file ext/vec1.hpp.

-
- - - - diff --git a/doc/api/a00127_source.html b/doc/api/a00127_source.html deleted file mode 100644 index f52cc407..00000000 --- a/doc/api/a00127_source.html +++ /dev/null @@ -1,508 +0,0 @@ - - - - - - -0.9.9 API documenation: vec1.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
ext/vec1.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #include "../fwd.hpp"
-
16 #include "../detail/type_vec.hpp"
-
17 #if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
18 # if GLM_HAS_UNRESTRICTED_UNIONS
-
19 # include "../detail/_swizzle.hpp"
-
20 # else
-
21 # include "../detail/_swizzle_func.hpp"
-
22 # endif
-
23 #endif //GLM_SWIZZLE
-
24 #include <cstddef>
-
25 
-
26 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
27 # pragma message("GLM: GLM_EXT_vec1 extension included")
-
28 #endif
-
29 
-
30 namespace glm
-
31 {
-
34 
-
35  template<typename T, qualifier Q>
-
36  struct vec<1, T, Q>
-
37  {
-
38  // -- Implementation detail --
-
39 
-
40  typedef T value_type;
-
41  typedef vec type;
-
42  typedef vec<1, bool, Q> bool_type;
-
43 
-
44  // -- Data --
-
45 
-
46 # if GLM_HAS_ONLY_XYZW
-
47  T x;
-
48 
-
49 # elif GLM_HAS_ALIGNED_TYPE
-
50 # if GLM_COMPILER & GLM_COMPILER_GCC
-
51 # pragma GCC diagnostic push
-
52 # pragma GCC diagnostic ignored "-Wpedantic"
-
53 # endif
-
54 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
55 # pragma clang diagnostic push
-
56 # pragma clang diagnostic ignored "-Wgnu-anonymous-struct"
-
57 # pragma clang diagnostic ignored "-Wnested-anon-types"
-
58 # endif
-
59 
-
60  union
-
61  {
-
62  T x;
-
63  T r;
-
64  T s;
-
65 /*
-
66 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
67  _GLM_SWIZZLE1_2_MEMBERS(T, Q, tvec2, x)
-
68  _GLM_SWIZZLE1_2_MEMBERS(T, Q, tvec2, r)
-
69  _GLM_SWIZZLE1_2_MEMBERS(T, Q, tvec2, s)
-
70  _GLM_SWIZZLE1_3_MEMBERS(T, Q, tvec3, x)
-
71  _GLM_SWIZZLE1_3_MEMBERS(T, Q, tvec3, r)
-
72  _GLM_SWIZZLE1_3_MEMBERS(T, Q, tvec3, s)
-
73  _GLM_SWIZZLE1_4_MEMBERS(T, Q, tvec4, x)
-
74  _GLM_SWIZZLE1_4_MEMBERS(T, Q, tvec4, r)
-
75  _GLM_SWIZZLE1_4_MEMBERS(T, Q, tvec4, s)
-
76 # endif//GLM_SWIZZLE*/
-
77  };
-
78 
-
79 # if GLM_COMPILER & GLM_COMPILER_CLANG
-
80 # pragma clang diagnostic pop
-
81 # endif
-
82 # if GLM_COMPILER & GLM_COMPILER_GCC
-
83 # pragma GCC diagnostic pop
-
84 # endif
-
85 # else
-
86  union {T x, r, s;};
-
87 /*
-
88 # if GLM_SWIZZLE == GLM_SWIZZLE_ENABLED
-
89  GLM_SWIZZLE_GEN_VEC_FROM_VEC1(T, P, tvec2, tvec2, tvec3, tvec4)
-
90 # endif//GLM_SWIZZLE*/
-
91 # endif
-
92 
-
93  // -- Component accesses --
-
94 
-
96  typedef length_t length_type;
-
97  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 1;}
-
98 
-
99  GLM_FUNC_DECL T & operator[](length_type i);
-
100  GLM_FUNC_DECL T const& operator[](length_type i) const;
-
101 
-
102  // -- Implicit basic constructors --
-
103 
-
104  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec() GLM_DEFAULT_CTOR;
-
105  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec const& v) GLM_DEFAULT;
-
106  template<qualifier P>
-
107  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR vec(vec<1, T, P> const& v);
-
108 
-
109  // -- Explicit basic constructors --
-
110 
-
111  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit vec(T scalar);
-
112 
-
113  // -- Conversion vector constructors --
-
114 
-
116  template<typename U, qualifier P>
-
117  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<2, U, P> const& v);
-
119  template<typename U, qualifier P>
-
120  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<3, U, P> const& v);
-
122  template<typename U, qualifier P>
-
123  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<4, U, P> const& v);
-
124 
-
126  template<typename U, qualifier P>
-
127  GLM_FUNC_DECL GLM_CONSTEXPR_CTOR GLM_EXPLICIT vec(vec<1, U, P> const& v);
-
128 
-
129  // -- Swizzle constructors --
-
130 /*
-
131 # if(GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED))
-
132  template<int E0>
-
133  GLM_FUNC_DECL tvec(detail::_swizzle<1, T, Q, tvec1, E0, -1,-2,-3> const& that)
-
134  {
-
135  *this = that();
-
136  }
-
137 # endif//(GLM_HAS_UNRESTRICTED_UNIONS && (GLM_SWIZZLE == GLM_SWIZZLE_ENABLED))
-
138 */
-
139  // -- Unary arithmetic operators --
-
140 
-
141  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec & operator=(vec const& v) GLM_DEFAULT;
-
142 
-
143  template<typename U>
-
144  GLM_FUNC_DECL GLM_CONSTEXPR_CXX14 vec & operator=(vec<1, U, Q> const& v);
-
145  template<typename U>
-
146  GLM_FUNC_DECL vec & operator+=(U scalar);
-
147  template<typename U>
-
148  GLM_FUNC_DECL vec & operator+=(vec<1, U, Q> const& v);
-
149  template<typename U>
-
150  GLM_FUNC_DECL vec & operator-=(U scalar);
-
151  template<typename U>
-
152  GLM_FUNC_DECL vec & operator-=(vec<1, U, Q> const& v);
-
153  template<typename U>
-
154  GLM_FUNC_DECL vec & operator*=(U scalar);
-
155  template<typename U>
-
156  GLM_FUNC_DECL vec & operator*=(vec<1, U, Q> const& v);
-
157  template<typename U>
-
158  GLM_FUNC_DECL vec & operator/=(U scalar);
-
159  template<typename U>
-
160  GLM_FUNC_DECL vec & operator/=(vec<1, U, Q> const& v);
-
161 
-
162  // -- Increment and decrement operators --
-
163 
-
164  GLM_FUNC_DECL vec & operator++();
-
165  GLM_FUNC_DECL vec & operator--();
-
166  GLM_FUNC_DECL vec operator++(int);
-
167  GLM_FUNC_DECL vec operator--(int);
-
168 
-
169  // -- Unary bit operators --
-
170 
-
171  template<typename U>
-
172  GLM_FUNC_DECL vec & operator%=(U scalar);
-
173  template<typename U>
-
174  GLM_FUNC_DECL vec & operator%=(vec<1, U, Q> const& v);
-
175  template<typename U>
-
176  GLM_FUNC_DECL vec & operator&=(U scalar);
-
177  template<typename U>
-
178  GLM_FUNC_DECL vec & operator&=(vec<1, U, Q> const& v);
-
179  template<typename U>
-
180  GLM_FUNC_DECL vec & operator|=(U scalar);
-
181  template<typename U>
-
182  GLM_FUNC_DECL vec & operator|=(vec<1, U, Q> const& v);
-
183  template<typename U>
-
184  GLM_FUNC_DECL vec & operator^=(U scalar);
-
185  template<typename U>
-
186  GLM_FUNC_DECL vec & operator^=(vec<1, U, Q> const& v);
-
187  template<typename U>
-
188  GLM_FUNC_DECL vec & operator<<=(U scalar);
-
189  template<typename U>
-
190  GLM_FUNC_DECL vec & operator<<=(vec<1, U, Q> const& v);
-
191  template<typename U>
-
192  GLM_FUNC_DECL vec & operator>>=(U scalar);
-
193  template<typename U>
-
194  GLM_FUNC_DECL vec & operator>>=(vec<1, U, Q> const& v);
-
195  };
-
196 
-
197  // -- Unary operators --
-
198 
-
199  template<typename T, qualifier Q>
-
200  GLM_FUNC_DECL vec<1, T, Q> operator+(vec<1, T, Q> const& v);
-
201 
-
202  template<typename T, qualifier Q>
-
203  GLM_FUNC_DECL vec<1, T, Q> operator-(vec<1, T, Q> const& v);
-
204 
-
205  // -- Binary operators --
-
206 
-
207  template<typename T, qualifier Q>
-
208  GLM_FUNC_DECL vec<1, T, Q> operator+(vec<1, T, Q> const& v, T scalar);
-
209 
-
210  template<typename T, qualifier Q>
-
211  GLM_FUNC_DECL vec<1, T, Q> operator+(T scalar, vec<1, T, Q> const& v);
-
212 
-
213  template<typename T, qualifier Q>
-
214  GLM_FUNC_DECL vec<1, T, Q> operator+(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
215 
-
216  template<typename T, qualifier Q>
-
217  GLM_FUNC_DECL vec<1, T, Q> operator-(vec<1, T, Q> const& v, T scalar);
-
218 
-
219  template<typename T, qualifier Q>
-
220  GLM_FUNC_DECL vec<1, T, Q> operator-(T scalar, vec<1, T, Q> const& v);
-
221 
-
222  template<typename T, qualifier Q>
-
223  GLM_FUNC_DECL vec<1, T, Q> operator-(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
224 
-
225  template<typename T, qualifier Q>
-
226  GLM_FUNC_DECL vec<1, T, Q> operator*(vec<1, T, Q> const& v, T scalar);
-
227 
-
228  template<typename T, qualifier Q>
-
229  GLM_FUNC_DECL vec<1, T, Q> operator*(T scalar, vec<1, T, Q> const& v);
-
230 
-
231  template<typename T, qualifier Q>
-
232  GLM_FUNC_DECL vec<1, T, Q> operator*(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
233 
-
234  template<typename T, qualifier Q>
-
235  GLM_FUNC_DECL vec<1, T, Q> operator/(vec<1, T, Q> const& v, T scalar);
-
236 
-
237  template<typename T, qualifier Q>
-
238  GLM_FUNC_DECL vec<1, T, Q> operator/(T scalar, vec<1, T, Q> const& v);
-
239 
-
240  template<typename T, qualifier Q>
-
241  GLM_FUNC_DECL vec<1, T, Q> operator/(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
242 
-
243  template<typename T, qualifier Q>
-
244  GLM_FUNC_DECL vec<1, T, Q> operator%(vec<1, T, Q> const& v, T scalar);
-
245 
-
246  template<typename T, qualifier Q>
-
247  GLM_FUNC_DECL vec<1, T, Q> operator%(T scalar, vec<1, T, Q> const& v);
-
248 
-
249  template<typename T, qualifier Q>
-
250  GLM_FUNC_DECL vec<1, T, Q> operator%(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
251 
-
252  template<typename T, qualifier Q>
-
253  GLM_FUNC_DECL vec<1, T, Q> operator&(vec<1, T, Q> const& v, T scalar);
-
254 
-
255  template<typename T, qualifier Q>
-
256  GLM_FUNC_DECL vec<1, T, Q> operator&(T scalar, vec<1, T, Q> const& v);
-
257 
-
258  template<typename T, qualifier Q>
-
259  GLM_FUNC_DECL vec<1, T, Q> operator&(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
260 
-
261  template<typename T, qualifier Q>
-
262  GLM_FUNC_DECL vec<1, T, Q> operator|(vec<1, T, Q> const& v, T scalar);
-
263 
-
264  template<typename T, qualifier Q>
-
265  GLM_FUNC_DECL vec<1, T, Q> operator|(T scalar, vec<1, T, Q> const& v);
-
266 
-
267  template<typename T, qualifier Q>
-
268  GLM_FUNC_DECL vec<1, T, Q> operator|(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
269 
-
270  template<typename T, qualifier Q>
-
271  GLM_FUNC_DECL vec<1, T, Q> operator^(vec<1, T, Q> const& v, T scalar);
-
272 
-
273  template<typename T, qualifier Q>
-
274  GLM_FUNC_DECL vec<1, T, Q> operator^(T scalar, vec<1, T, Q> const& v);
-
275 
-
276  template<typename T, qualifier Q>
-
277  GLM_FUNC_DECL vec<1, T, Q> operator^(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
278 
-
279  template<typename T, qualifier Q>
-
280  GLM_FUNC_DECL vec<1, T, Q> operator<<(vec<1, T, Q> const& v, T scalar);
-
281 
-
282  template<typename T, qualifier Q>
-
283  GLM_FUNC_DECL vec<1, T, Q> operator<<(T scalar, vec<1, T, Q> const& v);
-
284 
-
285  template<typename T, qualifier Q>
-
286  GLM_FUNC_DECL vec<1, T, Q> operator<<(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
287 
-
288  template<typename T, qualifier Q>
-
289  GLM_FUNC_DECL vec<1, T, Q> operator>>(vec<1, T, Q> const& v, T scalar);
-
290 
-
291  template<typename T, qualifier Q>
-
292  GLM_FUNC_DECL vec<1, T, Q> operator>>(T scalar, vec<1, T, Q> const& v);
-
293 
-
294  template<typename T, qualifier Q>
-
295  GLM_FUNC_DECL vec<1, T, Q> operator>>(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
296 
-
297  template<typename T, qualifier Q>
-
298  GLM_FUNC_DECL vec<1, T, Q> operator~(vec<1, T, Q> const& v);
-
299 
-
300  // -- Boolean operators --
-
301 
-
302  template<typename T, qualifier Q>
-
303  GLM_FUNC_DECL bool operator==(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
304 
-
305  template<typename T, qualifier Q>
-
306  GLM_FUNC_DECL bool operator!=(vec<1, T, Q> const& v1, vec<1, T, Q> const& v2);
-
307 
-
308  template<qualifier Q>
-
309  GLM_FUNC_DECL vec<1, bool, Q> operator&&(vec<1, bool, Q> const& v1, vec<1, bool, Q> const& v2);
-
310 
-
311  template<qualifier Q>
-
312  GLM_FUNC_DECL vec<1, bool, Q> operator||(vec<1, bool, Q> const& v1, vec<1, bool, Q> const& v2);
-
313 
-
317  typedef vec<1, float, highp> highp_vec1;
-
318 
-
322  typedef vec<1, float, mediump> mediump_vec1;
-
323 
-
327  typedef vec<1, float, lowp> lowp_vec1;
-
328 
-
332  typedef vec<1, double, highp> highp_dvec1;
-
333 
-
337  typedef vec<1, double, mediump> mediump_dvec1;
-
338 
-
342  typedef vec<1, double, lowp> lowp_dvec1;
-
343 
-
347  typedef vec<1, int, highp> highp_ivec1;
-
348 
-
352  typedef vec<1, int, mediump> mediump_ivec1;
-
353 
-
357  typedef vec<1, int, lowp> lowp_ivec1;
-
358 
-
362  typedef vec<1, uint, highp> highp_uvec1;
-
363 
-
367  typedef vec<1, uint, mediump> mediump_uvec1;
-
368 
-
372  typedef vec<1, uint, lowp> lowp_uvec1;
-
373 
-
377  typedef vec<1, bool, highp> highp_bvec1;
-
378 
-
382  typedef vec<1, bool, mediump> mediump_bvec1;
-
383 
-
387  typedef vec<1, bool, lowp> lowp_bvec1;
-
388 
-
389 #if GLM_HAS_TEMPLATE_ALIASES
-
390  template <typename T, qualifier Q = defaultp> using tvec1 = vec<1, T, Q>;
-
391 #endif//GLM_HAS_TEMPLATE_ALIASES
-
392 
-
394  // vec1 definition
-
395 
-
396 #if(defined(GLM_PRECISION_HIGHP_BOOL))
-
397  typedef highp_bvec1 bvec1;
-
398 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
-
399  typedef mediump_bvec1 bvec1;
-
400 #elif(defined(GLM_PRECISION_LOWP_BOOL))
-
401  typedef lowp_bvec1 bvec1;
-
402 #else
-
403  typedef highp_bvec1 bvec1;
-
406 #endif//GLM_PRECISION
-
407 
-
408 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
-
409  typedef highp_vec1 vec1;
-
410 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
-
411  typedef mediump_vec1 vec1;
-
412 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
-
413  typedef lowp_vec1 vec1;
-
414 #else
-
415  typedef highp_vec1 vec1;
-
418 #endif//GLM_PRECISION
-
419 
-
420 #if(defined(GLM_PRECISION_HIGHP_DOUBLE))
-
421  typedef highp_dvec1 dvec1;
-
422 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
-
423  typedef mediump_dvec1 dvec1;
-
424 #elif(defined(GLM_PRECISION_LOWP_DOUBLE))
-
425  typedef lowp_dvec1 dvec1;
-
426 #else
-
427  typedef highp_dvec1 dvec1;
-
430 #endif//GLM_PRECISION
-
431 
-
432 #if(defined(GLM_PRECISION_HIGHP_INT))
-
433  typedef highp_ivec1 ivec1;
-
434 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
-
435  typedef mediump_ivec1 ivec1;
-
436 #elif(defined(GLM_PRECISION_LOWP_INT))
-
437  typedef lowp_ivec1 ivec1;
-
438 #else
-
439  typedef highp_ivec1 ivec1;
-
442 #endif//GLM_PRECISION
-
443 
-
444 #if(defined(GLM_PRECISION_HIGHP_UINT))
-
445  typedef highp_uvec1 uvec1;
-
446 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
-
447  typedef mediump_uvec1 uvec1;
-
448 #elif(defined(GLM_PRECISION_LOWP_UINT))
-
449  typedef lowp_uvec1 uvec1;
-
450 #else
-
451  typedef highp_uvec1 uvec1;
-
454 #endif//GLM_PRECISION
-
455 
-
457 }//namespace glm
-
458 
-
459 #ifndef GLM_EXTERNAL_TEMPLATE
-
460 #include "../detail/type_vec1.inl"
-
461 #endif//GLM_EXTERNAL_TEMPLATE
-
vec< 1, double, mediump > mediump_dvec1
1 component vector of double-precision floating-point numbers using medium precision arithmetic in te...
Definition: ext/vec1.hpp:337
-
vec< 1, uint, lowp > lowp_uvec1
1 component vector of unsigned integer numbers.
Definition: ext/vec1.hpp:372
-
vec< 1, int, highp > highp_ivec1
1 component vector of signed integer numbers.
Definition: ext/vec1.hpp:347
-
vec< 1, int, mediump > mediump_ivec1
1 component vector of signed integer numbers.
Definition: ext/vec1.hpp:352
-
vec< 1, bool, lowp > lowp_bvec1
1 component vector of bool values.
Definition: ext/vec1.hpp:387
-
highp_uvec1 uvec1
1 component vector of unsigned integer numbers.
Definition: ext/vec1.hpp:453
-
vec< 1, int, lowp > lowp_ivec1
1 component vector of signed integer numbers.
Definition: ext/vec1.hpp:357
-
vec< 1, bool, mediump > mediump_bvec1
1 component vector of bool values.
Definition: ext/vec1.hpp:382
-
vec< 1, uint, highp > highp_uvec1
1 component vector of unsigned integer numbers.
Definition: ext/vec1.hpp:362
-
Definition: common.hpp:20
-
highp_dvec1 dvec1
1 component vector of floating-point numbers.
Definition: ext/vec1.hpp:429
-
vec< 1, double, lowp > lowp_dvec1
1 component vector of double-precision floating-point numbers using low precision arithmetic in term ...
Definition: ext/vec1.hpp:342
-
vec< 1, double, highp > highp_dvec1
1 component vector of double-precision floating-point numbers using high precision arithmetic in term...
Definition: ext/vec1.hpp:332
-
vec< 1, float, mediump > mediump_vec1
1 component vector of single-precision floating-point numbers using medium precision arithmetic in te...
Definition: ext/vec1.hpp:322
-
highp_ivec1 ivec1
1 component vector of signed integer numbers.
Definition: ext/vec1.hpp:441
-
highp_bvec1 bvec1
1 component vector of boolean.
Definition: ext/vec1.hpp:405
-
vec< 1, bool, highp > highp_bvec1
1 component vector of bool values.
Definition: ext/vec1.hpp:377
-
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
-
unsigned int uint
Unsigned integer type.
Definition: type_int.hpp:288
-
highp_vec1 vec1
1 component vector of floating-point numbers.
Definition: ext/vec1.hpp:417
-
vec< 1, uint, mediump > mediump_uvec1
1 component vector of unsigned integer numbers.
Definition: ext/vec1.hpp:367
-
vec< 1, float, lowp > lowp_vec1
1 component vector of single-precision floating-point numbers using low precision arithmetic in term ...
Definition: ext/vec1.hpp:327
-
vec< 1, float, highp > highp_vec1
1 component vector of single-precision floating-point numbers using high precision arithmetic in term...
Definition: ext/vec1.hpp:317
-
- - - - diff --git a/doc/api/a00128.html b/doc/api/a00128.html index 5452b25e..3faf985d 100644 --- a/doc/api/a00128.html +++ b/doc/api/a00128.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: vec1.hpp File Reference + + +0.9.9 API documenation: matrix_double4x3.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
gtc/vec1.hpp File Reference
+
matrix_double4x3.hpp File Reference
-

GLM_GTC_vec1 -More...

-

Go to the source code of this file.

+ + + + +

+Typedefs

typedef mat< 4, 3, double, defaultp > dmat4x3
 

Detailed Description

-

GLM_GTC_vec1

-
See also
Core features (dependence)
+

Core features

-

Definition in file gtc/vec1.hpp.

+

Definition in file matrix_double4x3.hpp.

diff --git a/doc/api/a00128_source.html b/doc/api/a00128_source.html index 042bf54e..1f53102d 100644 --- a/doc/api/a00128_source.html +++ b/doc/api/a00128_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: vec1.hpp Source File + + +0.9.9 API documenation: matrix_double4x3.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
gtc/vec1.hpp
+
matrix_double4x3.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../ext/vec1.hpp"
-
17 
-
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
19 # pragma message("GLM: GLM_GTC_vec1 extension included")
-
20 #endif
-
21 
-
22 #include "vec1.inl"
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<4, 3, double, defaultp> dmat4x3;
16 
18 }//namespace glm
mat< 4, 3, double, defaultp > dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00129_source.html b/doc/api/a00129_source.html deleted file mode 100644 index 00435a71..00000000 --- a/doc/api/a00129_source.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -0.9.9 API documenation: vec2.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
vec2.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_vec2.hpp"
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00130_source.html b/doc/api/a00130_source.html deleted file mode 100644 index 15e1eef0..00000000 --- a/doc/api/a00130_source.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - -0.9.9 API documenation: vec3.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
vec3.hpp
-
-
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_vec3.hpp"
-
Core features
-
Core features
-
- - - - diff --git a/doc/api/a00131.html b/doc/api/a00131.html index ddb45a61..d13c8573 100644 --- a/doc/api/a00131.html +++ b/doc/api/a00131.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: vec4.hpp File Reference + + +0.9.9 API documenation: matrix_double4x3_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
+
+Typedefs
-
vec4.hpp File Reference
+
matrix_double4x3_precision.hpp File Reference
-

Core features -More...

-

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef mat< 4, 3, double, highp > highp_dmat4x3
 
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
 
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
 

Detailed Description

-

Core features

+

Core features

-

Definition in file vec4.hpp.

+

Definition in file matrix_double4x3_precision.hpp.

diff --git a/doc/api/a00131_source.html b/doc/api/a00131_source.html index e393bd2b..8442ebff 100644 --- a/doc/api/a00131_source.html +++ b/doc/api/a00131_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: vec4.hpp Source File + + +0.9.9 API documenation: matrix_double4x3_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
vec4.hpp
+
matrix_double4x3_precision.hpp
-Go to the documentation of this file.
1 
-
4 #include "detail/setup.hpp"
-
5 
-
6 #pragma once
-
7 
-
8 #include "detail/type_vec4.hpp"
-
Core features
-
Core features
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<4, 3, double, lowp> lowp_dmat4x3;
17 
22  typedef mat<4, 3, double, mediump> mediump_dmat4x3;
23 
28  typedef mat<4, 3, double, highp> highp_dmat4x3;
29 
31 }//namespace glm
mat< 4, 3, double, mediump > mediump_dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 3, double, highp > highp_dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
+
mat< 4, 3, double, lowp > lowp_dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
diff --git a/doc/api/a00132_source.html b/doc/api/a00132_source.html deleted file mode 100644 index 03bfe358..00000000 --- a/doc/api/a00132_source.html +++ /dev/null @@ -1,2867 +0,0 @@ - - - - - - -0.9.9 API documenation: vec_swizzle.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
vec_swizzle.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 #include "../glm.hpp"
-
16 
-
17 #ifndef GLM_ENABLE_EXPERIMENTAL
-
18 # error "GLM: GLM_GTX_vec_swizzle is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
19 #endif
-
20 
-
21 namespace glm {
-
22  // xx
-
23  template<typename T, qualifier Q>
-
24  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<1, T, Q> &v) {
-
25  return glm::vec<2, T, Q>(v.x, v.x);
-
26  }
-
27 
-
28  template<typename T, qualifier Q>
-
29  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<2, T, Q> &v) {
-
30  return glm::vec<2, T, Q>(v.x, v.x);
-
31  }
-
32 
-
33  template<typename T, qualifier Q>
-
34  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<3, T, Q> &v) {
-
35  return glm::vec<2, T, Q>(v.x, v.x);
-
36  }
-
37 
-
38  template<typename T, qualifier Q>
-
39  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<4, T, Q> &v) {
-
40  return glm::vec<2, T, Q>(v.x, v.x);
-
41  }
-
42 
-
43  // xy
-
44  template<typename T, qualifier Q>
-
45  GLM_INLINE glm::vec<2, T, Q> xy(const glm::vec<2, T, Q> &v) {
-
46  return glm::vec<2, T, Q>(v.x, v.y);
-
47  }
-
48 
-
49  template<typename T, qualifier Q>
-
50  GLM_INLINE glm::vec<2, T, Q> xy(const glm::vec<3, T, Q> &v) {
-
51  return glm::vec<2, T, Q>(v.x, v.y);
-
52  }
-
53 
-
54  template<typename T, qualifier Q>
-
55  GLM_INLINE glm::vec<2, T, Q> xy(const glm::vec<4, T, Q> &v) {
-
56  return glm::vec<2, T, Q>(v.x, v.y);
-
57  }
-
58 
-
59  // xz
-
60  template<typename T, qualifier Q>
-
61  GLM_INLINE glm::vec<2, T, Q> xz(const glm::vec<3, T, Q> &v) {
-
62  return glm::vec<2, T, Q>(v.x, v.z);
-
63  }
-
64 
-
65  template<typename T, qualifier Q>
-
66  GLM_INLINE glm::vec<2, T, Q> xz(const glm::vec<4, T, Q> &v) {
-
67  return glm::vec<2, T, Q>(v.x, v.z);
-
68  }
-
69 
-
70  // xw
-
71  template<typename T, qualifier Q>
-
72  GLM_INLINE glm::vec<2, T, Q> xw(const glm::vec<4, T, Q> &v) {
-
73  return glm::vec<2, T, Q>(v.x, v.w);
-
74  }
-
75 
-
76  // yx
-
77  template<typename T, qualifier Q>
-
78  GLM_INLINE glm::vec<2, T, Q> yx(const glm::vec<2, T, Q> &v) {
-
79  return glm::vec<2, T, Q>(v.y, v.x);
-
80  }
-
81 
-
82  template<typename T, qualifier Q>
-
83  GLM_INLINE glm::vec<2, T, Q> yx(const glm::vec<3, T, Q> &v) {
-
84  return glm::vec<2, T, Q>(v.y, v.x);
-
85  }
-
86 
-
87  template<typename T, qualifier Q>
-
88  GLM_INLINE glm::vec<2, T, Q> yx(const glm::vec<4, T, Q> &v) {
-
89  return glm::vec<2, T, Q>(v.y, v.x);
-
90  }
-
91 
-
92  // yy
-
93  template<typename T, qualifier Q>
-
94  GLM_INLINE glm::vec<2, T, Q> yy(const glm::vec<2, T, Q> &v) {
-
95  return glm::vec<2, T, Q>(v.y, v.y);
-
96  }
-
97 
-
98  template<typename T, qualifier Q>
-
99  GLM_INLINE glm::vec<2, T, Q> yy(const glm::vec<3, T, Q> &v) {
-
100  return glm::vec<2, T, Q>(v.y, v.y);
-
101  }
-
102 
-
103  template<typename T, qualifier Q>
-
104  GLM_INLINE glm::vec<2, T, Q> yy(const glm::vec<4, T, Q> &v) {
-
105  return glm::vec<2, T, Q>(v.y, v.y);
-
106  }
-
107 
-
108  // yz
-
109  template<typename T, qualifier Q>
-
110  GLM_INLINE glm::vec<2, T, Q> yz(const glm::vec<3, T, Q> &v) {
-
111  return glm::vec<2, T, Q>(v.y, v.z);
-
112  }
-
113 
-
114  template<typename T, qualifier Q>
-
115  GLM_INLINE glm::vec<2, T, Q> yz(const glm::vec<4, T, Q> &v) {
-
116  return glm::vec<2, T, Q>(v.y, v.z);
-
117  }
-
118 
-
119  // yw
-
120  template<typename T, qualifier Q>
-
121  GLM_INLINE glm::vec<2, T, Q> yw(const glm::vec<4, T, Q> &v) {
-
122  return glm::vec<2, T, Q>(v.y, v.w);
-
123  }
-
124 
-
125  // zx
-
126  template<typename T, qualifier Q>
-
127  GLM_INLINE glm::vec<2, T, Q> zx(const glm::vec<3, T, Q> &v) {
-
128  return glm::vec<2, T, Q>(v.z, v.x);
-
129  }
-
130 
-
131  template<typename T, qualifier Q>
-
132  GLM_INLINE glm::vec<2, T, Q> zx(const glm::vec<4, T, Q> &v) {
-
133  return glm::vec<2, T, Q>(v.z, v.x);
-
134  }
-
135 
-
136  // zy
-
137  template<typename T, qualifier Q>
-
138  GLM_INLINE glm::vec<2, T, Q> zy(const glm::vec<3, T, Q> &v) {
-
139  return glm::vec<2, T, Q>(v.z, v.y);
-
140  }
-
141 
-
142  template<typename T, qualifier Q>
-
143  GLM_INLINE glm::vec<2, T, Q> zy(const glm::vec<4, T, Q> &v) {
-
144  return glm::vec<2, T, Q>(v.z, v.y);
-
145  }
-
146 
-
147  // zz
-
148  template<typename T, qualifier Q>
-
149  GLM_INLINE glm::vec<2, T, Q> zz(const glm::vec<3, T, Q> &v) {
-
150  return glm::vec<2, T, Q>(v.z, v.z);
-
151  }
-
152 
-
153  template<typename T, qualifier Q>
-
154  GLM_INLINE glm::vec<2, T, Q> zz(const glm::vec<4, T, Q> &v) {
-
155  return glm::vec<2, T, Q>(v.z, v.z);
-
156  }
-
157 
-
158  // zw
-
159  template<typename T, qualifier Q>
-
160  GLM_INLINE glm::vec<2, T, Q> zw(const glm::vec<4, T, Q> &v) {
-
161  return glm::vec<2, T, Q>(v.z, v.w);
-
162  }
-
163 
-
164  // wx
-
165  template<typename T, qualifier Q>
-
166  GLM_INLINE glm::vec<2, T, Q> wx(const glm::vec<4, T, Q> &v) {
-
167  return glm::vec<2, T, Q>(v.w, v.x);
-
168  }
-
169 
-
170  // wy
-
171  template<typename T, qualifier Q>
-
172  GLM_INLINE glm::vec<2, T, Q> wy(const glm::vec<4, T, Q> &v) {
-
173  return glm::vec<2, T, Q>(v.w, v.y);
-
174  }
-
175 
-
176  // wz
-
177  template<typename T, qualifier Q>
-
178  GLM_INLINE glm::vec<2, T, Q> wz(const glm::vec<4, T, Q> &v) {
-
179  return glm::vec<2, T, Q>(v.w, v.z);
-
180  }
-
181 
-
182  // ww
-
183  template<typename T, qualifier Q>
-
184  GLM_INLINE glm::vec<2, T, Q> ww(const glm::vec<4, T, Q> &v) {
-
185  return glm::vec<2, T, Q>(v.w, v.w);
-
186  }
-
187 
-
188  // xxx
-
189  template<typename T, qualifier Q>
-
190  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<1, T, Q> &v) {
-
191  return glm::vec<3, T, Q>(v.x, v.x, v.x);
-
192  }
-
193 
-
194  template<typename T, qualifier Q>
-
195  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<2, T, Q> &v) {
-
196  return glm::vec<3, T, Q>(v.x, v.x, v.x);
-
197  }
-
198 
-
199  template<typename T, qualifier Q>
-
200  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<3, T, Q> &v) {
-
201  return glm::vec<3, T, Q>(v.x, v.x, v.x);
-
202  }
-
203 
-
204  template<typename T, qualifier Q>
-
205  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<4, T, Q> &v) {
-
206  return glm::vec<3, T, Q>(v.x, v.x, v.x);
-
207  }
-
208 
-
209  // xxy
-
210  template<typename T, qualifier Q>
-
211  GLM_INLINE glm::vec<3, T, Q> xxy(const glm::vec<2, T, Q> &v) {
-
212  return glm::vec<3, T, Q>(v.x, v.x, v.y);
-
213  }
-
214 
-
215  template<typename T, qualifier Q>
-
216  GLM_INLINE glm::vec<3, T, Q> xxy(const glm::vec<3, T, Q> &v) {
-
217  return glm::vec<3, T, Q>(v.x, v.x, v.y);
-
218  }
-
219 
-
220  template<typename T, qualifier Q>
-
221  GLM_INLINE glm::vec<3, T, Q> xxy(const glm::vec<4, T, Q> &v) {
-
222  return glm::vec<3, T, Q>(v.x, v.x, v.y);
-
223  }
-
224 
-
225  // xxz
-
226  template<typename T, qualifier Q>
-
227  GLM_INLINE glm::vec<3, T, Q> xxz(const glm::vec<3, T, Q> &v) {
-
228  return glm::vec<3, T, Q>(v.x, v.x, v.z);
-
229  }
-
230 
-
231  template<typename T, qualifier Q>
-
232  GLM_INLINE glm::vec<3, T, Q> xxz(const glm::vec<4, T, Q> &v) {
-
233  return glm::vec<3, T, Q>(v.x, v.x, v.z);
-
234  }
-
235 
-
236  // xxw
-
237  template<typename T, qualifier Q>
-
238  GLM_INLINE glm::vec<3, T, Q> xxw(const glm::vec<4, T, Q> &v) {
-
239  return glm::vec<3, T, Q>(v.x, v.x, v.w);
-
240  }
-
241 
-
242  // xyx
-
243  template<typename T, qualifier Q>
-
244  GLM_INLINE glm::vec<3, T, Q> xyx(const glm::vec<2, T, Q> &v) {
-
245  return glm::vec<3, T, Q>(v.x, v.y, v.x);
-
246  }
-
247 
-
248  template<typename T, qualifier Q>
-
249  GLM_INLINE glm::vec<3, T, Q> xyx(const glm::vec<3, T, Q> &v) {
-
250  return glm::vec<3, T, Q>(v.x, v.y, v.x);
-
251  }
-
252 
-
253  template<typename T, qualifier Q>
-
254  GLM_INLINE glm::vec<3, T, Q> xyx(const glm::vec<4, T, Q> &v) {
-
255  return glm::vec<3, T, Q>(v.x, v.y, v.x);
-
256  }
-
257 
-
258  // xyy
-
259  template<typename T, qualifier Q>
-
260  GLM_INLINE glm::vec<3, T, Q> xyy(const glm::vec<2, T, Q> &v) {
-
261  return glm::vec<3, T, Q>(v.x, v.y, v.y);
-
262  }
-
263 
-
264  template<typename T, qualifier Q>
-
265  GLM_INLINE glm::vec<3, T, Q> xyy(const glm::vec<3, T, Q> &v) {
-
266  return glm::vec<3, T, Q>(v.x, v.y, v.y);
-
267  }
-
268 
-
269  template<typename T, qualifier Q>
-
270  GLM_INLINE glm::vec<3, T, Q> xyy(const glm::vec<4, T, Q> &v) {
-
271  return glm::vec<3, T, Q>(v.x, v.y, v.y);
-
272  }
-
273 
-
274  // xyz
-
275  template<typename T, qualifier Q>
-
276  GLM_INLINE glm::vec<3, T, Q> xyz(const glm::vec<3, T, Q> &v) {
-
277  return glm::vec<3, T, Q>(v.x, v.y, v.z);
-
278  }
-
279 
-
280  template<typename T, qualifier Q>
-
281  GLM_INLINE glm::vec<3, T, Q> xyz(const glm::vec<4, T, Q> &v) {
-
282  return glm::vec<3, T, Q>(v.x, v.y, v.z);
-
283  }
-
284 
-
285  // xyw
-
286  template<typename T, qualifier Q>
-
287  GLM_INLINE glm::vec<3, T, Q> xyw(const glm::vec<4, T, Q> &v) {
-
288  return glm::vec<3, T, Q>(v.x, v.y, v.w);
-
289  }
-
290 
-
291  // xzx
-
292  template<typename T, qualifier Q>
-
293  GLM_INLINE glm::vec<3, T, Q> xzx(const glm::vec<3, T, Q> &v) {
-
294  return glm::vec<3, T, Q>(v.x, v.z, v.x);
-
295  }
-
296 
-
297  template<typename T, qualifier Q>
-
298  GLM_INLINE glm::vec<3, T, Q> xzx(const glm::vec<4, T, Q> &v) {
-
299  return glm::vec<3, T, Q>(v.x, v.z, v.x);
-
300  }
-
301 
-
302  // xzy
-
303  template<typename T, qualifier Q>
-
304  GLM_INLINE glm::vec<3, T, Q> xzy(const glm::vec<3, T, Q> &v) {
-
305  return glm::vec<3, T, Q>(v.x, v.z, v.y);
-
306  }
-
307 
-
308  template<typename T, qualifier Q>
-
309  GLM_INLINE glm::vec<3, T, Q> xzy(const glm::vec<4, T, Q> &v) {
-
310  return glm::vec<3, T, Q>(v.x, v.z, v.y);
-
311  }
-
312 
-
313  // xzz
-
314  template<typename T, qualifier Q>
-
315  GLM_INLINE glm::vec<3, T, Q> xzz(const glm::vec<3, T, Q> &v) {
-
316  return glm::vec<3, T, Q>(v.x, v.z, v.z);
-
317  }
-
318 
-
319  template<typename T, qualifier Q>
-
320  GLM_INLINE glm::vec<3, T, Q> xzz(const glm::vec<4, T, Q> &v) {
-
321  return glm::vec<3, T, Q>(v.x, v.z, v.z);
-
322  }
-
323 
-
324  // xzw
-
325  template<typename T, qualifier Q>
-
326  GLM_INLINE glm::vec<3, T, Q> xzw(const glm::vec<4, T, Q> &v) {
-
327  return glm::vec<3, T, Q>(v.x, v.z, v.w);
-
328  }
-
329 
-
330  // xwx
-
331  template<typename T, qualifier Q>
-
332  GLM_INLINE glm::vec<3, T, Q> xwx(const glm::vec<4, T, Q> &v) {
-
333  return glm::vec<3, T, Q>(v.x, v.w, v.x);
-
334  }
-
335 
-
336  // xwy
-
337  template<typename T, qualifier Q>
-
338  GLM_INLINE glm::vec<3, T, Q> xwy(const glm::vec<4, T, Q> &v) {
-
339  return glm::vec<3, T, Q>(v.x, v.w, v.y);
-
340  }
-
341 
-
342  // xwz
-
343  template<typename T, qualifier Q>
-
344  GLM_INLINE glm::vec<3, T, Q> xwz(const glm::vec<4, T, Q> &v) {
-
345  return glm::vec<3, T, Q>(v.x, v.w, v.z);
-
346  }
-
347 
-
348  // xww
-
349  template<typename T, qualifier Q>
-
350  GLM_INLINE glm::vec<3, T, Q> xww(const glm::vec<4, T, Q> &v) {
-
351  return glm::vec<3, T, Q>(v.x, v.w, v.w);
-
352  }
-
353 
-
354  // yxx
-
355  template<typename T, qualifier Q>
-
356  GLM_INLINE glm::vec<3, T, Q> yxx(const glm::vec<2, T, Q> &v) {
-
357  return glm::vec<3, T, Q>(v.y, v.x, v.x);
-
358  }
-
359 
-
360  template<typename T, qualifier Q>
-
361  GLM_INLINE glm::vec<3, T, Q> yxx(const glm::vec<3, T, Q> &v) {
-
362  return glm::vec<3, T, Q>(v.y, v.x, v.x);
-
363  }
-
364 
-
365  template<typename T, qualifier Q>
-
366  GLM_INLINE glm::vec<3, T, Q> yxx(const glm::vec<4, T, Q> &v) {
-
367  return glm::vec<3, T, Q>(v.y, v.x, v.x);
-
368  }
-
369 
-
370  // yxy
-
371  template<typename T, qualifier Q>
-
372  GLM_INLINE glm::vec<3, T, Q> yxy(const glm::vec<2, T, Q> &v) {
-
373  return glm::vec<3, T, Q>(v.y, v.x, v.y);
-
374  }
-
375 
-
376  template<typename T, qualifier Q>
-
377  GLM_INLINE glm::vec<3, T, Q> yxy(const glm::vec<3, T, Q> &v) {
-
378  return glm::vec<3, T, Q>(v.y, v.x, v.y);
-
379  }
-
380 
-
381  template<typename T, qualifier Q>
-
382  GLM_INLINE glm::vec<3, T, Q> yxy(const glm::vec<4, T, Q> &v) {
-
383  return glm::vec<3, T, Q>(v.y, v.x, v.y);
-
384  }
-
385 
-
386  // yxz
-
387  template<typename T, qualifier Q>
-
388  GLM_INLINE glm::vec<3, T, Q> yxz(const glm::vec<3, T, Q> &v) {
-
389  return glm::vec<3, T, Q>(v.y, v.x, v.z);
-
390  }
-
391 
-
392  template<typename T, qualifier Q>
-
393  GLM_INLINE glm::vec<3, T, Q> yxz(const glm::vec<4, T, Q> &v) {
-
394  return glm::vec<3, T, Q>(v.y, v.x, v.z);
-
395  }
-
396 
-
397  // yxw
-
398  template<typename T, qualifier Q>
-
399  GLM_INLINE glm::vec<3, T, Q> yxw(const glm::vec<4, T, Q> &v) {
-
400  return glm::vec<3, T, Q>(v.y, v.x, v.w);
-
401  }
-
402 
-
403  // yyx
-
404  template<typename T, qualifier Q>
-
405  GLM_INLINE glm::vec<3, T, Q> yyx(const glm::vec<2, T, Q> &v) {
-
406  return glm::vec<3, T, Q>(v.y, v.y, v.x);
-
407  }
-
408 
-
409  template<typename T, qualifier Q>
-
410  GLM_INLINE glm::vec<3, T, Q> yyx(const glm::vec<3, T, Q> &v) {
-
411  return glm::vec<3, T, Q>(v.y, v.y, v.x);
-
412  }
-
413 
-
414  template<typename T, qualifier Q>
-
415  GLM_INLINE glm::vec<3, T, Q> yyx(const glm::vec<4, T, Q> &v) {
-
416  return glm::vec<3, T, Q>(v.y, v.y, v.x);
-
417  }
-
418 
-
419  // yyy
-
420  template<typename T, qualifier Q>
-
421  GLM_INLINE glm::vec<3, T, Q> yyy(const glm::vec<2, T, Q> &v) {
-
422  return glm::vec<3, T, Q>(v.y, v.y, v.y);
-
423  }
-
424 
-
425  template<typename T, qualifier Q>
-
426  GLM_INLINE glm::vec<3, T, Q> yyy(const glm::vec<3, T, Q> &v) {
-
427  return glm::vec<3, T, Q>(v.y, v.y, v.y);
-
428  }
-
429 
-
430  template<typename T, qualifier Q>
-
431  GLM_INLINE glm::vec<3, T, Q> yyy(const glm::vec<4, T, Q> &v) {
-
432  return glm::vec<3, T, Q>(v.y, v.y, v.y);
-
433  }
-
434 
-
435  // yyz
-
436  template<typename T, qualifier Q>
-
437  GLM_INLINE glm::vec<3, T, Q> yyz(const glm::vec<3, T, Q> &v) {
-
438  return glm::vec<3, T, Q>(v.y, v.y, v.z);
-
439  }
-
440 
-
441  template<typename T, qualifier Q>
-
442  GLM_INLINE glm::vec<3, T, Q> yyz(const glm::vec<4, T, Q> &v) {
-
443  return glm::vec<3, T, Q>(v.y, v.y, v.z);
-
444  }
-
445 
-
446  // yyw
-
447  template<typename T, qualifier Q>
-
448  GLM_INLINE glm::vec<3, T, Q> yyw(const glm::vec<4, T, Q> &v) {
-
449  return glm::vec<3, T, Q>(v.y, v.y, v.w);
-
450  }
-
451 
-
452  // yzx
-
453  template<typename T, qualifier Q>
-
454  GLM_INLINE glm::vec<3, T, Q> yzx(const glm::vec<3, T, Q> &v) {
-
455  return glm::vec<3, T, Q>(v.y, v.z, v.x);
-
456  }
-
457 
-
458  template<typename T, qualifier Q>
-
459  GLM_INLINE glm::vec<3, T, Q> yzx(const glm::vec<4, T, Q> &v) {
-
460  return glm::vec<3, T, Q>(v.y, v.z, v.x);
-
461  }
-
462 
-
463  // yzy
-
464  template<typename T, qualifier Q>
-
465  GLM_INLINE glm::vec<3, T, Q> yzy(const glm::vec<3, T, Q> &v) {
-
466  return glm::vec<3, T, Q>(v.y, v.z, v.y);
-
467  }
-
468 
-
469  template<typename T, qualifier Q>
-
470  GLM_INLINE glm::vec<3, T, Q> yzy(const glm::vec<4, T, Q> &v) {
-
471  return glm::vec<3, T, Q>(v.y, v.z, v.y);
-
472  }
-
473 
-
474  // yzz
-
475  template<typename T, qualifier Q>
-
476  GLM_INLINE glm::vec<3, T, Q> yzz(const glm::vec<3, T, Q> &v) {
-
477  return glm::vec<3, T, Q>(v.y, v.z, v.z);
-
478  }
-
479 
-
480  template<typename T, qualifier Q>
-
481  GLM_INLINE glm::vec<3, T, Q> yzz(const glm::vec<4, T, Q> &v) {
-
482  return glm::vec<3, T, Q>(v.y, v.z, v.z);
-
483  }
-
484 
-
485  // yzw
-
486  template<typename T, qualifier Q>
-
487  GLM_INLINE glm::vec<3, T, Q> yzw(const glm::vec<4, T, Q> &v) {
-
488  return glm::vec<3, T, Q>(v.y, v.z, v.w);
-
489  }
-
490 
-
491  // ywx
-
492  template<typename T, qualifier Q>
-
493  GLM_INLINE glm::vec<3, T, Q> ywx(const glm::vec<4, T, Q> &v) {
-
494  return glm::vec<3, T, Q>(v.y, v.w, v.x);
-
495  }
-
496 
-
497  // ywy
-
498  template<typename T, qualifier Q>
-
499  GLM_INLINE glm::vec<3, T, Q> ywy(const glm::vec<4, T, Q> &v) {
-
500  return glm::vec<3, T, Q>(v.y, v.w, v.y);
-
501  }
-
502 
-
503  // ywz
-
504  template<typename T, qualifier Q>
-
505  GLM_INLINE glm::vec<3, T, Q> ywz(const glm::vec<4, T, Q> &v) {
-
506  return glm::vec<3, T, Q>(v.y, v.w, v.z);
-
507  }
-
508 
-
509  // yww
-
510  template<typename T, qualifier Q>
-
511  GLM_INLINE glm::vec<3, T, Q> yww(const glm::vec<4, T, Q> &v) {
-
512  return glm::vec<3, T, Q>(v.y, v.w, v.w);
-
513  }
-
514 
-
515  // zxx
-
516  template<typename T, qualifier Q>
-
517  GLM_INLINE glm::vec<3, T, Q> zxx(const glm::vec<3, T, Q> &v) {
-
518  return glm::vec<3, T, Q>(v.z, v.x, v.x);
-
519  }
-
520 
-
521  template<typename T, qualifier Q>
-
522  GLM_INLINE glm::vec<3, T, Q> zxx(const glm::vec<4, T, Q> &v) {
-
523  return glm::vec<3, T, Q>(v.z, v.x, v.x);
-
524  }
-
525 
-
526  // zxy
-
527  template<typename T, qualifier Q>
-
528  GLM_INLINE glm::vec<3, T, Q> zxy(const glm::vec<3, T, Q> &v) {
-
529  return glm::vec<3, T, Q>(v.z, v.x, v.y);
-
530  }
-
531 
-
532  template<typename T, qualifier Q>
-
533  GLM_INLINE glm::vec<3, T, Q> zxy(const glm::vec<4, T, Q> &v) {
-
534  return glm::vec<3, T, Q>(v.z, v.x, v.y);
-
535  }
-
536 
-
537  // zxz
-
538  template<typename T, qualifier Q>
-
539  GLM_INLINE glm::vec<3, T, Q> zxz(const glm::vec<3, T, Q> &v) {
-
540  return glm::vec<3, T, Q>(v.z, v.x, v.z);
-
541  }
-
542 
-
543  template<typename T, qualifier Q>
-
544  GLM_INLINE glm::vec<3, T, Q> zxz(const glm::vec<4, T, Q> &v) {
-
545  return glm::vec<3, T, Q>(v.z, v.x, v.z);
-
546  }
-
547 
-
548  // zxw
-
549  template<typename T, qualifier Q>
-
550  GLM_INLINE glm::vec<3, T, Q> zxw(const glm::vec<4, T, Q> &v) {
-
551  return glm::vec<3, T, Q>(v.z, v.x, v.w);
-
552  }
-
553 
-
554  // zyx
-
555  template<typename T, qualifier Q>
-
556  GLM_INLINE glm::vec<3, T, Q> zyx(const glm::vec<3, T, Q> &v) {
-
557  return glm::vec<3, T, Q>(v.z, v.y, v.x);
-
558  }
-
559 
-
560  template<typename T, qualifier Q>
-
561  GLM_INLINE glm::vec<3, T, Q> zyx(const glm::vec<4, T, Q> &v) {
-
562  return glm::vec<3, T, Q>(v.z, v.y, v.x);
-
563  }
-
564 
-
565  // zyy
-
566  template<typename T, qualifier Q>
-
567  GLM_INLINE glm::vec<3, T, Q> zyy(const glm::vec<3, T, Q> &v) {
-
568  return glm::vec<3, T, Q>(v.z, v.y, v.y);
-
569  }
-
570 
-
571  template<typename T, qualifier Q>
-
572  GLM_INLINE glm::vec<3, T, Q> zyy(const glm::vec<4, T, Q> &v) {
-
573  return glm::vec<3, T, Q>(v.z, v.y, v.y);
-
574  }
-
575 
-
576  // zyz
-
577  template<typename T, qualifier Q>
-
578  GLM_INLINE glm::vec<3, T, Q> zyz(const glm::vec<3, T, Q> &v) {
-
579  return glm::vec<3, T, Q>(v.z, v.y, v.z);
-
580  }
-
581 
-
582  template<typename T, qualifier Q>
-
583  GLM_INLINE glm::vec<3, T, Q> zyz(const glm::vec<4, T, Q> &v) {
-
584  return glm::vec<3, T, Q>(v.z, v.y, v.z);
-
585  }
-
586 
-
587  // zyw
-
588  template<typename T, qualifier Q>
-
589  GLM_INLINE glm::vec<3, T, Q> zyw(const glm::vec<4, T, Q> &v) {
-
590  return glm::vec<3, T, Q>(v.z, v.y, v.w);
-
591  }
-
592 
-
593  // zzx
-
594  template<typename T, qualifier Q>
-
595  GLM_INLINE glm::vec<3, T, Q> zzx(const glm::vec<3, T, Q> &v) {
-
596  return glm::vec<3, T, Q>(v.z, v.z, v.x);
-
597  }
-
598 
-
599  template<typename T, qualifier Q>
-
600  GLM_INLINE glm::vec<3, T, Q> zzx(const glm::vec<4, T, Q> &v) {
-
601  return glm::vec<3, T, Q>(v.z, v.z, v.x);
-
602  }
-
603 
-
604  // zzy
-
605  template<typename T, qualifier Q>
-
606  GLM_INLINE glm::vec<3, T, Q> zzy(const glm::vec<3, T, Q> &v) {
-
607  return glm::vec<3, T, Q>(v.z, v.z, v.y);
-
608  }
-
609 
-
610  template<typename T, qualifier Q>
-
611  GLM_INLINE glm::vec<3, T, Q> zzy(const glm::vec<4, T, Q> &v) {
-
612  return glm::vec<3, T, Q>(v.z, v.z, v.y);
-
613  }
-
614 
-
615  // zzz
-
616  template<typename T, qualifier Q>
-
617  GLM_INLINE glm::vec<3, T, Q> zzz(const glm::vec<3, T, Q> &v) {
-
618  return glm::vec<3, T, Q>(v.z, v.z, v.z);
-
619  }
-
620 
-
621  template<typename T, qualifier Q>
-
622  GLM_INLINE glm::vec<3, T, Q> zzz(const glm::vec<4, T, Q> &v) {
-
623  return glm::vec<3, T, Q>(v.z, v.z, v.z);
-
624  }
-
625 
-
626  // zzw
-
627  template<typename T, qualifier Q>
-
628  GLM_INLINE glm::vec<3, T, Q> zzw(const glm::vec<4, T, Q> &v) {
-
629  return glm::vec<3, T, Q>(v.z, v.z, v.w);
-
630  }
-
631 
-
632  // zwx
-
633  template<typename T, qualifier Q>
-
634  GLM_INLINE glm::vec<3, T, Q> zwx(const glm::vec<4, T, Q> &v) {
-
635  return glm::vec<3, T, Q>(v.z, v.w, v.x);
-
636  }
-
637 
-
638  // zwy
-
639  template<typename T, qualifier Q>
-
640  GLM_INLINE glm::vec<3, T, Q> zwy(const glm::vec<4, T, Q> &v) {
-
641  return glm::vec<3, T, Q>(v.z, v.w, v.y);
-
642  }
-
643 
-
644  // zwz
-
645  template<typename T, qualifier Q>
-
646  GLM_INLINE glm::vec<3, T, Q> zwz(const glm::vec<4, T, Q> &v) {
-
647  return glm::vec<3, T, Q>(v.z, v.w, v.z);
-
648  }
-
649 
-
650  // zww
-
651  template<typename T, qualifier Q>
-
652  GLM_INLINE glm::vec<3, T, Q> zww(const glm::vec<4, T, Q> &v) {
-
653  return glm::vec<3, T, Q>(v.z, v.w, v.w);
-
654  }
-
655 
-
656  // wxx
-
657  template<typename T, qualifier Q>
-
658  GLM_INLINE glm::vec<3, T, Q> wxx(const glm::vec<4, T, Q> &v) {
-
659  return glm::vec<3, T, Q>(v.w, v.x, v.x);
-
660  }
-
661 
-
662  // wxy
-
663  template<typename T, qualifier Q>
-
664  GLM_INLINE glm::vec<3, T, Q> wxy(const glm::vec<4, T, Q> &v) {
-
665  return glm::vec<3, T, Q>(v.w, v.x, v.y);
-
666  }
-
667 
-
668  // wxz
-
669  template<typename T, qualifier Q>
-
670  GLM_INLINE glm::vec<3, T, Q> wxz(const glm::vec<4, T, Q> &v) {
-
671  return glm::vec<3, T, Q>(v.w, v.x, v.z);
-
672  }
-
673 
-
674  // wxw
-
675  template<typename T, qualifier Q>
-
676  GLM_INLINE glm::vec<3, T, Q> wxw(const glm::vec<4, T, Q> &v) {
-
677  return glm::vec<3, T, Q>(v.w, v.x, v.w);
-
678  }
-
679 
-
680  // wyx
-
681  template<typename T, qualifier Q>
-
682  GLM_INLINE glm::vec<3, T, Q> wyx(const glm::vec<4, T, Q> &v) {
-
683  return glm::vec<3, T, Q>(v.w, v.y, v.x);
-
684  }
-
685 
-
686  // wyy
-
687  template<typename T, qualifier Q>
-
688  GLM_INLINE glm::vec<3, T, Q> wyy(const glm::vec<4, T, Q> &v) {
-
689  return glm::vec<3, T, Q>(v.w, v.y, v.y);
-
690  }
-
691 
-
692  // wyz
-
693  template<typename T, qualifier Q>
-
694  GLM_INLINE glm::vec<3, T, Q> wyz(const glm::vec<4, T, Q> &v) {
-
695  return glm::vec<3, T, Q>(v.w, v.y, v.z);
-
696  }
-
697 
-
698  // wyw
-
699  template<typename T, qualifier Q>
-
700  GLM_INLINE glm::vec<3, T, Q> wyw(const glm::vec<4, T, Q> &v) {
-
701  return glm::vec<3, T, Q>(v.w, v.y, v.w);
-
702  }
-
703 
-
704  // wzx
-
705  template<typename T, qualifier Q>
-
706  GLM_INLINE glm::vec<3, T, Q> wzx(const glm::vec<4, T, Q> &v) {
-
707  return glm::vec<3, T, Q>(v.w, v.z, v.x);
-
708  }
-
709 
-
710  // wzy
-
711  template<typename T, qualifier Q>
-
712  GLM_INLINE glm::vec<3, T, Q> wzy(const glm::vec<4, T, Q> &v) {
-
713  return glm::vec<3, T, Q>(v.w, v.z, v.y);
-
714  }
-
715 
-
716  // wzz
-
717  template<typename T, qualifier Q>
-
718  GLM_INLINE glm::vec<3, T, Q> wzz(const glm::vec<4, T, Q> &v) {
-
719  return glm::vec<3, T, Q>(v.w, v.z, v.z);
-
720  }
-
721 
-
722  // wzw
-
723  template<typename T, qualifier Q>
-
724  GLM_INLINE glm::vec<3, T, Q> wzw(const glm::vec<4, T, Q> &v) {
-
725  return glm::vec<3, T, Q>(v.w, v.z, v.w);
-
726  }
-
727 
-
728  // wwx
-
729  template<typename T, qualifier Q>
-
730  GLM_INLINE glm::vec<3, T, Q> wwx(const glm::vec<4, T, Q> &v) {
-
731  return glm::vec<3, T, Q>(v.w, v.w, v.x);
-
732  }
-
733 
-
734  // wwy
-
735  template<typename T, qualifier Q>
-
736  GLM_INLINE glm::vec<3, T, Q> wwy(const glm::vec<4, T, Q> &v) {
-
737  return glm::vec<3, T, Q>(v.w, v.w, v.y);
-
738  }
-
739 
-
740  // wwz
-
741  template<typename T, qualifier Q>
-
742  GLM_INLINE glm::vec<3, T, Q> wwz(const glm::vec<4, T, Q> &v) {
-
743  return glm::vec<3, T, Q>(v.w, v.w, v.z);
-
744  }
-
745 
-
746  // www
-
747  template<typename T, qualifier Q>
-
748  GLM_INLINE glm::vec<3, T, Q> www(const glm::vec<4, T, Q> &v) {
-
749  return glm::vec<3, T, Q>(v.w, v.w, v.w);
-
750  }
-
751 
-
752  // xxxx
-
753  template<typename T, qualifier Q>
-
754  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<1, T, Q> &v) {
-
755  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
-
756  }
-
757 
-
758  template<typename T, qualifier Q>
-
759  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<2, T, Q> &v) {
-
760  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
-
761  }
-
762 
-
763  template<typename T, qualifier Q>
-
764  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<3, T, Q> &v) {
-
765  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
-
766  }
-
767 
-
768  template<typename T, qualifier Q>
-
769  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<4, T, Q> &v) {
-
770  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
-
771  }
-
772 
-
773  // xxxy
-
774  template<typename T, qualifier Q>
-
775  GLM_INLINE glm::vec<4, T, Q> xxxy(const glm::vec<2, T, Q> &v) {
-
776  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.y);
-
777  }
-
778 
-
779  template<typename T, qualifier Q>
-
780  GLM_INLINE glm::vec<4, T, Q> xxxy(const glm::vec<3, T, Q> &v) {
-
781  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.y);
-
782  }
-
783 
-
784  template<typename T, qualifier Q>
-
785  GLM_INLINE glm::vec<4, T, Q> xxxy(const glm::vec<4, T, Q> &v) {
-
786  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.y);
-
787  }
-
788 
-
789  // xxxz
-
790  template<typename T, qualifier Q>
-
791  GLM_INLINE glm::vec<4, T, Q> xxxz(const glm::vec<3, T, Q> &v) {
-
792  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.z);
-
793  }
-
794 
-
795  template<typename T, qualifier Q>
-
796  GLM_INLINE glm::vec<4, T, Q> xxxz(const glm::vec<4, T, Q> &v) {
-
797  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.z);
-
798  }
-
799 
-
800  // xxxw
-
801  template<typename T, qualifier Q>
-
802  GLM_INLINE glm::vec<4, T, Q> xxxw(const glm::vec<4, T, Q> &v) {
-
803  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.w);
-
804  }
-
805 
-
806  // xxyx
-
807  template<typename T, qualifier Q>
-
808  GLM_INLINE glm::vec<4, T, Q> xxyx(const glm::vec<2, T, Q> &v) {
-
809  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.x);
-
810  }
-
811 
-
812  template<typename T, qualifier Q>
-
813  GLM_INLINE glm::vec<4, T, Q> xxyx(const glm::vec<3, T, Q> &v) {
-
814  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.x);
-
815  }
-
816 
-
817  template<typename T, qualifier Q>
-
818  GLM_INLINE glm::vec<4, T, Q> xxyx(const glm::vec<4, T, Q> &v) {
-
819  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.x);
-
820  }
-
821 
-
822  // xxyy
-
823  template<typename T, qualifier Q>
-
824  GLM_INLINE glm::vec<4, T, Q> xxyy(const glm::vec<2, T, Q> &v) {
-
825  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.y);
-
826  }
-
827 
-
828  template<typename T, qualifier Q>
-
829  GLM_INLINE glm::vec<4, T, Q> xxyy(const glm::vec<3, T, Q> &v) {
-
830  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.y);
-
831  }
-
832 
-
833  template<typename T, qualifier Q>
-
834  GLM_INLINE glm::vec<4, T, Q> xxyy(const glm::vec<4, T, Q> &v) {
-
835  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.y);
-
836  }
-
837 
-
838  // xxyz
-
839  template<typename T, qualifier Q>
-
840  GLM_INLINE glm::vec<4, T, Q> xxyz(const glm::vec<3, T, Q> &v) {
-
841  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.z);
-
842  }
-
843 
-
844  template<typename T, qualifier Q>
-
845  GLM_INLINE glm::vec<4, T, Q> xxyz(const glm::vec<4, T, Q> &v) {
-
846  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.z);
-
847  }
-
848 
-
849  // xxyw
-
850  template<typename T, qualifier Q>
-
851  GLM_INLINE glm::vec<4, T, Q> xxyw(const glm::vec<4, T, Q> &v) {
-
852  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.w);
-
853  }
-
854 
-
855  // xxzx
-
856  template<typename T, qualifier Q>
-
857  GLM_INLINE glm::vec<4, T, Q> xxzx(const glm::vec<3, T, Q> &v) {
-
858  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.x);
-
859  }
-
860 
-
861  template<typename T, qualifier Q>
-
862  GLM_INLINE glm::vec<4, T, Q> xxzx(const glm::vec<4, T, Q> &v) {
-
863  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.x);
-
864  }
-
865 
-
866  // xxzy
-
867  template<typename T, qualifier Q>
-
868  GLM_INLINE glm::vec<4, T, Q> xxzy(const glm::vec<3, T, Q> &v) {
-
869  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.y);
-
870  }
-
871 
-
872  template<typename T, qualifier Q>
-
873  GLM_INLINE glm::vec<4, T, Q> xxzy(const glm::vec<4, T, Q> &v) {
-
874  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.y);
-
875  }
-
876 
-
877  // xxzz
-
878  template<typename T, qualifier Q>
-
879  GLM_INLINE glm::vec<4, T, Q> xxzz(const glm::vec<3, T, Q> &v) {
-
880  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.z);
-
881  }
-
882 
-
883  template<typename T, qualifier Q>
-
884  GLM_INLINE glm::vec<4, T, Q> xxzz(const glm::vec<4, T, Q> &v) {
-
885  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.z);
-
886  }
-
887 
-
888  // xxzw
-
889  template<typename T, qualifier Q>
-
890  GLM_INLINE glm::vec<4, T, Q> xxzw(const glm::vec<4, T, Q> &v) {
-
891  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.w);
-
892  }
-
893 
-
894  // xxwx
-
895  template<typename T, qualifier Q>
-
896  GLM_INLINE glm::vec<4, T, Q> xxwx(const glm::vec<4, T, Q> &v) {
-
897  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.x);
-
898  }
-
899 
-
900  // xxwy
-
901  template<typename T, qualifier Q>
-
902  GLM_INLINE glm::vec<4, T, Q> xxwy(const glm::vec<4, T, Q> &v) {
-
903  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.y);
-
904  }
-
905 
-
906  // xxwz
-
907  template<typename T, qualifier Q>
-
908  GLM_INLINE glm::vec<4, T, Q> xxwz(const glm::vec<4, T, Q> &v) {
-
909  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.z);
-
910  }
-
911 
-
912  // xxww
-
913  template<typename T, qualifier Q>
-
914  GLM_INLINE glm::vec<4, T, Q> xxww(const glm::vec<4, T, Q> &v) {
-
915  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.w);
-
916  }
-
917 
-
918  // xyxx
-
919  template<typename T, qualifier Q>
-
920  GLM_INLINE glm::vec<4, T, Q> xyxx(const glm::vec<2, T, Q> &v) {
-
921  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.x);
-
922  }
-
923 
-
924  template<typename T, qualifier Q>
-
925  GLM_INLINE glm::vec<4, T, Q> xyxx(const glm::vec<3, T, Q> &v) {
-
926  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.x);
-
927  }
-
928 
-
929  template<typename T, qualifier Q>
-
930  GLM_INLINE glm::vec<4, T, Q> xyxx(const glm::vec<4, T, Q> &v) {
-
931  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.x);
-
932  }
-
933 
-
934  // xyxy
-
935  template<typename T, qualifier Q>
-
936  GLM_INLINE glm::vec<4, T, Q> xyxy(const glm::vec<2, T, Q> &v) {
-
937  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.y);
-
938  }
-
939 
-
940  template<typename T, qualifier Q>
-
941  GLM_INLINE glm::vec<4, T, Q> xyxy(const glm::vec<3, T, Q> &v) {
-
942  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.y);
-
943  }
-
944 
-
945  template<typename T, qualifier Q>
-
946  GLM_INLINE glm::vec<4, T, Q> xyxy(const glm::vec<4, T, Q> &v) {
-
947  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.y);
-
948  }
-
949 
-
950  // xyxz
-
951  template<typename T, qualifier Q>
-
952  GLM_INLINE glm::vec<4, T, Q> xyxz(const glm::vec<3, T, Q> &v) {
-
953  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.z);
-
954  }
-
955 
-
956  template<typename T, qualifier Q>
-
957  GLM_INLINE glm::vec<4, T, Q> xyxz(const glm::vec<4, T, Q> &v) {
-
958  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.z);
-
959  }
-
960 
-
961  // xyxw
-
962  template<typename T, qualifier Q>
-
963  GLM_INLINE glm::vec<4, T, Q> xyxw(const glm::vec<4, T, Q> &v) {
-
964  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.w);
-
965  }
-
966 
-
967  // xyyx
-
968  template<typename T, qualifier Q>
-
969  GLM_INLINE glm::vec<4, T, Q> xyyx(const glm::vec<2, T, Q> &v) {
-
970  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.x);
-
971  }
-
972 
-
973  template<typename T, qualifier Q>
-
974  GLM_INLINE glm::vec<4, T, Q> xyyx(const glm::vec<3, T, Q> &v) {
-
975  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.x);
-
976  }
-
977 
-
978  template<typename T, qualifier Q>
-
979  GLM_INLINE glm::vec<4, T, Q> xyyx(const glm::vec<4, T, Q> &v) {
-
980  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.x);
-
981  }
-
982 
-
983  // xyyy
-
984  template<typename T, qualifier Q>
-
985  GLM_INLINE glm::vec<4, T, Q> xyyy(const glm::vec<2, T, Q> &v) {
-
986  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.y);
-
987  }
-
988 
-
989  template<typename T, qualifier Q>
-
990  GLM_INLINE glm::vec<4, T, Q> xyyy(const glm::vec<3, T, Q> &v) {
-
991  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.y);
-
992  }
-
993 
-
994  template<typename T, qualifier Q>
-
995  GLM_INLINE glm::vec<4, T, Q> xyyy(const glm::vec<4, T, Q> &v) {
-
996  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.y);
-
997  }
-
998 
-
999  // xyyz
-
1000  template<typename T, qualifier Q>
-
1001  GLM_INLINE glm::vec<4, T, Q> xyyz(const glm::vec<3, T, Q> &v) {
-
1002  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.z);
-
1003  }
-
1004 
-
1005  template<typename T, qualifier Q>
-
1006  GLM_INLINE glm::vec<4, T, Q> xyyz(const glm::vec<4, T, Q> &v) {
-
1007  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.z);
-
1008  }
-
1009 
-
1010  // xyyw
-
1011  template<typename T, qualifier Q>
-
1012  GLM_INLINE glm::vec<4, T, Q> xyyw(const glm::vec<4, T, Q> &v) {
-
1013  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.w);
-
1014  }
-
1015 
-
1016  // xyzx
-
1017  template<typename T, qualifier Q>
-
1018  GLM_INLINE glm::vec<4, T, Q> xyzx(const glm::vec<3, T, Q> &v) {
-
1019  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.x);
-
1020  }
-
1021 
-
1022  template<typename T, qualifier Q>
-
1023  GLM_INLINE glm::vec<4, T, Q> xyzx(const glm::vec<4, T, Q> &v) {
-
1024  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.x);
-
1025  }
-
1026 
-
1027  // xyzy
-
1028  template<typename T, qualifier Q>
-
1029  GLM_INLINE glm::vec<4, T, Q> xyzy(const glm::vec<3, T, Q> &v) {
-
1030  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.y);
-
1031  }
-
1032 
-
1033  template<typename T, qualifier Q>
-
1034  GLM_INLINE glm::vec<4, T, Q> xyzy(const glm::vec<4, T, Q> &v) {
-
1035  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.y);
-
1036  }
-
1037 
-
1038  // xyzz
-
1039  template<typename T, qualifier Q>
-
1040  GLM_INLINE glm::vec<4, T, Q> xyzz(const glm::vec<3, T, Q> &v) {
-
1041  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.z);
-
1042  }
-
1043 
-
1044  template<typename T, qualifier Q>
-
1045  GLM_INLINE glm::vec<4, T, Q> xyzz(const glm::vec<4, T, Q> &v) {
-
1046  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.z);
-
1047  }
-
1048 
-
1049  // xyzw
-
1050  template<typename T, qualifier Q>
-
1051  GLM_INLINE glm::vec<4, T, Q> xyzw(const glm::vec<4, T, Q> &v) {
-
1052  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.w);
-
1053  }
-
1054 
-
1055  // xywx
-
1056  template<typename T, qualifier Q>
-
1057  GLM_INLINE glm::vec<4, T, Q> xywx(const glm::vec<4, T, Q> &v) {
-
1058  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.x);
-
1059  }
-
1060 
-
1061  // xywy
-
1062  template<typename T, qualifier Q>
-
1063  GLM_INLINE glm::vec<4, T, Q> xywy(const glm::vec<4, T, Q> &v) {
-
1064  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.y);
-
1065  }
-
1066 
-
1067  // xywz
-
1068  template<typename T, qualifier Q>
-
1069  GLM_INLINE glm::vec<4, T, Q> xywz(const glm::vec<4, T, Q> &v) {
-
1070  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.z);
-
1071  }
-
1072 
-
1073  // xyww
-
1074  template<typename T, qualifier Q>
-
1075  GLM_INLINE glm::vec<4, T, Q> xyww(const glm::vec<4, T, Q> &v) {
-
1076  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.w);
-
1077  }
-
1078 
-
1079  // xzxx
-
1080  template<typename T, qualifier Q>
-
1081  GLM_INLINE glm::vec<4, T, Q> xzxx(const glm::vec<3, T, Q> &v) {
-
1082  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.x);
-
1083  }
-
1084 
-
1085  template<typename T, qualifier Q>
-
1086  GLM_INLINE glm::vec<4, T, Q> xzxx(const glm::vec<4, T, Q> &v) {
-
1087  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.x);
-
1088  }
-
1089 
-
1090  // xzxy
-
1091  template<typename T, qualifier Q>
-
1092  GLM_INLINE glm::vec<4, T, Q> xzxy(const glm::vec<3, T, Q> &v) {
-
1093  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.y);
-
1094  }
-
1095 
-
1096  template<typename T, qualifier Q>
-
1097  GLM_INLINE glm::vec<4, T, Q> xzxy(const glm::vec<4, T, Q> &v) {
-
1098  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.y);
-
1099  }
-
1100 
-
1101  // xzxz
-
1102  template<typename T, qualifier Q>
-
1103  GLM_INLINE glm::vec<4, T, Q> xzxz(const glm::vec<3, T, Q> &v) {
-
1104  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.z);
-
1105  }
-
1106 
-
1107  template<typename T, qualifier Q>
-
1108  GLM_INLINE glm::vec<4, T, Q> xzxz(const glm::vec<4, T, Q> &v) {
-
1109  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.z);
-
1110  }
-
1111 
-
1112  // xzxw
-
1113  template<typename T, qualifier Q>
-
1114  GLM_INLINE glm::vec<4, T, Q> xzxw(const glm::vec<4, T, Q> &v) {
-
1115  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.w);
-
1116  }
-
1117 
-
1118  // xzyx
-
1119  template<typename T, qualifier Q>
-
1120  GLM_INLINE glm::vec<4, T, Q> xzyx(const glm::vec<3, T, Q> &v) {
-
1121  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.x);
-
1122  }
-
1123 
-
1124  template<typename T, qualifier Q>
-
1125  GLM_INLINE glm::vec<4, T, Q> xzyx(const glm::vec<4, T, Q> &v) {
-
1126  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.x);
-
1127  }
-
1128 
-
1129  // xzyy
-
1130  template<typename T, qualifier Q>
-
1131  GLM_INLINE glm::vec<4, T, Q> xzyy(const glm::vec<3, T, Q> &v) {
-
1132  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.y);
-
1133  }
-
1134 
-
1135  template<typename T, qualifier Q>
-
1136  GLM_INLINE glm::vec<4, T, Q> xzyy(const glm::vec<4, T, Q> &v) {
-
1137  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.y);
-
1138  }
-
1139 
-
1140  // xzyz
-
1141  template<typename T, qualifier Q>
-
1142  GLM_INLINE glm::vec<4, T, Q> xzyz(const glm::vec<3, T, Q> &v) {
-
1143  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.z);
-
1144  }
-
1145 
-
1146  template<typename T, qualifier Q>
-
1147  GLM_INLINE glm::vec<4, T, Q> xzyz(const glm::vec<4, T, Q> &v) {
-
1148  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.z);
-
1149  }
-
1150 
-
1151  // xzyw
-
1152  template<typename T, qualifier Q>
-
1153  GLM_INLINE glm::vec<4, T, Q> xzyw(const glm::vec<4, T, Q> &v) {
-
1154  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.w);
-
1155  }
-
1156 
-
1157  // xzzx
-
1158  template<typename T, qualifier Q>
-
1159  GLM_INLINE glm::vec<4, T, Q> xzzx(const glm::vec<3, T, Q> &v) {
-
1160  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.x);
-
1161  }
-
1162 
-
1163  template<typename T, qualifier Q>
-
1164  GLM_INLINE glm::vec<4, T, Q> xzzx(const glm::vec<4, T, Q> &v) {
-
1165  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.x);
-
1166  }
-
1167 
-
1168  // xzzy
-
1169  template<typename T, qualifier Q>
-
1170  GLM_INLINE glm::vec<4, T, Q> xzzy(const glm::vec<3, T, Q> &v) {
-
1171  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.y);
-
1172  }
-
1173 
-
1174  template<typename T, qualifier Q>
-
1175  GLM_INLINE glm::vec<4, T, Q> xzzy(const glm::vec<4, T, Q> &v) {
-
1176  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.y);
-
1177  }
-
1178 
-
1179  // xzzz
-
1180  template<typename T, qualifier Q>
-
1181  GLM_INLINE glm::vec<4, T, Q> xzzz(const glm::vec<3, T, Q> &v) {
-
1182  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.z);
-
1183  }
-
1184 
-
1185  template<typename T, qualifier Q>
-
1186  GLM_INLINE glm::vec<4, T, Q> xzzz(const glm::vec<4, T, Q> &v) {
-
1187  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.z);
-
1188  }
-
1189 
-
1190  // xzzw
-
1191  template<typename T, qualifier Q>
-
1192  GLM_INLINE glm::vec<4, T, Q> xzzw(const glm::vec<4, T, Q> &v) {
-
1193  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.w);
-
1194  }
-
1195 
-
1196  // xzwx
-
1197  template<typename T, qualifier Q>
-
1198  GLM_INLINE glm::vec<4, T, Q> xzwx(const glm::vec<4, T, Q> &v) {
-
1199  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.x);
-
1200  }
-
1201 
-
1202  // xzwy
-
1203  template<typename T, qualifier Q>
-
1204  GLM_INLINE glm::vec<4, T, Q> xzwy(const glm::vec<4, T, Q> &v) {
-
1205  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.y);
-
1206  }
-
1207 
-
1208  // xzwz
-
1209  template<typename T, qualifier Q>
-
1210  GLM_INLINE glm::vec<4, T, Q> xzwz(const glm::vec<4, T, Q> &v) {
-
1211  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.z);
-
1212  }
-
1213 
-
1214  // xzww
-
1215  template<typename T, qualifier Q>
-
1216  GLM_INLINE glm::vec<4, T, Q> xzww(const glm::vec<4, T, Q> &v) {
-
1217  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.w);
-
1218  }
-
1219 
-
1220  // xwxx
-
1221  template<typename T, qualifier Q>
-
1222  GLM_INLINE glm::vec<4, T, Q> xwxx(const glm::vec<4, T, Q> &v) {
-
1223  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.x);
-
1224  }
-
1225 
-
1226  // xwxy
-
1227  template<typename T, qualifier Q>
-
1228  GLM_INLINE glm::vec<4, T, Q> xwxy(const glm::vec<4, T, Q> &v) {
-
1229  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.y);
-
1230  }
-
1231 
-
1232  // xwxz
-
1233  template<typename T, qualifier Q>
-
1234  GLM_INLINE glm::vec<4, T, Q> xwxz(const glm::vec<4, T, Q> &v) {
-
1235  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.z);
-
1236  }
-
1237 
-
1238  // xwxw
-
1239  template<typename T, qualifier Q>
-
1240  GLM_INLINE glm::vec<4, T, Q> xwxw(const glm::vec<4, T, Q> &v) {
-
1241  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.w);
-
1242  }
-
1243 
-
1244  // xwyx
-
1245  template<typename T, qualifier Q>
-
1246  GLM_INLINE glm::vec<4, T, Q> xwyx(const glm::vec<4, T, Q> &v) {
-
1247  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.x);
-
1248  }
-
1249 
-
1250  // xwyy
-
1251  template<typename T, qualifier Q>
-
1252  GLM_INLINE glm::vec<4, T, Q> xwyy(const glm::vec<4, T, Q> &v) {
-
1253  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.y);
-
1254  }
-
1255 
-
1256  // xwyz
-
1257  template<typename T, qualifier Q>
-
1258  GLM_INLINE glm::vec<4, T, Q> xwyz(const glm::vec<4, T, Q> &v) {
-
1259  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.z);
-
1260  }
-
1261 
-
1262  // xwyw
-
1263  template<typename T, qualifier Q>
-
1264  GLM_INLINE glm::vec<4, T, Q> xwyw(const glm::vec<4, T, Q> &v) {
-
1265  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.w);
-
1266  }
-
1267 
-
1268  // xwzx
-
1269  template<typename T, qualifier Q>
-
1270  GLM_INLINE glm::vec<4, T, Q> xwzx(const glm::vec<4, T, Q> &v) {
-
1271  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.x);
-
1272  }
-
1273 
-
1274  // xwzy
-
1275  template<typename T, qualifier Q>
-
1276  GLM_INLINE glm::vec<4, T, Q> xwzy(const glm::vec<4, T, Q> &v) {
-
1277  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.y);
-
1278  }
-
1279 
-
1280  // xwzz
-
1281  template<typename T, qualifier Q>
-
1282  GLM_INLINE glm::vec<4, T, Q> xwzz(const glm::vec<4, T, Q> &v) {
-
1283  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.z);
-
1284  }
-
1285 
-
1286  // xwzw
-
1287  template<typename T, qualifier Q>
-
1288  GLM_INLINE glm::vec<4, T, Q> xwzw(const glm::vec<4, T, Q> &v) {
-
1289  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.w);
-
1290  }
-
1291 
-
1292  // xwwx
-
1293  template<typename T, qualifier Q>
-
1294  GLM_INLINE glm::vec<4, T, Q> xwwx(const glm::vec<4, T, Q> &v) {
-
1295  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.x);
-
1296  }
-
1297 
-
1298  // xwwy
-
1299  template<typename T, qualifier Q>
-
1300  GLM_INLINE glm::vec<4, T, Q> xwwy(const glm::vec<4, T, Q> &v) {
-
1301  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.y);
-
1302  }
-
1303 
-
1304  // xwwz
-
1305  template<typename T, qualifier Q>
-
1306  GLM_INLINE glm::vec<4, T, Q> xwwz(const glm::vec<4, T, Q> &v) {
-
1307  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.z);
-
1308  }
-
1309 
-
1310  // xwww
-
1311  template<typename T, qualifier Q>
-
1312  GLM_INLINE glm::vec<4, T, Q> xwww(const glm::vec<4, T, Q> &v) {
-
1313  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.w);
-
1314  }
-
1315 
-
1316  // yxxx
-
1317  template<typename T, qualifier Q>
-
1318  GLM_INLINE glm::vec<4, T, Q> yxxx(const glm::vec<2, T, Q> &v) {
-
1319  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.x);
-
1320  }
-
1321 
-
1322  template<typename T, qualifier Q>
-
1323  GLM_INLINE glm::vec<4, T, Q> yxxx(const glm::vec<3, T, Q> &v) {
-
1324  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.x);
-
1325  }
-
1326 
-
1327  template<typename T, qualifier Q>
-
1328  GLM_INLINE glm::vec<4, T, Q> yxxx(const glm::vec<4, T, Q> &v) {
-
1329  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.x);
-
1330  }
-
1331 
-
1332  // yxxy
-
1333  template<typename T, qualifier Q>
-
1334  GLM_INLINE glm::vec<4, T, Q> yxxy(const glm::vec<2, T, Q> &v) {
-
1335  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.y);
-
1336  }
-
1337 
-
1338  template<typename T, qualifier Q>
-
1339  GLM_INLINE glm::vec<4, T, Q> yxxy(const glm::vec<3, T, Q> &v) {
-
1340  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.y);
-
1341  }
-
1342 
-
1343  template<typename T, qualifier Q>
-
1344  GLM_INLINE glm::vec<4, T, Q> yxxy(const glm::vec<4, T, Q> &v) {
-
1345  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.y);
-
1346  }
-
1347 
-
1348  // yxxz
-
1349  template<typename T, qualifier Q>
-
1350  GLM_INLINE glm::vec<4, T, Q> yxxz(const glm::vec<3, T, Q> &v) {
-
1351  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.z);
-
1352  }
-
1353 
-
1354  template<typename T, qualifier Q>
-
1355  GLM_INLINE glm::vec<4, T, Q> yxxz(const glm::vec<4, T, Q> &v) {
-
1356  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.z);
-
1357  }
-
1358 
-
1359  // yxxw
-
1360  template<typename T, qualifier Q>
-
1361  GLM_INLINE glm::vec<4, T, Q> yxxw(const glm::vec<4, T, Q> &v) {
-
1362  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.w);
-
1363  }
-
1364 
-
1365  // yxyx
-
1366  template<typename T, qualifier Q>
-
1367  GLM_INLINE glm::vec<4, T, Q> yxyx(const glm::vec<2, T, Q> &v) {
-
1368  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.x);
-
1369  }
-
1370 
-
1371  template<typename T, qualifier Q>
-
1372  GLM_INLINE glm::vec<4, T, Q> yxyx(const glm::vec<3, T, Q> &v) {
-
1373  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.x);
-
1374  }
-
1375 
-
1376  template<typename T, qualifier Q>
-
1377  GLM_INLINE glm::vec<4, T, Q> yxyx(const glm::vec<4, T, Q> &v) {
-
1378  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.x);
-
1379  }
-
1380 
-
1381  // yxyy
-
1382  template<typename T, qualifier Q>
-
1383  GLM_INLINE glm::vec<4, T, Q> yxyy(const glm::vec<2, T, Q> &v) {
-
1384  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.y);
-
1385  }
-
1386 
-
1387  template<typename T, qualifier Q>
-
1388  GLM_INLINE glm::vec<4, T, Q> yxyy(const glm::vec<3, T, Q> &v) {
-
1389  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.y);
-
1390  }
-
1391 
-
1392  template<typename T, qualifier Q>
-
1393  GLM_INLINE glm::vec<4, T, Q> yxyy(const glm::vec<4, T, Q> &v) {
-
1394  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.y);
-
1395  }
-
1396 
-
1397  // yxyz
-
1398  template<typename T, qualifier Q>
-
1399  GLM_INLINE glm::vec<4, T, Q> yxyz(const glm::vec<3, T, Q> &v) {
-
1400  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.z);
-
1401  }
-
1402 
-
1403  template<typename T, qualifier Q>
-
1404  GLM_INLINE glm::vec<4, T, Q> yxyz(const glm::vec<4, T, Q> &v) {
-
1405  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.z);
-
1406  }
-
1407 
-
1408  // yxyw
-
1409  template<typename T, qualifier Q>
-
1410  GLM_INLINE glm::vec<4, T, Q> yxyw(const glm::vec<4, T, Q> &v) {
-
1411  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.w);
-
1412  }
-
1413 
-
1414  // yxzx
-
1415  template<typename T, qualifier Q>
-
1416  GLM_INLINE glm::vec<4, T, Q> yxzx(const glm::vec<3, T, Q> &v) {
-
1417  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.x);
-
1418  }
-
1419 
-
1420  template<typename T, qualifier Q>
-
1421  GLM_INLINE glm::vec<4, T, Q> yxzx(const glm::vec<4, T, Q> &v) {
-
1422  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.x);
-
1423  }
-
1424 
-
1425  // yxzy
-
1426  template<typename T, qualifier Q>
-
1427  GLM_INLINE glm::vec<4, T, Q> yxzy(const glm::vec<3, T, Q> &v) {
-
1428  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.y);
-
1429  }
-
1430 
-
1431  template<typename T, qualifier Q>
-
1432  GLM_INLINE glm::vec<4, T, Q> yxzy(const glm::vec<4, T, Q> &v) {
-
1433  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.y);
-
1434  }
-
1435 
-
1436  // yxzz
-
1437  template<typename T, qualifier Q>
-
1438  GLM_INLINE glm::vec<4, T, Q> yxzz(const glm::vec<3, T, Q> &v) {
-
1439  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.z);
-
1440  }
-
1441 
-
1442  template<typename T, qualifier Q>
-
1443  GLM_INLINE glm::vec<4, T, Q> yxzz(const glm::vec<4, T, Q> &v) {
-
1444  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.z);
-
1445  }
-
1446 
-
1447  // yxzw
-
1448  template<typename T, qualifier Q>
-
1449  GLM_INLINE glm::vec<4, T, Q> yxzw(const glm::vec<4, T, Q> &v) {
-
1450  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.w);
-
1451  }
-
1452 
-
1453  // yxwx
-
1454  template<typename T, qualifier Q>
-
1455  GLM_INLINE glm::vec<4, T, Q> yxwx(const glm::vec<4, T, Q> &v) {
-
1456  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.x);
-
1457  }
-
1458 
-
1459  // yxwy
-
1460  template<typename T, qualifier Q>
-
1461  GLM_INLINE glm::vec<4, T, Q> yxwy(const glm::vec<4, T, Q> &v) {
-
1462  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.y);
-
1463  }
-
1464 
-
1465  // yxwz
-
1466  template<typename T, qualifier Q>
-
1467  GLM_INLINE glm::vec<4, T, Q> yxwz(const glm::vec<4, T, Q> &v) {
-
1468  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.z);
-
1469  }
-
1470 
-
1471  // yxww
-
1472  template<typename T, qualifier Q>
-
1473  GLM_INLINE glm::vec<4, T, Q> yxww(const glm::vec<4, T, Q> &v) {
-
1474  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.w);
-
1475  }
-
1476 
-
1477  // yyxx
-
1478  template<typename T, qualifier Q>
-
1479  GLM_INLINE glm::vec<4, T, Q> yyxx(const glm::vec<2, T, Q> &v) {
-
1480  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.x);
-
1481  }
-
1482 
-
1483  template<typename T, qualifier Q>
-
1484  GLM_INLINE glm::vec<4, T, Q> yyxx(const glm::vec<3, T, Q> &v) {
-
1485  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.x);
-
1486  }
-
1487 
-
1488  template<typename T, qualifier Q>
-
1489  GLM_INLINE glm::vec<4, T, Q> yyxx(const glm::vec<4, T, Q> &v) {
-
1490  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.x);
-
1491  }
-
1492 
-
1493  // yyxy
-
1494  template<typename T, qualifier Q>
-
1495  GLM_INLINE glm::vec<4, T, Q> yyxy(const glm::vec<2, T, Q> &v) {
-
1496  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.y);
-
1497  }
-
1498 
-
1499  template<typename T, qualifier Q>
-
1500  GLM_INLINE glm::vec<4, T, Q> yyxy(const glm::vec<3, T, Q> &v) {
-
1501  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.y);
-
1502  }
-
1503 
-
1504  template<typename T, qualifier Q>
-
1505  GLM_INLINE glm::vec<4, T, Q> yyxy(const glm::vec<4, T, Q> &v) {
-
1506  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.y);
-
1507  }
-
1508 
-
1509  // yyxz
-
1510  template<typename T, qualifier Q>
-
1511  GLM_INLINE glm::vec<4, T, Q> yyxz(const glm::vec<3, T, Q> &v) {
-
1512  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.z);
-
1513  }
-
1514 
-
1515  template<typename T, qualifier Q>
-
1516  GLM_INLINE glm::vec<4, T, Q> yyxz(const glm::vec<4, T, Q> &v) {
-
1517  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.z);
-
1518  }
-
1519 
-
1520  // yyxw
-
1521  template<typename T, qualifier Q>
-
1522  GLM_INLINE glm::vec<4, T, Q> yyxw(const glm::vec<4, T, Q> &v) {
-
1523  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.w);
-
1524  }
-
1525 
-
1526  // yyyx
-
1527  template<typename T, qualifier Q>
-
1528  GLM_INLINE glm::vec<4, T, Q> yyyx(const glm::vec<2, T, Q> &v) {
-
1529  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.x);
-
1530  }
-
1531 
-
1532  template<typename T, qualifier Q>
-
1533  GLM_INLINE glm::vec<4, T, Q> yyyx(const glm::vec<3, T, Q> &v) {
-
1534  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.x);
-
1535  }
-
1536 
-
1537  template<typename T, qualifier Q>
-
1538  GLM_INLINE glm::vec<4, T, Q> yyyx(const glm::vec<4, T, Q> &v) {
-
1539  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.x);
-
1540  }
-
1541 
-
1542  // yyyy
-
1543  template<typename T, qualifier Q>
-
1544  GLM_INLINE glm::vec<4, T, Q> yyyy(const glm::vec<2, T, Q> &v) {
-
1545  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.y);
-
1546  }
-
1547 
-
1548  template<typename T, qualifier Q>
-
1549  GLM_INLINE glm::vec<4, T, Q> yyyy(const glm::vec<3, T, Q> &v) {
-
1550  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.y);
-
1551  }
-
1552 
-
1553  template<typename T, qualifier Q>
-
1554  GLM_INLINE glm::vec<4, T, Q> yyyy(const glm::vec<4, T, Q> &v) {
-
1555  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.y);
-
1556  }
-
1557 
-
1558  // yyyz
-
1559  template<typename T, qualifier Q>
-
1560  GLM_INLINE glm::vec<4, T, Q> yyyz(const glm::vec<3, T, Q> &v) {
-
1561  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.z);
-
1562  }
-
1563 
-
1564  template<typename T, qualifier Q>
-
1565  GLM_INLINE glm::vec<4, T, Q> yyyz(const glm::vec<4, T, Q> &v) {
-
1566  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.z);
-
1567  }
-
1568 
-
1569  // yyyw
-
1570  template<typename T, qualifier Q>
-
1571  GLM_INLINE glm::vec<4, T, Q> yyyw(const glm::vec<4, T, Q> &v) {
-
1572  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.w);
-
1573  }
-
1574 
-
1575  // yyzx
-
1576  template<typename T, qualifier Q>
-
1577  GLM_INLINE glm::vec<4, T, Q> yyzx(const glm::vec<3, T, Q> &v) {
-
1578  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.x);
-
1579  }
-
1580 
-
1581  template<typename T, qualifier Q>
-
1582  GLM_INLINE glm::vec<4, T, Q> yyzx(const glm::vec<4, T, Q> &v) {
-
1583  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.x);
-
1584  }
-
1585 
-
1586  // yyzy
-
1587  template<typename T, qualifier Q>
-
1588  GLM_INLINE glm::vec<4, T, Q> yyzy(const glm::vec<3, T, Q> &v) {
-
1589  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.y);
-
1590  }
-
1591 
-
1592  template<typename T, qualifier Q>
-
1593  GLM_INLINE glm::vec<4, T, Q> yyzy(const glm::vec<4, T, Q> &v) {
-
1594  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.y);
-
1595  }
-
1596 
-
1597  // yyzz
-
1598  template<typename T, qualifier Q>
-
1599  GLM_INLINE glm::vec<4, T, Q> yyzz(const glm::vec<3, T, Q> &v) {
-
1600  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.z);
-
1601  }
-
1602 
-
1603  template<typename T, qualifier Q>
-
1604  GLM_INLINE glm::vec<4, T, Q> yyzz(const glm::vec<4, T, Q> &v) {
-
1605  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.z);
-
1606  }
-
1607 
-
1608  // yyzw
-
1609  template<typename T, qualifier Q>
-
1610  GLM_INLINE glm::vec<4, T, Q> yyzw(const glm::vec<4, T, Q> &v) {
-
1611  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.w);
-
1612  }
-
1613 
-
1614  // yywx
-
1615  template<typename T, qualifier Q>
-
1616  GLM_INLINE glm::vec<4, T, Q> yywx(const glm::vec<4, T, Q> &v) {
-
1617  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.x);
-
1618  }
-
1619 
-
1620  // yywy
-
1621  template<typename T, qualifier Q>
-
1622  GLM_INLINE glm::vec<4, T, Q> yywy(const glm::vec<4, T, Q> &v) {
-
1623  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.y);
-
1624  }
-
1625 
-
1626  // yywz
-
1627  template<typename T, qualifier Q>
-
1628  GLM_INLINE glm::vec<4, T, Q> yywz(const glm::vec<4, T, Q> &v) {
-
1629  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.z);
-
1630  }
-
1631 
-
1632  // yyww
-
1633  template<typename T, qualifier Q>
-
1634  GLM_INLINE glm::vec<4, T, Q> yyww(const glm::vec<4, T, Q> &v) {
-
1635  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.w);
-
1636  }
-
1637 
-
1638  // yzxx
-
1639  template<typename T, qualifier Q>
-
1640  GLM_INLINE glm::vec<4, T, Q> yzxx(const glm::vec<3, T, Q> &v) {
-
1641  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.x);
-
1642  }
-
1643 
-
1644  template<typename T, qualifier Q>
-
1645  GLM_INLINE glm::vec<4, T, Q> yzxx(const glm::vec<4, T, Q> &v) {
-
1646  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.x);
-
1647  }
-
1648 
-
1649  // yzxy
-
1650  template<typename T, qualifier Q>
-
1651  GLM_INLINE glm::vec<4, T, Q> yzxy(const glm::vec<3, T, Q> &v) {
-
1652  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.y);
-
1653  }
-
1654 
-
1655  template<typename T, qualifier Q>
-
1656  GLM_INLINE glm::vec<4, T, Q> yzxy(const glm::vec<4, T, Q> &v) {
-
1657  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.y);
-
1658  }
-
1659 
-
1660  // yzxz
-
1661  template<typename T, qualifier Q>
-
1662  GLM_INLINE glm::vec<4, T, Q> yzxz(const glm::vec<3, T, Q> &v) {
-
1663  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.z);
-
1664  }
-
1665 
-
1666  template<typename T, qualifier Q>
-
1667  GLM_INLINE glm::vec<4, T, Q> yzxz(const glm::vec<4, T, Q> &v) {
-
1668  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.z);
-
1669  }
-
1670 
-
1671  // yzxw
-
1672  template<typename T, qualifier Q>
-
1673  GLM_INLINE glm::vec<4, T, Q> yzxw(const glm::vec<4, T, Q> &v) {
-
1674  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.w);
-
1675  }
-
1676 
-
1677  // yzyx
-
1678  template<typename T, qualifier Q>
-
1679  GLM_INLINE glm::vec<4, T, Q> yzyx(const glm::vec<3, T, Q> &v) {
-
1680  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.x);
-
1681  }
-
1682 
-
1683  template<typename T, qualifier Q>
-
1684  GLM_INLINE glm::vec<4, T, Q> yzyx(const glm::vec<4, T, Q> &v) {
-
1685  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.x);
-
1686  }
-
1687 
-
1688  // yzyy
-
1689  template<typename T, qualifier Q>
-
1690  GLM_INLINE glm::vec<4, T, Q> yzyy(const glm::vec<3, T, Q> &v) {
-
1691  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.y);
-
1692  }
-
1693 
-
1694  template<typename T, qualifier Q>
-
1695  GLM_INLINE glm::vec<4, T, Q> yzyy(const glm::vec<4, T, Q> &v) {
-
1696  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.y);
-
1697  }
-
1698 
-
1699  // yzyz
-
1700  template<typename T, qualifier Q>
-
1701  GLM_INLINE glm::vec<4, T, Q> yzyz(const glm::vec<3, T, Q> &v) {
-
1702  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.z);
-
1703  }
-
1704 
-
1705  template<typename T, qualifier Q>
-
1706  GLM_INLINE glm::vec<4, T, Q> yzyz(const glm::vec<4, T, Q> &v) {
-
1707  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.z);
-
1708  }
-
1709 
-
1710  // yzyw
-
1711  template<typename T, qualifier Q>
-
1712  GLM_INLINE glm::vec<4, T, Q> yzyw(const glm::vec<4, T, Q> &v) {
-
1713  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.w);
-
1714  }
-
1715 
-
1716  // yzzx
-
1717  template<typename T, qualifier Q>
-
1718  GLM_INLINE glm::vec<4, T, Q> yzzx(const glm::vec<3, T, Q> &v) {
-
1719  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.x);
-
1720  }
-
1721 
-
1722  template<typename T, qualifier Q>
-
1723  GLM_INLINE glm::vec<4, T, Q> yzzx(const glm::vec<4, T, Q> &v) {
-
1724  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.x);
-
1725  }
-
1726 
-
1727  // yzzy
-
1728  template<typename T, qualifier Q>
-
1729  GLM_INLINE glm::vec<4, T, Q> yzzy(const glm::vec<3, T, Q> &v) {
-
1730  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.y);
-
1731  }
-
1732 
-
1733  template<typename T, qualifier Q>
-
1734  GLM_INLINE glm::vec<4, T, Q> yzzy(const glm::vec<4, T, Q> &v) {
-
1735  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.y);
-
1736  }
-
1737 
-
1738  // yzzz
-
1739  template<typename T, qualifier Q>
-
1740  GLM_INLINE glm::vec<4, T, Q> yzzz(const glm::vec<3, T, Q> &v) {
-
1741  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.z);
-
1742  }
-
1743 
-
1744  template<typename T, qualifier Q>
-
1745  GLM_INLINE glm::vec<4, T, Q> yzzz(const glm::vec<4, T, Q> &v) {
-
1746  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.z);
-
1747  }
-
1748 
-
1749  // yzzw
-
1750  template<typename T, qualifier Q>
-
1751  GLM_INLINE glm::vec<4, T, Q> yzzw(const glm::vec<4, T, Q> &v) {
-
1752  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.w);
-
1753  }
-
1754 
-
1755  // yzwx
-
1756  template<typename T, qualifier Q>
-
1757  GLM_INLINE glm::vec<4, T, Q> yzwx(const glm::vec<4, T, Q> &v) {
-
1758  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.x);
-
1759  }
-
1760 
-
1761  // yzwy
-
1762  template<typename T, qualifier Q>
-
1763  GLM_INLINE glm::vec<4, T, Q> yzwy(const glm::vec<4, T, Q> &v) {
-
1764  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.y);
-
1765  }
-
1766 
-
1767  // yzwz
-
1768  template<typename T, qualifier Q>
-
1769  GLM_INLINE glm::vec<4, T, Q> yzwz(const glm::vec<4, T, Q> &v) {
-
1770  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.z);
-
1771  }
-
1772 
-
1773  // yzww
-
1774  template<typename T, qualifier Q>
-
1775  GLM_INLINE glm::vec<4, T, Q> yzww(const glm::vec<4, T, Q> &v) {
-
1776  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.w);
-
1777  }
-
1778 
-
1779  // ywxx
-
1780  template<typename T, qualifier Q>
-
1781  GLM_INLINE glm::vec<4, T, Q> ywxx(const glm::vec<4, T, Q> &v) {
-
1782  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.x);
-
1783  }
-
1784 
-
1785  // ywxy
-
1786  template<typename T, qualifier Q>
-
1787  GLM_INLINE glm::vec<4, T, Q> ywxy(const glm::vec<4, T, Q> &v) {
-
1788  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.y);
-
1789  }
-
1790 
-
1791  // ywxz
-
1792  template<typename T, qualifier Q>
-
1793  GLM_INLINE glm::vec<4, T, Q> ywxz(const glm::vec<4, T, Q> &v) {
-
1794  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.z);
-
1795  }
-
1796 
-
1797  // ywxw
-
1798  template<typename T, qualifier Q>
-
1799  GLM_INLINE glm::vec<4, T, Q> ywxw(const glm::vec<4, T, Q> &v) {
-
1800  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.w);
-
1801  }
-
1802 
-
1803  // ywyx
-
1804  template<typename T, qualifier Q>
-
1805  GLM_INLINE glm::vec<4, T, Q> ywyx(const glm::vec<4, T, Q> &v) {
-
1806  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.x);
-
1807  }
-
1808 
-
1809  // ywyy
-
1810  template<typename T, qualifier Q>
-
1811  GLM_INLINE glm::vec<4, T, Q> ywyy(const glm::vec<4, T, Q> &v) {
-
1812  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.y);
-
1813  }
-
1814 
-
1815  // ywyz
-
1816  template<typename T, qualifier Q>
-
1817  GLM_INLINE glm::vec<4, T, Q> ywyz(const glm::vec<4, T, Q> &v) {
-
1818  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.z);
-
1819  }
-
1820 
-
1821  // ywyw
-
1822  template<typename T, qualifier Q>
-
1823  GLM_INLINE glm::vec<4, T, Q> ywyw(const glm::vec<4, T, Q> &v) {
-
1824  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.w);
-
1825  }
-
1826 
-
1827  // ywzx
-
1828  template<typename T, qualifier Q>
-
1829  GLM_INLINE glm::vec<4, T, Q> ywzx(const glm::vec<4, T, Q> &v) {
-
1830  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.x);
-
1831  }
-
1832 
-
1833  // ywzy
-
1834  template<typename T, qualifier Q>
-
1835  GLM_INLINE glm::vec<4, T, Q> ywzy(const glm::vec<4, T, Q> &v) {
-
1836  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.y);
-
1837  }
-
1838 
-
1839  // ywzz
-
1840  template<typename T, qualifier Q>
-
1841  GLM_INLINE glm::vec<4, T, Q> ywzz(const glm::vec<4, T, Q> &v) {
-
1842  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.z);
-
1843  }
-
1844 
-
1845  // ywzw
-
1846  template<typename T, qualifier Q>
-
1847  GLM_INLINE glm::vec<4, T, Q> ywzw(const glm::vec<4, T, Q> &v) {
-
1848  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.w);
-
1849  }
-
1850 
-
1851  // ywwx
-
1852  template<typename T, qualifier Q>
-
1853  GLM_INLINE glm::vec<4, T, Q> ywwx(const glm::vec<4, T, Q> &v) {
-
1854  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.x);
-
1855  }
-
1856 
-
1857  // ywwy
-
1858  template<typename T, qualifier Q>
-
1859  GLM_INLINE glm::vec<4, T, Q> ywwy(const glm::vec<4, T, Q> &v) {
-
1860  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.y);
-
1861  }
-
1862 
-
1863  // ywwz
-
1864  template<typename T, qualifier Q>
-
1865  GLM_INLINE glm::vec<4, T, Q> ywwz(const glm::vec<4, T, Q> &v) {
-
1866  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.z);
-
1867  }
-
1868 
-
1869  // ywww
-
1870  template<typename T, qualifier Q>
-
1871  GLM_INLINE glm::vec<4, T, Q> ywww(const glm::vec<4, T, Q> &v) {
-
1872  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.w);
-
1873  }
-
1874 
-
1875  // zxxx
-
1876  template<typename T, qualifier Q>
-
1877  GLM_INLINE glm::vec<4, T, Q> zxxx(const glm::vec<3, T, Q> &v) {
-
1878  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.x);
-
1879  }
-
1880 
-
1881  template<typename T, qualifier Q>
-
1882  GLM_INLINE glm::vec<4, T, Q> zxxx(const glm::vec<4, T, Q> &v) {
-
1883  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.x);
-
1884  }
-
1885 
-
1886  // zxxy
-
1887  template<typename T, qualifier Q>
-
1888  GLM_INLINE glm::vec<4, T, Q> zxxy(const glm::vec<3, T, Q> &v) {
-
1889  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.y);
-
1890  }
-
1891 
-
1892  template<typename T, qualifier Q>
-
1893  GLM_INLINE glm::vec<4, T, Q> zxxy(const glm::vec<4, T, Q> &v) {
-
1894  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.y);
-
1895  }
-
1896 
-
1897  // zxxz
-
1898  template<typename T, qualifier Q>
-
1899  GLM_INLINE glm::vec<4, T, Q> zxxz(const glm::vec<3, T, Q> &v) {
-
1900  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.z);
-
1901  }
-
1902 
-
1903  template<typename T, qualifier Q>
-
1904  GLM_INLINE glm::vec<4, T, Q> zxxz(const glm::vec<4, T, Q> &v) {
-
1905  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.z);
-
1906  }
-
1907 
-
1908  // zxxw
-
1909  template<typename T, qualifier Q>
-
1910  GLM_INLINE glm::vec<4, T, Q> zxxw(const glm::vec<4, T, Q> &v) {
-
1911  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.w);
-
1912  }
-
1913 
-
1914  // zxyx
-
1915  template<typename T, qualifier Q>
-
1916  GLM_INLINE glm::vec<4, T, Q> zxyx(const glm::vec<3, T, Q> &v) {
-
1917  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.x);
-
1918  }
-
1919 
-
1920  template<typename T, qualifier Q>
-
1921  GLM_INLINE glm::vec<4, T, Q> zxyx(const glm::vec<4, T, Q> &v) {
-
1922  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.x);
-
1923  }
-
1924 
-
1925  // zxyy
-
1926  template<typename T, qualifier Q>
-
1927  GLM_INLINE glm::vec<4, T, Q> zxyy(const glm::vec<3, T, Q> &v) {
-
1928  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.y);
-
1929  }
-
1930 
-
1931  template<typename T, qualifier Q>
-
1932  GLM_INLINE glm::vec<4, T, Q> zxyy(const glm::vec<4, T, Q> &v) {
-
1933  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.y);
-
1934  }
-
1935 
-
1936  // zxyz
-
1937  template<typename T, qualifier Q>
-
1938  GLM_INLINE glm::vec<4, T, Q> zxyz(const glm::vec<3, T, Q> &v) {
-
1939  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.z);
-
1940  }
-
1941 
-
1942  template<typename T, qualifier Q>
-
1943  GLM_INLINE glm::vec<4, T, Q> zxyz(const glm::vec<4, T, Q> &v) {
-
1944  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.z);
-
1945  }
-
1946 
-
1947  // zxyw
-
1948  template<typename T, qualifier Q>
-
1949  GLM_INLINE glm::vec<4, T, Q> zxyw(const glm::vec<4, T, Q> &v) {
-
1950  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.w);
-
1951  }
-
1952 
-
1953  // zxzx
-
1954  template<typename T, qualifier Q>
-
1955  GLM_INLINE glm::vec<4, T, Q> zxzx(const glm::vec<3, T, Q> &v) {
-
1956  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.x);
-
1957  }
-
1958 
-
1959  template<typename T, qualifier Q>
-
1960  GLM_INLINE glm::vec<4, T, Q> zxzx(const glm::vec<4, T, Q> &v) {
-
1961  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.x);
-
1962  }
-
1963 
-
1964  // zxzy
-
1965  template<typename T, qualifier Q>
-
1966  GLM_INLINE glm::vec<4, T, Q> zxzy(const glm::vec<3, T, Q> &v) {
-
1967  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.y);
-
1968  }
-
1969 
-
1970  template<typename T, qualifier Q>
-
1971  GLM_INLINE glm::vec<4, T, Q> zxzy(const glm::vec<4, T, Q> &v) {
-
1972  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.y);
-
1973  }
-
1974 
-
1975  // zxzz
-
1976  template<typename T, qualifier Q>
-
1977  GLM_INLINE glm::vec<4, T, Q> zxzz(const glm::vec<3, T, Q> &v) {
-
1978  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.z);
-
1979  }
-
1980 
-
1981  template<typename T, qualifier Q>
-
1982  GLM_INLINE glm::vec<4, T, Q> zxzz(const glm::vec<4, T, Q> &v) {
-
1983  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.z);
-
1984  }
-
1985 
-
1986  // zxzw
-
1987  template<typename T, qualifier Q>
-
1988  GLM_INLINE glm::vec<4, T, Q> zxzw(const glm::vec<4, T, Q> &v) {
-
1989  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.w);
-
1990  }
-
1991 
-
1992  // zxwx
-
1993  template<typename T, qualifier Q>
-
1994  GLM_INLINE glm::vec<4, T, Q> zxwx(const glm::vec<4, T, Q> &v) {
-
1995  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.x);
-
1996  }
-
1997 
-
1998  // zxwy
-
1999  template<typename T, qualifier Q>
-
2000  GLM_INLINE glm::vec<4, T, Q> zxwy(const glm::vec<4, T, Q> &v) {
-
2001  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.y);
-
2002  }
-
2003 
-
2004  // zxwz
-
2005  template<typename T, qualifier Q>
-
2006  GLM_INLINE glm::vec<4, T, Q> zxwz(const glm::vec<4, T, Q> &v) {
-
2007  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.z);
-
2008  }
-
2009 
-
2010  // zxww
-
2011  template<typename T, qualifier Q>
-
2012  GLM_INLINE glm::vec<4, T, Q> zxww(const glm::vec<4, T, Q> &v) {
-
2013  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.w);
-
2014  }
-
2015 
-
2016  // zyxx
-
2017  template<typename T, qualifier Q>
-
2018  GLM_INLINE glm::vec<4, T, Q> zyxx(const glm::vec<3, T, Q> &v) {
-
2019  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.x);
-
2020  }
-
2021 
-
2022  template<typename T, qualifier Q>
-
2023  GLM_INLINE glm::vec<4, T, Q> zyxx(const glm::vec<4, T, Q> &v) {
-
2024  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.x);
-
2025  }
-
2026 
-
2027  // zyxy
-
2028  template<typename T, qualifier Q>
-
2029  GLM_INLINE glm::vec<4, T, Q> zyxy(const glm::vec<3, T, Q> &v) {
-
2030  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.y);
-
2031  }
-
2032 
-
2033  template<typename T, qualifier Q>
-
2034  GLM_INLINE glm::vec<4, T, Q> zyxy(const glm::vec<4, T, Q> &v) {
-
2035  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.y);
-
2036  }
-
2037 
-
2038  // zyxz
-
2039  template<typename T, qualifier Q>
-
2040  GLM_INLINE glm::vec<4, T, Q> zyxz(const glm::vec<3, T, Q> &v) {
-
2041  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.z);
-
2042  }
-
2043 
-
2044  template<typename T, qualifier Q>
-
2045  GLM_INLINE glm::vec<4, T, Q> zyxz(const glm::vec<4, T, Q> &v) {
-
2046  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.z);
-
2047  }
-
2048 
-
2049  // zyxw
-
2050  template<typename T, qualifier Q>
-
2051  GLM_INLINE glm::vec<4, T, Q> zyxw(const glm::vec<4, T, Q> &v) {
-
2052  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.w);
-
2053  }
-
2054 
-
2055  // zyyx
-
2056  template<typename T, qualifier Q>
-
2057  GLM_INLINE glm::vec<4, T, Q> zyyx(const glm::vec<3, T, Q> &v) {
-
2058  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.x);
-
2059  }
-
2060 
-
2061  template<typename T, qualifier Q>
-
2062  GLM_INLINE glm::vec<4, T, Q> zyyx(const glm::vec<4, T, Q> &v) {
-
2063  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.x);
-
2064  }
-
2065 
-
2066  // zyyy
-
2067  template<typename T, qualifier Q>
-
2068  GLM_INLINE glm::vec<4, T, Q> zyyy(const glm::vec<3, T, Q> &v) {
-
2069  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.y);
-
2070  }
-
2071 
-
2072  template<typename T, qualifier Q>
-
2073  GLM_INLINE glm::vec<4, T, Q> zyyy(const glm::vec<4, T, Q> &v) {
-
2074  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.y);
-
2075  }
-
2076 
-
2077  // zyyz
-
2078  template<typename T, qualifier Q>
-
2079  GLM_INLINE glm::vec<4, T, Q> zyyz(const glm::vec<3, T, Q> &v) {
-
2080  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.z);
-
2081  }
-
2082 
-
2083  template<typename T, qualifier Q>
-
2084  GLM_INLINE glm::vec<4, T, Q> zyyz(const glm::vec<4, T, Q> &v) {
-
2085  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.z);
-
2086  }
-
2087 
-
2088  // zyyw
-
2089  template<typename T, qualifier Q>
-
2090  GLM_INLINE glm::vec<4, T, Q> zyyw(const glm::vec<4, T, Q> &v) {
-
2091  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.w);
-
2092  }
-
2093 
-
2094  // zyzx
-
2095  template<typename T, qualifier Q>
-
2096  GLM_INLINE glm::vec<4, T, Q> zyzx(const glm::vec<3, T, Q> &v) {
-
2097  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.x);
-
2098  }
-
2099 
-
2100  template<typename T, qualifier Q>
-
2101  GLM_INLINE glm::vec<4, T, Q> zyzx(const glm::vec<4, T, Q> &v) {
-
2102  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.x);
-
2103  }
-
2104 
-
2105  // zyzy
-
2106  template<typename T, qualifier Q>
-
2107  GLM_INLINE glm::vec<4, T, Q> zyzy(const glm::vec<3, T, Q> &v) {
-
2108  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.y);
-
2109  }
-
2110 
-
2111  template<typename T, qualifier Q>
-
2112  GLM_INLINE glm::vec<4, T, Q> zyzy(const glm::vec<4, T, Q> &v) {
-
2113  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.y);
-
2114  }
-
2115 
-
2116  // zyzz
-
2117  template<typename T, qualifier Q>
-
2118  GLM_INLINE glm::vec<4, T, Q> zyzz(const glm::vec<3, T, Q> &v) {
-
2119  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.z);
-
2120  }
-
2121 
-
2122  template<typename T, qualifier Q>
-
2123  GLM_INLINE glm::vec<4, T, Q> zyzz(const glm::vec<4, T, Q> &v) {
-
2124  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.z);
-
2125  }
-
2126 
-
2127  // zyzw
-
2128  template<typename T, qualifier Q>
-
2129  GLM_INLINE glm::vec<4, T, Q> zyzw(const glm::vec<4, T, Q> &v) {
-
2130  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.w);
-
2131  }
-
2132 
-
2133  // zywx
-
2134  template<typename T, qualifier Q>
-
2135  GLM_INLINE glm::vec<4, T, Q> zywx(const glm::vec<4, T, Q> &v) {
-
2136  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.x);
-
2137  }
-
2138 
-
2139  // zywy
-
2140  template<typename T, qualifier Q>
-
2141  GLM_INLINE glm::vec<4, T, Q> zywy(const glm::vec<4, T, Q> &v) {
-
2142  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.y);
-
2143  }
-
2144 
-
2145  // zywz
-
2146  template<typename T, qualifier Q>
-
2147  GLM_INLINE glm::vec<4, T, Q> zywz(const glm::vec<4, T, Q> &v) {
-
2148  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.z);
-
2149  }
-
2150 
-
2151  // zyww
-
2152  template<typename T, qualifier Q>
-
2153  GLM_INLINE glm::vec<4, T, Q> zyww(const glm::vec<4, T, Q> &v) {
-
2154  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.w);
-
2155  }
-
2156 
-
2157  // zzxx
-
2158  template<typename T, qualifier Q>
-
2159  GLM_INLINE glm::vec<4, T, Q> zzxx(const glm::vec<3, T, Q> &v) {
-
2160  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.x);
-
2161  }
-
2162 
-
2163  template<typename T, qualifier Q>
-
2164  GLM_INLINE glm::vec<4, T, Q> zzxx(const glm::vec<4, T, Q> &v) {
-
2165  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.x);
-
2166  }
-
2167 
-
2168  // zzxy
-
2169  template<typename T, qualifier Q>
-
2170  GLM_INLINE glm::vec<4, T, Q> zzxy(const glm::vec<3, T, Q> &v) {
-
2171  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.y);
-
2172  }
-
2173 
-
2174  template<typename T, qualifier Q>
-
2175  GLM_INLINE glm::vec<4, T, Q> zzxy(const glm::vec<4, T, Q> &v) {
-
2176  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.y);
-
2177  }
-
2178 
-
2179  // zzxz
-
2180  template<typename T, qualifier Q>
-
2181  GLM_INLINE glm::vec<4, T, Q> zzxz(const glm::vec<3, T, Q> &v) {
-
2182  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.z);
-
2183  }
-
2184 
-
2185  template<typename T, qualifier Q>
-
2186  GLM_INLINE glm::vec<4, T, Q> zzxz(const glm::vec<4, T, Q> &v) {
-
2187  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.z);
-
2188  }
-
2189 
-
2190  // zzxw
-
2191  template<typename T, qualifier Q>
-
2192  GLM_INLINE glm::vec<4, T, Q> zzxw(const glm::vec<4, T, Q> &v) {
-
2193  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.w);
-
2194  }
-
2195 
-
2196  // zzyx
-
2197  template<typename T, qualifier Q>
-
2198  GLM_INLINE glm::vec<4, T, Q> zzyx(const glm::vec<3, T, Q> &v) {
-
2199  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.x);
-
2200  }
-
2201 
-
2202  template<typename T, qualifier Q>
-
2203  GLM_INLINE glm::vec<4, T, Q> zzyx(const glm::vec<4, T, Q> &v) {
-
2204  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.x);
-
2205  }
-
2206 
-
2207  // zzyy
-
2208  template<typename T, qualifier Q>
-
2209  GLM_INLINE glm::vec<4, T, Q> zzyy(const glm::vec<3, T, Q> &v) {
-
2210  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.y);
-
2211  }
-
2212 
-
2213  template<typename T, qualifier Q>
-
2214  GLM_INLINE glm::vec<4, T, Q> zzyy(const glm::vec<4, T, Q> &v) {
-
2215  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.y);
-
2216  }
-
2217 
-
2218  // zzyz
-
2219  template<typename T, qualifier Q>
-
2220  GLM_INLINE glm::vec<4, T, Q> zzyz(const glm::vec<3, T, Q> &v) {
-
2221  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.z);
-
2222  }
-
2223 
-
2224  template<typename T, qualifier Q>
-
2225  GLM_INLINE glm::vec<4, T, Q> zzyz(const glm::vec<4, T, Q> &v) {
-
2226  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.z);
-
2227  }
-
2228 
-
2229  // zzyw
-
2230  template<typename T, qualifier Q>
-
2231  GLM_INLINE glm::vec<4, T, Q> zzyw(const glm::vec<4, T, Q> &v) {
-
2232  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.w);
-
2233  }
-
2234 
-
2235  // zzzx
-
2236  template<typename T, qualifier Q>
-
2237  GLM_INLINE glm::vec<4, T, Q> zzzx(const glm::vec<3, T, Q> &v) {
-
2238  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.x);
-
2239  }
-
2240 
-
2241  template<typename T, qualifier Q>
-
2242  GLM_INLINE glm::vec<4, T, Q> zzzx(const glm::vec<4, T, Q> &v) {
-
2243  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.x);
-
2244  }
-
2245 
-
2246  // zzzy
-
2247  template<typename T, qualifier Q>
-
2248  GLM_INLINE glm::vec<4, T, Q> zzzy(const glm::vec<3, T, Q> &v) {
-
2249  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.y);
-
2250  }
-
2251 
-
2252  template<typename T, qualifier Q>
-
2253  GLM_INLINE glm::vec<4, T, Q> zzzy(const glm::vec<4, T, Q> &v) {
-
2254  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.y);
-
2255  }
-
2256 
-
2257  // zzzz
-
2258  template<typename T, qualifier Q>
-
2259  GLM_INLINE glm::vec<4, T, Q> zzzz(const glm::vec<3, T, Q> &v) {
-
2260  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.z);
-
2261  }
-
2262 
-
2263  template<typename T, qualifier Q>
-
2264  GLM_INLINE glm::vec<4, T, Q> zzzz(const glm::vec<4, T, Q> &v) {
-
2265  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.z);
-
2266  }
-
2267 
-
2268  // zzzw
-
2269  template<typename T, qualifier Q>
-
2270  GLM_INLINE glm::vec<4, T, Q> zzzw(const glm::vec<4, T, Q> &v) {
-
2271  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.w);
-
2272  }
-
2273 
-
2274  // zzwx
-
2275  template<typename T, qualifier Q>
-
2276  GLM_INLINE glm::vec<4, T, Q> zzwx(const glm::vec<4, T, Q> &v) {
-
2277  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.x);
-
2278  }
-
2279 
-
2280  // zzwy
-
2281  template<typename T, qualifier Q>
-
2282  GLM_INLINE glm::vec<4, T, Q> zzwy(const glm::vec<4, T, Q> &v) {
-
2283  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.y);
-
2284  }
-
2285 
-
2286  // zzwz
-
2287  template<typename T, qualifier Q>
-
2288  GLM_INLINE glm::vec<4, T, Q> zzwz(const glm::vec<4, T, Q> &v) {
-
2289  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.z);
-
2290  }
-
2291 
-
2292  // zzww
-
2293  template<typename T, qualifier Q>
-
2294  GLM_INLINE glm::vec<4, T, Q> zzww(const glm::vec<4, T, Q> &v) {
-
2295  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.w);
-
2296  }
-
2297 
-
2298  // zwxx
-
2299  template<typename T, qualifier Q>
-
2300  GLM_INLINE glm::vec<4, T, Q> zwxx(const glm::vec<4, T, Q> &v) {
-
2301  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.x);
-
2302  }
-
2303 
-
2304  // zwxy
-
2305  template<typename T, qualifier Q>
-
2306  GLM_INLINE glm::vec<4, T, Q> zwxy(const glm::vec<4, T, Q> &v) {
-
2307  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.y);
-
2308  }
-
2309 
-
2310  // zwxz
-
2311  template<typename T, qualifier Q>
-
2312  GLM_INLINE glm::vec<4, T, Q> zwxz(const glm::vec<4, T, Q> &v) {
-
2313  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.z);
-
2314  }
-
2315 
-
2316  // zwxw
-
2317  template<typename T, qualifier Q>
-
2318  GLM_INLINE glm::vec<4, T, Q> zwxw(const glm::vec<4, T, Q> &v) {
-
2319  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.w);
-
2320  }
-
2321 
-
2322  // zwyx
-
2323  template<typename T, qualifier Q>
-
2324  GLM_INLINE glm::vec<4, T, Q> zwyx(const glm::vec<4, T, Q> &v) {
-
2325  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.x);
-
2326  }
-
2327 
-
2328  // zwyy
-
2329  template<typename T, qualifier Q>
-
2330  GLM_INLINE glm::vec<4, T, Q> zwyy(const glm::vec<4, T, Q> &v) {
-
2331  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.y);
-
2332  }
-
2333 
-
2334  // zwyz
-
2335  template<typename T, qualifier Q>
-
2336  GLM_INLINE glm::vec<4, T, Q> zwyz(const glm::vec<4, T, Q> &v) {
-
2337  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.z);
-
2338  }
-
2339 
-
2340  // zwyw
-
2341  template<typename T, qualifier Q>
-
2342  GLM_INLINE glm::vec<4, T, Q> zwyw(const glm::vec<4, T, Q> &v) {
-
2343  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.w);
-
2344  }
-
2345 
-
2346  // zwzx
-
2347  template<typename T, qualifier Q>
-
2348  GLM_INLINE glm::vec<4, T, Q> zwzx(const glm::vec<4, T, Q> &v) {
-
2349  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.x);
-
2350  }
-
2351 
-
2352  // zwzy
-
2353  template<typename T, qualifier Q>
-
2354  GLM_INLINE glm::vec<4, T, Q> zwzy(const glm::vec<4, T, Q> &v) {
-
2355  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.y);
-
2356  }
-
2357 
-
2358  // zwzz
-
2359  template<typename T, qualifier Q>
-
2360  GLM_INLINE glm::vec<4, T, Q> zwzz(const glm::vec<4, T, Q> &v) {
-
2361  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.z);
-
2362  }
-
2363 
-
2364  // zwzw
-
2365  template<typename T, qualifier Q>
-
2366  GLM_INLINE glm::vec<4, T, Q> zwzw(const glm::vec<4, T, Q> &v) {
-
2367  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.w);
-
2368  }
-
2369 
-
2370  // zwwx
-
2371  template<typename T, qualifier Q>
-
2372  GLM_INLINE glm::vec<4, T, Q> zwwx(const glm::vec<4, T, Q> &v) {
-
2373  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.x);
-
2374  }
-
2375 
-
2376  // zwwy
-
2377  template<typename T, qualifier Q>
-
2378  GLM_INLINE glm::vec<4, T, Q> zwwy(const glm::vec<4, T, Q> &v) {
-
2379  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.y);
-
2380  }
-
2381 
-
2382  // zwwz
-
2383  template<typename T, qualifier Q>
-
2384  GLM_INLINE glm::vec<4, T, Q> zwwz(const glm::vec<4, T, Q> &v) {
-
2385  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.z);
-
2386  }
-
2387 
-
2388  // zwww
-
2389  template<typename T, qualifier Q>
-
2390  GLM_INLINE glm::vec<4, T, Q> zwww(const glm::vec<4, T, Q> &v) {
-
2391  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.w);
-
2392  }
-
2393 
-
2394  // wxxx
-
2395  template<typename T, qualifier Q>
-
2396  GLM_INLINE glm::vec<4, T, Q> wxxx(const glm::vec<4, T, Q> &v) {
-
2397  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.x);
-
2398  }
-
2399 
-
2400  // wxxy
-
2401  template<typename T, qualifier Q>
-
2402  GLM_INLINE glm::vec<4, T, Q> wxxy(const glm::vec<4, T, Q> &v) {
-
2403  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.y);
-
2404  }
-
2405 
-
2406  // wxxz
-
2407  template<typename T, qualifier Q>
-
2408  GLM_INLINE glm::vec<4, T, Q> wxxz(const glm::vec<4, T, Q> &v) {
-
2409  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.z);
-
2410  }
-
2411 
-
2412  // wxxw
-
2413  template<typename T, qualifier Q>
-
2414  GLM_INLINE glm::vec<4, T, Q> wxxw(const glm::vec<4, T, Q> &v) {
-
2415  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.w);
-
2416  }
-
2417 
-
2418  // wxyx
-
2419  template<typename T, qualifier Q>
-
2420  GLM_INLINE glm::vec<4, T, Q> wxyx(const glm::vec<4, T, Q> &v) {
-
2421  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.x);
-
2422  }
-
2423 
-
2424  // wxyy
-
2425  template<typename T, qualifier Q>
-
2426  GLM_INLINE glm::vec<4, T, Q> wxyy(const glm::vec<4, T, Q> &v) {
-
2427  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.y);
-
2428  }
-
2429 
-
2430  // wxyz
-
2431  template<typename T, qualifier Q>
-
2432  GLM_INLINE glm::vec<4, T, Q> wxyz(const glm::vec<4, T, Q> &v) {
-
2433  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.z);
-
2434  }
-
2435 
-
2436  // wxyw
-
2437  template<typename T, qualifier Q>
-
2438  GLM_INLINE glm::vec<4, T, Q> wxyw(const glm::vec<4, T, Q> &v) {
-
2439  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.w);
-
2440  }
-
2441 
-
2442  // wxzx
-
2443  template<typename T, qualifier Q>
-
2444  GLM_INLINE glm::vec<4, T, Q> wxzx(const glm::vec<4, T, Q> &v) {
-
2445  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.x);
-
2446  }
-
2447 
-
2448  // wxzy
-
2449  template<typename T, qualifier Q>
-
2450  GLM_INLINE glm::vec<4, T, Q> wxzy(const glm::vec<4, T, Q> &v) {
-
2451  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.y);
-
2452  }
-
2453 
-
2454  // wxzz
-
2455  template<typename T, qualifier Q>
-
2456  GLM_INLINE glm::vec<4, T, Q> wxzz(const glm::vec<4, T, Q> &v) {
-
2457  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.z);
-
2458  }
-
2459 
-
2460  // wxzw
-
2461  template<typename T, qualifier Q>
-
2462  GLM_INLINE glm::vec<4, T, Q> wxzw(const glm::vec<4, T, Q> &v) {
-
2463  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.w);
-
2464  }
-
2465 
-
2466  // wxwx
-
2467  template<typename T, qualifier Q>
-
2468  GLM_INLINE glm::vec<4, T, Q> wxwx(const glm::vec<4, T, Q> &v) {
-
2469  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.x);
-
2470  }
-
2471 
-
2472  // wxwy
-
2473  template<typename T, qualifier Q>
-
2474  GLM_INLINE glm::vec<4, T, Q> wxwy(const glm::vec<4, T, Q> &v) {
-
2475  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.y);
-
2476  }
-
2477 
-
2478  // wxwz
-
2479  template<typename T, qualifier Q>
-
2480  GLM_INLINE glm::vec<4, T, Q> wxwz(const glm::vec<4, T, Q> &v) {
-
2481  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.z);
-
2482  }
-
2483 
-
2484  // wxww
-
2485  template<typename T, qualifier Q>
-
2486  GLM_INLINE glm::vec<4, T, Q> wxww(const glm::vec<4, T, Q> &v) {
-
2487  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.w);
-
2488  }
-
2489 
-
2490  // wyxx
-
2491  template<typename T, qualifier Q>
-
2492  GLM_INLINE glm::vec<4, T, Q> wyxx(const glm::vec<4, T, Q> &v) {
-
2493  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.x);
-
2494  }
-
2495 
-
2496  // wyxy
-
2497  template<typename T, qualifier Q>
-
2498  GLM_INLINE glm::vec<4, T, Q> wyxy(const glm::vec<4, T, Q> &v) {
-
2499  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.y);
-
2500  }
-
2501 
-
2502  // wyxz
-
2503  template<typename T, qualifier Q>
-
2504  GLM_INLINE glm::vec<4, T, Q> wyxz(const glm::vec<4, T, Q> &v) {
-
2505  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.z);
-
2506  }
-
2507 
-
2508  // wyxw
-
2509  template<typename T, qualifier Q>
-
2510  GLM_INLINE glm::vec<4, T, Q> wyxw(const glm::vec<4, T, Q> &v) {
-
2511  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.w);
-
2512  }
-
2513 
-
2514  // wyyx
-
2515  template<typename T, qualifier Q>
-
2516  GLM_INLINE glm::vec<4, T, Q> wyyx(const glm::vec<4, T, Q> &v) {
-
2517  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.x);
-
2518  }
-
2519 
-
2520  // wyyy
-
2521  template<typename T, qualifier Q>
-
2522  GLM_INLINE glm::vec<4, T, Q> wyyy(const glm::vec<4, T, Q> &v) {
-
2523  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.y);
-
2524  }
-
2525 
-
2526  // wyyz
-
2527  template<typename T, qualifier Q>
-
2528  GLM_INLINE glm::vec<4, T, Q> wyyz(const glm::vec<4, T, Q> &v) {
-
2529  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.z);
-
2530  }
-
2531 
-
2532  // wyyw
-
2533  template<typename T, qualifier Q>
-
2534  GLM_INLINE glm::vec<4, T, Q> wyyw(const glm::vec<4, T, Q> &v) {
-
2535  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.w);
-
2536  }
-
2537 
-
2538  // wyzx
-
2539  template<typename T, qualifier Q>
-
2540  GLM_INLINE glm::vec<4, T, Q> wyzx(const glm::vec<4, T, Q> &v) {
-
2541  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.x);
-
2542  }
-
2543 
-
2544  // wyzy
-
2545  template<typename T, qualifier Q>
-
2546  GLM_INLINE glm::vec<4, T, Q> wyzy(const glm::vec<4, T, Q> &v) {
-
2547  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.y);
-
2548  }
-
2549 
-
2550  // wyzz
-
2551  template<typename T, qualifier Q>
-
2552  GLM_INLINE glm::vec<4, T, Q> wyzz(const glm::vec<4, T, Q> &v) {
-
2553  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.z);
-
2554  }
-
2555 
-
2556  // wyzw
-
2557  template<typename T, qualifier Q>
-
2558  GLM_INLINE glm::vec<4, T, Q> wyzw(const glm::vec<4, T, Q> &v) {
-
2559  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.w);
-
2560  }
-
2561 
-
2562  // wywx
-
2563  template<typename T, qualifier Q>
-
2564  GLM_INLINE glm::vec<4, T, Q> wywx(const glm::vec<4, T, Q> &v) {
-
2565  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.x);
-
2566  }
-
2567 
-
2568  // wywy
-
2569  template<typename T, qualifier Q>
-
2570  GLM_INLINE glm::vec<4, T, Q> wywy(const glm::vec<4, T, Q> &v) {
-
2571  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.y);
-
2572  }
-
2573 
-
2574  // wywz
-
2575  template<typename T, qualifier Q>
-
2576  GLM_INLINE glm::vec<4, T, Q> wywz(const glm::vec<4, T, Q> &v) {
-
2577  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.z);
-
2578  }
-
2579 
-
2580  // wyww
-
2581  template<typename T, qualifier Q>
-
2582  GLM_INLINE glm::vec<4, T, Q> wyww(const glm::vec<4, T, Q> &v) {
-
2583  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.w);
-
2584  }
-
2585 
-
2586  // wzxx
-
2587  template<typename T, qualifier Q>
-
2588  GLM_INLINE glm::vec<4, T, Q> wzxx(const glm::vec<4, T, Q> &v) {
-
2589  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.x);
-
2590  }
-
2591 
-
2592  // wzxy
-
2593  template<typename T, qualifier Q>
-
2594  GLM_INLINE glm::vec<4, T, Q> wzxy(const glm::vec<4, T, Q> &v) {
-
2595  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.y);
-
2596  }
-
2597 
-
2598  // wzxz
-
2599  template<typename T, qualifier Q>
-
2600  GLM_INLINE glm::vec<4, T, Q> wzxz(const glm::vec<4, T, Q> &v) {
-
2601  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.z);
-
2602  }
-
2603 
-
2604  // wzxw
-
2605  template<typename T, qualifier Q>
-
2606  GLM_INLINE glm::vec<4, T, Q> wzxw(const glm::vec<4, T, Q> &v) {
-
2607  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.w);
-
2608  }
-
2609 
-
2610  // wzyx
-
2611  template<typename T, qualifier Q>
-
2612  GLM_INLINE glm::vec<4, T, Q> wzyx(const glm::vec<4, T, Q> &v) {
-
2613  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.x);
-
2614  }
-
2615 
-
2616  // wzyy
-
2617  template<typename T, qualifier Q>
-
2618  GLM_INLINE glm::vec<4, T, Q> wzyy(const glm::vec<4, T, Q> &v) {
-
2619  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.y);
-
2620  }
-
2621 
-
2622  // wzyz
-
2623  template<typename T, qualifier Q>
-
2624  GLM_INLINE glm::vec<4, T, Q> wzyz(const glm::vec<4, T, Q> &v) {
-
2625  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.z);
-
2626  }
-
2627 
-
2628  // wzyw
-
2629  template<typename T, qualifier Q>
-
2630  GLM_INLINE glm::vec<4, T, Q> wzyw(const glm::vec<4, T, Q> &v) {
-
2631  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.w);
-
2632  }
-
2633 
-
2634  // wzzx
-
2635  template<typename T, qualifier Q>
-
2636  GLM_INLINE glm::vec<4, T, Q> wzzx(const glm::vec<4, T, Q> &v) {
-
2637  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.x);
-
2638  }
-
2639 
-
2640  // wzzy
-
2641  template<typename T, qualifier Q>
-
2642  GLM_INLINE glm::vec<4, T, Q> wzzy(const glm::vec<4, T, Q> &v) {
-
2643  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.y);
-
2644  }
-
2645 
-
2646  // wzzz
-
2647  template<typename T, qualifier Q>
-
2648  GLM_INLINE glm::vec<4, T, Q> wzzz(const glm::vec<4, T, Q> &v) {
-
2649  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.z);
-
2650  }
-
2651 
-
2652  // wzzw
-
2653  template<typename T, qualifier Q>
-
2654  GLM_INLINE glm::vec<4, T, Q> wzzw(const glm::vec<4, T, Q> &v) {
-
2655  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.w);
-
2656  }
-
2657 
-
2658  // wzwx
-
2659  template<typename T, qualifier Q>
-
2660  GLM_INLINE glm::vec<4, T, Q> wzwx(const glm::vec<4, T, Q> &v) {
-
2661  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.x);
-
2662  }
-
2663 
-
2664  // wzwy
-
2665  template<typename T, qualifier Q>
-
2666  GLM_INLINE glm::vec<4, T, Q> wzwy(const glm::vec<4, T, Q> &v) {
-
2667  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.y);
-
2668  }
-
2669 
-
2670  // wzwz
-
2671  template<typename T, qualifier Q>
-
2672  GLM_INLINE glm::vec<4, T, Q> wzwz(const glm::vec<4, T, Q> &v) {
-
2673  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.z);
-
2674  }
-
2675 
-
2676  // wzww
-
2677  template<typename T, qualifier Q>
-
2678  GLM_INLINE glm::vec<4, T, Q> wzww(const glm::vec<4, T, Q> &v) {
-
2679  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.w);
-
2680  }
-
2681 
-
2682  // wwxx
-
2683  template<typename T, qualifier Q>
-
2684  GLM_INLINE glm::vec<4, T, Q> wwxx(const glm::vec<4, T, Q> &v) {
-
2685  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.x);
-
2686  }
-
2687 
-
2688  // wwxy
-
2689  template<typename T, qualifier Q>
-
2690  GLM_INLINE glm::vec<4, T, Q> wwxy(const glm::vec<4, T, Q> &v) {
-
2691  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.y);
-
2692  }
-
2693 
-
2694  // wwxz
-
2695  template<typename T, qualifier Q>
-
2696  GLM_INLINE glm::vec<4, T, Q> wwxz(const glm::vec<4, T, Q> &v) {
-
2697  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.z);
-
2698  }
-
2699 
-
2700  // wwxw
-
2701  template<typename T, qualifier Q>
-
2702  GLM_INLINE glm::vec<4, T, Q> wwxw(const glm::vec<4, T, Q> &v) {
-
2703  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.w);
-
2704  }
-
2705 
-
2706  // wwyx
-
2707  template<typename T, qualifier Q>
-
2708  GLM_INLINE glm::vec<4, T, Q> wwyx(const glm::vec<4, T, Q> &v) {
-
2709  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.x);
-
2710  }
-
2711 
-
2712  // wwyy
-
2713  template<typename T, qualifier Q>
-
2714  GLM_INLINE glm::vec<4, T, Q> wwyy(const glm::vec<4, T, Q> &v) {
-
2715  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.y);
-
2716  }
-
2717 
-
2718  // wwyz
-
2719  template<typename T, qualifier Q>
-
2720  GLM_INLINE glm::vec<4, T, Q> wwyz(const glm::vec<4, T, Q> &v) {
-
2721  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.z);
-
2722  }
-
2723 
-
2724  // wwyw
-
2725  template<typename T, qualifier Q>
-
2726  GLM_INLINE glm::vec<4, T, Q> wwyw(const glm::vec<4, T, Q> &v) {
-
2727  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.w);
-
2728  }
-
2729 
-
2730  // wwzx
-
2731  template<typename T, qualifier Q>
-
2732  GLM_INLINE glm::vec<4, T, Q> wwzx(const glm::vec<4, T, Q> &v) {
-
2733  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.x);
-
2734  }
-
2735 
-
2736  // wwzy
-
2737  template<typename T, qualifier Q>
-
2738  GLM_INLINE glm::vec<4, T, Q> wwzy(const glm::vec<4, T, Q> &v) {
-
2739  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.y);
-
2740  }
-
2741 
-
2742  // wwzz
-
2743  template<typename T, qualifier Q>
-
2744  GLM_INLINE glm::vec<4, T, Q> wwzz(const glm::vec<4, T, Q> &v) {
-
2745  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.z);
-
2746  }
-
2747 
-
2748  // wwzw
-
2749  template<typename T, qualifier Q>
-
2750  GLM_INLINE glm::vec<4, T, Q> wwzw(const glm::vec<4, T, Q> &v) {
-
2751  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.w);
-
2752  }
-
2753 
-
2754  // wwwx
-
2755  template<typename T, qualifier Q>
-
2756  GLM_INLINE glm::vec<4, T, Q> wwwx(const glm::vec<4, T, Q> &v) {
-
2757  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.x);
-
2758  }
-
2759 
-
2760  // wwwy
-
2761  template<typename T, qualifier Q>
-
2762  GLM_INLINE glm::vec<4, T, Q> wwwy(const glm::vec<4, T, Q> &v) {
-
2763  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.y);
-
2764  }
-
2765 
-
2766  // wwwz
-
2767  template<typename T, qualifier Q>
-
2768  GLM_INLINE glm::vec<4, T, Q> wwwz(const glm::vec<4, T, Q> &v) {
-
2769  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.z);
-
2770  }
-
2771 
-
2772  // wwww
-
2773  template<typename T, qualifier Q>
-
2774  GLM_INLINE glm::vec<4, T, Q> wwww(const glm::vec<4, T, Q> &v) {
-
2775  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.w);
-
2776  }
-
2777 
-
2778 }
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00133_source.html b/doc/api/a00133_source.html deleted file mode 100644 index 603e8759..00000000 --- a/doc/api/a00133_source.html +++ /dev/null @@ -1,134 +0,0 @@ - - - - - - -0.9.9 API documenation: vector_angle.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
vector_angle.hpp
-
-
-Go to the documentation of this file.
1 
-
15 #pragma once
-
16 
-
17 // Dependency:
-
18 #include "../glm.hpp"
-
19 #include "../gtc/epsilon.hpp"
-
20 #include "../gtx/quaternion.hpp"
-
21 #include "../gtx/rotate_vector.hpp"
-
22 
-
23 #ifndef GLM_ENABLE_EXPERIMENTAL
-
24 # error "GLM: GLM_GTX_vector_angle is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
25 #endif
-
26 
-
27 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
28 # pragma message("GLM: GLM_GTX_vector_angle extension included")
-
29 #endif
-
30 
-
31 namespace glm
-
32 {
-
35 
-
39  template<length_t L, typename T, qualifier Q>
-
40  GLM_FUNC_DECL T angle(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
41 
-
45  template<typename T, qualifier Q>
-
46  GLM_FUNC_DECL T orientedAngle(vec<2, T, Q> const& x, vec<2, T, Q> const& y);
-
47 
-
51  template<typename T, qualifier Q>
-
52  GLM_FUNC_DECL T orientedAngle(vec<3, T, Q> const& x, vec<3, T, Q> const& y, vec<3, T, Q> const& ref);
-
53 
-
55 }// namespace glm
-
56 
-
57 #include "vector_angle.inl"
-
GLM_FUNC_DECL T orientedAngle(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref)
Returns the oriented angle between two 3d vectors based from a reference axis.
-
GLM_FUNC_DECL T angle(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the absolute angle between two vectors.
-
Definition: common.hpp:20
-
- - - - diff --git a/doc/api/a00134.html b/doc/api/a00134.html index d33d07d4..062e8b62 100644 --- a/doc/api/a00134.html +++ b/doc/api/a00134.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: vector_query.hpp File Reference + + +0.9.9 API documenation: matrix_double4x4.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
vector_query.hpp File Reference
+
matrix_double4x4.hpp File Reference
-

GLM_GTX_vector_query -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areCollinear (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 Check whether two vectors are collinears. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areOrthogonal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 Check whether two vectors are orthogonals. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areOrthonormal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 Check whether two vectors are orthonormal. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isCompNull (vec< L, T, Q > const &v, T const &epsilon)
 Check whether a each component of a vector is null. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (vec< L, T, Q > const &v, T const &epsilon)
 Check whether a vector is normalized. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (vec< L, T, Q > const &v, T const &epsilon)
 Check whether a vector is null. More...
 

+Typedefs

typedef mat< 4, 4, double, defaultp > dmat4
 
typedef mat< 4, 4, double, defaultp > dmat4x4
 

Detailed Description

-

GLM_GTX_vector_query

-
See also
Core features (dependence)
+

Core features

-

Definition in file vector_query.hpp.

+

Definition in file matrix_double4x4.hpp.

diff --git a/doc/api/a00134_source.html b/doc/api/a00134_source.html index 169310ce..ab49db3e 100644 --- a/doc/api/a00134_source.html +++ b/doc/api/a00134_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: vector_query.hpp Source File + + +0.9.9 API documenation: matrix_double4x4.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
vector_query.hpp
+
matrix_double4x4.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 #include <cfloat>
-
18 #include <limits>
-
19 
-
20 #ifndef GLM_ENABLE_EXPERIMENTAL
-
21 # error "GLM: GLM_GTX_vector_query is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
22 #endif
-
23 
-
24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
25 # pragma message("GLM: GLM_GTX_vector_query extension included")
-
26 #endif
-
27 
-
28 namespace glm
-
29 {
-
32 
-
35  template<length_t L, typename T, qualifier Q>
-
36  GLM_FUNC_DECL bool areCollinear(vec<L, T, Q> const& v0, vec<L, T, Q> const& v1, T const& epsilon);
-
37 
-
40  template<length_t L, typename T, qualifier Q>
-
41  GLM_FUNC_DECL bool areOrthogonal(vec<L, T, Q> const& v0, vec<L, T, Q> const& v1, T const& epsilon);
-
42 
-
45  template<length_t L, typename T, qualifier Q>
-
46  GLM_FUNC_DECL bool isNormalized(vec<L, T, Q> const& v, T const& epsilon);
-
47 
-
50  template<length_t L, typename T, qualifier Q>
-
51  GLM_FUNC_DECL bool isNull(vec<L, T, Q> const& v, T const& epsilon);
-
52 
-
55  template<length_t L, typename T, qualifier Q>
-
56  GLM_FUNC_DECL vec<L, bool, Q> isCompNull(vec<L, T, Q> const& v, T const& epsilon);
-
57 
-
60  template<length_t L, typename T, qualifier Q>
-
61  GLM_FUNC_DECL bool areOrthonormal(vec<L, T, Q> const& v0, vec<L, T, Q> const& v1, T const& epsilon);
-
62 
-
64 }// namespace glm
-
65 
-
66 #include "vector_query.inl"
-
GLM_FUNC_DECL bool areOrthogonal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are orthogonals.
-
GLM_FUNC_DECL bool isNull(vec< L, T, Q > const &v, T const &epsilon)
Check whether a vector is null.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL bool areOrthonormal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are orthonormal.
-
GLM_FUNC_DECL bool areCollinear(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are collinears.
-
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
-
GLM_FUNC_DECL vec< L, bool, Q > isCompNull(vec< L, T, Q > const &v, T const &epsilon)
Check whether a each component of a vector is null.
-
GLM_FUNC_DECL bool isNormalized(vec< L, T, Q > const &v, T const &epsilon)
Check whether a vector is normalized.
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<4, 4, double, defaultp> dmat4x4;
16 
20  typedef mat<4, 4, double, defaultp> dmat4;
21 
23 }//namespace glm
mat< 4, 4, double, defaultp > dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers.
+
mat< 4, 4, double, defaultp > dmat4
4 columns of 4 components matrix of double-precision floating-point numbers.
+
Definition: common.hpp:20
diff --git a/doc/api/a00135.html b/doc/api/a00135.html deleted file mode 100644 index 2fa6e11b..00000000 --- a/doc/api/a00135.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - - -0.9.9 API documenation: vector_relational.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
ext/vector_relational.hpp File Reference
-
-
- -

GLM_EXT_vector_relational -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL bool equal (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL bool notEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
-

Detailed Description

-

GLM_EXT_vector_relational

-
See also
Core features (dependence)
- -

Definition in file ext/vector_relational.hpp.

-
- - - - diff --git a/doc/api/a00135_source.html b/doc/api/a00135_source.html deleted file mode 100644 index dd81359d..00000000 --- a/doc/api/a00135_source.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - - -0.9.9 API documenation: vector_relational.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
ext/vector_relational.hpp
-
-
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependencies
-
16 #include "../detail/setup.hpp"
-
17 #include "../detail/qualifier.hpp"
-
18 
-
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
20 # pragma message("GLM: GLM_EXT_vector_relational extension included")
-
21 #endif
-
22 
-
23 namespace glm
-
24 {
-
27 
-
36  template<length_t L, typename T, qualifier Q>
-
37  GLM_FUNC_DECL vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T const& epsilon);
-
38 
-
47  template<length_t L, typename T, qualifier Q>
-
48  GLM_FUNC_DECL vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
-
49 
-
56  template<typename genType>
-
57  GLM_FUNC_DECL bool equal(genType const& x, genType const& y, genType const& epsilon);
-
58 
-
67  template<length_t L, typename T, qualifier Q>
-
68  GLM_FUNC_DECL vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T const& epsilon);
-
69 
-
78  template<length_t L, typename T, qualifier Q>
-
79  GLM_FUNC_DECL vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
-
80 
-
87  template<typename genType>
-
88  GLM_FUNC_DECL bool notEqual(genType const& x, genType const& y, genType const& epsilon);
-
89 
-
91 }//namespace glm
-
92 
-
93 #include "vector_relational.inl"
-
GLM_FUNC_DECL bool equal(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
-
GLM_FUNC_DECL bool notEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
-
- - - - diff --git a/doc/api/a00136.html b/doc/api/a00136.html deleted file mode 100644 index 7c4eb994..00000000 --- a/doc/api/a00136.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - - -0.9.9 API documenation: vector_relational.hpp File Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
- -
-
vector_relational.hpp File Reference
-
-
- -

Core features -More...

- -

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<length_t L, qualifier Q>
GLM_FUNC_DECL bool all (vec< L, bool, Q > const &v)
 Returns true if all components of x are true. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL bool any (vec< L, bool, Q > const &v)
 Returns true if any component of x is true. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x == y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > greaterThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > greaterThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > lessThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > lessThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > not_ (vec< L, bool, Q > const &v)
 Returns the component-wise logical complement of x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x != y. More...
 
-

Detailed Description

-
- - - - diff --git a/doc/api/a00136_source.html b/doc/api/a00136_source.html deleted file mode 100644 index d18cb3e1..00000000 --- a/doc/api/a00136_source.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - - -0.9.9 API documenation: vector_relational.hpp Source File - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - - -
-
- - -
- -
- - -
-
-
-
vector_relational.hpp
-
-
-Go to the documentation of this file.
1 
-
18 #pragma once
-
19 
-
20 #include "detail/qualifier.hpp"
-
21 #include "detail/setup.hpp"
-
22 
-
23 namespace glm
-
24 {
-
27 
-
35  template<length_t L, typename T, qualifier Q>
-
36  GLM_FUNC_DECL vec<L, bool, Q> lessThan(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
37 
-
45  template<length_t L, typename T, qualifier Q>
-
46  GLM_FUNC_DECL vec<L, bool, Q> lessThanEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
47 
-
55  template<length_t L, typename T, qualifier Q>
-
56  GLM_FUNC_DECL vec<L, bool, Q> greaterThan(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
57 
-
65  template<length_t L, typename T, qualifier Q>
-
66  GLM_FUNC_DECL vec<L, bool, Q> greaterThanEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
67 
-
75  template<length_t L, typename T, qualifier Q>
-
76  GLM_FUNC_DECL vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
77 
-
85  template<length_t L, typename T, qualifier Q>
-
86  GLM_FUNC_DECL vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
-
87 
-
94  template<length_t L, qualifier Q>
-
95  GLM_FUNC_DECL bool any(vec<L, bool, Q> const& v);
-
96 
-
103  template<length_t L, qualifier Q>
-
104  GLM_FUNC_DECL bool all(vec<L, bool, Q> const& v);
-
105 
-
113  template<length_t L, qualifier Q>
-
114  GLM_FUNC_DECL vec<L, bool, Q> not_(vec<L, bool, Q> const& v);
-
115 
-
117 }//namespace glm
-
118 
-
119 #include "detail/func_vector_relational.inl"
-
GLM_FUNC_DECL vec< L, bool, Q > greaterThan(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x > y.
-
GLM_FUNC_DECL vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x != y.
-
GLM_FUNC_DECL bool any(vec< L, bool, Q > const &v)
Returns true if any component of x is true.
-
GLM_FUNC_DECL vec< L, bool, Q > lessThan(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison result of x < y.
-
Core features
-
Definition: common.hpp:20
-
GLM_FUNC_DECL bool all(vec< L, bool, Q > const &v)
Returns true if all components of x are true.
-
GLM_FUNC_DECL vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x == y.
-
GLM_FUNC_DECL vec< L, bool, Q > greaterThanEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x >= y.
-
Core features
-
GLM_FUNC_DECL vec< L, bool, Q > lessThanEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x <= y.
-
GLM_FUNC_DECL vec< L, bool, Q > not_(vec< L, bool, Q > const &v)
Returns the component-wise logical complement of x.
-
- - - - diff --git a/doc/api/a00137.html b/doc/api/a00137.html index 5c6a5bfc..d4d38f69 100644 --- a/doc/api/a00137.html +++ b/doc/api/a00137.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: wrap.hpp File Reference + + +0.9.9 API documenation: matrix_double4x4_precision.hpp File Reference - @@ -32,38 +30,22 @@
- + - - + + + +
-Functions
+Typedefs
-
wrap.hpp File Reference
+
matrix_double4x4_precision.hpp File Reference
-

GLM_GTX_wrap -More...

-

Go to the source code of this file.

- - - - - - - - - - - - - - - - - + + + + + + + + + + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType clamp (genType const &Texcoord)
 Simulate GL_CLAMP OpenGL wrap mode. More...
 
template<typename genType >
GLM_FUNC_DECL genType mirrorClamp (genType const &Texcoord)
 Simulate GL_MIRRORED_REPEAT OpenGL wrap mode. More...
 
template<typename genType >
GLM_FUNC_DECL genType mirrorRepeat (genType const &Texcoord)
 Simulate GL_MIRROR_REPEAT OpenGL wrap mode. More...
 
template<typename genType >
GLM_FUNC_DECL genType repeat (genType const &Texcoord)
 Simulate GL_REPEAT OpenGL wrap mode. More...
 

+Typedefs

typedef mat< 4, 4, double, highp > highp_dmat4
 
typedef mat< 4, 4, double, highp > highp_dmat4x4
 
typedef mat< 4, 4, double, lowp > lowp_dmat4
 
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
 
typedef mat< 4, 4, double, mediump > mediump_dmat4
 
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
 

Detailed Description

-

GLM_GTX_wrap

-
See also
Core features (dependence)
+

Core features

-

Definition in file wrap.hpp.

+

Definition in file matrix_double4x4_precision.hpp.

diff --git a/doc/api/a00137_source.html b/doc/api/a00137_source.html index 1875ebfe..3688534a 100644 --- a/doc/api/a00137_source.html +++ b/doc/api/a00137_source.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: wrap.hpp Source File + + +0.9.9 API documenation: matrix_double4x4_precision.hpp Source File - @@ -32,38 +30,22 @@
- + - - + + + +
-
wrap.hpp
+
matrix_double4x4_precision.hpp
-Go to the documentation of this file.
1 
-
13 #pragma once
-
14 
-
15 // Dependency:
-
16 #include "../glm.hpp"
-
17 #include "../gtc/vec1.hpp"
-
18 
-
19 #ifndef GLM_ENABLE_EXPERIMENTAL
-
20 # error "GLM: GLM_GTX_wrap is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
-
21 #endif
-
22 
-
23 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
-
24 # pragma message("GLM: GLM_GTX_wrap extension included")
-
25 #endif
-
26 
-
27 namespace glm
-
28 {
-
31 
-
34  template<typename genType>
-
35  GLM_FUNC_DECL genType clamp(genType const& Texcoord);
-
36 
-
39  template<typename genType>
-
40  GLM_FUNC_DECL genType repeat(genType const& Texcoord);
-
41 
-
44  template<typename genType>
-
45  GLM_FUNC_DECL genType mirrorClamp(genType const& Texcoord);
-
46 
-
49  template<typename genType>
-
50  GLM_FUNC_DECL genType mirrorRepeat(genType const& Texcoord);
-
51 
-
53 }// namespace glm
-
54 
-
55 #include "wrap.inl"
-
GLM_FUNC_DECL genType clamp(genType const &Texcoord)
Simulate GL_CLAMP OpenGL wrap mode.
-
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.
-
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.
-
Definition: common.hpp:20
-
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_REPEAT OpenGL wrap mode.
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<4, 4, double, lowp> lowp_dmat4;
17 
22  typedef mat<4, 4, double, mediump> mediump_dmat4;
23 
28  typedef mat<4, 4, double, highp> highp_dmat4;
29 
34  typedef mat<4, 4, double, lowp> lowp_dmat4x4;
35 
40  typedef mat<4, 4, double, mediump> mediump_dmat4x4;
41 
46  typedef mat<4, 4, double, highp> highp_dmat4x4;
47 
49 }//namespace glm
mat< 4, 4, double, lowp > lowp_dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 4, 4, double, mediump > mediump_dmat4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 4, double, lowp > lowp_dmat4
4 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 4, 4, double, highp > highp_dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 4, double, mediump > mediump_dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 4, double, highp > highp_dmat4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
diff --git a/doc/api/a00140.html b/doc/api/a00140.html new file mode 100644 index 00000000..95865112 --- /dev/null +++ b/doc/api/a00140.html @@ -0,0 +1,97 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
matrix_float2x2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + +

+Typedefs

typedef mat< 2, 2, float, defaultp > mat2
 
typedef mat< 2, 2, float, defaultp > mat2x2
 
+

Detailed Description

+

Core features

+ +

Definition in file matrix_float2x2.hpp.

+
+ + + + diff --git a/doc/api/a00140_source.html b/doc/api/a00140_source.html new file mode 100644 index 00000000..1b696ece --- /dev/null +++ b/doc/api/a00140_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float2x2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<2, 2, float, defaultp> mat2x2;
16 
20  typedef mat<2, 2, float, defaultp> mat2;
21 
23 }//namespace glm
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00143.html b/doc/api/a00143.html index a36ffd99..1f385aab 100644 --- a/doc/api/a00143.html +++ b/doc/api/a00143.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: Common functions + + +0.9.9 API documenation: matrix_float2x2_precision.hpp File Reference - @@ -32,34 +30,22 @@
- + - - + + + +
+ +
-Functions
+Typedefs
-
Common functions
+
matrix_float2x2_precision.hpp File Reference
-

Include <glm/common.hpp> to use these core features. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType abs (genType x)
 Returns x if x >= 0; otherwise, it returns -x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > abs (vec< L, T, Q > const &x)
 Returns x if x >= 0; otherwise, it returns -x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceil (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer that is greater than or equal to x. More...
 
template<typename genType >
GLM_FUNC_DECL genType clamp (genType x, genType minVal, genType maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > clamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > clamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal. More...
 
GLM_FUNC_DECL int floatBitsToInt (float const &v)
 Returns a signed integer value representing the encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt (vec< L, float, Q > const &v)
 Returns a signed integer value representing the encoding of a floating-point value. More...
 
GLM_FUNC_DECL uint floatBitsToUint (float const &v)
 Returns a unsigned integer value representing the encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint (vec< L, float, Q > const &v)
 Returns a unsigned integer value representing the encoding of a floating-point value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floor (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer that is less then or equal to x. More...
 
template<typename genType >
GLM_FUNC_DECL genType fma (genType const &a, genType const &b, genType const &c)
 Computes and returns a * b + c. More...
 
template<typename genType >
GLM_FUNC_DECL genType fract (genType x)
 Return x - floor(x). More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fract (vec< L, T, Q > const &x)
 Return x - floor(x). More...
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType frexp (genType const &x, genIType &exp)
 Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two, such that: x = significand * exp(2, exponent) More...
 
GLM_FUNC_DECL float intBitsToFloat (int const &v)
 Returns a floating-point value corresponding to a signed integer encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat (vec< L, int, Q > const &v)
 Returns a floating-point value corresponding to a signed integer encoding of a floating-point value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isinf (vec< L, T, Q > const &x)
 Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isnan (vec< L, T, Q > const &x)
 Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. More...
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType ldexp (genType const &x, genIType const &exp)
 Builds a floating-point number from x and the corresponding integral exponent of two in exp, returning: significand * exp(2, exponent) More...
 
template<typename genType >
GLM_FUNC_DECL genType max (genType x, genType y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > max (vec< L, T, Q > const &x, T y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<typename genType >
GLM_FUNC_DECL genType min (genType x, genType y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > min (vec< L, T, Q > const &x, T y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > min (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT mix (genTypeT x, genTypeT y, genTypeU a)
 If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mod (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Modulus. More...
 
template<typename genType >
GLM_FUNC_DECL genType modf (genType x, genType &i)
 Returns the fractional part of x and sets i to the integer part (as a whole number floating point value). More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > round (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundEven (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x)
 Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0. More...
 
template<typename genType >
GLM_FUNC_DECL genType smoothstep (genType edge0, genType edge1, genType x)
 Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1. More...
 
template<typename genType >
GLM_FUNC_DECL genType step (genType edge, genType x)
 Returns 0.0 if x < edge, otherwise it returns 1.0 for each component of a genType. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (T edge, vec< L, T, Q > const &x)
 Returns 0.0 if x < edge, otherwise it returns 1.0. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (vec< L, T, Q > const &edge, vec< L, T, Q > const &x)
 Returns 0.0 if x < edge, otherwise it returns 1.0. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > trunc (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x. More...
 
GLM_FUNC_DECL float uintBitsToFloat (uint const &v)
 Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat (vec< L, uint, Q > const &v)
 Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value. More...
 

+Typedefs

typedef mat< 2, 2, float, highp > highp_mat2
 
typedef mat< 2, 2, float, highp > highp_mat2x2
 
typedef mat< 2, 2, float, lowp > lowp_mat2
 
typedef mat< 2, 2, float, lowp > lowp_mat2x2
 
typedef mat< 2, 2, float, mediump > mediump_mat2
 
typedef mat< 2, 2, float, mediump > mediump_mat2x2
 

Detailed Description

-

Include <glm/common.hpp> to use these core features.

-

These all operate component-wise. The description is per component.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::abs (genType x)
-
+

Core features

-

Returns x if x >= 0; otherwise, it returns -x.

-
Template Parameters
- - -
genTypefloating-point or signed integer; scalar or vector types.
-
-
-
See also
GLSL abs man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
-
-qualifier
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::abs (vec< L, T, Q > const & x)
-
- -

Returns x if x >= 0; otherwise, it returns -x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or signed integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL abs man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::ceil (vec< L, T, Q > const & x)
-
- -

Returns a value equal to the nearest integer that is greater than or equal to x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL ceil man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::clamp (genType x,
genType minVal,
genType maxVal 
)
-
- -

Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal.

-
Template Parameters
- - -
genTypeFloating-point or integer; scalar or vector types.
-
-
-
See also
GLSL clamp man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -

Referenced by glm::saturate().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::clamp (vec< L, T, Q > const & x,
minVal,
maxVal 
)
-
- -

Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL clamp man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::clamp (vec< L, T, Q > const & x,
vec< L, T, Q > const & minVal,
vec< L, T, Q > const & maxVal 
)
-
- -

Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL clamp man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL int glm::floatBitsToInt (float const & v)
-
- -

Returns a signed integer value representing the encoding of a floating-point value.

-

The floating-point value's bit-level representation is preserved.

-
See also
GLSL floatBitsToInt man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, int, Q> glm::floatBitsToInt (vec< L, float, Q > const & v)
-
- -

Returns a signed integer value representing the encoding of a floating-point value.

-

The floatingpoint value's bit-level representation is preserved.

-
Template Parameters
- - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
-
-
-
See also
GLSL floatBitsToInt man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::floatBitsToUint (float const & v)
-
- -

Returns a unsigned integer value representing the encoding of a floating-point value.

-

The floatingpoint value's bit-level representation is preserved.

-
See also
GLSL floatBitsToUint man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, uint, Q> glm::floatBitsToUint (vec< L, float, Q > const & v)
-
- -

Returns a unsigned integer value representing the encoding of a floating-point value.

-

The floatingpoint value's bit-level representation is preserved.

-
Template Parameters
- - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
-
-
-
See also
GLSL floatBitsToUint man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::floor (vec< L, T, Q > const & x)
-
- -

Returns a value equal to the nearest integer that is less then or equal to x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL floor man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::fma (genType const & a,
genType const & b,
genType const & c 
)
-
- -

Computes and returns a * b + c.

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
GLSL fma man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::fract (genType x)
-
- -

Return x - floor(x).

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
GLSL fract man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fract (vec< L, T, Q > const & x)
-
- -

Return x - floor(x).

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL fract man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::frexp (genType const & x,
genIType & exp 
)
-
- -

Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two, such that: x = significand * exp(2, exponent)

-

The significand is returned by the function and the exponent is returned in the parameter exp. For a floating-point value of zero, the significant and exponent are both zero. For a floating-point value that is an infinity or is not a number, the results are undefined.

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
GLSL frexp man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL float glm::intBitsToFloat (int const & v)
-
- -

Returns a floating-point value corresponding to a signed integer encoding of a floating-point value.

-

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

-
See also
GLSL intBitsToFloat man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, float, Q> glm::intBitsToFloat (vec< L, int, Q > const & v)
-
- -

Returns a floating-point value corresponding to a signed integer encoding of a floating-point value.

-

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

-
Template Parameters
- - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
-
-
-
See also
GLSL intBitsToFloat man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::isinf (vec< L, T, Q > const & x)
-
- -

Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations.

-

Returns false otherwise, including for implementations with no infinity representations.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL isinf man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::isnan (vec< L, T, Q > const & x)
-
- -

Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations.

-

Returns false otherwise, including for implementations with no NaN representations.

-

/!\ When using compiler fast math, this function may fail.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL isnan man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::ldexp (genType const & x,
genIType const & exp 
)
-
- -

Builds a floating-point number from x and the corresponding integral exponent of two in exp, returning: significand * exp(2, exponent)

-

If this product is too large to be represented in the floating-point type, the result is undefined.

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
GLSL ldexp man page;
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::max (genType x,
genType y 
)
-
- -

Returns y if x < y; otherwise, it returns x.

-
Template Parameters
- - -
genTypeFloating-point or integer; scalar or vector types.
-
-
-
See also
GLSL max man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::max (vec< L, T, Q > const & x,
y 
)
-
- -

Returns y if x < y; otherwise, it returns x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL max man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::max (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Returns y if x < y; otherwise, it returns x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL max man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::min (genType x,
genType y 
)
-
- -

Returns y if y < x; otherwise, it returns x.

-
Template Parameters
- - -
genTypeFloating-point or integer; scalar or vector types.
-
-
-
See also
GLSL min man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::min (vec< L, T, Q > const & x,
y 
)
-
- -

Returns y if y < x; otherwise, it returns x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL min man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::min (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Returns y if y < x; otherwise, it returns x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLSL min man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genTypeT glm::mix (genTypeT x,
genTypeT y,
genTypeU a 
)
-
- -

If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a.

-

The value for a is not restricted to the range [0, 1].

-

If genTypeU is a boolean scalar or vector: Selects which vector each returned component comes from. For a component of 'a' that is false, the corresponding component of 'x' is returned. For a component of 'a' that is true, the corresponding component of 'y' is returned. Components of 'x' and 'y' that are not selected are allowed to be invalid floating point values and will have no effect on the results. Thus, this provides different functionality than genType mix(genType x, genType y, genType(a)) where a is a Boolean vector.

-
See also
GLSL mix man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
-
Parameters
- - - - -
[in]xValue to interpolate.
[in]yValue to interpolate.
[in]aInterpolant.
-
-
-
Template Parameters
- - - -
genTypeTFloating point scalar or vector.
genTypeUFloating point or boolean scalar or vector. It can't be a vector if it is the length of genTypeT.
-
-
-
#include <glm/glm.hpp>
-
...
-
float a;
-
bool b;
- - - - -
...
-
glm::vec4 r = glm::mix(g, h, a); // Interpolate with a floating-point scalar two vectors.
-
glm::vec4 s = glm::mix(g, h, b); // Returns g or h;
-
glm::dvec3 t = glm::mix(e, f, a); // Types of the third parameter is not required to match with the first and the second.
-
glm::vec4 u = glm::mix(g, h, r); // Interpolations can be perform per component with a vector for the last parameter.
-
-

Referenced by glm::lerp().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::mod (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Modulus.

-

Returns x - y * floor(x / y) for each component in x using the floating point value y.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types, include glm/gtc/integer for integer scalar types support
QValue from qualifier enum
-
-
-
See also
GLSL mod man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::modf (genType x,
genType & i 
)
-
- -

Returns the fractional part of x and sets i to the integer part (as a whole number floating point value).

-

Both the return value and the output parameter will have the same sign as x.

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
GLSL modf man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::round (vec< L, T, Q > const & x)
-
- -

Returns a value equal to the nearest integer to x.

-

The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest. This includes the possibility that round(x) returns the same value as roundEven(x) for all values of x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL round man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::roundEven (vec< L, T, Q > const & x)
-
- -

Returns a value equal to the nearest integer to x.

-

A fractional part of 0.5 will round toward the nearest even integer. (Both 3.5 and 4.5 for x will return 4.0.)

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL roundEven man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
-
-New round to even technique
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::sign (vec< L, T, Q > const & x)
-
- -

Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL sign man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::smoothstep (genType edge0,
genType edge1,
genType x 
)
-
- -

Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1.

-

This is useful in cases where you would want a threshold function with a smooth transition. This is equivalent to: genType t; t = clamp ((x - edge0) / (edge1 - edge0), 0, 1); return t * t * (3 - 2 * t); Results are undefined if edge0 >= edge1.

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
GLSL smoothstep man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::step (genType edge,
genType x 
)
-
- -

Returns 0.0 if x < edge, otherwise it returns 1.0 for each component of a genType.

-
See also
GLSL step man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::step (edge,
vec< L, T, Q > const & x 
)
-
- -

Returns 0.0 if x < edge, otherwise it returns 1.0.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL step man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::step (vec< L, T, Q > const & edge,
vec< L, T, Q > const & x 
)
-
- -

Returns 0.0 if x < edge, otherwise it returns 1.0.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL step man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::trunc (vec< L, T, Q > const & x)
-
- -

Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
GLSL trunc man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL float glm::uintBitsToFloat (uint const & v)
-
- -

Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value.

-

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

-
See also
GLSL uintBitsToFloat man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, float, Q> glm::uintBitsToFloat (vec< L, uint, Q > const & v)
-
- -

Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value.

-

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

-
Template Parameters
- - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
-
-
-
See also
GLSL uintBitsToFloat man page
-
-GLSL 4.20.8 specification, section 8.3 Common Functions
- -
-
-
+

Definition in file matrix_float2x2_precision.hpp.

+
diff --git a/doc/api/a00143_source.html b/doc/api/a00143_source.html new file mode 100644 index 00000000..0d64dc98 --- /dev/null +++ b/doc/api/a00143_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float2x2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<2, 2, float, lowp> lowp_mat2;
17 
22  typedef mat<2, 2, float, mediump> mediump_mat2;
23 
28  typedef mat<2, 2, float, highp> highp_mat2;
29 
34  typedef mat<2, 2, float, lowp> lowp_mat2x2;
35 
40  typedef mat<2, 2, float, mediump> mediump_mat2x2;
41 
46  typedef mat<2, 2, float, highp> highp_mat2x2;
47 
49 }//namespace glm
mat< 2, 2, float, mediump > mediump_mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 2, 2, float, highp > highp_mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 2, 2, float, mediump > mediump_mat2
2 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 2, 2, float, lowp > lowp_mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 2, 2, float, highp > highp_mat2
2 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 2, 2, float, lowp > lowp_mat2
2 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00145.html b/doc/api/a00145.html deleted file mode 100644 index ad235634..00000000 --- a/doc/api/a00145.html +++ /dev/null @@ -1,512 +0,0 @@ - - - - - - -0.9.9 API documenation: GLM_EXT_vec1 - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Typedefs
-
-
GLM_EXT_vec1
-
-
- -

Include <glm/ext/vec1.hpp> to use the features of this extension. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef highp_bvec1 bvec1
 1 component vector of boolean. More...
 
typedef highp_dvec1 dvec1
 1 component vector of floating-point numbers. More...
 
typedef vec< 1, bool, highp > highp_bvec1
 1 component vector of bool values. More...
 
typedef vec< 1, double, highp > highp_dvec1
 1 component vector of double-precision floating-point numbers using high precision arithmetic in term of ULPs. More...
 
typedef vec< 1, int, highp > highp_ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, uint, highp > highp_uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef vec< 1, float, highp > highp_vec1
 1 component vector of single-precision floating-point numbers using high precision arithmetic in term of ULPs. More...
 
typedef highp_ivec1 ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, bool, lowp > lowp_bvec1
 1 component vector of bool values. More...
 
typedef vec< 1, double, lowp > lowp_dvec1
 1 component vector of double-precision floating-point numbers using low precision arithmetic in term of ULPs. More...
 
typedef vec< 1, int, lowp > lowp_ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, uint, lowp > lowp_uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef vec< 1, float, lowp > lowp_vec1
 1 component vector of single-precision floating-point numbers using low precision arithmetic in term of ULPs. More...
 
typedef vec< 1, bool, mediump > mediump_bvec1
 1 component vector of bool values. More...
 
typedef vec< 1, double, mediump > mediump_dvec1
 1 component vector of double-precision floating-point numbers using medium precision arithmetic in term of ULPs. More...
 
typedef vec< 1, int, mediump > mediump_ivec1
 1 component vector of signed integer numbers. More...
 
typedef vec< 1, uint, mediump > mediump_uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef vec< 1, float, mediump > mediump_vec1
 1 component vector of single-precision floating-point numbers using medium precision arithmetic in term of ULPs. More...
 
typedef highp_uvec1 uvec1
 1 component vector of unsigned integer numbers. More...
 
typedef highp_vec1 vec1
 1 component vector of floating-point numbers. More...
 
-

Detailed Description

-

Include <glm/ext/vec1.hpp> to use the features of this extension.

-

Add vec1, ivec1, uvec1 and bvec1 types.

-

Typedef Documentation

- -
-
- - - - -
typedef highp_bvec1 bvec1
-
- -

1 component vector of boolean.

-
See also
GLM_GTC_vec1 extension.
- -

Definition at line 405 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef highp_dvec1 dvec1
-
- -

1 component vector of floating-point numbers.

-
See also
GLM_GTC_vec1 extension.
- -

Definition at line 429 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, bool, highp> highp_bvec1
-
- -

1 component vector of bool values.

-
See also
GLM_EXT_vec1
- -

Definition at line 377 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, double, highp> highp_dvec1
-
- -

1 component vector of double-precision floating-point numbers using high precision arithmetic in term of ULPs.

-
See also
GLM_EXT_vec1
- -

Definition at line 332 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, int, highp> highp_ivec1
-
- -

1 component vector of signed integer numbers.

-
See also
GLM_EXT_vec1
- -

Definition at line 347 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, uint, highp> highp_uvec1
-
- -

1 component vector of unsigned integer numbers.

-
See also
GLM_EXT_vec1
- -

Definition at line 362 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, float, highp > highp_vec1
-
- -

1 component vector of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

-

High single-qualifier floating-point vector of 1 component.

-
See also
GLM_EXT_vec1
-
-GLM_GTC_type_precision
- -

Definition at line 317 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef highp_ivec1 ivec1
-
- -

1 component vector of signed integer numbers.

-
See also
GLM_GTC_vec1 extension.
- -

Definition at line 441 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, bool, lowp> lowp_bvec1
-
- -

1 component vector of bool values.

-
See also
GLM_EXT_vec1
- -

Definition at line 387 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, double, lowp> lowp_dvec1
-
- -

1 component vector of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

-
See also
GLM_EXT_vec1
- -

Definition at line 342 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, int, lowp> lowp_ivec1
-
- -

1 component vector of signed integer numbers.

-
See also
GLM_EXT_vec1
- -

Definition at line 357 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, uint, lowp> lowp_uvec1
-
- -

1 component vector of unsigned integer numbers.

-
See also
GLM_EXT_vec1
- -

Definition at line 372 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, float, lowp > lowp_vec1
-
- -

1 component vector of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

-

Low single-qualifier floating-point vector of 1 component.

-
See also
GLM_EXT_vec1
-
-GLM_GTC_type_precision
- -

Definition at line 327 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, bool, mediump> mediump_bvec1
-
- -

1 component vector of bool values.

-
See also
GLM_EXT_vec1
- -

Definition at line 382 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, double, mediump> mediump_dvec1
-
- -

1 component vector of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

-
See also
GLM_EXT_vec1
- -

Definition at line 337 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, int, mediump> mediump_ivec1
-
- -

1 component vector of signed integer numbers.

-
See also
GLM_EXT_vec1
- -

Definition at line 352 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec<1, uint, mediump> mediump_uvec1
-
- -

1 component vector of unsigned integer numbers.

-
See also
GLM_EXT_vec1
- -

Definition at line 367 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, float, mediump > mediump_vec1
-
- -

1 component vector of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

-

Medium single-qualifier floating-point vector of 1 component.

-
See also
GLM_EXT_vec1
-
-GLM_GTC_type_precision
- -

Definition at line 322 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef highp_uvec1 uvec1
-
- -

1 component vector of unsigned integer numbers.

-
See also
GLM_GTC_vec1 extension.
- -

Definition at line 453 of file ext/vec1.hpp.

- -
-
- -
-
- - - - -
typedef highp_vec1 vec1
-
- -

1 component vector of floating-point numbers.

-
See also
GLM_GTC_vec1 extension.
- -

Definition at line 417 of file ext/vec1.hpp.

- -
-
-
- - - - diff --git a/doc/api/a00146.html b/doc/api/a00146.html index 3db05d18..1fdd56ad 100644 --- a/doc/api/a00146.html +++ b/doc/api/a00146.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_EXT_vector_relational + + +0.9.9 API documenation: matrix_float2x3.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_EXT_vector_relational
+
matrix_float2x3.hpp File Reference
-

Include <glm/ext/vector_relational.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - + + +

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL bool equal (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL bool notEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 

+Typedefs

typedef mat< 2, 3, float, defaultp > mat2x3
 

Detailed Description

-

Include <glm/ext/vector_relational.hpp> to use the features of this extension.

-

Comparison functions for a user defined epsilon values.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::equal (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
T const & epsilon 
)
-
+

Core features

-

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is satisfied.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_EXT_vector_relational
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::equal (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
vec< L, T, Q > const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is satisfied.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_EXT_vector_relational
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL bool glm::equal (genType const & x,
genType const & y,
genType const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is satisfied.

-
Template Parameters
- - -
genTypeFloating-point or integer scalar types
-
-
-
See also
GLM_EXT_vector_relational
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::notEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
T const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is not satisfied.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_EXT_vector_relational
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::notEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
vec< L, T, Q > const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is not satisfied.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_EXT_vector_relational
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL bool glm::notEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| >= epsilon.

-

True if this expression is not satisfied.

-
Template Parameters
- - -
genTypeFloating-point or integer scalar types
-
-
-
See also
GLM_EXT_vector_relational
- -
-
-
+

Definition in file matrix_float2x3.hpp.

+
diff --git a/doc/api/a00146_source.html b/doc/api/a00146_source.html new file mode 100644 index 00000000..29b453df --- /dev/null +++ b/doc/api/a00146_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float2x3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<2, 3, float, defaultp> mat2x3;
16 
18 }//namespace glm
mat< 2, 3, float, defaultp > mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00148.html b/doc/api/a00148.html deleted file mode 100644 index cb96d744..00000000 --- a/doc/api/a00148.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - - -0.9.9 API documenation: Core features - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Modules
-
-
Core features
-
-
- -

Features that implement in C++ the GLSL specification as closely as possible. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Modules

 Common functions
 Include <glm/common.hpp> to use these core features.
 
 Exponential functions
 Include <glm/exponential.hpp> to use these core features.
 
 Geometric functions
 Include <glm/geometric.hpp> to use these core features.
 
 Types
 The standard types defined by the specification.
 
 Precision types
 Non-GLSL types that are used to define qualifier-based types.
 
 Template types
 The generic template types used as the basis for the core types.
 
 Integer functions
 Include <glm/integer.hpp> to use these core features.
 
 Matrix functions
 Include <glm/matrix.hpp> to use these core features.
 
 Floating-Point Pack and Unpack Functions
 Include <glm/packing.hpp> to use these core features.
 
 Angle and Trigonometry Functions
 Include <glm/trigonometric.hpp> to use these core features.
 
 Vector Relational Functions
 Include <glm/vector_relational.hpp> to use these core features.
 
-

Detailed Description

-

Features that implement in C++ the GLSL specification as closely as possible.

-

The GLM core consists of C++ types that mirror GLSL types and C++ functions that mirror the GLSL functions. It also includes a set of qualifier-based types that can be used in the appropriate functions. The C++ types are all based on a basic set of template types.

-

The best documentation for GLM Core is the current GLSL specification, version 4.2 (pdf file).

-

GLM core functionalities require <glm/glm.hpp> to be included to be used.

-
- - - - diff --git a/doc/api/a00149.html b/doc/api/a00149.html index 0dd1c380..7831a882 100644 --- a/doc/api/a00149.html +++ b/doc/api/a00149.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: Types + + +0.9.9 API documenation: matrix_float2x3_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Modules | Typedefs
-
+
matrix_float2x3_precision.hpp File Reference
-

The standard types defined by the specification. -More...

+

Go to the source code of this file.

- - - - -

-Modules

 Precision types
 Non-GLSL types that are used to define qualifier-based types.
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + +

Typedefs

typedef highp_bvec2 bvec2
 2 components vector of boolean. More...
 
typedef highp_bvec3 bvec3
 3 components vector of boolean. More...
 
typedef highp_bvec4 bvec4
 4 components vector of boolean. More...
 
typedef highp_dmat2x2 dmat2
 2 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat2x2 dmat2x2
 2 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat2x3 dmat2x3
 2 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat2x4 dmat2x4
 2 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x3 dmat3
 3 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x2 dmat3x2
 3 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x3 dmat3x3
 3 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat3x4 dmat3x4
 3 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x4 dmat4
 4 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x2 dmat4x2
 4 * 2 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x3 dmat4x3
 4 * 3 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dmat4x4 dmat4x4
 4 * 4 matrix of double-qualifier floating-point numbers. More...
 
typedef highp_dvec2 dvec2
 2 components vector of double-qualifier floating-point numbers. More...
 
typedef highp_dvec3 dvec3
 3 components vector of double-qualifier floating-point numbers. More...
 
typedef highp_dvec4 dvec4
 4 components vector of double-qualifier floating-point numbers. More...
 
typedef highp_ivec2 ivec2
 2 components vector of signed integer numbers. More...
 
typedef highp_ivec3 ivec3
 3 components vector of signed integer numbers. More...
 
typedef highp_ivec4 ivec4
 4 components vector of signed integer numbers. More...
 
typedef mat2x2 mat2
 2 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat2x2 mat2x2
 2 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat2x3 mat2x3
 2 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat2x4 mat2x4
 2 columns of 4 components matrix of floating-point numbers. More...
 
typedef mat3x3 mat3
 3 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat3x2 mat3x2
 3 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat3x3 mat3x3
 3 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat3x4 mat3x4
 3 columns of 4 components matrix of floating-point numbers. More...
 
typedef mat4x4 mat4
 4 columns of 4 components matrix of floating-point numbers. More...
 
typedef highp_mat4x2 mat4x2
 4 columns of 2 components matrix of floating-point numbers. More...
 
typedef highp_mat4x3 mat4x3
 4 columns of 3 components matrix of floating-point numbers. More...
 
typedef highp_mat4x4 mat4x4
 4 columns of 4 components matrix of floating-point numbers. More...
 
typedef highp_uvec2 uvec2
 2 components vector of unsigned integer numbers. More...
 
typedef highp_uvec3 uvec3
 3 components vector of unsigned integer numbers. More...
 
typedef highp_uvec4 uvec4
 4 components vector of unsigned integer numbers. More...
 
typedef highp_vec2 vec2
 2 components vector of floating-point numbers. More...
 
typedef highp_vec3 vec3
 3 components vector of floating-point numbers. More...
 
typedef highp_vec4 vec4
 4 components vector of floating-point numbers. More...
 
typedef mat< 2, 3, float, highp > highp_mat2x3
 
typedef mat< 2, 3, float, lowp > lowp_mat2x3
 
typedef mat< 2, 3, float, mediump > mediump_mat2x3
 

Detailed Description

-

The standard types defined by the specification.

-

These types are all typedefs of more generalized, template types. To see the definition of these template types, go to Template types.

-

Typedef Documentation

- -
-
- - - - -
typedef highp_bvec2 bvec2
-
+

Core features

-

2 components vector of boolean.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 548 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_bvec3 bvec3
-
- -

3 components vector of boolean.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 553 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_bvec4 bvec4
-
- -

4 components vector of boolean.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 558 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat2x2 dmat2
-
- -

2 * 2 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 706 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat2x2 dmat2x2
-
- -

2 * 2 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 721 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat2x3 dmat2x3
-
- -

2 * 3 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 726 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat2x4 dmat2x4
-
- -

2 * 4 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 731 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat3x3 dmat3
-
- -

3 * 3 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 711 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat3x2 dmat3x2
-
- -

3 * 2 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 736 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat3x3 dmat3x3
-
- -

3 * 3 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 741 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat3x4 dmat3x4
-
- -

3 * 4 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 746 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat4x4 dmat4
-
- -

4 * 4 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 716 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat4x2 dmat4x2
-
- -

4 * 2 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 751 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat4x3 dmat4x3
-
- -

4 * 3 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 756 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dmat4x4 dmat4x4
-
- -

4 * 4 matrix of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 761 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_dvec2 dvec2
-
- -

2 components vector of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 467 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_dvec3 dvec3
-
- -

3 components vector of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 472 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_dvec4 dvec4
-
- -

4 components vector of double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 477 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_ivec2 ivec2
-
- -

2 components vector of signed integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 494 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_ivec3 ivec3
-
- -

3 components vector of signed integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 499 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_ivec4 ivec4
-
- -

4 components vector of signed integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 504 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat2x2 mat2
-
- -

2 columns of 2 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 405 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat2x2 mat2x2
-
- -

2 columns of 2 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 358 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat2x3 mat2x3
-
- -

2 columns of 3 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 363 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat2x4 mat2x4
-
- -

2 columns of 4 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 368 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat3x3 mat3
-
- -

3 columns of 3 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 410 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat3x2 mat3x2
-
- -

3 columns of 2 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 373 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat3x3 mat3x3
-
- -

3 columns of 3 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 378 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat3x4 mat3x4
-
- -

3 columns of 4 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 383 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat4x4 mat4
-
- -

4 columns of 4 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 415 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat4x2 mat4x2
-
- -

4 columns of 2 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 388 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat4x3 mat4x3
-
- -

4 columns of 3 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 393 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_mat4x4 mat4x4
-
- -

4 columns of 4 components matrix of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
- -

Definition at line 398 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef highp_uvec2 uvec2
-
- -

2 components vector of unsigned integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 521 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_uvec3 uvec3
-
- -

3 components vector of unsigned integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 526 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_uvec4 uvec4
-
- -

4 components vector of unsigned integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 531 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_vec2 vec2
-
- -

2 components vector of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 440 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_vec3 vec3
-
- -

3 components vector of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 445 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_vec4 vec4
-
- -

4 components vector of floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
- -

Definition at line 450 of file type_vec.hpp.

- -
-
-
+

Definition in file matrix_float2x3_precision.hpp.

+
diff --git a/doc/api/a00149_source.html b/doc/api/a00149_source.html new file mode 100644 index 00000000..da5a6e8e --- /dev/null +++ b/doc/api/a00149_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float2x3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<2, 3, float, lowp> lowp_mat2x3;
17 
22  typedef mat<2, 3, float, mediump> mediump_mat2x3;
23 
28  typedef mat<2, 3, float, highp> highp_mat2x3;
29 
31 }//namespace glm
mat< 2, 3, float, lowp > lowp_mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 2, 3, float, highp > highp_mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 2, 3, float, mediump > mediump_mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00150.html b/doc/api/a00150.html deleted file mode 100644 index 85a489f1..00000000 --- a/doc/api/a00150.html +++ /dev/null @@ -1,2996 +0,0 @@ - - - - - - -0.9.9 API documenation: Precision types - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Typedefs
-
-
Precision types
-
-
- -

Non-GLSL types that are used to define qualifier-based types. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef vec< 2, bool, highp > highp_bvec2
 2 components vector of high qualifier bool numbers. More...
 
typedef vec< 3, bool, highp > highp_bvec3
 3 components vector of high qualifier bool numbers. More...
 
typedef vec< 4, bool, highp > highp_bvec4
 4 components vector of high qualifier bool numbers. More...
 
typedef mat< 2, 2, double, highp > highp_dmat2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, highp > highp_dmat2x2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 3, double, highp > highp_dmat2x3
 2 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 4, double, highp > highp_dmat2x4
 2 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, highp > highp_dmat3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, highp > highp_dmat3x2
 3 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, highp > highp_dmat3x3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 4, double, highp > highp_dmat3x4
 3 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, highp > highp_dmat4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 2, double, highp > highp_dmat4x2
 4 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 3, double, highp > highp_dmat4x3
 4 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, highp > highp_dmat4x4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef vec< 2, double, highp > highp_dvec2
 2 components vector of high double-qualifier floating-point numbers. More...
 
typedef vec< 3, double, highp > highp_dvec3
 3 components vector of high double-qualifier floating-point numbers. More...
 
typedef vec< 4, double, highp > highp_dvec4
 4 components vector of high double-qualifier floating-point numbers. More...
 
typedef highp_float_t highp_float
 High qualifier floating-point numbers. More...
 
typedef detail::highp_int_t highp_int
 High qualifier signed integer. More...
 
typedef vec< 2, int, highp > highp_ivec2
 2 components vector of high qualifier signed integer numbers. More...
 
typedef vec< 3, int, highp > highp_ivec3
 3 components vector of high qualifier signed integer numbers. More...
 
typedef vec< 4, int, highp > highp_ivec4
 4 components vector of high qualifier signed integer numbers. More...
 
typedef mat< 2, 2, float, highp > highp_mat2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, highp > highp_mat2x2
 2 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 3, float, highp > highp_mat2x3
 2 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 2, 4, float, highp > highp_mat2x4
 2 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, highp > highp_mat3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 2, float, highp > highp_mat3x2
 3 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, highp > highp_mat3x3
 3 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 3, 4, float, highp > highp_mat3x4
 3 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, highp > highp_mat4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 2, float, highp > highp_mat4x2
 4 columns of 2 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 3, float, highp > highp_mat4x3
 4 columns of 3 components matrix of high qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, highp > highp_mat4x4
 4 columns of 4 components matrix of high qualifier floating-point numbers. More...
 
typedef detail::highp_uint_t highp_uint
 High qualifier unsigned integer. More...
 
typedef vec< 2, uint, highp > highp_uvec2
 2 components vector of high qualifier unsigned integer numbers. More...
 
typedef vec< 3, uint, highp > highp_uvec3
 3 components vector of high qualifier unsigned integer numbers. More...
 
typedef vec< 4, uint, highp > highp_uvec4
 4 components vector of high qualifier unsigned integer numbers. More...
 
typedef vec< 2, float, highp > highp_vec2
 2 components vector of high single-qualifier floating-point numbers. More...
 
typedef vec< 3, float, highp > highp_vec3
 3 components vector of high single-qualifier floating-point numbers. More...
 
typedef vec< 4, float, highp > highp_vec4
 4 components vector of high single-qualifier floating-point numbers. More...
 
typedef vec< 2, bool, lowp > lowp_bvec2
 2 components vector of low qualifier bool numbers. More...
 
typedef vec< 3, bool, lowp > lowp_bvec3
 3 components vector of low qualifier bool numbers. More...
 
typedef vec< 4, bool, lowp > lowp_bvec4
 4 components vector of low qualifier bool numbers. More...
 
typedef mat< 2, 2, double, lowp > lowp_dmat2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
 2 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
 2 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, lowp > lowp_dmat3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
 3 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
 3 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, lowp > lowp_dmat4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
 4 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
 4 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef vec< 2, double, lowp > lowp_dvec2
 2 components vector of low double-qualifier floating-point numbers. More...
 
typedef vec< 3, double, lowp > lowp_dvec3
 3 components vector of low double-qualifier floating-point numbers. More...
 
typedef vec< 4, double, lowp > lowp_dvec4
 4 components vector of low double-qualifier floating-point numbers. More...
 
typedef lowp_float_t lowp_float
 Low qualifier floating-point numbers. More...
 
typedef detail::lowp_int_t lowp_int
 Low qualifier signed integer. More...
 
typedef vec< 2, int, lowp > lowp_ivec2
 2 components vector of low qualifier signed integer numbers. More...
 
typedef vec< 3, int, lowp > lowp_ivec3
 3 components vector of low qualifier signed integer numbers. More...
 
typedef vec< 4, int, lowp > lowp_ivec4
 4 components vector of low qualifier signed integer numbers. More...
 
typedef mat< 2, 2, float, lowp > lowp_mat2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, lowp > lowp_mat2x2
 2 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 3, float, lowp > lowp_mat2x3
 2 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 2, 4, float, lowp > lowp_mat2x4
 2 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, lowp > lowp_mat3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 2, float, lowp > lowp_mat3x2
 3 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, lowp > lowp_mat3x3
 3 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 3, 4, float, lowp > lowp_mat3x4
 3 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, lowp > lowp_mat4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 2, float, lowp > lowp_mat4x2
 4 columns of 2 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 3, float, lowp > lowp_mat4x3
 4 columns of 3 components matrix of low qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, lowp > lowp_mat4x4
 4 columns of 4 components matrix of low qualifier floating-point numbers. More...
 
typedef detail::lowp_uint_t lowp_uint
 Low qualifier unsigned integer. More...
 
typedef vec< 2, uint, lowp > lowp_uvec2
 2 components vector of low qualifier unsigned integer numbers. More...
 
typedef vec< 3, uint, lowp > lowp_uvec3
 3 components vector of low qualifier unsigned integer numbers. More...
 
typedef vec< 4, uint, lowp > lowp_uvec4
 4 components vector of low qualifier unsigned integer numbers. More...
 
typedef vec< 2, float, lowp > lowp_vec2
 2 components vector of low single-qualifier floating-point numbers. More...
 
typedef vec< 3, float, lowp > lowp_vec3
 3 components vector of low single-qualifier floating-point numbers. More...
 
typedef vec< 4, float, lowp > lowp_vec4
 4 components vector of low single-qualifier floating-point numbers. More...
 
typedef vec< 2, bool, mediump > mediump_bvec2
 2 components vector of medium qualifier bool numbers. More...
 
typedef vec< 3, bool, mediump > mediump_bvec3
 3 components vector of medium qualifier bool numbers. More...
 
typedef vec< 4, bool, mediump > mediump_bvec4
 4 components vector of medium qualifier bool numbers. More...
 
typedef mat< 2, 2, double, mediump > mediump_dmat2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
 2 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
 2 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, mediump > mediump_dmat3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
 3 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
 3 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, mediump > mediump_dmat4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
 4 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
 4 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef vec< 2, double, mediump > mediump_dvec2
 2 components vector of medium double-qualifier floating-point numbers. More...
 
typedef vec< 3, double, mediump > mediump_dvec3
 3 components vector of medium double-qualifier floating-point numbers. More...
 
typedef vec< 4, double, mediump > mediump_dvec4
 4 components vector of medium double-qualifier floating-point numbers. More...
 
typedef mediump_float_t mediump_float
 Medium qualifier floating-point numbers. More...
 
typedef detail::mediump_int_t mediump_int
 Medium qualifier signed integer. More...
 
typedef vec< 2, int, mediump > mediump_ivec2
 2 components vector of medium qualifier signed integer numbers. More...
 
typedef vec< 3, int, mediump > mediump_ivec3
 3 components vector of medium qualifier signed integer numbers. More...
 
typedef vec< 4, int, mediump > mediump_ivec4
 4 components vector of medium qualifier signed integer numbers. More...
 
typedef mat< 2, 2, float, mediump > mediump_mat2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 2, float, mediump > mediump_mat2x2
 2 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 3, float, mediump > mediump_mat2x3
 2 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 2, 4, float, mediump > mediump_mat2x4
 2 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, mediump > mediump_mat3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 2, float, mediump > mediump_mat3x2
 3 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 3, float, mediump > mediump_mat3x3
 3 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 3, 4, float, mediump > mediump_mat3x4
 3 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, mediump > mediump_mat4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 2, float, mediump > mediump_mat4x2
 4 columns of 2 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 3, float, mediump > mediump_mat4x3
 4 columns of 3 components matrix of medium qualifier floating-point numbers. More...
 
typedef mat< 4, 4, float, mediump > mediump_mat4x4
 4 columns of 4 components matrix of medium qualifier floating-point numbers. More...
 
typedef detail::mediump_uint_t mediump_uint
 Medium qualifier unsigned integer. More...
 
typedef vec< 2, uint, mediump > mediump_uvec2
 2 components vector of medium qualifier unsigned integer numbers. More...
 
typedef vec< 3, uint, mediump > mediump_uvec3
 3 components vector of medium qualifier unsigned integer numbers. More...
 
typedef vec< 4, uint, mediump > mediump_uvec4
 4 components vector of medium qualifier unsigned integer numbers. More...
 
typedef vec< 2, float, mediump > mediump_vec2
 2 components vector of medium single-qualifier floating-point numbers. More...
 
typedef vec< 3, float, mediump > mediump_vec3
 3 components vector of medium single-qualifier floating-point numbers. More...
 
typedef vec< 4, float, mediump > mediump_vec4
 4 components vector of medium single-qualifier floating-point numbers. More...
 
typedef unsigned int uint
 Unsigned integer type. More...
 
-

Detailed Description

-

Non-GLSL types that are used to define qualifier-based types.

-

The GLSL language allows the user to define the qualifier of a particular variable. In OpenGL's GLSL, these qualifier qualifiers have no effect; they are there for compatibility with OpenGL ES's qualifier qualifiers, where they do have an effect.

-

C++ has no language equivalent to qualifier qualifiers. So GLM provides the next-best thing: a number of typedefs of the Template types that use a particular qualifier.

-

None of these types make any guarantees about the actual qualifier used.

-

Typedef Documentation

- -
-
- - - - -
typedef vec<2, bool, highp> highp_bvec2
-
- -

2 components vector of high qualifier bool numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 203 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, bool, highp> highp_bvec3
-
- -

3 components vector of high qualifier bool numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 312 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, bool, highp> highp_bvec4
-
- -

4 components vector of high qualifier bool numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 407 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, double, highp> highp_dmat2
-
- -

2 columns of 2 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 439 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, double, highp> highp_dmat2x2
-
- -

2 columns of 2 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 457 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, double, highp> highp_dmat2x3
-
- -

2 columns of 3 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 480 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, double, highp> highp_dmat2x4
-
- -

2 columns of 4 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 503 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, double, highp> highp_dmat3
-
- -

3 columns of 3 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 549 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, double, highp> highp_dmat3x2
-
- -

3 columns of 2 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 526 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, double, highp> highp_dmat3x3
-
- -

3 columns of 3 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 567 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, double, highp> highp_dmat3x4
-
- -

3 columns of 4 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 590 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, double, highp> highp_dmat4
-
- -

4 columns of 4 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 659 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, double, highp> highp_dmat4x2
-
- -

4 columns of 2 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 613 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, double, highp> highp_dmat4x3
-
- -

4 columns of 3 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 636 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, double, highp> highp_dmat4x4
-
- -

4 columns of 4 components matrix of high qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 677 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, double, highp> highp_dvec2
-
- -

2 components vector of high double-qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 140 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, double, highp> highp_dvec3
-
- -

3 components vector of high double-qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 250 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, double, highp> highp_dvec4
-
- -

4 components vector of high double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 353 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef highp_float_t highp_float
-
- -

High qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.4 Floats
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 44 of file type_float.hpp.

- -
-
- -
-
- - - - -
typedef detail::highp_int_t highp_int
-
- -

High qualifier signed integer.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 238 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, int, highp> highp_ivec2
-
- -

2 components vector of high qualifier signed integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 161 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, int, highp> highp_ivec3
-
- -

3 components vector of high qualifier signed integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 271 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, int, highp> highp_ivec4
-
- -

4 components vector of high qualifier signed integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 371 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, float, highp > highp_mat2
-
- -

2 columns of 2 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 52 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, float, highp > highp_mat2x2
-
- -

2 columns of 2 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 73 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 3, float, highp > highp_mat2x3
-
- -

2 columns of 3 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 99 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 4, float, highp > highp_mat2x4
-
- -

2 columns of 4 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 125 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, float, highp > highp_mat3
-
- -

3 columns of 3 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 177 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 2, float, highp > highp_mat3x2
-
- -

3 columns of 2 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 151 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, float, highp > highp_mat3x3
-
- -

3 columns of 3 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 198 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 4, float, highp > highp_mat3x4
-
- -

3 columns of 4 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 224 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, float, highp > highp_mat4
-
- -

4 columns of 4 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 303 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 2, float, highp > highp_mat4x2
-
- -

4 columns of 2 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 250 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 3, float, highp > highp_mat4x3
-
- -

4 columns of 3 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 276 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, float, highp > highp_mat4x4
-
- -

4 columns of 4 components matrix of high qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 324 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef detail::highp_uint_t highp_uint
-
- -

High qualifier unsigned integer.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 259 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, uint, highp> highp_uvec2
-
- -

2 components vector of high qualifier unsigned integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 182 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, uint, highp> highp_uvec3
-
- -

3 components vector of high qualifier unsigned integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 292 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, uint, highp> highp_uvec4
-
- -

4 components vector of high qualifier unsigned integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 389 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, float, highp > highp_vec2
-
- -

2 components vector of high single-qualifier floating-point numbers.

-

High Single-qualifier floating-point vector of 2 components.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 119 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, float, highp > highp_vec3
-
- -

3 components vector of high single-qualifier floating-point numbers.

-

High Single-qualifier floating-point vector of 3 components.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 229 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, float, highp > highp_vec4
-
- -

4 components vector of high single-qualifier floating-point numbers.

-

High Single-qualifier floating-point vector of 4 components.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 335 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, bool, lowp> lowp_bvec2
-
- -

2 components vector of low qualifier bool numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 217 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, bool, lowp> lowp_bvec3
-
- -

3 components vector of low qualifier bool numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 324 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, bool, lowp> lowp_bvec4
-
- -

4 components vector of low qualifier bool numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 419 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, double, lowp> lowp_dmat2
-
- -

2 columns of 2 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 427 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, double, lowp> lowp_dmat2x2
-
- -

2 columns of 2 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 445 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, double, lowp> lowp_dmat2x3
-
- -

2 columns of 3 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 468 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, double, lowp> lowp_dmat2x4
-
- -

2 columns of 4 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 491 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, float, lowp> lowp_dmat3
-
- -

3 columns of 3 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 537 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, double, lowp> lowp_dmat3x2
-
- -

3 columns of 2 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 514 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, double, lowp> lowp_dmat3x3
-
- -

3 columns of 3 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 555 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, double, lowp> lowp_dmat3x4
-
- -

3 columns of 4 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 578 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, double, lowp> lowp_dmat4
-
- -

4 columns of 4 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 647 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, double, lowp> lowp_dmat4x2
-
- -

4 columns of 2 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 601 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, double, lowp> lowp_dmat4x3
-
- -

4 columns of 3 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 624 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, double, lowp> lowp_dmat4x4
-
- -

4 columns of 4 components matrix of low qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 665 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, double, lowp> lowp_dvec2
-
- -

2 components vector of low double-qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 154 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, double, lowp> lowp_dvec3
-
- -

3 components vector of low double-qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 264 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, double, lowp> lowp_dvec4
-
- -

4 components vector of low double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 365 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef lowp_float_t lowp_float
-
- -

Low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.4 Floats
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 30 of file type_float.hpp.

- -
-
- -
-
- - - - -
typedef detail::lowp_int_t lowp_int
-
- -

Low qualifier signed integer.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 224 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, int, lowp> lowp_ivec2
-
- -

2 components vector of low qualifier signed integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 175 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, int, lowp> lowp_ivec3
-
- -

3 components vector of low qualifier signed integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 285 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, int, lowp> lowp_ivec4
-
- -

4 components vector of low qualifier signed integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 383 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, float, lowp > lowp_mat2
-
- -

2 columns of 2 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 38 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, float, lowp > lowp_mat2x2
-
- -

2 columns of 2 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 59 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 3, float, lowp > lowp_mat2x3
-
- -

2 columns of 3 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 85 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 4, float, lowp > lowp_mat2x4
-
- -

2 columns of 4 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 111 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, float, lowp > lowp_mat3
-
- -

3 columns of 3 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 163 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 2, float, lowp > lowp_mat3x2
-
- -

3 columns of 2 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 137 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, float, lowp > lowp_mat3x3
-
- -

3 columns of 3 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 184 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 4, float, lowp > lowp_mat3x4
-
- -

3 columns of 4 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 210 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, float, lowp > lowp_mat4
-
- -

4 columns of 4 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 289 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 2, float, lowp > lowp_mat4x2
-
- -

4 columns of 2 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 236 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 3, float, lowp > lowp_mat4x3
-
- -

4 columns of 3 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 262 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, float, lowp > lowp_mat4x4
-
- -

4 columns of 4 components matrix of low qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 310 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef detail::lowp_uint_t lowp_uint
-
- -

Low qualifier unsigned integer.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 245 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, uint, lowp> lowp_uvec2
-
- -

2 components vector of low qualifier unsigned integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 196 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, uint, lowp> lowp_uvec3
-
- -

3 components vector of low qualifier unsigned integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 306 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, uint, lowp> lowp_uvec4
-
- -

4 components vector of low qualifier unsigned integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 401 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, float, lowp > lowp_vec2
-
- -

2 components vector of low single-qualifier floating-point numbers.

-

Low single-qualifier floating-point vector of 2 components.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 133 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, float, lowp > lowp_vec3
-
- -

3 components vector of low single-qualifier floating-point numbers.

-

Low single-qualifier floating-point vector of 3 components.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 243 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, float, lowp > lowp_vec4
-
- -

4 components vector of low single-qualifier floating-point numbers.

-

Low single-qualifier floating-point vector of 4 components.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 347 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, bool, mediump> mediump_bvec2
-
- -

2 components vector of medium qualifier bool numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 210 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, bool, mediump> mediump_bvec3
-
- -

3 components vector of medium qualifier bool numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 318 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, bool, mediump> mediump_bvec4
-
- -

4 components vector of medium qualifier bool numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 413 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, double, mediump> mediump_dmat2
-
- -

2 columns of 2 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 433 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, double, mediump> mediump_dmat2x2
-
- -

2 columns of 2 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 451 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, double, mediump> mediump_dmat2x3
-
- -

2 columns of 3 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 474 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, double, mediump> mediump_dmat2x4
-
- -

2 columns of 4 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 497 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, double, mediump> mediump_dmat3
-
- -

3 columns of 3 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 543 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, double, mediump> mediump_dmat3x2
-
- -

3 columns of 2 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 520 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, double, mediump> mediump_dmat3x3
-
- -

3 columns of 3 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 561 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, double, mediump> mediump_dmat3x4
-
- -

3 columns of 4 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 584 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, double, mediump> mediump_dmat4
-
- -

4 columns of 4 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 653 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, double, mediump> mediump_dmat4x2
-
- -

4 columns of 2 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 607 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, double, mediump> mediump_dmat4x3
-
- -

4 columns of 3 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 630 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, double, mediump> mediump_dmat4x4
-
- -

4 columns of 4 components matrix of medium qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 671 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, double, mediump> mediump_dvec2
-
- -

2 components vector of medium double-qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 147 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, double, mediump> mediump_dvec3
-
- -

3 components vector of medium double-qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 257 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, double, mediump> mediump_dvec4
-
- -

4 components vector of medium double-qualifier floating-point numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 359 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mediump_float_t mediump_float
-
- -

Medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.4 Floats
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 37 of file type_float.hpp.

- -
-
- -
-
- - - - -
typedef detail::mediump_int_t mediump_int
-
- -

Medium qualifier signed integer.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 231 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, int, mediump> mediump_ivec2
-
- -

2 components vector of medium qualifier signed integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 168 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, int, mediump> mediump_ivec3
-
- -

3 components vector of medium qualifier signed integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 278 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, int, mediump> mediump_ivec4
-
- -

4 components vector of medium qualifier signed integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 377 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, float, mediump > mediump_mat2
-
- -

2 columns of 2 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 45 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, float, mediump > mediump_mat2x2
-
- -

2 columns of 2 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 66 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 3, float, mediump > mediump_mat2x3
-
- -

2 columns of 3 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 92 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 4, float, mediump > mediump_mat2x4
-
- -

2 columns of 4 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 118 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, float, mediump > mediump_mat3
-
- -

3 columns of 3 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 170 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 2, float, mediump > mediump_mat3x2
-
- -

3 columns of 2 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 144 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, float, mediump > mediump_mat3x3
-
- -

3 columns of 3 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 191 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 4, float, mediump > mediump_mat3x4
-
- -

3 columns of 4 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 217 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, float, mediump > mediump_mat4
-
- -

4 columns of 4 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 296 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 2, float, mediump > mediump_mat4x2
-
- -

4 columns of 2 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 243 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 3, float, mediump > mediump_mat4x3
-
- -

4 columns of 3 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 269 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, float, mediump > mediump_mat4x4
-
- -

4 columns of 4 components matrix of medium qualifier floating-point numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 317 of file type_mat.hpp.

- -
-
- -
-
- - - - -
typedef detail::mediump_uint_t mediump_uint
-
- -

Medium qualifier unsigned integer.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 252 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef vec<2, uint, mediump> mediump_uvec2
-
- -

2 components vector of medium qualifier unsigned integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 189 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<3, uint, mediump> mediump_uvec3
-
- -

3 components vector of medium qualifier unsigned integer numbers.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 299 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec<4, uint, mediump> mediump_uvec4
-
- -

4 components vector of medium qualifier unsigned integer numbers.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
- -

Definition at line 395 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, float, mediump > mediump_vec2
-
- -

2 components vector of medium single-qualifier floating-point numbers.

-

Medium Single-qualifier floating-point vector of 2 components.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 126 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, float, mediump > mediump_vec3
-
- -

3 components vector of medium single-qualifier floating-point numbers.

-

Medium Single-qualifier floating-point vector of 3 components.

-

There is no guarantee on the actual qualifier.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 236 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, float, mediump > mediump_vec4
-
- -

4 components vector of medium single-qualifier floating-point numbers.

-

Medium Single-qualifier floating-point vector of 4 components.

-
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
-
-GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
-
-Precision types
- -

Definition at line 341 of file type_vec.hpp.

- -
-
- -
-
- - - - -
typedef unsigned int uint
-
- -

Unsigned integer type.

-
See also
GLSL 4.20.8 specification, section 4.1.3 Integers
- -

Definition at line 288 of file type_int.hpp.

- -
-
-
- - - - diff --git a/doc/api/a00152.html b/doc/api/a00152.html index 8cf5d518..6ac44583 100644 --- a/doc/api/a00152.html +++ b/doc/api/a00152.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: Stable extensions + + +0.9.9 API documenation: matrix_float2x4.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Modules
+Typedefs
-
Stable extensions
+
matrix_float2x4.hpp File Reference
-

Additional features not specified by GLSL specification. -More...

+

Go to the source code of this file.

- - - - - - - + + +

-Modules

 GLM_EXT_vec1
 Include <glm/ext/vec1.hpp> to use the features of this extension.
 
 GLM_EXT_vector_relational
 Include <glm/ext/vector_relational.hpp> to use the features of this extension.
 

+Typedefs

typedef mat< 2, 4, float, defaultp > mat2x4
 

Detailed Description

-

Additional features not specified by GLSL specification.

-

EXT extensions are fully tested and documented.

-

Even if it's highly unrecommended, it's possible to include all the extensions at once by including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.

-
+

Core features

+ +

Definition in file matrix_float2x4.hpp.

+
diff --git a/doc/api/a00152_source.html b/doc/api/a00152_source.html new file mode 100644 index 00000000..6f05a8b5 --- /dev/null +++ b/doc/api/a00152_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float2x4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<2, 4, float, defaultp> mat2x4;
16 
18 }//namespace glm
mat< 2, 4, float, defaultp > mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00153.html b/doc/api/a00153.html deleted file mode 100644 index 38022ce5..00000000 --- a/doc/api/a00153.html +++ /dev/null @@ -1,163 +0,0 @@ - - - - - - -0.9.9 API documenation: Recommended extensions - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Modules
-
-
Recommended extensions
-
-
- -

Additional features not specified by GLSL specification. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Modules

 GLM_GTC_bitfield
 Include <glm/gtc/bitfield.hpp> to use the features of this extension.
 
 GLM_GTC_color_space
 Include <glm/gtc/color_space.hpp> to use the features of this extension.
 
 GLM_GTC_constants
 Include <glm/gtc/constants.hpp> to use the features of this extension.
 
 GLM_GTC_epsilon
 Include <glm/gtc/epsilon.hpp> to use the features of this extension.
 
 GLM_GTC_integer
 Include <glm/gtc/integer.hpp> to use the features of this extension.
 
 GLM_GTC_matrix_access
 Include <glm/gtc/matrix_access.hpp> to use the features of this extension.
 
 GLM_GTC_matrix_integer
 Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.
 
 GLM_GTC_matrix_inverse
 Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.
 
 GLM_GTC_matrix_transform
 Include <glm/gtc/matrix_transform.hpp> to use the features of this extension.
 
 GLM_GTC_noise
 Include <glm/gtc/noise.hpp> to use the features of this extension.
 
 GLM_GTC_packing
 Include <glm/gtc/packing.hpp> to use the features of this extension.
 
 GLM_GTC_quaternion
 Include <glm/gtc/quaternion.hpp> to use the features of this extension.
 
 GLM_GTC_random
 Include <glm/gtc/random.hpp> to use the features of this extension.
 
 GLM_GTC_reciprocal
 Include <glm/gtc/reciprocal.hpp> to use the features of this extension.
 
 GLM_GTC_round
 Include <glm/gtc/round.hpp> to use the features of this extension.
 
 GLM_GTC_type_aligned
 Include <glm/gtc/type_aligned.hpp> to use the features of this extension.
 
 GLM_GTC_type_precision
 Include <glm/gtc/type_precision.hpp> to use the features of this extension.
 
 GLM_GTC_type_ptr
 Include <glm/gtc/type_ptr.hpp> to use the features of this extension.
 
 GLM_GTC_ulp
 Include <glm/gtc/ulp.hpp> to use the features of this extension.
 
 GLM_GTC_vec1
 Include <glm/gtc/vec1.hpp> to use the features of this extension.
 
-

Detailed Description

-

Additional features not specified by GLSL specification.

-

GTC extensions aim to be stable with tests and documentation.

-

Even if it's highly unrecommended, it's possible to include all the extensions at once by including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.

-
- - - - diff --git a/doc/api/a00154.html b/doc/api/a00154.html deleted file mode 100644 index 2f194c19..00000000 --- a/doc/api/a00154.html +++ /dev/null @@ -1,289 +0,0 @@ - - - - - - -0.9.9 API documenation: Experimental extensions - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Modules
-
-
Experimental extensions
-
-
- -

Experimental features not specified by GLSL specification. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Modules

 GLM_GTX_associated_min_max
 Include <glm/gtx/associated_min_max.hpp> to use the features of this extension.
 
 GLM_GTX_bit
 Include <glm/gtx/bit.hpp> to use the features of this extension.
 
 GLM_GTX_closest_point
 Include <glm/gtx/closest_point.hpp> to use the features of this extension.
 
 GLM_GTX_color_encoding
 Include <glm/gtx/color_encoding.hpp> to use the features of this extension.
 
 GLM_GTX_color_space
 Include <glm/gtx/color_space.hpp> to use the features of this extension.
 
 GLM_GTX_color_space_YCoCg
 Include <glm/gtx/color_space_YCoCg.hpp> to use the features of this extension.
 
 GLM_GTX_common
 Include <glm/gtx/common.hpp> to use the features of this extension.
 
 GLM_GTX_compatibility
 Include <glm/gtx/compatibility.hpp> to use the features of this extension.
 
 GLM_GTX_component_wise
 Include <glm/gtx/component_wise.hpp> to use the features of this extension.
 
 GLM_GTX_dual_quaternion
 Include <glm/gtx/dual_quaternion.hpp> to use the features of this extension.
 
 GLM_GTX_easing
 Include <glm/gtx/easing.hpp> to use the features of this extension.
 
 GLM_GTX_euler_angles
 Include <glm/gtx/euler_angles.hpp> to use the features of this extension.
 
 GLM_GTX_extend
 Include <glm/gtx/extend.hpp> to use the features of this extension.
 
 GLM_GTX_extented_min_max
 Include <glm/gtx/extented_min_max.hpp> to use the features of this extension.
 
 GLM_GTX_exterior_product
 Include <glm/gtx/exterior_product.hpp> to use the features of this extension.
 
 GLM_GTX_fast_exponential
 Include <glm/gtx/fast_exponential.hpp> to use the features of this extension.
 
 GLM_GTX_fast_square_root
 Include <glm/gtx/fast_square_root.hpp> to use the features of this extension.
 
 GLM_GTX_fast_trigonometry
 Include <glm/gtx/fast_trigonometry.hpp> to use the features of this extension.
 
 GLM_GTX_functions
 Include <glm/gtx/functions.hpp> to use the features of this extension.
 
 GLM_GTX_gradient_paint
 Include <glm/gtx/gradient_paint.hpp> to use the features of this extension.
 
 GLM_GTX_handed_coordinate_space
 Include <glm/gtx/handed_coordinate_system.hpp> to use the features of this extension.
 
 GLM_GTX_hash
 Include <glm/gtx/hash.hpp> to use the features of this extension.
 
 GLM_GTX_integer
 Include <glm/gtx/integer.hpp> to use the features of this extension.
 
 GLM_GTX_intersect
 Include <glm/gtx/intersect.hpp> to use the features of this extension.
 
 GLM_GTX_io
 Include <glm/gtx/io.hpp> to use the features of this extension.
 
 GLM_GTX_log_base
 Include <glm/gtx/log_base.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_cross_product
 Include <glm/gtx/matrix_cross_product.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_decompose
 Include <glm/gtx/matrix_decompose.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_factorisation
 Include <glm/gtx/matrix_factorisation.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_interpolation
 Include <glm/gtx/matrix_interpolation.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_major_storage
 Include <glm/gtx/matrix_major_storage.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_operation
 Include <glm/gtx/matrix_operation.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_query
 Include <glm/gtx/matrix_query.hpp> to use the features of this extension.
 
 GLM_GTX_matrix_transform_2d
 Include <glm/gtx/matrix_transform_2d.hpp> to use the features of this extension.
 
 GLM_GTX_mixed_producte
 Include <glm/gtx/mixed_product.hpp> to use the features of this extension.
 
 GLM_GTX_norm
 Include <glm/gtx/norm.hpp> to use the features of this extension.
 
 GLM_GTX_normal
 Include <glm/gtx/normal.hpp> to use the features of this extension.
 
 GLM_GTX_normalize_dot
 Include <glm/gtx/normalized_dot.hpp> to use the features of this extension.
 
 GLM_GTX_number_precision
 Include <glm/gtx/number_precision.hpp> to use the features of this extension.
 
 GLM_GTX_optimum_pow
 Include <glm/gtx/optimum_pow.hpp> to use the features of this extension.
 
 GLM_GTX_orthonormalize
 Include <glm/gtx/orthonormalize.hpp> to use the features of this extension.
 
 GLM_GTX_perpendicular
 Include <glm/gtx/perpendicular.hpp> to use the features of this extension.
 
 GLM_GTX_polar_coordinates
 Include <glm/gtx/polar_coordinates.hpp> to use the features of this extension.
 
 GLM_GTX_projection
 Include <glm/gtx/projection.hpp> to use the features of this extension.
 
 GLM_GTX_quaternion
 Include <glm/gtx/quaternion.hpp> to use the features of this extension.
 
 GLM_GTX_range
 Include <glm/gtx/range.hpp> to use the features of this extension.
 
 GLM_GTX_raw_data
 Include <glm/gtx/raw_data.hpp> to use the features of this extension.
 
 GLM_GTX_rotate_normalized_axis
 Include <glm/gtx/rotate_normalized_axis.hpp> to use the features of this extension.
 
 GLM_GTX_rotate_vector
 Include <glm/gtx/rotate_vector.hpp> to use the features of this extension.
 
 GLM_GTX_scalar_relational
 Include <glm/gtx/scalar_relational.hpp> to use the features of this extension.
 
 GLM_GTX_spline
 Include <glm/gtx/spline.hpp> to use the features of this extension.
 
 GLM_GTX_std_based_type
 Include <glm/gtx/std_based_type.hpp> to use the features of this extension.
 
 GLM_GTX_string_cast
 Include <glm/gtx/string_cast.hpp> to use the features of this extension.
 
 GLM_GTX_texture
 Include <glm/gtx/texture.hpp> to use the features of this extension.
 
 GLM_GTX_transform
 Include <glm/gtx/transform.hpp> to use the features of this extension.
 
 GLM_GTX_transform2
 Include <glm/gtx/transform2.hpp> to use the features of this extension.
 
 GLM_GTX_type_aligned
 Include <glm/gtx/type_aligned.hpp> to use the features of this extension.
 
 GLM_GTX_type_trait
 Include <glm/gtx/type_trait.hpp> to use the features of this extension.
 
 GLM_GTX_vec_swizzle
 Include <glm/gtx/vec_swizzle.hpp> to use the features of this extension.
 
 GLM_GTX_vector_angle
 Include <glm/gtx/vector_angle.hpp> to use the features of this extension.
 
 GLM_GTX_vector_query
 Include <glm/gtx/vector_query.hpp> to use the features of this extension.
 
 GLM_GTX_wrap
 Include <glm/gtx/wrap.hpp> to use the features of this extension.
 
-

Detailed Description

-

Experimental features not specified by GLSL specification.

-

Experimental extensions are useful functions and types, but the development of their API and functionality is not necessarily stable. They can change substantially between versions. Backwards compatibility is not much of an issue for them.

-

Even if it's highly unrecommended, it's possible to include all the extensions at once by including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.

-
- - - - diff --git a/doc/api/a00155.html b/doc/api/a00155.html index ccfced39..cdea75a3 100644 --- a/doc/api/a00155.html +++ b/doc/api/a00155.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_bitfield + + +0.9.9 API documenation: matrix_float2x4_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTC_bitfield
+
matrix_float2x4_precision.hpp File Reference
-

Include <glm/gtc/bitfield.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +

-Functions

template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillOne (genIUType Value, int FirstBit, int BitCount)
 Set to 1 a range of bits. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 Set to 1 a range of bits. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillZero (genIUType Value, int FirstBit, int BitCount)
 Set to 0 a range of bits. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 Set to 0 a range of bits. More...
 
GLM_FUNC_DECL int16 bitfieldInterleave (int8 x, int8 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL uint16 bitfieldInterleave (uint8 x, uint8 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int16 x, int16 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint16 x, uint16 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y, int32 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y, uint32 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z, int8 w)
 Interleaves the bits of x, y, z and w. More...
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z, uint8 w)
 Interleaves the bits of x, y, z and w. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z, int16 w)
 Interleaves the bits of x, y, z and w. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z, uint16 w)
 Interleaves the bits of x, y, z and w. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateLeft (genIUType In, int Shift)
 Rotate all bits to the left. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft (vec< L, T, Q > const &In, int Shift)
 Rotate all bits to the left. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateRight (genIUType In, int Shift)
 Rotate all bits to the right. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight (vec< L, T, Q > const &In, int Shift)
 Rotate all bits to the right. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType mask (genIUType Bits)
 Build a mask of 'count' bits. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mask (vec< L, T, Q > const &v)
 Build a mask of 'count' bits. More...
 

+Typedefs

typedef mat< 2, 4, float, highp > highp_mat2x4
 
typedef mat< 2, 4, float, lowp > lowp_mat2x4
 
typedef mat< 2, 4, float, mediump > mediump_mat2x4
 

Detailed Description

-

Include <glm/gtc/bitfield.hpp> to use the features of this extension.

-

Allow to perform bit operations on integer values

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genIUType glm::bitfieldFillOne (genIUType Value,
int FirstBit,
int BitCount 
)
-
+

Core features

-

Set to 1 a range of bits.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldFillOne (vec< L, T, Q > const & Value,
int FirstBit,
int BitCount 
)
-
- -

Set to 1 a range of bits.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genIUType glm::bitfieldFillZero (genIUType Value,
int FirstBit,
int BitCount 
)
-
- -

Set to 0 a range of bits.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldFillZero (vec< L, T, Q > const & Value,
int FirstBit,
int BitCount 
)
-
- -

Set to 0 a range of bits.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int16 glm::bitfieldInterleave (int8 x,
int8 y 
)
-
- -

Interleaves the bits of x and y.

-

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint16 glm::bitfieldInterleave (uint8 x,
uint8 y 
)
-
- -

Interleaves the bits of x and y.

-

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int32 glm::bitfieldInterleave (int16 x,
int16 y 
)
-
- -

Interleaves the bits of x and y.

-

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (uint16 x,
uint16 y 
)
-
- -

Interleaves the bits of x and y.

-

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int32 x,
int32 y 
)
-
- -

Interleaves the bits of x and y.

-

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint32 x,
uint32 y 
)
-
- -

Interleaves the bits of x and y.

-

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int32 glm::bitfieldInterleave (int8 x,
int8 y,
int8 z 
)
-
- -

Interleaves the bits of x, y and z.

-

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (uint8 x,
uint8 y,
uint8 z 
)
-
- -

Interleaves the bits of x, y and z.

-

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int16 x,
int16 y,
int16 z 
)
-
- -

Interleaves the bits of x, y and z.

-

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint16 x,
uint16 y,
uint16 z 
)
-
- -

Interleaves the bits of x, y and z.

-

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int32 x,
int32 y,
int32 z 
)
-
- -

Interleaves the bits of x, y and z.

-

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint32 x,
uint32 y,
uint32 z 
)
-
- -

Interleaves the bits of x, y and z.

-

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int32 glm::bitfieldInterleave (int8 x,
int8 y,
int8 z,
int8 w 
)
-
- -

Interleaves the bits of x, y, z and w.

-

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (uint8 x,
uint8 y,
uint8 z,
uint8 w 
)
-
- -

Interleaves the bits of x, y, z and w.

-

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int16 x,
int16 y,
int16 z,
int16 w 
)
-
- -

Interleaves the bits of x, y, z and w.

-

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint16 x,
uint16 y,
uint16 z,
uint16 w 
)
-
- -

Interleaves the bits of x, y, z and w.

-

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genIUType glm::bitfieldRotateLeft (genIUType In,
int Shift 
)
-
- -

Rotate all bits to the left.

-

All the bits dropped in the left side are inserted back on the right side.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldRotateLeft (vec< L, T, Q > const & In,
int Shift 
)
-
- -

Rotate all bits to the left.

-

All the bits dropped in the left side are inserted back on the right side.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genIUType glm::bitfieldRotateRight (genIUType In,
int Shift 
)
-
- -

Rotate all bits to the right.

-

All the bits dropped in the right side are inserted back on the left side.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldRotateRight (vec< L, T, Q > const & In,
int Shift 
)
-
- -

Rotate all bits to the right.

-

All the bits dropped in the right side are inserted back on the left side.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genIUType glm::mask (genIUType Bits)
-
- -

Build a mask of 'count' bits.

-
See also
GLM_GTC_bitfield
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::mask (vec< L, T, Q > const & v)
-
- -

Build a mask of 'count' bits.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
-
-
-
See also
GLM_GTC_bitfield
- -
-
-
+

Definition in file matrix_float2x4_precision.hpp.

+
diff --git a/doc/api/a00155_source.html b/doc/api/a00155_source.html new file mode 100644 index 00000000..37f7267e --- /dev/null +++ b/doc/api/a00155_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_float2x4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float2x4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat2x4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<2, 4, float, lowp> lowp_mat2x4;
17 
22  typedef mat<2, 4, float, mediump> mediump_mat2x4;
23 
28  typedef mat<2, 4, float, highp> highp_mat2x4;
29 
31 }//namespace glm
mat< 2, 4, float, mediump > mediump_mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 2, 4, float, lowp > lowp_mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 2, 4, float, highp > highp_mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00158.html b/doc/api/a00158.html index 6fb2f14f..6711c658 100644 --- a/doc/api/a00158.html +++ b/doc/api/a00158.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_epsilon + + +0.9.9 API documenation: matrix_float3x2.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTC_epsilon
+
matrix_float3x2.hpp File Reference
-

Include <glm/gtc/epsilon.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - + + +

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > epsilonEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL bool epsilonEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > epsilonNotEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL bool epsilonNotEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 

+Typedefs

typedef mat< 3, 2, float, defaultp > mat3x2
 

Detailed Description

-

Include <glm/gtc/epsilon.hpp> to use the features of this extension.

-

Comparison functions for a user defined epsilon values.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::epsilonEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
T const & epsilon 
)
-
+

Core features

-

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is satisfied.

-
See also
GLM_GTC_epsilon
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL bool glm::epsilonEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is satisfied.

-
See also
GLM_GTC_epsilon
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, bool, Q> glm::epsilonNotEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
T const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| < epsilon.

-

True if this expression is not satisfied.

-
See also
GLM_GTC_epsilon
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL bool glm::epsilonNotEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
-
- -

Returns the component-wise comparison of |x - y| >= epsilon.

-

True if this expression is not satisfied.

-
See also
GLM_GTC_epsilon
- -
-
-
+

Definition in file matrix_float3x2.hpp.

+
diff --git a/doc/api/a00158_source.html b/doc/api/a00158_source.html new file mode 100644 index 00000000..29f55528 --- /dev/null +++ b/doc/api/a00158_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: matrix_float3x2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float3x2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<3, 2, float, defaultp> mat3x2;
16 
18 }//namespace glm
mat< 3, 2, float, defaultp > mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00161.html b/doc/api/a00161.html index 695a563d..0af2dea5 100644 --- a/doc/api/a00161.html +++ b/doc/api/a00161.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_matrix_integer + + +0.9.9 API documenation: matrix_float3x2_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Typedefs
-
GLM_GTC_matrix_integer
+
matrix_float3x2_precision.hpp File Reference
-

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + +

Typedefs

typedef mat< 2, 2, int, highp > highp_imat2
 High-qualifier signed integer 2x2 matrix. More...
 
typedef mat< 2, 2, int, highp > highp_imat2x2
 High-qualifier signed integer 2x2 matrix. More...
 
typedef mat< 2, 3, int, highp > highp_imat2x3
 High-qualifier signed integer 2x3 matrix. More...
 
typedef mat< 2, 4, int, highp > highp_imat2x4
 High-qualifier signed integer 2x4 matrix. More...
 
typedef mat< 3, 3, int, highp > highp_imat3
 High-qualifier signed integer 3x3 matrix. More...
 
typedef mat< 3, 2, int, highp > highp_imat3x2
 High-qualifier signed integer 3x2 matrix. More...
 
typedef mat< 3, 3, int, highp > highp_imat3x3
 High-qualifier signed integer 3x3 matrix. More...
 
typedef mat< 3, 4, int, highp > highp_imat3x4
 High-qualifier signed integer 3x4 matrix. More...
 
typedef mat< 4, 4, int, highp > highp_imat4
 High-qualifier signed integer 4x4 matrix. More...
 
typedef mat< 4, 2, int, highp > highp_imat4x2
 High-qualifier signed integer 4x2 matrix. More...
 
typedef mat< 4, 3, int, highp > highp_imat4x3
 High-qualifier signed integer 4x3 matrix. More...
 
typedef mat< 4, 4, int, highp > highp_imat4x4
 High-qualifier signed integer 4x4 matrix. More...
 
typedef mat< 2, 2, uint, highp > highp_umat2
 High-qualifier unsigned integer 2x2 matrix. More...
 
typedef mat< 2, 2, uint, highp > highp_umat2x2
 High-qualifier unsigned integer 2x2 matrix. More...
 
typedef mat< 2, 3, uint, highp > highp_umat2x3
 High-qualifier unsigned integer 2x3 matrix. More...
 
typedef mat< 2, 4, uint, highp > highp_umat2x4
 High-qualifier unsigned integer 2x4 matrix. More...
 
typedef mat< 3, 3, uint, highp > highp_umat3
 High-qualifier unsigned integer 3x3 matrix. More...
 
typedef mat< 3, 2, uint, highp > highp_umat3x2
 High-qualifier unsigned integer 3x2 matrix. More...
 
typedef mat< 3, 3, uint, highp > highp_umat3x3
 High-qualifier unsigned integer 3x3 matrix. More...
 
typedef mat< 3, 4, uint, highp > highp_umat3x4
 High-qualifier unsigned integer 3x4 matrix. More...
 
typedef mat< 4, 4, uint, highp > highp_umat4
 High-qualifier unsigned integer 4x4 matrix. More...
 
typedef mat< 4, 2, uint, highp > highp_umat4x2
 High-qualifier unsigned integer 4x2 matrix. More...
 
typedef mat< 4, 3, uint, highp > highp_umat4x3
 High-qualifier unsigned integer 4x3 matrix. More...
 
typedef mat< 4, 4, uint, highp > highp_umat4x4
 High-qualifier unsigned integer 4x4 matrix. More...
 
typedef mediump_imat2 imat2
 Signed integer 2x2 matrix. More...
 
typedef mediump_imat2x2 imat2x2
 Signed integer 2x2 matrix. More...
 
typedef mediump_imat2x3 imat2x3
 Signed integer 2x3 matrix. More...
 
typedef mediump_imat2x4 imat2x4
 Signed integer 2x4 matrix. More...
 
typedef mediump_imat3 imat3
 Signed integer 3x3 matrix. More...
 
typedef mediump_imat3x2 imat3x2
 Signed integer 3x2 matrix. More...
 
typedef mediump_imat3x3 imat3x3
 Signed integer 3x3 matrix. More...
 
typedef mediump_imat3x4 imat3x4
 Signed integer 3x4 matrix. More...
 
typedef mediump_imat4 imat4
 Signed integer 4x4 matrix. More...
 
typedef mediump_imat4x2 imat4x2
 Signed integer 4x2 matrix. More...
 
typedef mediump_imat4x3 imat4x3
 Signed integer 4x3 matrix. More...
 
typedef mediump_imat4x4 imat4x4
 Signed integer 4x4 matrix. More...
 
typedef mat< 2, 2, int, lowp > lowp_imat2
 Low-qualifier signed integer 2x2 matrix. More...
 
typedef mat< 2, 2, int, lowp > lowp_imat2x2
 Low-qualifier signed integer 2x2 matrix. More...
 
typedef mat< 2, 3, int, lowp > lowp_imat2x3
 Low-qualifier signed integer 2x3 matrix. More...
 
typedef mat< 2, 4, int, lowp > lowp_imat2x4
 Low-qualifier signed integer 2x4 matrix. More...
 
typedef mat< 3, 3, int, lowp > lowp_imat3
 Low-qualifier signed integer 3x3 matrix. More...
 
typedef mat< 3, 2, int, lowp > lowp_imat3x2
 Low-qualifier signed integer 3x2 matrix. More...
 
typedef mat< 3, 3, int, lowp > lowp_imat3x3
 Low-qualifier signed integer 3x3 matrix. More...
 
typedef mat< 3, 4, int, lowp > lowp_imat3x4
 Low-qualifier signed integer 3x4 matrix. More...
 
typedef mat< 4, 4, int, lowp > lowp_imat4
 Low-qualifier signed integer 4x4 matrix. More...
 
typedef mat< 4, 2, int, lowp > lowp_imat4x2
 Low-qualifier signed integer 4x2 matrix. More...
 
typedef mat< 4, 3, int, lowp > lowp_imat4x3
 Low-qualifier signed integer 4x3 matrix. More...
 
typedef mat< 4, 4, int, lowp > lowp_imat4x4
 Low-qualifier signed integer 4x4 matrix. More...
 
typedef mat< 2, 2, uint, lowp > lowp_umat2
 Low-qualifier unsigned integer 2x2 matrix. More...
 
typedef mat< 2, 2, uint, lowp > lowp_umat2x2
 Low-qualifier unsigned integer 2x2 matrix. More...
 
typedef mat< 2, 3, uint, lowp > lowp_umat2x3
 Low-qualifier unsigned integer 2x3 matrix. More...
 
typedef mat< 2, 4, uint, lowp > lowp_umat2x4
 Low-qualifier unsigned integer 2x4 matrix. More...
 
typedef mat< 3, 3, uint, lowp > lowp_umat3
 Low-qualifier unsigned integer 3x3 matrix. More...
 
typedef mat< 3, 2, uint, lowp > lowp_umat3x2
 Low-qualifier unsigned integer 3x2 matrix. More...
 
typedef mat< 3, 3, uint, lowp > lowp_umat3x3
 Low-qualifier unsigned integer 3x3 matrix. More...
 
typedef mat< 3, 4, uint, lowp > lowp_umat3x4
 Low-qualifier unsigned integer 3x4 matrix. More...
 
typedef mat< 4, 4, uint, lowp > lowp_umat4
 Low-qualifier unsigned integer 4x4 matrix. More...
 
typedef mat< 4, 2, uint, lowp > lowp_umat4x2
 Low-qualifier unsigned integer 4x2 matrix. More...
 
typedef mat< 4, 3, uint, lowp > lowp_umat4x3
 Low-qualifier unsigned integer 4x3 matrix. More...
 
typedef mat< 4, 4, uint, lowp > lowp_umat4x4
 Low-qualifier unsigned integer 4x4 matrix. More...
 
typedef mat< 2, 2, int, mediump > mediump_imat2
 Medium-qualifier signed integer 2x2 matrix. More...
 
typedef mat< 2, 2, int, mediump > mediump_imat2x2
 Medium-qualifier signed integer 2x2 matrix. More...
 
typedef mat< 2, 3, int, mediump > mediump_imat2x3
 Medium-qualifier signed integer 2x3 matrix. More...
 
typedef mat< 2, 4, int, mediump > mediump_imat2x4
 Medium-qualifier signed integer 2x4 matrix. More...
 
typedef mat< 3, 3, int, mediump > mediump_imat3
 Medium-qualifier signed integer 3x3 matrix. More...
 
typedef mat< 3, 2, int, mediump > mediump_imat3x2
 Medium-qualifier signed integer 3x2 matrix. More...
 
typedef mat< 3, 3, int, mediump > mediump_imat3x3
 Medium-qualifier signed integer 3x3 matrix. More...
 
typedef mat< 3, 4, int, mediump > mediump_imat3x4
 Medium-qualifier signed integer 3x4 matrix. More...
 
typedef mat< 4, 4, int, mediump > mediump_imat4
 Medium-qualifier signed integer 4x4 matrix. More...
 
typedef mat< 4, 2, int, mediump > mediump_imat4x2
 Medium-qualifier signed integer 4x2 matrix. More...
 
typedef mat< 4, 3, int, mediump > mediump_imat4x3
 Medium-qualifier signed integer 4x3 matrix. More...
 
typedef mat< 4, 4, int, mediump > mediump_imat4x4
 Medium-qualifier signed integer 4x4 matrix. More...
 
typedef mat< 2, 2, uint, mediump > mediump_umat2
 Medium-qualifier unsigned integer 2x2 matrix. More...
 
typedef mat< 2, 2, uint, mediump > mediump_umat2x2
 Medium-qualifier unsigned integer 2x2 matrix. More...
 
typedef mat< 2, 3, uint, mediump > mediump_umat2x3
 Medium-qualifier unsigned integer 2x3 matrix. More...
 
typedef mat< 2, 4, uint, mediump > mediump_umat2x4
 Medium-qualifier unsigned integer 2x4 matrix. More...
 
typedef mat< 3, 3, uint, mediump > mediump_umat3
 Medium-qualifier unsigned integer 3x3 matrix. More...
 
typedef mat< 3, 2, uint, mediump > mediump_umat3x2
 Medium-qualifier unsigned integer 3x2 matrix. More...
 
typedef mat< 3, 3, uint, mediump > mediump_umat3x3
 Medium-qualifier unsigned integer 3x3 matrix. More...
 
typedef mat< 3, 4, uint, mediump > mediump_umat3x4
 Medium-qualifier unsigned integer 3x4 matrix. More...
 
typedef mat< 4, 4, uint, mediump > mediump_umat4
 Medium-qualifier unsigned integer 4x4 matrix. More...
 
typedef mat< 4, 2, uint, mediump > mediump_umat4x2
 Medium-qualifier unsigned integer 4x2 matrix. More...
 
typedef mat< 4, 3, uint, mediump > mediump_umat4x3
 Medium-qualifier unsigned integer 4x3 matrix. More...
 
typedef mat< 4, 4, uint, mediump > mediump_umat4x4
 Medium-qualifier unsigned integer 4x4 matrix. More...
 
typedef mediump_umat2 umat2
 Unsigned integer 2x2 matrix. More...
 
typedef mediump_umat2x2 umat2x2
 Unsigned integer 2x2 matrix. More...
 
typedef mediump_umat2x3 umat2x3
 Unsigned integer 2x3 matrix. More...
 
typedef mediump_umat2x4 umat2x4
 Unsigned integer 2x4 matrix. More...
 
typedef mediump_umat3 umat3
 Unsigned integer 3x3 matrix. More...
 
typedef mediump_umat3x2 umat3x2
 Unsigned integer 3x2 matrix. More...
 
typedef mediump_umat3x3 umat3x3
 Unsigned integer 3x3 matrix. More...
 
typedef mediump_umat3x4 umat3x4
 Unsigned integer 3x4 matrix. More...
 
typedef mediump_umat4 umat4
 Unsigned integer 4x4 matrix. More...
 
typedef mediump_umat4x2 umat4x2
 Unsigned integer 4x2 matrix. More...
 
typedef mediump_umat4x3 umat4x3
 Unsigned integer 4x3 matrix. More...
 
typedef mediump_umat4x4 umat4x4
 Unsigned integer 4x4 matrix. More...
 
typedef mat< 3, 2, float, highp > highp_mat3x2
 
typedef mat< 3, 2, float, lowp > lowp_mat3x2
 
typedef mat< 3, 2, float, mediump > mediump_mat3x2
 

Detailed Description

-

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.

-

Defines a number of matrices with integer types.

-

Typedef Documentation

- -
-
- - - - -
typedef mat<2, 2, int, highp> highp_imat2
-
+

Core features

-

High-qualifier signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 37 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, int, highp> highp_imat2x2
-
- -

High-qualifier signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 49 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, int, highp> highp_imat2x3
-
- -

High-qualifier signed integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 53 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, int, highp> highp_imat2x4
-
- -

High-qualifier signed integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 57 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, int, highp> highp_imat3
-
- -

High-qualifier signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 41 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, int, highp> highp_imat3x2
-
- -

High-qualifier signed integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 61 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, int, highp> highp_imat3x3
-
- -

High-qualifier signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 65 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, int, highp> highp_imat3x4
-
- -

High-qualifier signed integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 69 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, int, highp> highp_imat4
-
- -

High-qualifier signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 45 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, int, highp> highp_imat4x2
-
- -

High-qualifier signed integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 73 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, int, highp> highp_imat4x3
-
- -

High-qualifier signed integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 77 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, int, highp> highp_imat4x4
-
- -

High-qualifier signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 81 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, uint, highp> highp_umat2
-
- -

High-qualifier unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 186 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, uint, highp> highp_umat2x2
-
- -

High-qualifier unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 198 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, uint, highp> highp_umat2x3
-
- -

High-qualifier unsigned integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 202 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, uint, highp> highp_umat2x4
-
- -

High-qualifier unsigned integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 206 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, uint, highp> highp_umat3
-
- -

High-qualifier unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 190 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, uint, highp> highp_umat3x2
-
- -

High-qualifier unsigned integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 210 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, uint, highp> highp_umat3x3
-
- -

High-qualifier unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 214 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, uint, highp> highp_umat3x4
-
- -

High-qualifier unsigned integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 218 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, uint, highp> highp_umat4
-
- -

High-qualifier unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 194 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, uint, highp> highp_umat4x2
-
- -

High-qualifier unsigned integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 222 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, uint, highp> highp_umat4x3
-
- -

High-qualifier unsigned integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 226 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, uint, highp> highp_umat4x4
-
- -

High-qualifier unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 230 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat2 imat2
-
- -

Signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 362 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat2x2 imat2x2
-
- -

Signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 374 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat2x3 imat2x3
-
- -

Signed integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 378 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat2x4 imat2x4
-
- -

Signed integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 382 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat3 imat3
-
- -

Signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 366 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat3x2 imat3x2
-
- -

Signed integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 386 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat3x3 imat3x3
-
- -

Signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 390 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat3x4 imat3x4
-
- -

Signed integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 394 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat4 imat4
-
- -

Signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 370 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat4x2 imat4x2
-
- -

Signed integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 398 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat4x3 imat4x3
-
- -

Signed integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 402 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_imat4x4 imat4x4
-
- -

Signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 406 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, int, lowp> lowp_imat2
-
- -

Low-qualifier signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 136 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, int, lowp> lowp_imat2x2
-
- -

Low-qualifier signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 149 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, int, lowp> lowp_imat2x3
-
- -

Low-qualifier signed integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 153 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, int, lowp> lowp_imat2x4
-
- -

Low-qualifier signed integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 157 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, int, lowp> lowp_imat3
-
- -

Low-qualifier signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 140 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, int, lowp> lowp_imat3x2
-
- -

Low-qualifier signed integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 161 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, int, lowp> lowp_imat3x3
-
- -

Low-qualifier signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 165 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, int, lowp> lowp_imat3x4
-
- -

Low-qualifier signed integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 169 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, int, lowp> lowp_imat4
-
- -

Low-qualifier signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 144 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, int, lowp> lowp_imat4x2
-
- -

Low-qualifier signed integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 173 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, int, lowp> lowp_imat4x3
-
- -

Low-qualifier signed integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 177 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, int, lowp> lowp_imat4x4
-
- -

Low-qualifier signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 181 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, uint, lowp> lowp_umat2
-
- -

Low-qualifier unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 285 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, uint, lowp> lowp_umat2x2
-
- -

Low-qualifier unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 298 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, uint, lowp> lowp_umat2x3
-
- -

Low-qualifier unsigned integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 302 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, uint, lowp> lowp_umat2x4
-
- -

Low-qualifier unsigned integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 306 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, uint, lowp> lowp_umat3
-
- -

Low-qualifier unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 289 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, uint, lowp> lowp_umat3x2
-
- -

Low-qualifier unsigned integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 310 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, uint, lowp> lowp_umat3x3
-
- -

Low-qualifier unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 314 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, uint, lowp> lowp_umat3x4
-
- -

Low-qualifier unsigned integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 318 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, uint, lowp> lowp_umat4
-
- -

Low-qualifier unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 293 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, uint, lowp> lowp_umat4x2
-
- -

Low-qualifier unsigned integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 322 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, uint, lowp> lowp_umat4x3
-
- -

Low-qualifier unsigned integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 326 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, uint, lowp> lowp_umat4x4
-
- -

Low-qualifier unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 330 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, int, mediump> mediump_imat2
-
- -

Medium-qualifier signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 86 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, int, mediump> mediump_imat2x2
-
- -

Medium-qualifier signed integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 99 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, int, mediump> mediump_imat2x3
-
- -

Medium-qualifier signed integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 103 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, int, mediump> mediump_imat2x4
-
- -

Medium-qualifier signed integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 107 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, int, mediump> mediump_imat3
-
- -

Medium-qualifier signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 90 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, int, mediump> mediump_imat3x2
-
- -

Medium-qualifier signed integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 111 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, int, mediump> mediump_imat3x3
-
- -

Medium-qualifier signed integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 115 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, int, mediump> mediump_imat3x4
-
- -

Medium-qualifier signed integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 119 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, int, mediump> mediump_imat4
-
- -

Medium-qualifier signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 94 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, int, mediump> mediump_imat4x2
-
- -

Medium-qualifier signed integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 123 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, int, mediump> mediump_imat4x3
-
- -

Medium-qualifier signed integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 127 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, int, mediump> mediump_imat4x4
-
- -

Medium-qualifier signed integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 131 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, uint, mediump> mediump_umat2
-
- -

Medium-qualifier unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 235 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 2, uint, mediump> mediump_umat2x2
-
- -

Medium-qualifier unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 248 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 3, uint, mediump> mediump_umat2x3
-
- -

Medium-qualifier unsigned integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 252 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<2, 4, uint, mediump> mediump_umat2x4
-
- -

Medium-qualifier unsigned integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 256 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, uint, mediump> mediump_umat3
-
- -

Medium-qualifier unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 239 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 2, uint, mediump> mediump_umat3x2
-
- -

Medium-qualifier unsigned integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 260 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 3, uint, mediump> mediump_umat3x3
-
- -

Medium-qualifier unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 264 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<3, 4, uint, mediump> mediump_umat3x4
-
- -

Medium-qualifier unsigned integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 268 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, uint, mediump> mediump_umat4
-
- -

Medium-qualifier unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 243 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 2, uint, mediump> mediump_umat4x2
-
- -

Medium-qualifier unsigned integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 272 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 3, uint, mediump> mediump_umat4x3
-
- -

Medium-qualifier unsigned integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 276 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mat<4, 4, uint, mediump> mediump_umat4x4
-
- -

Medium-qualifier unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 280 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat2 umat2
-
- -

Unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 439 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat2x2 umat2x2
-
- -

Unsigned integer 2x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 451 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat2x3 umat2x3
-
- -

Unsigned integer 2x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 455 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat2x4 umat2x4
-
- -

Unsigned integer 2x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 459 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat3 umat3
-
- -

Unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 443 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat3x2 umat3x2
-
- -

Unsigned integer 3x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 463 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat3x3 umat3x3
-
- -

Unsigned integer 3x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 467 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat3x4 umat3x4
-
- -

Unsigned integer 3x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 471 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat4 umat4
-
- -

Unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 447 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat4x2 umat4x2
-
- -

Unsigned integer 4x2 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 475 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat4x3 umat4x3
-
- -

Unsigned integer 4x3 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 479 of file matrix_integer.hpp.

- -
-
- -
-
- - - - -
typedef mediump_umat4x4 umat4x4
-
- -

Unsigned integer 4x4 matrix.

-
See also
GLM_GTC_matrix_integer
- -

Definition at line 483 of file matrix_integer.hpp.

- -
-
-
+

Definition in file matrix_float3x2_precision.hpp.

+
diff --git a/doc/api/a00161_source.html b/doc/api/a00161_source.html new file mode 100644 index 00000000..821aa50c --- /dev/null +++ b/doc/api/a00161_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_float3x2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float3x2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<3, 2, float, lowp> lowp_mat3x2;
17 
22  typedef mat<3, 2, float, mediump> mediump_mat3x2;
23 
28  typedef mat<3, 2, float, highp> highp_mat3x2;
29 
31 }//namespace glm
mat< 3, 2, float, lowp > lowp_mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
Definition: common.hpp:20
+
mat< 3, 2, float, mediump > mediump_mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 3, 2, float, highp > highp_mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
+ + + + diff --git a/doc/api/a00164.html b/doc/api/a00164.html index 0113964e..f813ce59 100644 --- a/doc/api/a00164.html +++ b/doc/api/a00164.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_noise + + +0.9.9 API documenation: matrix_float3x3.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTC_noise
+
matrix_float3x3.hpp File Reference
-

Include <glm/gtc/noise.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - + + + + +

-Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p)
 Classic perlin noise. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
 Periodic perlin noise. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T simplex (vec< L, T, Q > const &p)
 Simplex noise. More...
 

+Typedefs

typedef mat< 3, 3, float, defaultp > mat3
 
typedef mat< 3, 3, float, defaultp > mat3x3
 

Detailed Description

-

Include <glm/gtc/noise.hpp> to use the features of this extension.

-

Defines 2D, 3D and 4D procedural noise functions Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise": https://github.com/ashima/webgl-noise Following Stefan Gustavson's paper "Simplex noise demystified": http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::perlin (vec< L, T, Q > const & p)
-
+

Core features

-

Classic perlin noise.

-
See also
GLM_GTC_noise
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::perlin (vec< L, T, Q > const & p,
vec< L, T, Q > const & rep 
)
-
- -

Periodic perlin noise.

-
See also
GLM_GTC_noise
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::simplex (vec< L, T, Q > const & p)
-
- -

Simplex noise.

-
See also
GLM_GTC_noise
- -
-
-
+

Definition in file matrix_float3x3.hpp.

+
diff --git a/doc/api/a00164_source.html b/doc/api/a00164_source.html new file mode 100644 index 00000000..b3651e16 --- /dev/null +++ b/doc/api/a00164_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: matrix_float3x3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float3x3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<3, 3, float, defaultp> mat3x3;
16 
20  typedef mat<3, 3, float, defaultp> mat3;
21 
23 }//namespace glm
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00166.html b/doc/api/a00166.html deleted file mode 100644 index d99352bf..00000000 --- a/doc/api/a00166.html +++ /dev/null @@ -1,1113 +0,0 @@ - - - - - - -0.9.9 API documenation: GLM_GTC_quaternion - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Functions
-
-
GLM_GTC_quaternion
-
-
- -

Include <glm/gtc/quaternion.hpp> to use the features of this extension. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T angle (tquat< T, Q > const &x)
 Returns the quaternion rotation angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > angleAxis (T const &angle, vec< 3, T, Q > const &axis)
 Build a quaternion from an angle and a normalized axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > axis (tquat< T, Q > const &x)
 Returns the q rotation axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > conjugate (tquat< T, Q > const &q)
 Returns the q conjugate. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T dot (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ... More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > equal (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x == y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles (tquat< T, Q > const &x)
 Returns euler angles, pitch as x, yaw as y, roll as z. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > inverse (tquat< T, Q > const &q)
 Returns the q inverse. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isinf (tquat< T, Q > const &x)
 Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isnan (tquat< T, Q > const &x)
 Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length (tquat< T, Q > const &q)
 Returns the length of the quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > lerp (tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
 Linear interpolation of two quaternions. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThan (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast (tquat< T, Q > const &x)
 Converts a quaternion to a 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast (tquat< T, Q > const &x)
 Converts a quaternion to a 4 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > mix (tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
 Spherical linear interpolation of two quaternions. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > normalize (tquat< T, Q > const &q)
 Returns the normalized quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > notEqual (tquat< T, Q > const &x, tquat< T, Q > const &y)
 Returns the component-wise comparison of result x != y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T pitch (tquat< T, Q > const &x)
 Returns pitch value of euler angles expressed in radians. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quat_cast (mat< 3, 3, T, Q > const &x)
 Converts a pure rotation 3 * 3 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quat_cast (mat< 4, 4, T, Q > const &x)
 Converts a pure rotation 4 * 4 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T roll (tquat< T, Q > const &x)
 Returns roll value of euler angles expressed in radians. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > rotate (tquat< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 Rotates a quaternion from a vector of 3 components axis and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > slerp (tquat< T, Q > const &x, tquat< T, Q > const &y, T a)
 Spherical linear interpolation of two quaternions. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T yaw (tquat< T, Q > const &x)
 Returns yaw value of euler angles expressed in radians. More...
 
-

Detailed Description

-

Include <glm/gtc/quaternion.hpp> to use the features of this extension.

-

Defines a templated quaternion type and several quaternion operations.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::angle (tquat< T, Q > const & x)
-
- -

Returns the quaternion rotation angle.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::angleAxis (T const & angle,
vec< 3, T, Q > const & axis 
)
-
- -

Build a quaternion from an angle and a normalized axis.

-
Parameters
- - - -
angleAngle expressed in radians.
axisAxis of the quaternion, must be normalized.
-
-
-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::axis (tquat< T, Q > const & x)
-
- -

Returns the q rotation axis.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::conjugate (tquat< T, Q > const & q)
-
- -

Returns the q conjugate.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::dot (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ...

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::equal (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns the component-wise comparison of result x == y.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::eulerAngles (tquat< T, Q > const & x)
-
- -

Returns euler angles, pitch as x, yaw as y, roll as z.

-

The result is expressed in radians.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::greaterThan (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns the component-wise comparison of result x > y.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::greaterThanEqual (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns the component-wise comparison of result x >= y.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::inverse (tquat< T, Q > const & q)
-
- -

Returns the q inverse.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::isinf (tquat< T, Q > const & x)
-
- -

Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations.

-

Returns false otherwise, including for implementations with no infinity representations.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::isnan (tquat< T, Q > const & x)
-
- -

Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations.

-

Returns false otherwise, including for implementations with no NaN representations.

-

/!\ When using compiler fast math, this function may fail.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::length (tquat< T, Q > const & q)
-
- -

Returns the length of the quaternion.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::lerp (tquat< T, Q > const & x,
tquat< T, Q > const & y,
a 
)
-
- -

Linear interpolation of two quaternions.

-

The interpolation is oriented.

-
Parameters
- - - - -
xA quaternion
yA quaternion
aInterpolation factor. The interpolation is defined in the range [0, 1].
-
-
-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::lessThan (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns the component-wise comparison result of x < y.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::lessThanEqual (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns the component-wise comparison of result x <= y.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::mat3_cast (tquat< T, Q > const & x)
-
- -

Converts a quaternion to a 3 * 3 matrix.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -

Referenced by glm::toMat3().

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::mat4_cast (tquat< T, Q > const & x)
-
- -

Converts a quaternion to a 4 * 4 matrix.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -

Referenced by glm::toMat4().

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::mix (tquat< T, Q > const & x,
tquat< T, Q > const & y,
a 
)
-
- -

Spherical linear interpolation of two quaternions.

-

The interpolation is oriented and the rotation is performed at constant speed. For short path spherical linear interpolation, use the slerp function.

-
Parameters
- - - - -
xA quaternion
yA quaternion
aInterpolation factor. The interpolation is defined beyond the range [0, 1].
-
-
-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
- slerp(tquat<T, Q> const& x, tquat<T, Q> const& y, T const& a)
-
-GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::normalize (tquat< T, Q > const & q)
-
- -

Returns the normalized quaternion.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, bool, Q> glm::notEqual (tquat< T, Q > const & x,
tquat< T, Q > const & y 
)
-
- -

Returns the component-wise comparison of result x != y.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::pitch (tquat< T, Q > const & x)
-
- -

Returns pitch value of euler angles expressed in radians.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::quat_cast (mat< 3, 3, T, Q > const & x)
-
- -

Converts a pure rotation 3 * 3 matrix to a quaternion.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -

Referenced by glm::toQuat().

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::quat_cast (mat< 4, 4, T, Q > const & x)
-
- -

Converts a pure rotation 4 * 4 matrix to a quaternion.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::roll (tquat< T, Q > const & x)
-
- -

Returns roll value of euler angles expressed in radians.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::rotate (tquat< T, Q > const & q,
T const & angle,
vec< 3, T, Q > const & axis 
)
-
- -

Rotates a quaternion from a vector of 3 components axis and an angle.

-
Parameters
- - - - -
qSource orientation
angleAngle expressed in radians.
axisAxis of the rotation
-
-
-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::slerp (tquat< T, Q > const & x,
tquat< T, Q > const & y,
a 
)
-
- -

Spherical linear interpolation of two quaternions.

-

The interpolation always take the short path and the rotation is performed at constant speed.

-
Parameters
- - - - -
xA quaternion
yA quaternion
aInterpolation factor. The interpolation is defined beyond the range [0, 1].
-
-
-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::yaw (tquat< T, Q > const & x)
-
- -

Returns yaw value of euler angles expressed in radians.

-
Template Parameters
- - -
TFloating-point scalar types.
-
-
-
See also
GLM_GTC_quaternion
- -
-
-
- - - - diff --git a/doc/api/a00167.html b/doc/api/a00167.html index 8674dfbc..e5d813b6 100644 --- a/doc/api/a00167.html +++ b/doc/api/a00167.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_random + + +0.9.9 API documenation: matrix_float3x3_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTC_random
+
matrix_float3x3_precision.hpp File Reference
-

Include <glm/gtc/random.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +

-Functions

template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > ballRand (T Radius)
 Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius. More...
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > circularRand (T Radius)
 Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius. More...
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > diskRand (T Radius)
 Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius. More...
 
template<typename genType >
GLM_FUNC_DECL genType gaussRand (genType Mean, genType Deviation)
 Generate random numbers in the interval [Min, Max], according a gaussian distribution. More...
 
template<typename genType >
GLM_FUNC_DECL genType linearRand (genType Min, genType Max)
 Generate random numbers in the interval [Min, Max], according a linear distribution. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > linearRand (vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Generate random numbers in the interval [Min, Max], according a linear distribution. More...
 
template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > sphericalRand (T Radius)
 Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius. More...
 

+Typedefs

typedef mat< 3, 3, float, highp > highp_mat3
 
typedef mat< 3, 3, float, highp > highp_mat3x3
 
typedef mat< 3, 3, float, lowp > lowp_mat3
 
typedef mat< 3, 3, float, lowp > lowp_mat3x3
 
typedef mat< 3, 3, float, mediump > mediump_mat3
 
typedef mat< 3, 3, float, mediump > mediump_mat3x3
 

Detailed Description

-

Include <glm/gtc/random.hpp> to use the features of this extension.

-

Generate random number from various distribution methods.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<3, T, defaultp> glm::ballRand (Radius)
-
+

Core features

-

Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius.

-
See also
GLM_GTC_random
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<2, T, defaultp> glm::circularRand (Radius)
-
- -

Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius.

-
See also
GLM_GTC_random
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<2, T, defaultp> glm::diskRand (Radius)
-
- -

Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius.

-
See also
GLM_GTC_random
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::gaussRand (genType Mean,
genType Deviation 
)
-
- -

Generate random numbers in the interval [Min, Max], according a gaussian distribution.

-
See also
GLM_GTC_random
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::linearRand (genType Min,
genType Max 
)
-
- -

Generate random numbers in the interval [Min, Max], according a linear distribution.

-
Parameters
- - - -
MinMinimum value included in the sampling
MaxMaximum value included in the sampling
-
-
-
Template Parameters
- - -
genTypeValue type. Currently supported: float or double scalars.
-
-
-
See also
GLM_GTC_random
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::linearRand (vec< L, T, Q > const & Min,
vec< L, T, Q > const & Max 
)
-
- -

Generate random numbers in the interval [Min, Max], according a linear distribution.

-
Parameters
- - - -
MinMinimum value included in the sampling
MaxMaximum value included in the sampling
-
-
-
Template Parameters
- - -
TValue type. Currently supported: float or double.
-
-
-
See also
GLM_GTC_random
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<3, T, defaultp> glm::sphericalRand (Radius)
-
- -

Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius.

-
See also
GLM_GTC_random
- -
-
-
+

Definition in file matrix_float3x3_precision.hpp.

+
diff --git a/doc/api/a00167_source.html b/doc/api/a00167_source.html new file mode 100644 index 00000000..014ee590 --- /dev/null +++ b/doc/api/a00167_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: matrix_float3x3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float3x3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<3, 3, float, lowp> lowp_mat3;
17 
22  typedef mat<3, 3, float, mediump> mediump_mat3;
23 
28  typedef mat<3, 3, float, highp> highp_mat3;
29 
34  typedef mat<3, 3, float, lowp> lowp_mat3x3;
35 
40  typedef mat<3, 3, float, mediump> mediump_mat3x3;
41 
46  typedef mat<3, 3, float, highp> highp_mat3x3;
47 
49 }//namespace glm
mat< 3, 3, float, highp > highp_mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 3, 3, float, highp > highp_mat3
3 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 3, 3, float, lowp > lowp_mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 3, 3, float, mediump > mediump_mat3
3 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, float, mediump > mediump_mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, float, lowp > lowp_mat3
3 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00170.html b/doc/api/a00170.html index e06e18c5..950d3ee0 100644 --- a/doc/api/a00170.html +++ b/doc/api/a00170.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_type_aligned + + +0.9.9 API documenation: matrix_float3x4.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Typedefs
-
GLM_GTC_type_aligned
+
matrix_float3x4.hpp File Reference
-

Include <glm/gtc/type_aligned.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +

Typedefs

-typedef aligned_highp_bvec1 aligned_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef aligned_highp_bvec2 aligned_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef aligned_highp_bvec3 aligned_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef aligned_highp_bvec4 aligned_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef aligned_highp_dvec1 aligned_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers.
 
-typedef aligned_highp_dvec2 aligned_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers.
 
-typedef aligned_highp_dvec3 aligned_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers.
 
-typedef aligned_highp_dvec4 aligned_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers.
 
-typedef vec< 1, bool, aligned_highp > aligned_highp_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef vec< 2, bool, aligned_highp > aligned_highp_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef vec< 3, bool, aligned_highp > aligned_highp_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef vec< 4, bool, aligned_highp > aligned_highp_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef vec< 1, double, aligned_highp > aligned_highp_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, aligned_highp > aligned_highp_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, aligned_highp > aligned_highp_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, aligned_highp > aligned_highp_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, aligned_highp > aligned_highp_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef vec< 2, int, aligned_highp > aligned_highp_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 3, int, aligned_highp > aligned_highp_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 4, int, aligned_highp > aligned_highp_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, uint, aligned_highp > aligned_highp_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, aligned_highp > aligned_highp_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, aligned_highp > aligned_highp_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, aligned_highp > aligned_highp_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 1, float, aligned_highp > aligned_highp_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, aligned_highp > aligned_highp_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, aligned_highp > aligned_highp_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, aligned_highp > aligned_highp_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef aligned_highp_ivec1 aligned_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef aligned_highp_ivec2 aligned_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef aligned_highp_ivec3 aligned_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef aligned_highp_ivec4 aligned_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef vec< 1, double, aligned_lowp > aligned_lowp_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, aligned_lowp > aligned_lowp_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, aligned_lowp > aligned_lowp_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, aligned_lowp > aligned_lowp_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, aligned_lowp > aligned_lowp_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef vec< 2, int, aligned_lowp > aligned_lowp_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 3, int, aligned_lowp > aligned_lowp_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 4, int, aligned_lowp > aligned_lowp_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 1, float, aligned_lowp > aligned_lowp_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, aligned_lowp > aligned_lowp_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, aligned_lowp > aligned_lowp_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, aligned_lowp > aligned_lowp_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
 1 component vector aligned in memory of bool values.
 
-typedef vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
 2 components vector aligned in memory of bool values.
 
-typedef vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
 3 components vector aligned in memory of bool values.
 
-typedef vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
 4 components vector aligned in memory of bool values.
 
-typedef vec< 1, double, aligned_mediump > aligned_mediump_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, aligned_mediump > aligned_mediump_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, aligned_mediump > aligned_mediump_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, aligned_mediump > aligned_mediump_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, aligned_mediump > aligned_mediump_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
-typedef vec< 2, int, aligned_mediump > aligned_mediump_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 3, int, aligned_mediump > aligned_mediump_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 4, int, aligned_mediump > aligned_mediump_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
-typedef vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef vec< 1, float, aligned_mediump > aligned_mediump_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, aligned_mediump > aligned_mediump_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, aligned_mediump > aligned_mediump_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, aligned_mediump > aligned_mediump_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef aligned_highp_uvec1 aligned_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_uvec2 aligned_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_uvec3 aligned_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_uvec4 aligned_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
-typedef aligned_highp_vec1 aligned_vec1
 1 component vector aligned in memory of single-precision floating-point numbers.
 
-typedef aligned_highp_vec2 aligned_vec2
 2 components vector aligned in memory of single-precision floating-point numbers.
 
-typedef aligned_highp_vec3 aligned_vec3
 3 components vector aligned in memory of single-precision floating-point numbers.
 
-typedef aligned_highp_vec4 aligned_vec4
 4 components vector aligned in memory of single-precision floating-point numbers.
 
-typedef packed_highp_bvec1 packed_bvec1
 1 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_bvec2 packed_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_bvec3 packed_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_bvec4 packed_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef packed_highp_dvec1 packed_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef packed_highp_dvec2 packed_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef packed_highp_dvec3 packed_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef packed_highp_dvec4 packed_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers.
 
-typedef vec< 1, bool, packed_highp > packed_highp_bvec1
 1 component vector tightly packed in memory of bool values.
 
-typedef vec< 2, bool, packed_highp > packed_highp_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef vec< 3, bool, packed_highp > packed_highp_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef vec< 4, bool, packed_highp > packed_highp_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef vec< 1, double, packed_highp > packed_highp_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, packed_highp > packed_highp_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, packed_highp > packed_highp_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, packed_highp > packed_highp_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, packed_highp > packed_highp_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 2, int, packed_highp > packed_highp_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 3, int, packed_highp > packed_highp_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 4, int, packed_highp > packed_highp_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, uint, packed_highp > packed_highp_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, packed_highp > packed_highp_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, packed_highp > packed_highp_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, packed_highp > packed_highp_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 1, float, packed_highp > packed_highp_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, packed_highp > packed_highp_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, packed_highp > packed_highp_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, packed_highp > packed_highp_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
-typedef packed_highp_ivec1 packed_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef packed_highp_ivec2 packed_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef packed_highp_ivec3 packed_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef packed_highp_ivec4 packed_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, bool, packed_lowp > packed_lowp_bvec1
 1 component vector tightly packed in memory of bool values.
 
-typedef vec< 2, bool, packed_lowp > packed_lowp_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef vec< 3, bool, packed_lowp > packed_lowp_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef vec< 4, bool, packed_lowp > packed_lowp_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef vec< 1, double, packed_lowp > packed_lowp_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, packed_lowp > packed_lowp_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, packed_lowp > packed_lowp_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, packed_lowp > packed_lowp_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, packed_lowp > packed_lowp_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 2, int, packed_lowp > packed_lowp_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 3, int, packed_lowp > packed_lowp_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 4, int, packed_lowp > packed_lowp_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, uint, packed_lowp > packed_lowp_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, packed_lowp > packed_lowp_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, packed_lowp > packed_lowp_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, packed_lowp > packed_lowp_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 1, float, packed_lowp > packed_lowp_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, packed_lowp > packed_lowp_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, packed_lowp > packed_lowp_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, packed_lowp > packed_lowp_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
-typedef vec< 1, bool, packed_mediump > packed_mediump_bvec1
 1 component vector tightly packed in memory of bool values.
 
-typedef vec< 2, bool, packed_mediump > packed_mediump_bvec2
 2 components vector tightly packed in memory of bool values.
 
-typedef vec< 3, bool, packed_mediump > packed_mediump_bvec3
 3 components vector tightly packed in memory of bool values.
 
-typedef vec< 4, bool, packed_mediump > packed_mediump_bvec4
 4 components vector tightly packed in memory of bool values.
 
-typedef vec< 1, double, packed_mediump > packed_mediump_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, double, packed_mediump > packed_mediump_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, double, packed_mediump > packed_mediump_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, double, packed_mediump > packed_mediump_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 1, int, packed_mediump > packed_mediump_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 2, int, packed_mediump > packed_mediump_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 3, int, packed_mediump > packed_mediump_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 4, int, packed_mediump > packed_mediump_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
-typedef vec< 1, uint, packed_mediump > packed_mediump_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 2, uint, packed_mediump > packed_mediump_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 3, uint, packed_mediump > packed_mediump_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 4, uint, packed_mediump > packed_mediump_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef vec< 1, float, packed_mediump > packed_mediump_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 2, float, packed_mediump > packed_mediump_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 3, float, packed_mediump > packed_mediump_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef vec< 4, float, packed_mediump > packed_mediump_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
-typedef packed_highp_uvec1 packed_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_uvec2 packed_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_uvec3 packed_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_uvec4 packed_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
-typedef packed_highp_vec1 packed_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers.
 
-typedef packed_highp_vec2 packed_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers.
 
-typedef packed_highp_vec3 packed_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers.
 
-typedef packed_highp_vec4 packed_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers.
 
typedef mat< 3, 4, float, defaultp > mat3x4
 

Detailed Description

-

Include <glm/gtc/type_aligned.hpp> to use the features of this extension.

-

Aligned types allowing SIMD optimizations of vectors and matrices types

-
+

Core features

+ +

Definition in file matrix_float3x4.hpp.

+
diff --git a/doc/api/a00170_source.html b/doc/api/a00170_source.html new file mode 100644 index 00000000..a91d0f3e --- /dev/null +++ b/doc/api/a00170_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: matrix_float3x4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float3x4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<3, 4, float, defaultp> mat3x4;
16 
18 }//namespace glm
mat< 3, 4, float, defaultp > mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00171.html b/doc/api/a00171.html deleted file mode 100644 index 81f8243d..00000000 --- a/doc/api/a00171.html +++ /dev/null @@ -1,3904 +0,0 @@ - - - - - - -0.9.9 API documenation: GLM_GTC_type_precision - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Typedefs
-
-
GLM_GTC_type_precision
-
-
- -

Include <glm/gtc/type_precision.hpp> to use the features of this extension. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

typedef highp_float32_t f32
 Default 32 bit single-qualifier floating-point scalar. More...
 
typedef f32mat2x2 f32mat2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x2 f32mat2x2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x3 f32mat2x3
 Default single-qualifier floating-point 2x3 matrix. More...
 
typedef highp_f32mat2x4 f32mat2x4
 Default single-qualifier floating-point 2x4 matrix. More...
 
typedef f32mat3x3 f32mat3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x2 f32mat3x2
 Default single-qualifier floating-point 3x2 matrix. More...
 
typedef highp_f32mat3x3 f32mat3x3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x4 f32mat3x4
 Default single-qualifier floating-point 3x4 matrix. More...
 
typedef f32mat4x4 f32mat4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32mat4x2 f32mat4x2
 Default single-qualifier floating-point 4x2 matrix. More...
 
typedef highp_f32mat4x3 f32mat4x3
 Default single-qualifier floating-point 4x3 matrix. More...
 
typedef highp_f32mat4x4 f32mat4x4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32quat f32quat
 Default single-qualifier floating-point quaternion. More...
 
typedef highp_f32vec1 f32vec1
 Default single-qualifier floating-point vector of 1 components. More...
 
typedef highp_f32vec2 f32vec2
 Default single-qualifier floating-point vector of 2 components. More...
 
typedef highp_f32vec3 f32vec3
 Default single-qualifier floating-point vector of 3 components. More...
 
typedef highp_f32vec4 f32vec4
 Default single-qualifier floating-point vector of 4 components. More...
 
typedef highp_float64_t f64
 Default 64 bit double-qualifier floating-point scalar. More...
 
typedef f64mat2x2 f64mat2
 Default double-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f64mat2x2 f64mat2x2
 Default double-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f64mat2x3 f64mat2x3
 Default double-qualifier floating-point 2x3 matrix. More...
 
typedef highp_f64mat2x4 f64mat2x4
 Default double-qualifier floating-point 2x4 matrix. More...
 
typedef f64mat3x3 f64mat3
 Default double-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f64mat3x2 f64mat3x2
 Default double-qualifier floating-point 3x2 matrix. More...
 
typedef highp_f64mat3x3 f64mat3x3
 Default double-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f64mat3x4 f64mat3x4
 Default double-qualifier floating-point 3x4 matrix. More...
 
typedef f64mat4x4 f64mat4
 Default double-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f64mat4x2 f64mat4x2
 Default double-qualifier floating-point 4x2 matrix. More...
 
typedef highp_f64mat4x3 f64mat4x3
 Default double-qualifier floating-point 4x3 matrix. More...
 
typedef highp_f64mat4x4 f64mat4x4
 Default double-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f64quat f64quat
 Default double-qualifier floating-point quaternion. More...
 
typedef highp_f64vec1 f64vec1
 Default double-qualifier floating-point vector of 1 components. More...
 
typedef highp_f64vec2 f64vec2
 Default double-qualifier floating-point vector of 2 components. More...
 
typedef highp_f64vec3 f64vec3
 Default double-qualifier floating-point vector of 3 components. More...
 
typedef highp_f64vec4 f64vec4
 Default double-qualifier floating-point vector of 4 components. More...
 
typedef float float32
 Default 32 bit single-qualifier floating-point scalar. More...
 
typedef highp_float32_t float32_t
 Default 32 bit single-qualifier floating-point scalar. More...
 
typedef double float64
 Default 64 bit double-qualifier floating-point scalar. More...
 
typedef highp_float64_t float64_t
 Default 64 bit double-qualifier floating-point scalar. More...
 
typedef fmat2x2 fmat2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x2 fmat2x2
 Default single-qualifier floating-point 2x2 matrix. More...
 
typedef highp_f32mat2x3 fmat2x3
 Default single-qualifier floating-point 2x3 matrix. More...
 
typedef highp_f32mat2x4 fmat2x4
 Default single-qualifier floating-point 2x4 matrix. More...
 
typedef fmat3x3 fmat3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x2 fmat3x2
 Default single-qualifier floating-point 3x2 matrix. More...
 
typedef highp_f32mat3x3 fmat3x3
 Default single-qualifier floating-point 3x3 matrix. More...
 
typedef highp_f32mat3x4 fmat3x4
 Default single-qualifier floating-point 3x4 matrix. More...
 
typedef fmat4x4 fmat4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32mat4x2 fmat4x2
 Default single-qualifier floating-point 4x2 matrix. More...
 
typedef highp_f32mat4x3 fmat4x3
 Default single-qualifier floating-point 4x3 matrix. More...
 
typedef highp_f32mat4x4 fmat4x4
 Default single-qualifier floating-point 4x4 matrix. More...
 
typedef highp_f32vec1 fvec1
 Default single-qualifier floating-point vector of 1 components. More...
 
typedef highp_f32vec2 fvec2
 Default single-qualifier floating-point vector of 2 components. More...
 
typedef highp_f32vec3 fvec3
 Default single-qualifier floating-point vector of 3 components. More...
 
typedef highp_f32vec4 fvec4
 Default single-qualifier floating-point vector of 4 components. More...
 
typedef detail::int16 highp_i16
 High qualifier 16 bit signed integer type. More...
 
typedef detail::int32 highp_i32
 High qualifier 32 bit signed integer type. More...
 
typedef detail::int64 highp_i64
 High qualifier 64 bit signed integer type. More...
 
typedef detail::int8 highp_i8
 High qualifier 8 bit signed integer type. More...
 
typedef detail::int16 highp_int16
 High qualifier 16 bit signed integer type. More...
 
typedef detail::int16 highp_int16_t
 High qualifier 16 bit signed integer type. More...
 
typedef detail::int32 highp_int32
 High qualifier 32 bit signed integer type. More...
 
typedef detail::int32 highp_int32_t
 32 bit signed integer type. More...
 
typedef detail::int64 highp_int64
 High qualifier 64 bit signed integer type. More...
 
typedef detail::int64 highp_int64_t
 High qualifier 64 bit signed integer type. More...
 
typedef detail::int8 highp_int8
 High qualifier 8 bit signed integer type. More...
 
typedef detail::int8 highp_int8_t
 High qualifier 8 bit signed integer type. More...
 
typedef detail::uint16 highp_u16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 highp_u32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 highp_u64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 highp_u8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint16 highp_uint16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint16 highp_uint16_t
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 highp_uint32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint32 highp_uint32_t
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 highp_uint64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint64 highp_uint64_t
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 highp_uint8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint8 highp_uint8_t
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::int16 i16
 16 bit signed integer type. More...
 
typedef highp_i16vec1 i16vec1
 Default qualifier 16 bit signed integer scalar type. More...
 
typedef highp_i16vec2 i16vec2
 Default qualifier 16 bit signed integer vector of 2 components type. More...
 
typedef highp_i16vec3 i16vec3
 Default qualifier 16 bit signed integer vector of 3 components type. More...
 
typedef highp_i16vec4 i16vec4
 Default qualifier 16 bit signed integer vector of 4 components type. More...
 
typedef detail::int32 i32
 32 bit signed integer type. More...
 
typedef highp_i32vec1 i32vec1
 Default qualifier 32 bit signed integer scalar type. More...
 
typedef highp_i32vec2 i32vec2
 Default qualifier 32 bit signed integer vector of 2 components type. More...
 
typedef highp_i32vec3 i32vec3
 Default qualifier 32 bit signed integer vector of 3 components type. More...
 
typedef highp_i32vec4 i32vec4
 Default qualifier 32 bit signed integer vector of 4 components type. More...
 
typedef detail::int64 i64
 64 bit signed integer type. More...
 
typedef highp_i64vec1 i64vec1
 Default qualifier 64 bit signed integer scalar type. More...
 
typedef highp_i64vec2 i64vec2
 Default qualifier 64 bit signed integer vector of 2 components type. More...
 
typedef highp_i64vec3 i64vec3
 Default qualifier 64 bit signed integer vector of 3 components type. More...
 
typedef highp_i64vec4 i64vec4
 Default qualifier 64 bit signed integer vector of 4 components type. More...
 
typedef detail::int8 i8
 8 bit signed integer type. More...
 
typedef highp_i8vec1 i8vec1
 Default qualifier 8 bit signed integer scalar type. More...
 
typedef highp_i8vec2 i8vec2
 Default qualifier 8 bit signed integer vector of 2 components type. More...
 
typedef highp_i8vec3 i8vec3
 Default qualifier 8 bit signed integer vector of 3 components type. More...
 
typedef highp_i8vec4 i8vec4
 Default qualifier 8 bit signed integer vector of 4 components type. More...
 
typedef detail::int16 int16
 16 bit signed integer type. More...
 
typedef detail::int16 int16_t
 16 bit signed integer type. More...
 
typedef detail::int32 int32
 32 bit signed integer type. More...
 
typedef detail::int32 int32_t
 32 bit signed integer type. More...
 
typedef detail::int64 int64
 64 bit signed integer type. More...
 
typedef detail::int64 int64_t
 64 bit signed integer type. More...
 
typedef detail::int8 int8
 8 bit signed integer type. More...
 
typedef detail::int8 int8_t
 8 bit signed integer type. More...
 
typedef detail::int16 lowp_i16
 Low qualifier 16 bit signed integer type. More...
 
typedef detail::int32 lowp_i32
 Low qualifier 32 bit signed integer type. More...
 
typedef detail::int64 lowp_i64
 Low qualifier 64 bit signed integer type. More...
 
typedef detail::int8 lowp_i8
 Low qualifier 8 bit signed integer type. More...
 
typedef detail::int16 lowp_int16
 Low qualifier 16 bit signed integer type. More...
 
typedef detail::int16 lowp_int16_t
 Low qualifier 16 bit signed integer type. More...
 
typedef detail::int32 lowp_int32
 Low qualifier 32 bit signed integer type. More...
 
typedef detail::int32 lowp_int32_t
 Low qualifier 32 bit signed integer type. More...
 
typedef detail::int64 lowp_int64
 Low qualifier 64 bit signed integer type. More...
 
typedef detail::int64 lowp_int64_t
 Low qualifier 64 bit signed integer type. More...
 
typedef detail::int8 lowp_int8
 Low qualifier 8 bit signed integer type. More...
 
typedef detail::int8 lowp_int8_t
 Low qualifier 8 bit signed integer type. More...
 
typedef detail::uint16 lowp_u16
 Low qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 lowp_u32
 Low qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 lowp_u64
 Low qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 lowp_u8
 Low qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint16 lowp_uint16
 Low qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint16 lowp_uint16_t
 Low qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 lowp_uint32
 Low qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint32 lowp_uint32_t
 Low qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 lowp_uint64
 Low qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint64 lowp_uint64_t
 Low qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 lowp_uint8
 Low qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint8 lowp_uint8_t
 Low qualifier 8 bit unsigned integer type. More...
 
typedef detail::int16 mediump_i16
 Medium qualifier 16 bit signed integer type. More...
 
typedef detail::int32 mediump_i32
 Medium qualifier 32 bit signed integer type. More...
 
typedef detail::int64 mediump_i64
 Medium qualifier 64 bit signed integer type. More...
 
typedef detail::int8 mediump_i8
 Medium qualifier 8 bit signed integer type. More...
 
typedef detail::int16 mediump_int16
 Medium qualifier 16 bit signed integer type. More...
 
typedef detail::int16 mediump_int16_t
 Medium qualifier 16 bit signed integer type. More...
 
typedef detail::int32 mediump_int32
 Medium qualifier 32 bit signed integer type. More...
 
typedef detail::int32 mediump_int32_t
 Medium qualifier 32 bit signed integer type. More...
 
typedef detail::int64 mediump_int64
 Medium qualifier 64 bit signed integer type. More...
 
typedef detail::int64 mediump_int64_t
 Medium qualifier 64 bit signed integer type. More...
 
typedef detail::int8 mediump_int8
 Medium qualifier 8 bit signed integer type. More...
 
typedef detail::int8 mediump_int8_t
 Medium qualifier 8 bit signed integer type. More...
 
typedef detail::uint16 mediump_u16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 mediump_u32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 mediump_u64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 mediump_u8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint16 mediump_uint16
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint16 mediump_uint16_t
 Medium qualifier 16 bit unsigned integer type. More...
 
typedef detail::uint32 mediump_uint32
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint32 mediump_uint32_t
 Medium qualifier 32 bit unsigned integer type. More...
 
typedef detail::uint64 mediump_uint64
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint64 mediump_uint64_t
 Medium qualifier 64 bit unsigned integer type. More...
 
typedef detail::uint8 mediump_uint8
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint8 mediump_uint8_t
 Medium qualifier 8 bit unsigned integer type. More...
 
typedef detail::uint16 u16
 16 bit unsigned integer type. More...
 
typedef highp_u16vec1 u16vec1
 Default qualifier 16 bit unsigned integer scalar type. More...
 
typedef highp_u16vec2 u16vec2
 Default qualifier 16 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u16vec3 u16vec3
 Default qualifier 16 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u16vec4 u16vec4
 Default qualifier 16 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint32 u32
 32 bit unsigned integer type. More...
 
typedef highp_u32vec1 u32vec1
 Default qualifier 32 bit unsigned integer scalar type. More...
 
typedef highp_u32vec2 u32vec2
 Default qualifier 32 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u32vec3 u32vec3
 Default qualifier 32 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u32vec4 u32vec4
 Default qualifier 32 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint64 u64
 64 bit unsigned integer type. More...
 
typedef highp_u64vec1 u64vec1
 Default qualifier 64 bit unsigned integer scalar type. More...
 
typedef highp_u64vec2 u64vec2
 Default qualifier 64 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u64vec3 u64vec3
 Default qualifier 64 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u64vec4 u64vec4
 Default qualifier 64 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint8 u8
 8 bit unsigned integer type. More...
 
typedef highp_u8vec1 u8vec1
 Default qualifier 8 bit unsigned integer scalar type. More...
 
typedef highp_u8vec2 u8vec2
 Default qualifier 8 bit unsigned integer vector of 2 components type. More...
 
typedef highp_u8vec3 u8vec3
 Default qualifier 8 bit unsigned integer vector of 3 components type. More...
 
typedef highp_u8vec4 u8vec4
 Default qualifier 8 bit unsigned integer vector of 4 components type. More...
 
typedef detail::uint16 uint16
 16 bit unsigned integer type. More...
 
typedef detail::uint16 uint16_t
 16 bit unsigned integer type. More...
 
typedef detail::uint32 uint32
 32 bit unsigned integer type. More...
 
typedef detail::uint32 uint32_t
 32 bit unsigned integer type. More...
 
typedef detail::uint64 uint64
 64 bit unsigned integer type. More...
 
typedef detail::uint64 uint64_t
 64 bit unsigned integer type. More...
 
typedef detail::uint8 uint8
 8 bit unsigned integer type. More...
 
typedef detail::uint8 uint8_t
 8 bit unsigned integer type. More...
 
-

Detailed Description

-

Include <glm/gtc/type_precision.hpp> to use the features of this extension.

-

Defines specific C++-based qualifier types.

-

Precision types defines types based on GLSL's qualifier qualifiers. This extension defines types based on explicitly-sized C++ data types.

-

Typedef Documentation

- -
-
- - - - -
typedef float32 f32
-
- -

Default 32 bit single-qualifier floating-point scalar.

-

32 bit single-qualifier floating-point scalar.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1507 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, f32, defaultp > f32mat2
-
- -

Default single-qualifier floating-point 2x2 matrix.

-

Single-qualifier floating-point 1x1 matrix.

-
See also
GLM_GTC_type_precision
-
-GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
-
-GLM_GTC_type_precision
- -

Definition at line 2451 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, f32, defaultp > f32mat2x2
-
- -

Default single-qualifier floating-point 2x2 matrix.

-

Single-qualifier floating-point 1x1 matrix.

-
See also
GLM_GTC_type_precision
-
-GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
-
-GLM_GTC_type_precision
- -

Definition at line 2415 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 3, f32, defaultp > f32mat2x3
-
- -

Default single-qualifier floating-point 2x3 matrix.

-

Single-qualifier floating-point 2x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2419 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 4, f32, defaultp > f32mat2x4
-
- -

Default single-qualifier floating-point 2x4 matrix.

-

Single-qualifier floating-point 2x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2423 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, f32, defaultp > f32mat3
-
- -

Default single-qualifier floating-point 3x3 matrix.

-

Single-qualifier floating-point 3x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2455 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 2, f32, defaultp > f32mat3x2
-
- -

Default single-qualifier floating-point 3x2 matrix.

-

Single-qualifier floating-point 3x2 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2427 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, f32, defaultp > f32mat3x3
-
- -

Default single-qualifier floating-point 3x3 matrix.

-

Single-qualifier floating-point 3x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2431 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 4, f32, defaultp > f32mat3x4
-
- -

Default single-qualifier floating-point 3x4 matrix.

-

Single-qualifier floating-point 3x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2435 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, f32, defaultp > f32mat4
-
- -

Default single-qualifier floating-point 4x4 matrix.

-

Single-qualifier floating-point 4x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2459 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 2, f32, defaultp > f32mat4x2
-
- -

Default single-qualifier floating-point 4x2 matrix.

-

Single-qualifier floating-point 4x2 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2439 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 3, f32, defaultp > f32mat4x3
-
- -

Default single-qualifier floating-point 4x3 matrix.

-

Single-qualifier floating-point 4x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2443 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, f32, defaultp > f32mat4x4
-
- -

Default single-qualifier floating-point 4x4 matrix.

-

Single-qualifier floating-point 4x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2447 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef tquat< f32, defaultp > f32quat
-
- -

Default single-qualifier floating-point quaternion.

-

Single-qualifier floating-point quaternion.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2463 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, f32, defaultp > f32vec1
-
- -

Default single-qualifier floating-point vector of 1 components.

-

Single-qualifier floating-point vector of 1 component.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2399 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, f32, defaultp > f32vec2
-
- -

Default single-qualifier floating-point vector of 2 components.

-

Single-qualifier floating-point vector of 2 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2403 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, f32, defaultp > f32vec3
-
- -

Default single-qualifier floating-point vector of 3 components.

-

Single-qualifier floating-point vector of 3 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2407 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, f32, defaultp > f32vec4
-
- -

Default single-qualifier floating-point vector of 4 components.

-

Single-qualifier floating-point vector of 4 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2411 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef float64 f64
-
- -

Default 64 bit double-qualifier floating-point scalar.

-

64 bit double-qualifier floating-point scalar.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1511 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, f64, defaultp > f64mat2
-
- -

Default double-qualifier floating-point 2x2 matrix.

-

Double-qualifier floating-point 1x1 matrix.

-
See also
GLM_GTC_type_precision
-
-GLM_GTC_type_precision Double-qualifier floating-point 2x2 matrix.
-
-GLM_GTC_type_precision
- -

Definition at line 2557 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, f64, defaultp > f64mat2x2
-
- -

Default double-qualifier floating-point 2x2 matrix.

-

Double-qualifier floating-point 1x1 matrix.

-
See also
GLM_GTC_type_precision
-
-GLM_GTC_type_precision Double-qualifier floating-point 2x2 matrix.
-
-GLM_GTC_type_precision
- -

Definition at line 2521 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 3, f64, defaultp > f64mat2x3
-
- -

Default double-qualifier floating-point 2x3 matrix.

-

Double-qualifier floating-point 2x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2525 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 4, f64, defaultp > f64mat2x4
-
- -

Default double-qualifier floating-point 2x4 matrix.

-

Double-qualifier floating-point 2x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2529 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, f64, defaultp > f64mat3
-
- -

Default double-qualifier floating-point 3x3 matrix.

-

Double-qualifier floating-point 3x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2561 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 2, f64, defaultp > f64mat3x2
-
- -

Default double-qualifier floating-point 3x2 matrix.

-

Double-qualifier floating-point 3x2 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2533 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, f64, defaultp > f64mat3x3
-
- -

Default double-qualifier floating-point 3x3 matrix.

-

Double-qualifier floating-point 3x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2537 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 4, f64, defaultp > f64mat3x4
-
- -

Default double-qualifier floating-point 3x4 matrix.

-

Double-qualifier floating-point 3x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2541 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, f64, defaultp > f64mat4
-
- -

Default double-qualifier floating-point 4x4 matrix.

-

Double-qualifier floating-point 4x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2565 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 2, f64, defaultp > f64mat4x2
-
- -

Default double-qualifier floating-point 4x2 matrix.

-

Double-qualifier floating-point 4x2 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2545 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 3, f64, defaultp > f64mat4x3
-
- -

Default double-qualifier floating-point 4x3 matrix.

-

Double-qualifier floating-point 4x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2549 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, f64, defaultp > f64mat4x4
-
- -

Default double-qualifier floating-point 4x4 matrix.

-

Double-qualifier floating-point 4x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2553 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef tquat< f64, defaultp > f64quat
-
- -

Default double-qualifier floating-point quaternion.

-

Double-qualifier floating-point quaternion.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2569 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, f64, defaultp > f64vec1
-
- -

Default double-qualifier floating-point vector of 1 components.

-

Double-qualifier floating-point vector of 1 component.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2505 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, f64, defaultp > f64vec2
-
- -

Default double-qualifier floating-point vector of 2 components.

-

Double-qualifier floating-point vector of 2 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2509 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, f64, defaultp > f64vec3
-
- -

Default double-qualifier floating-point vector of 3 components.

-

Double-qualifier floating-point vector of 3 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2513 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, f64, defaultp > f64vec4
-
- -

Default double-qualifier floating-point vector of 4 components.

-

Double-qualifier floating-point vector of 4 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2517 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::float32 float32
-
- -

Default 32 bit single-qualifier floating-point scalar.

-

32 bit single-qualifier floating-point scalar.

-
See also
GLM_GTC_type_precision
- -

Definition at line 58 of file type_float.hpp.

- -
-
- -
-
- - - - -
typedef detail::float32 float32_t
-
- -

Default 32 bit single-qualifier floating-point scalar.

-

32 bit single-qualifier floating-point scalar.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1499 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::float64 float64
-
- -

Default 64 bit double-qualifier floating-point scalar.

-

64 bit double-qualifier floating-point scalar.

-
See also
GLM_GTC_type_precision
- -

Definition at line 61 of file type_float.hpp.

- -
-
- -
-
- - - - -
typedef detail::float64 float64_t
-
- -

Default 64 bit double-qualifier floating-point scalar.

-

64 bit double-qualifier floating-point scalar.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1503 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, f32, defaultp > fmat2
-
- -

Default single-qualifier floating-point 2x2 matrix.

-

Single-qualifier floating-point 1x1 matrix.

-
See also
GLM_GTC_type_precision
-
-GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
-
-GLM_GTC_type_precision
- -

Definition at line 2381 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 2, f32, defaultp > fmat2x2
-
- -

Default single-qualifier floating-point 2x2 matrix.

-

Single-qualifier floating-point 1x1 matrix.

-
See also
GLM_GTC_type_precision
-
-GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
-
-GLM_GTC_type_precision
- -

Definition at line 2345 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 3, f32, defaultp > fmat2x3
-
- -

Default single-qualifier floating-point 2x3 matrix.

-

Single-qualifier floating-point 2x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2349 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 2, 4, f32, defaultp > fmat2x4
-
- -

Default single-qualifier floating-point 2x4 matrix.

-

Single-qualifier floating-point 2x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2353 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, f32, defaultp > fmat3
-
- -

Default single-qualifier floating-point 3x3 matrix.

-

Single-qualifier floating-point 3x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2385 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 2, f32, defaultp > fmat3x2
-
- -

Default single-qualifier floating-point 3x2 matrix.

-

Single-qualifier floating-point 3x2 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2357 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 3, f32, defaultp > fmat3x3
-
- -

Default single-qualifier floating-point 3x3 matrix.

-

Single-qualifier floating-point 3x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2361 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 3, 4, f32, defaultp > fmat3x4
-
- -

Default single-qualifier floating-point 3x4 matrix.

-

Single-qualifier floating-point 3x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2365 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, f32, defaultp > fmat4
-
- -

Default single-qualifier floating-point 4x4 matrix.

-

Single-qualifier floating-point 4x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2389 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 2, f32, defaultp > fmat4x2
-
- -

Default single-qualifier floating-point 4x2 matrix.

-

Single-qualifier floating-point 4x2 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2369 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 3, f32, defaultp > fmat4x3
-
- -

Default single-qualifier floating-point 4x3 matrix.

-

Single-qualifier floating-point 4x3 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2373 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef mat< 4, 4, f32, defaultp > fmat4x4
-
- -

Default single-qualifier floating-point 4x4 matrix.

-

Single-qualifier floating-point 4x4 matrix.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2377 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, float, defaultp > fvec1
-
- -

Default single-qualifier floating-point vector of 1 components.

-

Single-qualifier floating-point vector of 1 component.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2329 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, float, defaultp > fvec2
-
- -

Default single-qualifier floating-point vector of 2 components.

-

Single-qualifier floating-point vector of 2 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2333 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, float, defaultp > fvec3
-
- -

Default single-qualifier floating-point vector of 3 components.

-

Single-qualifier floating-point vector of 3 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2337 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, float, defaultp > fvec4
-
- -

Default single-qualifier floating-point vector of 4 components.

-

Single-qualifier floating-point vector of 4 components.

-
See also
GLM_GTC_type_precision
- -

Definition at line 2341 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 highp_i16
-
- -

High qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 234 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 highp_i32
-
- -

High qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 238 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 highp_i64
-
- -

High qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 242 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 highp_i8
-
- -

High qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 230 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 highp_int16
-
- -

High qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 202 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 highp_int16_t
-
- -

High qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 218 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 highp_int32
-
- -

High qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 206 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 highp_int32_t
-
- -

32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 222 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 highp_int64
-
- -

High qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 210 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 highp_int64_t
-
- -

High qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 226 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 highp_int8
-
- -

High qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 198 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 highp_int8_t
-
- -

High qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 214 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 highp_u16
-
- -

Medium qualifier 16 bit unsigned integer type.

-

High qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 843 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 highp_u32
-
- -

Medium qualifier 32 bit unsigned integer type.

-

High qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 847 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 highp_u64
-
- -

Medium qualifier 64 bit unsigned integer type.

-

High qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 851 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 highp_u8
-
- -

Medium qualifier 8 bit unsigned integer type.

-

High qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 839 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 highp_uint16
-
- -

Medium qualifier 16 bit unsigned integer type.

-

High qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 811 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 highp_uint16_t
-
- -

Medium qualifier 16 bit unsigned integer type.

-

High qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 827 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 highp_uint32
-
- -

Medium qualifier 32 bit unsigned integer type.

-

High qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 815 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 highp_uint32_t
-
- -

Medium qualifier 32 bit unsigned integer type.

-

High qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 831 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 highp_uint64
-
- -

Medium qualifier 64 bit unsigned integer type.

-

High qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 819 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 highp_uint64_t
-
- -

Medium qualifier 64 bit unsigned integer type.

-

High qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 835 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 highp_uint8
-
- -

Medium qualifier 8 bit unsigned integer type.

-

High qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 807 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 highp_uint8_t
-
- -

Medium qualifier 8 bit unsigned integer type.

-

High qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 823 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 i16
-
- -

16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 291 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, i16, defaultp > i16vec1
-
- -

Default qualifier 16 bit signed integer scalar type.

-

16 bit signed integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 446 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, i16, defaultp > i16vec2
-
- -

Default qualifier 16 bit signed integer vector of 2 components type.

-

16 bit signed integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 450 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, i16, defaultp > i16vec3
-
- -

Default qualifier 16 bit signed integer vector of 3 components type.

-

16 bit signed integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 454 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, i16, defaultp > i16vec4
-
- -

Default qualifier 16 bit signed integer vector of 4 components type.

-

16 bit signed integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 458 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 i32
-
- -

32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 295 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, i32, defaultp > i32vec1
-
- -

Default qualifier 32 bit signed integer scalar type.

-

32 bit signed integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 525 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, i32, defaultp > i32vec2
-
- -

Default qualifier 32 bit signed integer vector of 2 components type.

-

32 bit signed integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 529 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, i32, defaultp > i32vec3
-
- -

Default qualifier 32 bit signed integer vector of 3 components type.

-

32 bit signed integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 533 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, i32, defaultp > i32vec4
-
- -

Default qualifier 32 bit signed integer vector of 4 components type.

-

32 bit signed integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 537 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 i64
-
- -

64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 299 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, i64, defaultp > i64vec1
-
- -

Default qualifier 64 bit signed integer scalar type.

-

64 bit signed integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 684 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, i64, defaultp > i64vec2
-
- -

Default qualifier 64 bit signed integer vector of 2 components type.

-

64 bit signed integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 688 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, i64, defaultp > i64vec3
-
- -

Default qualifier 64 bit signed integer vector of 3 components type.

-

64 bit signed integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 692 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, i64, defaultp > i64vec4
-
- -

Default qualifier 64 bit signed integer vector of 4 components type.

-

64 bit signed integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 696 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 i8
-
- -

8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 287 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, i8, defaultp > i8vec1
-
- -

Default qualifier 8 bit signed integer scalar type.

-

8 bit signed integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 366 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, i8, defaultp > i8vec2
-
- -

Default qualifier 8 bit signed integer vector of 2 components type.

-

8 bit signed integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 370 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, i8, defaultp > i8vec3
-
- -

Default qualifier 8 bit signed integer vector of 3 components type.

-

8 bit signed integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 374 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, i8, defaultp > i8vec4
-
- -

Default qualifier 8 bit signed integer vector of 4 components type.

-

8 bit signed integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 378 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 int16
-
- -

16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 207 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 int16_t
-
- -

16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 274 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 int32
-
- -

32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 208 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 int32_t
-
- -

32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 278 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 int64
-
- -

64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 209 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 int64_t
-
- -

64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 282 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 int8
-
- -

8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 206 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 int8_t
-
- -

8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 270 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 lowp_i16
-
- -

Low qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 138 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 lowp_i32
-
- -

Low qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 142 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 lowp_i64
-
- -

Low qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 146 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 lowp_i8
-
- -

Low qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 134 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 lowp_int16
-
- -

Low qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 106 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 lowp_int16_t
-
- -

Low qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 122 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 lowp_int32
-
- -

Low qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 110 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 lowp_int32_t
-
- -

Low qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 126 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 lowp_int64
-
- -

Low qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 114 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 lowp_int64_t
-
- -

Low qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 130 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 lowp_int8
-
- -

Low qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 102 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 lowp_int8_t
-
- -

Low qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 118 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 lowp_u16
-
- -

Low qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 743 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 lowp_u32
-
- -

Low qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 747 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 lowp_u64
-
- -

Low qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 751 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 lowp_u8
-
- -

Low qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 739 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 lowp_uint16
-
- -

Low qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 709 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 lowp_uint16_t
-
- -

Low qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 726 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 lowp_uint32
-
- -

Low qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 713 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 lowp_uint32_t
-
- -

Low qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 730 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 lowp_uint64
-
- -

Low qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 717 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 lowp_uint64_t
-
- -

Low qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 734 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 lowp_uint8
-
- -

Low qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 705 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 lowp_uint8_t
-
- -

Low qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 722 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 mediump_i16
-
- -

Medium qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 186 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 mediump_i32
-
- -

Medium qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 190 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 mediump_i64
-
- -

Medium qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 194 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 mediump_i8
-
- -

Medium qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 182 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 mediump_int16
-
- -

Medium qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 154 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int16 mediump_int16_t
-
- -

Medium qualifier 16 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 170 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 mediump_int32
-
- -

Medium qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 158 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int32 mediump_int32_t
-
- -

Medium qualifier 32 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 174 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 mediump_int64
-
- -

Medium qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 162 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int64 mediump_int64_t
-
- -

Medium qualifier 64 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 178 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 mediump_int8
-
- -

Medium qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 150 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::int8 mediump_int8_t
-
- -

Medium qualifier 8 bit signed integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 166 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 mediump_u16
-
- -

Medium qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 793 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 mediump_u32
-
- -

Medium qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 797 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 mediump_u64
-
- -

Medium qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 801 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 mediump_u8
-
- -

Medium qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 789 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 mediump_uint16
-
- -

Medium qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 761 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 mediump_uint16_t
-
- -

Medium qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 777 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 mediump_uint32
-
- -

Medium qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 765 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 mediump_uint32_t
-
- -

Medium qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 781 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 mediump_uint64
-
- -

Medium qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 769 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 mediump_uint64_t
-
- -

Medium qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 785 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 mediump_uint8
-
- -

Medium qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 757 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 mediump_uint8_t
-
- -

Medium qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 773 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 u16
-
- -

16 bit unsigned integer type.

-

Default qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 900 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, u16, defaultp > u16vec1
-
- -

Default qualifier 16 bit unsigned integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1055 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, u16, defaultp > u16vec2
-
- -

Default qualifier 16 bit unsigned integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1059 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, u16, defaultp > u16vec3
-
- -

Default qualifier 16 bit unsigned integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1063 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, u16, defaultp > u16vec4
-
- -

Default qualifier 16 bit unsigned integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1067 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 u32
-
- -

32 bit unsigned integer type.

-

Default qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 904 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, u32, defaultp > u32vec1
-
- -

Default qualifier 32 bit unsigned integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1134 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, u32, defaultp > u32vec2
-
- -

Default qualifier 32 bit unsigned integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1138 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, u32, defaultp > u32vec3
-
- -

Default qualifier 32 bit unsigned integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1142 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, u32, defaultp > u32vec4
-
- -

Default qualifier 32 bit unsigned integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1146 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 u64
-
- -

64 bit unsigned integer type.

-

Default qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 908 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, u64, defaultp > u64vec1
-
- -

Default qualifier 64 bit unsigned integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1293 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, u64, defaultp > u64vec2
-
- -

Default qualifier 64 bit unsigned integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1297 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, u64, defaultp > u64vec3
-
- -

Default qualifier 64 bit unsigned integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1301 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, u64, defaultp > u64vec4
-
- -

Default qualifier 64 bit unsigned integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 1305 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 u8
-
- -

8 bit unsigned integer type.

-

Default qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 896 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 1, u8, defaultp > u8vec1
-
- -

Default qualifier 8 bit unsigned integer scalar type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 975 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 2, u8, defaultp > u8vec2
-
- -

Default qualifier 8 bit unsigned integer vector of 2 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 979 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 3, u8, defaultp > u8vec3
-
- -

Default qualifier 8 bit unsigned integer vector of 3 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 983 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef vec< 4, u8, defaultp > u8vec4
-
- -

Default qualifier 8 bit unsigned integer vector of 4 components type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 987 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 uint16
-
- -

16 bit unsigned integer type.

-

Default qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 212 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 uint16_t
-
- -

16 bit unsigned integer type.

-

Default qualifier 16 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 883 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 uint32
-
- -

32 bit unsigned integer type.

-

Default qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 213 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 uint32_t
-
- -

32 bit unsigned integer type.

-

Default qualifier 32 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 887 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 uint64
-
- -

64 bit unsigned integer type.

-

Default qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 214 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 uint64_t
-
- -

64 bit unsigned integer type.

-

Default qualifier 64 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 891 of file fwd.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 uint8
-
- -

8 bit unsigned integer type.

-

Default qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 211 of file type_int.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint8 uint8_t
-
- -

8 bit unsigned integer type.

-

Default qualifier 8 bit unsigned integer type.

-
See also
GLM_GTC_type_precision
- -

Definition at line 879 of file fwd.hpp.

- -
-
-
- - - - diff --git a/doc/api/a00173.html b/doc/api/a00173.html index d274fd82..edfbf09c 100644 --- a/doc/api/a00173.html +++ b/doc/api/a00173.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_ulp + + +0.9.9 API documenation: matrix_float3x4_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTC_ulp
+
matrix_float3x4_precision.hpp File Reference
-

Include <glm/gtc/ulp.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +

-Functions

template<typename T >
GLM_FUNC_DECL uint float_distance (T const &x, T const &y)
 Return the distance in the number of ULP between 2 scalars. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, uint, Q > float_distance (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 Return the distance in the number of ULP between 2 vectors. More...
 
template<typename genType >
GLM_FUNC_DECL genType next_float (genType const &x)
 Return the next ULP value(s) after the input value(s). More...
 
template<typename genType >
GLM_FUNC_DECL genType next_float (genType const &x, uint const &Distance)
 Return the value(s) ULP distance after the input value(s). More...
 
template<typename genType >
GLM_FUNC_DECL genType prev_float (genType const &x)
 Return the previous ULP value(s) before the input value(s). More...
 
template<typename genType >
GLM_FUNC_DECL genType prev_float (genType const &x, uint const &Distance)
 Return the value(s) ULP distance before the input value(s). More...
 

+Typedefs

typedef mat< 3, 4, float, highp > highp_mat3x4
 
typedef mat< 3, 4, float, lowp > lowp_mat3x4
 
typedef mat< 3, 4, float, mediump > mediump_mat3x4
 

Detailed Description

-

Include <glm/gtc/ulp.hpp> to use the features of this extension.

-

Allow the measurement of the accuracy of a function against a reference implementation. This extension works on floating-point data and provide results in ULP.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint glm::float_distance (T const & x,
T const & y 
)
-
+

Core features

-

Return the distance in the number of ULP between 2 scalars.

-
See also
GLM_GTC_ulp
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<2, uint, Q> glm::float_distance (vec< 2, T, Q > const & x,
vec< 2, T, Q > const & y 
)
-
- -

Return the distance in the number of ULP between 2 vectors.

-
See also
GLM_GTC_ulp
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::next_float (genType const & x)
-
- -

Return the next ULP value(s) after the input value(s).

-
See also
GLM_GTC_ulp
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::next_float (genType const & x,
uint const & Distance 
)
-
- -

Return the value(s) ULP distance after the input value(s).

-
See also
GLM_GTC_ulp
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::prev_float (genType const & x)
-
- -

Return the previous ULP value(s) before the input value(s).

-
See also
GLM_GTC_ulp
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::prev_float (genType const & x,
uint const & Distance 
)
-
- -

Return the value(s) ULP distance before the input value(s).

-
See also
GLM_GTC_ulp
- -
-
-
+

Definition in file matrix_float3x4_precision.hpp.

+
diff --git a/doc/api/a00173_source.html b/doc/api/a00173_source.html new file mode 100644 index 00000000..207a2d5b --- /dev/null +++ b/doc/api/a00173_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_float3x4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float3x4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat3x4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<3, 4, float, lowp> lowp_mat3x4;
17 
22  typedef mat<3, 4, float, mediump> mediump_mat3x4;
23 
28  typedef mat<3, 4, float, highp> highp_mat3x4;
29 
31 }//namespace glm
mat< 3, 4, float, highp > highp_mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 3, 4, float, mediump > mediump_mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
+
mat< 3, 4, float, lowp > lowp_mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
+ + + + diff --git a/doc/api/a00176.html b/doc/api/a00176.html index 29f036b2..cbce04ad 100644 --- a/doc/api/a00176.html +++ b/doc/api/a00176.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_bit + + +0.9.9 API documenation: matrix_float4x2.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_bit
+
matrix_float4x2.hpp File Reference
-

Include <glm/gtx/bit.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

-Functions

template<typename genIUType >
GLM_FUNC_DECL genIUType highestBitValue (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > highestBitValue (vec< L, T, Q > const &value)
 Find the highest bit set to 1 in a integer variable and return its value. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType lowestBitValue (genIUType Value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove (genIUType Value)
 Return the power of two number which value is just higher the input value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoAbove (vec< L, T, Q > const &value)
 Return the power of two number which value is just higher the input value. More...
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow (genIUType Value)
 Return the power of two number which value is just lower the input value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoBelow (vec< L, T, Q > const &value)
 Return the power of two number which value is just lower the input value. More...
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest (genIUType Value)
 Return the power of two number which value is the closet to the input value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoNearest (vec< L, T, Q > const &value)
 Return the power of two number which value is the closet to the input value. More...
 

+Typedefs

typedef mat< 4, 2, float, defaultp > mat4x2
 

Detailed Description

-

Include <glm/gtx/bit.hpp> to use the features of this extension.

-

Allow to perform bit operations on integer values

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL genIUType glm::highestBitValue (genIUType Value)
-
-
See also
GLM_GTX_bit
+ -
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::highestBitValue (vec< L, T, Q > const & value)
-
- -

Find the highest bit set to 1 in a integer variable and return its value.

-
See also
GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genIUType glm::lowestBitValue (genIUType Value)
-
-
See also
GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_DEPRECATED GLM_FUNC_DECL genIUType glm::powerOfTwoAbove (genIUType Value)
-
- -

Return the power of two number which value is just higher the input value.

-

Deprecated, use ceilPowerOfTwo from GTC_round instead

-
See also
GLM_GTC_round
-
-GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> glm::powerOfTwoAbove (vec< L, T, Q > const & value)
-
- -

Return the power of two number which value is just higher the input value.

-

Deprecated, use ceilPowerOfTwo from GTC_round instead

-
See also
GLM_GTC_round
-
-GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_DEPRECATED GLM_FUNC_DECL genIUType glm::powerOfTwoBelow (genIUType Value)
-
- -

Return the power of two number which value is just lower the input value.

-

Deprecated, use floorPowerOfTwo from GTC_round instead

-
See also
GLM_GTC_round
-
-GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> glm::powerOfTwoBelow (vec< L, T, Q > const & value)
-
- -

Return the power of two number which value is just lower the input value.

-

Deprecated, use floorPowerOfTwo from GTC_round instead

-
See also
GLM_GTC_round
-
-GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_DEPRECATED GLM_FUNC_DECL genIUType glm::powerOfTwoNearest (genIUType Value)
-
- -

Return the power of two number which value is the closet to the input value.

-

Deprecated, use roundPowerOfTwo from GTC_round instead

-
See also
GLM_GTC_round
-
-GLM_GTX_bit
- -
-
- -
-
- - - - - - - - -
GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> glm::powerOfTwoNearest (vec< L, T, Q > const & value)
-
- -

Return the power of two number which value is the closet to the input value.

-

Deprecated, use roundPowerOfTwo from GTC_round instead

-
See also
GLM_GTC_round
-
-GLM_GTX_bit
- -
-
-
+

Definition in file matrix_float4x2.hpp.

+
diff --git a/doc/api/a00176_source.html b/doc/api/a00176_source.html new file mode 100644 index 00000000..b24365ce --- /dev/null +++ b/doc/api/a00176_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: matrix_float4x2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float4x2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<4, 2, float, defaultp> mat4x2;
16 
18 }//namespace glm
mat< 4, 2, float, defaultp > mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00179_source.html b/doc/api/a00179_source.html new file mode 100644 index 00000000..53ea725f --- /dev/null +++ b/doc/api/a00179_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_float4x2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float4x2_precision.hpp
+
+
+
1 
4 #pragma once
5 #include "../detail/type_mat2x2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<4, 2, float, lowp> lowp_mat4x2;
17 
22  typedef mat<4, 2, float, mediump> mediump_mat4x2;
23 
28  typedef mat<4, 2, float, highp> highp_mat4x2;
29 
31 }//namespace glm
mat< 4, 2, float, lowp > lowp_mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 4, 2, float, mediump > mediump_mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
+
mat< 4, 2, float, highp > highp_mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
+ + + + diff --git a/doc/api/a00182.html b/doc/api/a00182.html index f8e589b0..56a1ceec 100644 --- a/doc/api/a00182.html +++ b/doc/api/a00182.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_compatibility + + +0.9.9 API documenation: matrix_float4x3.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Typedefs | -Functions
+Typedefs
-
GLM_GTX_compatibility
+
matrix_float4x3.hpp File Reference
-

Include <glm/gtx/compatibility.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Typedefs

-typedef bool bool1
 boolean type with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef bool bool1x1
 boolean matrix with 1 x 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, bool, highp > bool2
 boolean type with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, bool, highp > bool2x2
 boolean matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, bool, highp > bool2x3
 boolean matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, bool, highp > bool2x4
 boolean matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, bool, highp > bool3
 boolean type with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, bool, highp > bool3x2
 boolean matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, bool, highp > bool3x3
 boolean matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, bool, highp > bool3x4
 boolean matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, bool, highp > bool4
 boolean type with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, bool, highp > bool4x2
 boolean matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, bool, highp > bool4x3
 boolean matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, bool, highp > bool4x4
 boolean matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef double double1
 double-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef double double1x1
 double-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, double, highp > double2
 double-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, double, highp > double2x2
 double-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, double, highp > double2x3
 double-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, double, highp > double2x4
 double-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, double, highp > double3
 double-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, double, highp > double3x2
 double-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, double, highp > double3x3
 double-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, double, highp > double3x4
 double-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, double, highp > double4
 double-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, double, highp > double4x2
 double-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, double, highp > double4x3
 double-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, double, highp > double4x4
 double-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef float float1
 single-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef float float1x1
 single-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, float, highp > float2
 single-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, float, highp > float2x2
 single-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, float, highp > float2x3
 single-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, float, highp > float2x4
 single-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, float, highp > float3
 single-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, float, highp > float3x2
 single-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, float, highp > float3x3
 single-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, float, highp > float3x4
 single-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, float, highp > float4
 single-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, float, highp > float4x2
 single-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, float, highp > float4x3
 single-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, float, highp > float4x4
 single-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef int int1
 integer vector with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef int int1x1
 integer matrix with 1 component. (From GLM_GTX_compatibility extension)
 
-typedef vec< 2, int, highp > int2
 integer vector with 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 2, int, highp > int2x2
 integer matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 3, int, highp > int2x3
 integer matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 2, 4, int, highp > int2x4
 integer matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 3, int, highp > int3
 integer vector with 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 2, int, highp > int3x2
 integer matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 3, int, highp > int3x3
 integer matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 3, 4, int, highp > int3x4
 integer matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
 
-typedef vec< 4, int, highp > int4
 integer vector with 4 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 2, int, highp > int4x2
 integer matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 3, int, highp > int4x3
 integer matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
 
-typedef mat< 4, 4, int, highp > int4x4
 integer matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + +

-Functions

-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T atan2 (T x, T y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > atan2 (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > atan2 (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2 (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y)
 Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0. (From GLM_GTX_compatibility)
 
-template<typename genType >
GLM_FUNC_DECL bool isfinite (genType const &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, bool, Q > isfinite (const vec< 1, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, bool, Q > isfinite (const vec< 2, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, bool, Q > isfinite (const vec< 3, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isfinite (const vec< 4, T, Q > &x)
 Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)
 
-template<typename T >
GLM_FUNC_QUALIFIER T lerp (T x, T y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, T a)
 Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, const vec< 2, T, Q > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, const vec< 3, T, Q > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, const vec< 4, T, Q > &a)
 Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using vector a. The value for a is not restricted to the range [0, 1]. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T saturate (T x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > saturate (const vec< 2, T, Q > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > saturate (const vec< 3, T, Q > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
-template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > saturate (const vec< 4, T, Q > &x)
 Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
 
typedef mat< 4, 3, float, defaultp > mat4x3
 

Detailed Description

-

Include <glm/gtx/compatibility.hpp> to use the features of this extension.

-

Provide functions to increase the compatibility with Cg and HLSL languages

-
+

Core features

+ +

Definition in file matrix_float4x3.hpp.

+
diff --git a/doc/api/a00182_source.html b/doc/api/a00182_source.html new file mode 100644 index 00000000..1a1968ea --- /dev/null +++ b/doc/api/a00182_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: matrix_float4x3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float4x3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<4, 3, float, defaultp> mat4x3;
16 
18 }//namespace glm
mat< 4, 3, float, defaultp > mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00185.html b/doc/api/a00185.html index 7393cdc6..b194cb82 100644 --- a/doc/api/a00185.html +++ b/doc/api/a00185.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_easing + + +0.9.9 API documenation: matrix_float4x3_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_easing
+
matrix_float4x3_precision.hpp File Reference
-

Include <glm/gtx/easing.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType backEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseIn (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseInOut (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseOut (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseIn (genType const &a)
 Modelled after shifted quadrant IV of unit circle. More...
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseInOut (genType const &a)
 Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseOut (genType const &a)
 Modelled after shifted quadrant II of unit circle. More...
 
-template<typename genType >
GLM_FUNC_DECL genType cubicEaseIn (genType const &a)
 Modelled after the cubic y = x^3.
 
template<typename genType >
GLM_FUNC_DECL genType cubicEaseInOut (genType const &a)
 Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0.5, 1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType cubicEaseOut (genType const &a)
 Modelled after the cubic y = (x - 1)^3 + 1. More...
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseIn (genType const &a)
 Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1)) More...
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseInOut (genType const &a)
 Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseOut (genType const &a)
 Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1. More...
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseIn (genType const &a)
 Modelled after the exponential function y = 2^(10(x - 1)) More...
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseInOut (genType const &a)
 Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))) + 1 ; [0.5,1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseOut (genType const &a)
 Modelled after the exponential function y = -2^(-10x) + 1. More...
 
template<typename genType >
GLM_FUNC_DECL genType linearInterpolation (genType const &a)
 Modelled after the line y = x. More...
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseIn (genType const &a)
 Modelled after the parabola y = x^2. More...
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseInOut (genType const &a)
 Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseOut (genType const &a)
 Modelled after the parabola y = -x^2 + 2x. More...
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseIn (genType const &a)
 Modelled after the quartic x^4. More...
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseInOut (genType const &a)
 Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseOut (genType const &a)
 Modelled after the quartic y = 1 - (x - 1)^4. More...
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseIn (genType const &a)
 Modelled after the quintic y = x^5. More...
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseInOut (genType const &a)
 Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0.5, 1]. More...
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseOut (genType const &a)
 Modelled after the quintic y = (x - 1)^5 + 1. More...
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseIn (genType const &a)
 Modelled after quarter-cycle of sine wave. More...
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseInOut (genType const &a)
 Modelled after half sine wave. More...
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseOut (genType const &a)
 Modelled after quarter-cycle of sine wave (different phase) More...
 

+Typedefs

typedef mat< 4, 3, float, highp > highp_mat4x3
 
typedef mat< 4, 3, float, lowp > lowp_mat4x3
 
typedef mat< 4, 3, float, mediump > mediump_mat4x3
 

Detailed Description

-

Include <glm/gtx/easing.hpp> to use the features of this extension.

-

Easing functions for animations and transitons All functions take a parameter x in the range [0.0,1.0]

-

Based on the AHEasing project of Warren Moore (https://github.com/warrenm/AHEasing)

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::backEaseIn (genType const & a)
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::backEaseIn (genType const & a,
genType const & o 
)
-
-
Parameters
- - - -
aparameter
oOptional overshoot modifier
-
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::backEaseInOut (genType const & a)
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::backEaseInOut (genType const & a,
genType const & o 
)
-
-
Parameters
- - - -
aparameter
oOptional overshoot modifier
-
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::backEaseOut (genType const & a)
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::backEaseOut (genType const & a,
genType const & o 
)
-
-
Parameters
- - - -
aparameter
oOptional overshoot modifier
-
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::bounceEaseIn (genType const & a)
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::bounceEaseInOut (genType const & a)
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::bounceEaseOut (genType const & a)
-
-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::circularEaseIn (genType const & a)
-
- -

Modelled after shifted quadrant IV of unit circle.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::circularEaseInOut (genType const & a)
-
- -

Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::circularEaseOut (genType const & a)
-
- -

Modelled after shifted quadrant II of unit circle.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::cubicEaseInOut (genType const & a)
-
- -

Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0.5, 1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::cubicEaseOut (genType const & a)
-
- -

Modelled after the cubic y = (x - 1)^3 + 1.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::elasticEaseIn (genType const & a)
-
- -

Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::elasticEaseInOut (genType const & a)
-
- -

Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::elasticEaseOut (genType const & a)
-
- -

Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::exponentialEaseIn (genType const & a)
-
- -

Modelled after the exponential function y = 2^(10(x - 1))

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::exponentialEaseInOut (genType const & a)
-
- -

Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))) + 1 ; [0.5,1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::exponentialEaseOut (genType const & a)
-
- -

Modelled after the exponential function y = -2^(-10x) + 1.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::linearInterpolation (genType const & a)
-
- -

Modelled after the line y = x.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quadraticEaseIn (genType const & a)
-
- -

Modelled after the parabola y = x^2.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quadraticEaseInOut (genType const & a)
-
- -

Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quadraticEaseOut (genType const & a)
-
- -

Modelled after the parabola y = -x^2 + 2x.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quarticEaseIn (genType const & a)
-
- -

Modelled after the quartic x^4.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quarticEaseInOut (genType const & a)
-
- -

Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quarticEaseOut (genType const & a)
-
- -

Modelled after the quartic y = 1 - (x - 1)^4.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quinticEaseIn (genType const & a)
-
- -

Modelled after the quintic y = x^5.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quinticEaseInOut (genType const & a)
-
- -

Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0.5, 1].

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::quinticEaseOut (genType const & a)
-
- -

Modelled after the quintic y = (x - 1)^5 + 1.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::sineEaseIn (genType const & a)
-
- -

Modelled after quarter-cycle of sine wave.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::sineEaseInOut (genType const & a)
-
- -

Modelled after half sine wave.

-
See also
GLM_GTX_easing
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::sineEaseOut (genType const & a)
-
- -

Modelled after quarter-cycle of sine wave (different phase)

-
See also
GLM_GTX_easing
- -
-
-
+

Definition in file matrix_float4x3_precision.hpp.

+
diff --git a/doc/api/a00185_source.html b/doc/api/a00185_source.html new file mode 100644 index 00000000..d782336a --- /dev/null +++ b/doc/api/a00185_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_float4x3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float4x3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<4, 3, float, lowp> lowp_mat4x3;
17 
22  typedef mat<4, 3, float, mediump> mediump_mat4x3;
23 
28  typedef mat<4, 3, float, highp> highp_mat4x3;
29 
31 }//namespace glm
mat< 4, 3, float, mediump > mediump_mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 4, 3, float, lowp > lowp_mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 4, 3, float, highp > highp_mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00188.html b/doc/api/a00188.html index b497f181..bf3559cf 100644 --- a/doc/api/a00188.html +++ b/doc/api/a00188.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_extented_min_max + + +0.9.9 API documenation: matrix_float4x4.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-
-Functions
-
GLM_GTX_extented_min_max
+
matrix_float4x4.hpp File Reference
-

Include <glm/gtx/extented_min_max.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType fclamp (genType x, genType minVal, genType maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x. More...
 
template<typename genType >
GLM_FUNC_DECL genType fmax (genType x, genType y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &x, T y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<typename genType >
GLM_FUNC_DECL genType fmin (genType x, genType y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, T y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<typename T >
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z)
 Return the maximum component-wise values of 3 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 Return the maximum component-wise values of 3 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z)
 Return the maximum component-wise values of 3 inputs. More...
 
template<typename T >
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z, T const &w)
 Return the maximum component-wise values of 4 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 Return the maximum component-wise values of 4 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 Return the maximum component-wise values of 4 inputs. More...
 
template<typename T >
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z)
 Return the minimum component-wise values of 3 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 Return the minimum component-wise values of 3 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z)
 Return the minimum component-wise values of 3 inputs. More...
 
template<typename T >
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z, T const &w)
 Return the minimum component-wise values of 4 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 Return the minimum component-wise values of 4 inputs. More...
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 Return the minimum component-wise values of 4 inputs. More...
 
typedef mat< 4, 4, float, defaultp > mat4x4
 
typedef mat< 4, 4, float, defaultp > mat4
 

Detailed Description

-

Include <glm/gtx/extented_min_max.hpp> to use the features of this extension.

-

Min and max functions for 3 to 4 parameters.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::fclamp (genType x,
genType minVal,
genType maxVal 
)
-
+

Core features

-

Returns min(max(x, minVal), maxVal) for each component in x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - -
genTypeFloating-point scalar or vector types.
-
-
-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fclamp (vec< L, T, Q > const & x,
minVal,
maxVal 
)
-
- -

Returns min(max(x, minVal), maxVal) for each component in x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fclamp (vec< L, T, Q > const & x,
vec< L, T, Q > const & minVal,
vec< L, T, Q > const & maxVal 
)
-
- -

Returns min(max(x, minVal), maxVal) for each component in x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::fmax (genType x,
genType y 
)
-
- -

Returns y if x < y; otherwise, it returns x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - -
genTypeFloating-point; scalar or vector types.
-
-
-
See also
gtx_extented_min_max
-
-std::fmax documentation
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fmax (vec< L, T, Q > const & x,
y 
)
-
- -

Returns y if x < y; otherwise, it returns x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
gtx_extented_min_max
-
-std::fmax documentation
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fmax (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Returns y if x < y; otherwise, it returns x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
gtx_extented_min_max
-
-std::fmax documentation
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::fmin (genType x,
genType y 
)
-
- -

Returns y if y < x; otherwise, it returns x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - -
genTypeFloating-point or integer; scalar or vector types.
-
-
-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fmin (vec< L, T, Q > const & x,
y 
)
-
- -

Returns y if y < x; otherwise, it returns x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
gtx_extented_min_max
-
-std::fmin documentation
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fmin (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Returns y if y < x; otherwise, it returns x.

-

If one of the two arguments is NaN, the value of the other argument is returned.

-
Template Parameters
- - - - -
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
-
-
-
See also
gtx_extented_min_max
-
-std::fmin documentation
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::max (T const & x,
T const & y,
T const & z 
)
-
- -

Return the maximum component-wise values of 3 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z 
)
-
- -

Return the maximum component-wise values of 3 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
C< T > const & y,
C< T > const & z 
)
-
- -

Return the maximum component-wise values of 3 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::max (T const & x,
T const & y,
T const & z,
T const & w 
)
-
- -

Return the maximum component-wise values of 4 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z,
typename C< T >::T const & w 
)
-
- -

Return the maximum component-wise values of 4 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
C< T > const & y,
C< T > const & z,
C< T > const & w 
)
-
- -

Return the maximum component-wise values of 4 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::min (T const & x,
T const & y,
T const & z 
)
-
- -

Return the minimum component-wise values of 3 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z 
)
-
- -

Return the minimum component-wise values of 3 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
C< T > const & y,
C< T > const & z 
)
-
- -

Return the minimum component-wise values of 3 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::min (T const & x,
T const & y,
T const & z,
T const & w 
)
-
- -

Return the minimum component-wise values of 4 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z,
typename C< T >::T const & w 
)
-
- -

Return the minimum component-wise values of 4 inputs.

-
See also
gtx_extented_min_max
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
C< T > const & y,
C< T > const & z,
C< T > const & w 
)
-
- -

Return the minimum component-wise values of 4 inputs.

-
See also
gtx_extented_min_max
- -
-
-
+

Definition in file matrix_float4x4.hpp.

+
diff --git a/doc/api/a00188_source.html b/doc/api/a00188_source.html new file mode 100644 index 00000000..045058a3 --- /dev/null +++ b/doc/api/a00188_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: matrix_float4x4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float4x4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef mat<4, 4, float, defaultp> mat4x4;
16 
20  typedef mat<4, 4, float, defaultp> mat4;
21 
23 }//namespace glm
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
+ + + + diff --git a/doc/api/a00191.html b/doc/api/a00191.html index 6d1bf531..6190cac1 100644 --- a/doc/api/a00191.html +++ b/doc/api/a00191.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_fast_square_root + + +0.9.9 API documenation: matrix_float4x4_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_fast_square_root
+
matrix_float4x4_precision.hpp File Reference
-

Include <glm/gtx/fast_square_root.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType fastDistance (genType x, genType y)
 Faster than the common distance function but less accurate. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastDistance (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Faster than the common distance function but less accurate. More...
 
template<typename genType >
GLM_FUNC_DECL genType fastInverseSqrt (genType x)
 Faster than the common inversesqrt function but less accurate. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt (vec< L, T, Q > const &x)
 Faster than the common inversesqrt function but less accurate. More...
 
template<typename genType >
GLM_FUNC_DECL genType fastLength (genType x)
 Faster than the common length function but less accurate. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastLength (vec< L, T, Q > const &x)
 Faster than the common length function but less accurate. More...
 
template<typename genType >
GLM_FUNC_DECL genType fastNormalize (genType const &x)
 Faster than the common normalize function but less accurate. More...
 
template<typename genType >
GLM_FUNC_DECL genType fastSqrt (genType x)
 Faster than the common sqrt function but less accurate. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastSqrt (vec< L, T, Q > const &x)
 Faster than the common sqrt function but less accurate. More...
 

+Typedefs

typedef mat< 4, 4, float, highp > highp_mat4
 
typedef mat< 4, 4, float, highp > highp_mat4x4
 
typedef mat< 4, 4, float, lowp > lowp_mat4
 
typedef mat< 4, 4, float, lowp > lowp_mat4x4
 
typedef mat< 4, 4, float, mediump > mediump_mat4
 
typedef mat< 4, 4, float, mediump > mediump_mat4x4
 

Detailed Description

-

Include <glm/gtx/fast_square_root.hpp> to use the features of this extension.

-

Fast but less accurate implementations of square root based functions.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::fastDistance (genType x,
genType y 
)
-
+

Core features

-

Faster than the common distance function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::fastDistance (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Faster than the common distance function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::fastInverseSqrt (genType x)
-
- -

Faster than the common inversesqrt function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fastInverseSqrt (vec< L, T, Q > const & x)
-
- -

Faster than the common inversesqrt function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::fastLength (genType x)
-
- -

Faster than the common length function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::fastLength (vec< L, T, Q > const & x)
-
- -

Faster than the common length function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::fastNormalize (genType const & x)
-
- -

Faster than the common normalize function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::fastSqrt (genType x)
-
- -

Faster than the common sqrt function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec<L, T, Q> glm::fastSqrt (vec< L, T, Q > const & x)
-
- -

Faster than the common sqrt function but less accurate.

-
See also
GLM_GTX_fast_square_root extension.
- -
-
-
+

Definition in file matrix_float4x4_precision.hpp.

+
diff --git a/doc/api/a00191_source.html b/doc/api/a00191_source.html new file mode 100644 index 00000000..d1a2d2e3 --- /dev/null +++ b/doc/api/a00191_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: matrix_float4x4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_float4x4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_mat4x4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef mat<4, 4, float, lowp> lowp_mat4;
17 
22  typedef mat<4, 4, float, mediump> mediump_mat4;
23 
28  typedef mat<4, 4, float, highp> highp_mat4;
29 
34  typedef mat<4, 4, float, lowp> lowp_mat4x4;
35 
40  typedef mat<4, 4, float, mediump> mediump_mat4x4;
41 
46  typedef mat<4, 4, float, highp> highp_mat4x4;
47 
49 }//namespace glm
mat< 4, 4, float, lowp > lowp_mat4
4 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 4, 4, float, highp > highp_mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 4, 4, float, highp > highp_mat4
4 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 4, 4, float, mediump > mediump_mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 4, 4, float, mediump > mediump_mat4
4 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
Definition: common.hpp:20
+
mat< 4, 4, float, lowp > lowp_mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
+ + + + diff --git a/doc/api/a00194.html b/doc/api/a00194.html index 7c90cc91..6fd650df 100644 --- a/doc/api/a00194.html +++ b/doc/api/a00194.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_gradient_paint + + +0.9.9 API documenation: matrix_projection.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Functions
-
GLM_GTX_gradient_paint
+
matrix_projection.hpp File Reference
-

Include <glm/gtx/gradient_paint.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - + + + + + + + + + + + + + + + + + + + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T linearGradient (vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)
 Return a color from a linear gradient. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T radialGradient (vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)
 Return a color from a radial gradient. More...
 
template<typename T , qualifier Q, typename U >
GLM_FUNC_DECL mat< 4, 4, T, Q > pickMatrix (vec< 2, T, Q > const &center, vec< 2, T, Q > const &delta, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > project (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectNO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectZO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProject (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectNO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectZO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 

Detailed Description

-

Include <glm/gtx/gradient_paint.hpp> to use the features of this extension.

-

Functions that return the color of procedural gradient for specific coordinates.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::linearGradient (vec< 2, T, Q > const & Point0,
vec< 2, T, Q > const & Point1,
vec< 2, T, Q > const & Position 
)
-
+

GLM_EXT_matrix_projection

-

Return a color from a linear gradient.

-
See also
- GLM_GTX_gradient_paint
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::radialGradient (vec< 2, T, Q > const & Center,
T const & Radius,
vec< 2, T, Q > const & Focal,
vec< 2, T, Q > const & Position 
)
-
- -

Return a color from a radial gradient.

-
See also
- GLM_GTX_gradient_paint
- -
-
-
+

Definition in file matrix_projection.hpp.

+
diff --git a/doc/api/a00194_source.html b/doc/api/a00194_source.html new file mode 100644 index 00000000..64de6d0a --- /dev/null +++ b/doc/api/a00194_source.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: matrix_projection.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_projection.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependencies
23 #include "../gtc/constants.hpp"
24 #include "../geometric.hpp"
25 #include "../trigonometric.hpp"
26 #include "../matrix.hpp"
27 
28 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
29 # pragma message("GLM: GLM_EXT_matrix_projection extension included")
30 #endif
31 
32 namespace glm
33 {
36 
49  template<typename T, typename U, qualifier Q>
50  GLM_FUNC_DECL vec<3, T, Q> projectZO(
51  vec<3, T, Q> const& obj, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
52 
65  template<typename T, typename U, qualifier Q>
66  GLM_FUNC_DECL vec<3, T, Q> projectNO(
67  vec<3, T, Q> const& obj, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
68 
81  template<typename T, typename U, qualifier Q>
82  GLM_FUNC_DECL vec<3, T, Q> project(
83  vec<3, T, Q> const& obj, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
84 
97  template<typename T, typename U, qualifier Q>
98  GLM_FUNC_DECL vec<3, T, Q> unProjectZO(
99  vec<3, T, Q> const& win, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
100 
113  template<typename T, typename U, qualifier Q>
114  GLM_FUNC_DECL vec<3, T, Q> unProjectNO(
115  vec<3, T, Q> const& win, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
116 
129  template<typename T, typename U, qualifier Q>
130  GLM_FUNC_DECL vec<3, T, Q> unProject(
131  vec<3, T, Q> const& win, mat<4, 4, T, Q> const& model, mat<4, 4, T, Q> const& proj, vec<4, U, Q> const& viewport);
132 
142  template<typename T, qualifier Q, typename U>
143  GLM_FUNC_DECL mat<4, 4, T, Q> pickMatrix(
144  vec<2, T, Q> const& center, vec<2, T, Q> const& delta, vec<4, U, Q> const& viewport);
145 
147 }//namespace glm
148 
149 #include "matrix_projection.inl"
GLM_FUNC_DECL mat< 4, 4, T, Q > pickMatrix(vec< 2, T, Q > const &center, vec< 2, T, Q > const &delta, vec< 4, U, Q > const &viewport)
Define a picking region.
+
GLM_FUNC_DECL vec< 3, T, Q > projectNO(vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.
+
GLM_FUNC_DECL genType proj(genType const &x, genType const &Normal)
Projects x on Normal.
+
GLM_FUNC_DECL vec< 3, T, Q > projectZO(vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.
+
GLM_FUNC_DECL vec< 3, T, Q > unProjectNO(vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.
+
GLM_FUNC_DECL vec< 3, T, Q > unProjectZO(vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.
+
GLM_FUNC_DECL vec< 3, T, Q > project(vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates using default near...
+
GLM_FUNC_DECL vec< 3, T, Q > unProject(vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
Map the specified window coordinates (win.x, win.y, win.z) into object coordinates using default near...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00197.html b/doc/api/a00197.html index 8a9ed58f..f7cdae2b 100644 --- a/doc/api/a00197.html +++ b/doc/api/a00197.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_integer + + +0.9.9 API documenation: matrix_relational.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Typedefs | Functions
-
+
matrix_relational.hpp File Reference
-

Include <glm/gtx/integer.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - -

-Typedefs

typedef signed int sint
 32bit signed integer. More...
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + +

Functions

template<typename genType >
GLM_FUNC_DECL genType factorial (genType const &x)
 Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension. More...
 
GLM_FUNC_DECL unsigned int floor_log2 (unsigned int x)
 Returns the floor log2 of x. More...
 
GLM_FUNC_DECL int mod (int x, int y)
 Modulus. More...
 
GLM_FUNC_DECL uint mod (uint x, uint y)
 Modulus. More...
 
GLM_FUNC_DECL uint nlz (uint x)
 Returns the number of leading zeros. More...
 
GLM_FUNC_DECL int pow (int x, uint y)
 Returns x raised to the y power. More...
 
GLM_FUNC_DECL uint pow (uint x, uint y)
 Returns x raised to the y power. More...
 
GLM_FUNC_DECL int sqrt (int x)
 Returns the positive square root of x. More...
 
GLM_FUNC_DECL uint sqrt (uint x)
 Returns the positive square root of x. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, T epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, T epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
 

Detailed Description

-

Include <glm/gtx/integer.hpp> to use the features of this extension.

-

Add support for integer for core functions

-

Typedef Documentation

- -
-
- - - - -
typedef signed int sint
-
+

GLM_EXT_matrix_relational

-

32bit signed integer.

-

From GLM_GTX_integer extension.

- -

Definition at line 55 of file gtx/integer.hpp.

- -
-
-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::factorial (genType const & x)
-
- -

Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL unsigned int glm::floor_log2 (unsigned int x)
-
- -

Returns the floor log2 of x.

-

From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int glm::mod (int x,
int y 
)
-
- -

Modulus.

-

Returns x - y * floor(x / y) for each component in x using the floating point value y. From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint glm::mod (uint x,
uint y 
)
-
- -

Modulus.

-

Returns x - y * floor(x / y) for each component in x using the floating point value y. From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::nlz (uint x)
-
- -

Returns the number of leading zeros.

-

From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL int glm::pow (int x,
uint y 
)
-
- -

Returns x raised to the y power.

-

From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL uint glm::pow (uint x,
uint y 
)
-
- -

Returns x raised to the y power.

-

From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL int glm::sqrt (int x)
-
- -

Returns the positive square root of x.

-

From GLM_GTX_integer extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::sqrt (uint x)
-
- -

Returns the positive square root of x.

-

From GLM_GTX_integer extension.

- -
-
-
+

Definition in file matrix_relational.hpp.

+
diff --git a/doc/api/a00197_source.html b/doc/api/a00197_source.html new file mode 100644 index 00000000..66da8d62 --- /dev/null +++ b/doc/api/a00197_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: matrix_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_relational.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_matrix_relational extension included")
22 #endif
23 
24 namespace glm
25 {
28 
36  template<length_t C, length_t R, typename T, qualifier Q>
37  GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y);
38 
46  template<length_t C, length_t R, typename T, qualifier Q>
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon);
48 
56  template<length_t C, length_t R, typename T, qualifier Q>
57  GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> equal(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon);
58 
66  template<length_t C, length_t R, typename T, qualifier Q>
67  GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y);
68 
76  template<length_t C, length_t R, typename T, qualifier Q>
77  GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, T epsilon);
78 
86  template<length_t C, length_t R, typename T, qualifier Q>
87  GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> notEqual(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y, vec<C, T, Q> const& epsilon);
88 
90 }//namespace glm
91 
92 #include "matrix_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00203.html b/doc/api/a00203.html index 6ff798c9..85cf7fa5 100644 --- a/doc/api/a00203.html +++ b/doc/api/a00203.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_matrix_factorisation + + +0.9.9 API documenation: quaternion_common.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Functions
-
GLM_GTX_matrix_factorisation
+
quaternion_common.hpp File Reference
-

Include <glm/gtx/matrix_factorisation.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + +

Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > fliplr (mat< C, R, T, Q > const &in)
 Flips the matrix columns right and left. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > flipud (mat< C, R, T, Q > const &in)
 Flips the matrix rows up and down. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void qr_decompose (mat< C, R, T, Q > const &in, mat<(C< R?C:R), R, T, Q > &q, mat< C,(C< R?C:R), T, Q > &r)
 Performs QR factorisation of a matrix. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void rq_decompose (mat< C, R, T, Q > const &in, mat<(C< R?C:R), R, T, Q > &r, mat< C,(C< R?C:R), T, Q > &q)
 Performs RQ factorisation of a matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > conjugate (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > inverse (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isinf (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isnan (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > lerp (qua< T, Q > const &x, qua< T, Q > const &y, T a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > mix (qua< T, Q > const &x, qua< T, Q > const &y, T a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > slerp (qua< T, Q > const &x, qua< T, Q > const &y, T a)
 

Detailed Description

-

Include <glm/gtx/matrix_factorisation.hpp> to use the features of this extension.

-

Functions to factor matrices in various forms

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<C, R, T, Q> glm::fliplr (mat< C, R, T, Q > const & in)
-
+

GLM_EXT_quaternion_common

-

Flips the matrix columns right and left.

-

From GLM_GTX_matrix_factorisation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<C, R, T, Q> glm::flipud (mat< C, R, T, Q > const & in)
-
- -

Flips the matrix rows up and down.

-

From GLM_GTX_matrix_factorisation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL void glm::qr_decompose (mat< C, R, T, Q > const & in)
-
- -

Performs QR factorisation of a matrix.

-

Returns 2 matrices, q and r, such that the columns of q are orthonormal and span the same subspace than those of the input matrix, r is an upper triangular matrix, and q*r=in. Given an n-by-m input matrix, q has dimensions min(n,m)-by-m, and r has dimensions n-by-min(n,m).

-

From GLM_GTX_matrix_factorisation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL void glm::rq_decompose (mat< C, R, T, Q > const & in)
-
- -

Performs RQ factorisation of a matrix.

-

Returns 2 matrices, r and q, such that r is an upper triangular matrix, the rows of q are orthonormal and span the same subspace than those of the input matrix, and r*q=in. Note that in the context of RQ factorisation, the diagonal is seen as starting in the lower-right corner of the matrix, instead of the usual upper-left. Given an n-by-m input matrix, r has dimensions min(n,m)-by-m, and q has dimensions n-by-min(n,m).

-

From GLM_GTX_matrix_factorisation extension.

- -
-
-
+

Definition in file quaternion_common.hpp.

+
diff --git a/doc/api/a00203_source.html b/doc/api/a00203_source.html new file mode 100644 index 00000000..86ce6179 --- /dev/null +++ b/doc/api/a00203_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: quaternion_common.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_common.hpp
+
+
+Go to the documentation of this file.
1 
21 #pragma once
22 
23 // Dependency:
24 #include "../ext/scalar_constants.hpp"
25 #include "../ext/quaternion_geometric.hpp"
26 #include "../common.hpp"
27 #include "../trigonometric.hpp"
28 #include "../exponential.hpp"
29 #include <limits>
30 
31 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
32 # pragma message("GLM: GLM_EXT_quaternion_common extension included")
33 #endif
34 
35 namespace glm
36 {
39 
52  template<typename T, qualifier Q>
53  GLM_FUNC_DECL qua<T, Q> mix(qua<T, Q> const& x, qua<T, Q> const& y, T a);
54 
64  template<typename T, qualifier Q>
65  GLM_FUNC_DECL qua<T, Q> lerp(qua<T, Q> const& x, qua<T, Q> const& y, T a);
66 
76  template<typename T, qualifier Q>
77  GLM_FUNC_DECL qua<T, Q> slerp(qua<T, Q> const& x, qua<T, Q> const& y, T a);
78 
83  template<typename T, qualifier Q>
84  GLM_FUNC_DECL qua<T, Q> conjugate(qua<T, Q> const& q);
85 
90  template<typename T, qualifier Q>
91  GLM_FUNC_DECL qua<T, Q> inverse(qua<T, Q> const& q);
92 
103  template<typename T, qualifier Q>
104  GLM_FUNC_DECL vec<4, bool, Q> isnan(qua<T, Q> const& x);
105 
114  template<typename T, qualifier Q>
115  GLM_FUNC_DECL vec<4, bool, Q> isinf(qua<T, Q> const& x);
116 
118 } //namespace glm
119 
120 #include "quaternion_common.inl"
GLM_FUNC_DECL qua< T, Q > mix(qua< T, Q > const &x, qua< T, Q > const &y, T a)
Spherical linear interpolation of two quaternions.
+
GLM_FUNC_DECL qua< T, Q > slerp(qua< T, Q > const &x, qua< T, Q > const &y, T a)
Spherical linear interpolation of two quaternions.
+
GLM_FUNC_DECL vec< 4, bool, Q > isinf(qua< T, Q > const &x)
Returns true if x holds a positive infinity or negative infinity representation in the underlying imp...
+
GLM_FUNC_DECL qua< T, Q > conjugate(qua< T, Q > const &q)
Returns the q conjugate.
+
GLM_FUNC_DECL qua< T, Q > inverse(qua< T, Q > const &q)
Returns the q inverse.
+
GLM_FUNC_DECL vec< 4, bool, Q > isnan(qua< T, Q > const &x)
Returns true if x holds a NaN (not a number) representation in the underlying implementation&#39;s set of...
+
Definition: common.hpp:20
+
GLM_FUNC_DECL qua< T, Q > lerp(qua< T, Q > const &x, qua< T, Q > const &y, T a)
Linear interpolation of two quaternions.
+
+ + + + diff --git a/doc/api/a00206.html b/doc/api/a00206.html index 720343d6..dcc783fd 100644 --- a/doc/api/a00206.html +++ b/doc/api/a00206.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_matrix_operation + + +0.9.9 API documenation: quaternion_double.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_matrix_operation
+
quaternion_double.hpp File Reference
-

Include <glm/gtx/matrix_operation.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + +

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > diagonal2x2 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 3, T, Q > diagonal2x3 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 4, T, Q > diagonal2x4 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 2, T, Q > diagonal3x2 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > diagonal3x3 (vec< 3, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 4, T, Q > diagonal3x4 (vec< 3, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 2, T, Q > diagonal4x2 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 3, T, Q > diagonal4x3 (vec< 3, T, Q > const &v)
 Build a diagonal matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > diagonal4x4 (vec< 4, T, Q > const &v)
 Build a diagonal matrix. More...
 

+Typedefs

+typedef qua< double, defaultp > dquat
 

Detailed Description

-

Include <glm/gtx/matrix_operation.hpp> to use the features of this extension.

-

Build diagonal matrices from vectors.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<2, 2, T, Q> glm::diagonal2x2 (vec< 2, T, Q > const & v)
-
+

GLM_EXT_quaternion_double

-

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<2, 3, T, Q> glm::diagonal2x3 (vec< 2, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<2, 4, T, Q> glm::diagonal2x4 (vec< 2, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<3, 2, T, Q> glm::diagonal3x2 (vec< 2, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::diagonal3x3 (vec< 3, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<3, 4, T, Q> glm::diagonal3x4 (vec< 3, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<4, 2, T, Q> glm::diagonal4x2 (vec< 2, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<4, 3, T, Q> glm::diagonal4x3 (vec< 3, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::diagonal4x4 (vec< 4, T, Q > const & v)
-
- -

Build a diagonal matrix.

-

From GLM_GTX_matrix_operation extension.

- -
-
-
+

Definition in file quaternion_double.hpp.

+
diff --git a/doc/api/a00206_source.html b/doc/api/a00206_source.html new file mode 100644 index 00000000..22348f12 --- /dev/null +++ b/doc/api/a00206_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: quaternion_double.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_double.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependency:
23 #include "../detail/type_quat.hpp"
24 
25 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_EXT_quaternion_double extension included")
27 #endif
28 
29 namespace glm
30 {
33 
35  typedef qua<double, defaultp> dquat;
36 
38 } //namespace glm
39 
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00209.html b/doc/api/a00209.html index 42dd1f2f..1513127e 100644 --- a/doc/api/a00209.html +++ b/doc/api/a00209.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_mixed_producte + + +0.9.9 API documenation: quaternion_double_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_mixed_producte
+
quaternion_double_precision.hpp File Reference
-

Include <glm/gtx/mixed_product.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - + + + + + + +

-Functions

-template<typename T , qualifier Q>
GLM_FUNC_DECL T mixedProduct (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
 

+Typedefs

typedef qua< double, highp > highp_dquat
 
typedef qua< double, lowp > lowp_dquat
 
typedef qua< double, mediump > mediump_dquat
 

Detailed Description

-

Include <glm/gtx/mixed_product.hpp> to use the features of this extension.

-

Mixed product of 3 vectors.

-
+

GLM_EXT_quaternion_double_precision

+ +

Definition in file quaternion_double_precision.hpp.

+
diff --git a/doc/api/a00209_source.html b/doc/api/a00209_source.html new file mode 100644 index 00000000..cfd342b3 --- /dev/null +++ b/doc/api/a00209_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: quaternion_double_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_double_precision.hpp
+
+
+Go to the documentation of this file.
1 
11 #pragma once
12 
13 // Dependency:
14 #include "../detail/type_quat.hpp"
15 
16 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
17 # pragma message("GLM: GLM_EXT_quaternion_double_precision extension included")
18 #endif
19 
20 namespace glm
21 {
24 
28  typedef qua<double, lowp> lowp_dquat;
29 
33  typedef qua<double, mediump> mediump_dquat;
34 
38  typedef qua<double, highp> highp_dquat;
39 
41 } //namespace glm
42 
qua< double, highp > highp_dquat
Quaternion of high double-qualifier floating-point numbers using high precision arithmetic in term of...
+
qua< double, lowp > lowp_dquat
Quaternion of double-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
qua< double, mediump > mediump_dquat
Quaternion of medium double-qualifier floating-point numbers using high precision arithmetic in term ...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00212.html b/doc/api/a00212.html index 11025a72..d731bd7d 100644 --- a/doc/api/a00212.html +++ b/doc/api/a00212.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_normalize_dot + + +0.9.9 API documenation: quaternion_exponential.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Functions
-
GLM_GTX_normalize_dot
+
quaternion_exponential.hpp File Reference
-

Include <glm/gtx/normalized_dot.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - + + + + + + + + + + + +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastNormalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Normalize parameters and returns the dot product of x and y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T normalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Normalize parameters and returns the dot product of x and y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > exp (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > log (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > pow (qua< T, Q > const &q, T y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > sqrt (qua< T, Q > const &q)
 

Detailed Description

-

Include <glm/gtx/normalized_dot.hpp> to use the features of this extension.

-

Dot product of vectors that need to be normalize with a single square root.

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::fastNormalizeDot (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
+

GLM_EXT_quaternion_exponential

-

Normalize parameters and returns the dot product of x and y.

-

Faster that dot(fastNormalize(x), fastNormalize(y)).

-
See also
GLM_GTX_normalize_dot extension.
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL T glm::normalizeDot (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
-
- -

Normalize parameters and returns the dot product of x and y.

-

It's faster that dot(normalize(x), normalize(y)).

-
See also
GLM_GTX_normalize_dot extension.
- -
-
-
+

Definition in file quaternion_exponential.hpp.

+
diff --git a/doc/api/a00212_source.html b/doc/api/a00212_source.html new file mode 100644 index 00000000..eddcf467 --- /dev/null +++ b/doc/api/a00212_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: quaternion_exponential.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_exponential.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../common.hpp"
19 #include "../trigonometric.hpp"
20 #include "../geometric.hpp"
21 #include "../ext/scalar_constants.hpp"
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_EXT_quaternion_exponential extension included")
25 #endif
26 
27 namespace glm
28 {
31 
36  template<typename T, qualifier Q>
37  GLM_FUNC_DECL qua<T, Q> exp(qua<T, Q> const& q);
38 
43  template<typename T, qualifier Q>
44  GLM_FUNC_DECL qua<T, Q> log(qua<T, Q> const& q);
45 
50  template<typename T, qualifier Q>
51  GLM_FUNC_DECL qua<T, Q> pow(qua<T, Q> const& q, T y);
52 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL qua<T, Q> sqrt(qua<T, Q> const& q);
59 
61 } //namespace glm
62 
63 #include "quaternion_exponential.inl"
GLM_FUNC_DECL qua< T, Q > exp(qua< T, Q > const &q)
Returns a exponential of a quaternion.
+
GLM_FUNC_DECL qua< T, Q > sqrt(qua< T, Q > const &q)
Returns the square root of a quaternion.
+
GLM_FUNC_DECL qua< T, Q > log(qua< T, Q > const &q)
Returns a logarithm of a quaternion.
+
GLM_FUNC_DECL qua< T, Q > pow(qua< T, Q > const &q, T y)
Returns a quaternion raised to a power.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00213.html b/doc/api/a00213.html deleted file mode 100644 index 1d58d606..00000000 --- a/doc/api/a00213.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - - -0.9.9 API documenation: GLM_GTX_number_precision - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Typedefs
-
-
GLM_GTX_number_precision
-
-
- -

Include <glm/gtx/number_precision.hpp> to use the features of this extension. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Typedefs

-typedef f32 f32mat1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f32 f32mat1x1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f32 f32vec1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f64 f64mat1
 Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f64 f64mat1x1
 Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef f64 f64vec1
 Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension)
 
-typedef u16 u16vec1
 16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-typedef u32 u32vec1
 32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-typedef u64 u64vec1
 64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-typedef u8 u8vec1
 8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
 
-

Detailed Description

-

Include <glm/gtx/number_precision.hpp> to use the features of this extension.

-

Defined size types.

-
- - - - diff --git a/doc/api/a00215.html b/doc/api/a00215.html index c1fff21c..99df553d 100644 --- a/doc/api/a00215.html +++ b/doc/api/a00215.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_orthonormalize + + +0.9.9 API documenation: quaternion_float.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_orthonormalize
+
quaternion_float.hpp File Reference
-

Include <glm/gtx/orthonormalize.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - + + +

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > orthonormalize (mat< 3, 3, T, Q > const &m)
 Returns the orthonormalized matrix of m. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > orthonormalize (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Orthonormalizes x according y. More...
 

+Typedefs

+typedef qua< float, defaultp > quat
 

Detailed Description

-

Include <glm/gtx/orthonormalize.hpp> to use the features of this extension.

-

Orthonormalize matrices.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::orthonormalize (mat< 3, 3, T, Q > const & m)
-
+

GLM_EXT_quaternion_float

-

Returns the orthonormalized matrix of m.

-
See also
GLM_GTX_orthonormalize
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::orthonormalize (vec< 3, T, Q > const & x,
vec< 3, T, Q > const & y 
)
-
- -

Orthonormalizes x according y.

-
See also
GLM_GTX_orthonormalize
- -
-
-
+

Definition in file quaternion_float.hpp.

+
diff --git a/doc/api/a00215_source.html b/doc/api/a00215_source.html new file mode 100644 index 00000000..f20984b8 --- /dev/null +++ b/doc/api/a00215_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: quaternion_float.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_float.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependency:
23 #include "../detail/type_quat.hpp"
24 
25 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_EXT_quaternion_float extension included")
27 #endif
28 
29 namespace glm
30 {
33 
35  typedef qua<float, defaultp> quat;
36 
38 } //namespace glm
39 
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00218.html b/doc/api/a00218.html index bf00ee46..b4d83281 100644 --- a/doc/api/a00218.html +++ b/doc/api/a00218.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_projection + + +0.9.9 API documenation: quaternion_float_precision.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
GLM_GTX_projection
+
quaternion_float_precision.hpp File Reference
-

Include <glm/gtx/projection.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - + + + + + + +

-Functions

template<typename genType >
GLM_FUNC_DECL genType proj (genType const &x, genType const &Normal)
 Projects x on Normal. More...
 

+Typedefs

+typedef qua< float, highp > highp_quat
 
+typedef qua< float, lowp > lowp_quat
 
+typedef qua< float, mediump > mediump_quat
 

Detailed Description

-

Include <glm/gtx/projection.hpp> to use the features of this extension.

-

Projection of a vector to other one

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL genType glm::proj (genType const & x,
genType const & Normal 
)
-
+

GLM_EXT_quaternion_float_precision

-

Projects x on Normal.

-
See also
GLM_GTX_projection
- -
-
-
+

Definition in file quaternion_float_precision.hpp.

+
diff --git a/doc/api/a00218_source.html b/doc/api/a00218_source.html new file mode 100644 index 00000000..2daf0667 --- /dev/null +++ b/doc/api/a00218_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: quaternion_float_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_float_precision.hpp
+
+
+Go to the documentation of this file.
1 
11 #pragma once
12 
13 // Dependency:
14 #include "../detail/type_quat.hpp"
15 
16 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
17 # pragma message("GLM: GLM_EXT_quaternion_float_precision extension included")
18 #endif
19 
20 namespace glm
21 {
24 
26  typedef qua<float, lowp> lowp_quat;
27 
29  typedef qua<float, mediump> mediump_quat;
30 
32  typedef qua<float, highp> highp_quat;
33 
35 } //namespace glm
36 
qua< float, lowp > lowp_quat
Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
qua< float, mediump > mediump_quat
Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
Definition: common.hpp:20
+
qua< float, highp > highp_quat
Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
+ + + + diff --git a/doc/api/a00219.html b/doc/api/a00219.html deleted file mode 100644 index 98977daf..00000000 --- a/doc/api/a00219.html +++ /dev/null @@ -1,812 +0,0 @@ - - - - - - -0.9.9 API documenation: GLM_GTX_quaternion - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - -
- -
-
- - -
- -
- -
-
-Functions
-
-
GLM_GTX_quaternion
-
-
- -

Include <glm/gtx/quaternion.hpp> to use the features of this extension. -More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (tquat< T, Q > const &q, vec< 3, T, Q > const &v)
 Compute a cross product between a quaternion and a vector. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &v, tquat< T, Q > const &q)
 Compute a cross product between a vector and a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > exp (tquat< T, Q > const &q)
 Returns a exp of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T extractRealComponent (tquat< T, Q > const &q)
 Extract the real component of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > fastMix (tquat< T, Q > const &x, tquat< T, Q > const &y, T const &a)
 Quaternion normalized linear interpolation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > intermediate (tquat< T, Q > const &prev, tquat< T, Q > const &curr, tquat< T, Q > const &next)
 Returns an intermediate control point for squad interpolation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length2 (tquat< T, Q > const &q)
 Returns the squared length of x. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > log (tquat< T, Q > const &q)
 Returns a log of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > pow (tquat< T, Q > const &x, T const &y)
 Returns x raised to the y power. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quat_identity ()
 Create an identity quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quatLookAt (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a look at quaternion based on the default handedness. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quatLookAtLH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a left-handed look at quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > quatLookAtRH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a right-handed look at quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (tquat< T, Q > const &q, vec< 3, T, Q > const &v)
 Returns quarternion square root. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (tquat< T, Q > const &q, vec< 4, T, Q > const &v)
 Rotates a 4 components vector by a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > rotation (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
 Compute the rotation between two vectors. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > shortMix (tquat< T, Q > const &x, tquat< T, Q > const &y, T const &a)
 Quaternion interpolation using the rotation short path. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > squad (tquat< T, Q > const &q1, tquat< T, Q > const &q2, tquat< T, Q > const &s1, tquat< T, Q > const &s2, T const &h)
 Compute a point on a path according squad equation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3 (tquat< T, Q > const &x)
 Converts a quaternion to a 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4 (tquat< T, Q > const &x)
 Converts a quaternion to a 4 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > toQuat (mat< 3, 3, T, Q > const &x)
 Converts a 3 * 3 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > toQuat (mat< 4, 4, T, Q > const &x)
 Converts a 4 * 4 matrix to a quaternion. More...
 
-

Detailed Description

-

Include <glm/gtx/quaternion.hpp> to use the features of this extension.

-

Extented quaternion types and functions

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::cross (tquat< T, Q > const & q,
vec< 3, T, Q > const & v 
)
-
- -

Compute a cross product between a quaternion and a vector.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::cross (vec< 3, T, Q > const & v,
tquat< T, Q > const & q 
)
-
- -

Compute a cross product between a vector and a quaternion.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::exp (tquat< T, Q > const & q)
-
- -

Returns a exp of a quaternion.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::extractRealComponent (tquat< T, Q > const & q)
-
- -

Extract the real component of a quaternion.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::fastMix (tquat< T, Q > const & x,
tquat< T, Q > const & y,
T const & a 
)
-
- -

Quaternion normalized linear interpolation.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::intermediate (tquat< T, Q > const & prev,
tquat< T, Q > const & curr,
tquat< T, Q > const & next 
)
-
- -

Returns an intermediate control point for squad interpolation.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL T glm::length2 (tquat< T, Q > const & q)
-
- -

Returns the squared length of x.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::log (tquat< T, Q > const & q)
-
- -

Returns a log of a quaternion.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::pow (tquat< T, Q > const & x,
T const & y 
)
-
- -

Returns x raised to the y power.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::quat_identity ()
-
- -

Create an identity quaternion.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::quatLookAt (vec< 3, T, Q > const & direction,
vec< 3, T, Q > const & up 
)
-
- -

Build a look at quaternion based on the default handedness.

-
Parameters
- - - -
directionDesired forward direction. Needs to be normalized.
upUp vector, how the camera is oriented. Typically (0, 1, 0).
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::quatLookAtLH (vec< 3, T, Q > const & direction,
vec< 3, T, Q > const & up 
)
-
- -

Build a left-handed look at quaternion.

-
Parameters
- - - -
directionDesired forward direction onto which the +z-axis gets mapped. Needs to be normalized.
upUp vector, how the camera is oriented. Typically (0, 1, 0).
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::quatLookAtRH (vec< 3, T, Q > const & direction,
vec< 3, T, Q > const & up 
)
-
- -

Build a right-handed look at quaternion.

-
Parameters
- - - -
directionDesired forward direction onto which the -z-axis gets mapped. Needs to be normalized.
upUp vector, how the camera is oriented. Typically (0, 1, 0).
-
-
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::rotate (tquat< T, Q > const & q,
vec< 3, T, Q > const & v 
)
-
- -

Returns quarternion square root.

-
See also
GLM_GTX_quaternion Rotates a 3 components vector by a quaternion.
-
-GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<4, T, Q> glm::rotate (tquat< T, Q > const & q,
vec< 4, T, Q > const & v 
)
-
- -

Rotates a 4 components vector by a quaternion.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::rotation (vec< 3, T, Q > const & orig,
vec< 3, T, Q > const & dest 
)
-
- -

Compute the rotation between two vectors.

-

param orig vector, needs to be normalized param dest vector, needs to be normalized

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::shortMix (tquat< T, Q > const & x,
tquat< T, Q > const & y,
T const & a 
)
-
- -

Quaternion interpolation using the rotation short path.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::squad (tquat< T, Q > const & q1,
tquat< T, Q > const & q2,
tquat< T, Q > const & s1,
tquat< T, Q > const & s2,
T const & h 
)
-
- -

Compute a point on a path according squad equation.

-

q1 and q2 are control points; s1 and s2 are intermediate control points.

-
See also
GLM_GTX_quaternion
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::toMat3 (tquat< T, Q > const & x)
-
- -

Converts a quaternion to a 3 * 3 matrix.

-
See also
GLM_GTX_quaternion
- -

Definition at line 134 of file gtx/quaternion.hpp.

- -

References glm::mat3_cast().

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::toMat4 (tquat< T, Q > const & x)
-
- -

Converts a quaternion to a 4 * 4 matrix.

-
See also
GLM_GTX_quaternion
- -

Definition at line 141 of file gtx/quaternion.hpp.

- -

References glm::mat4_cast().

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::toQuat (mat< 3, 3, T, Q > const & x)
-
- -

Converts a 3 * 3 matrix to a quaternion.

-
See also
GLM_GTX_quaternion
- -

Definition at line 148 of file gtx/quaternion.hpp.

- -

References glm::quat_cast().

- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL tquat<T, Q> glm::toQuat (mat< 4, 4, T, Q > const & x)
-
- -

Converts a 4 * 4 matrix to a quaternion.

-
See also
GLM_GTX_quaternion
- -

Definition at line 155 of file gtx/quaternion.hpp.

- -

References glm::quat_cast().

- -
-
-
- - - - diff --git a/doc/api/a00221.html b/doc/api/a00221.html index 3c1da1f8..d9979977 100644 --- a/doc/api/a00221.html +++ b/doc/api/a00221.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_raw_data + + +0.9.9 API documenation: quaternion_geometric.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Typedefs
+Functions
-
GLM_GTX_raw_data
+
quaternion_geometric.hpp File Reference
-

Include <glm/gtx/raw_data.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - + + + + + + + + + + + + +

-Typedefs

typedef detail::uint8 byte
 Type for byte numbers. More...
 
typedef detail::uint32 dword
 Type for dword numbers. More...
 
typedef detail::uint64 qword
 Type for qword numbers. More...
 
typedef detail::uint16 word
 Type for word numbers. More...
 

+Functions

template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER qua< T, Q > cross (qua< T, Q > const &q1, qua< T, Q > const &q2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T dot (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > normalize (qua< T, Q > const &q)
 

Detailed Description

-

Include <glm/gtx/raw_data.hpp> to use the features of this extension.

-

Projection of a vector to other one

-

Typedef Documentation

- -
-
- - - - -
typedef detail::uint8 byte
-
+

GLM_EXT_quaternion_geometric

-

Type for byte numbers.

-

From GLM_GTX_raw_data extension.

- -

Definition at line 34 of file raw_data.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint32 dword
-
- -

Type for dword numbers.

-

From GLM_GTX_raw_data extension.

- -

Definition at line 42 of file raw_data.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint64 qword
-
- -

Type for qword numbers.

-

From GLM_GTX_raw_data extension.

- -

Definition at line 46 of file raw_data.hpp.

- -
-
- -
-
- - - - -
typedef detail::uint16 word
-
- -

Type for word numbers.

-

From GLM_GTX_raw_data extension.

- -

Definition at line 38 of file raw_data.hpp.

- -
-
-
+

Definition in file quaternion_geometric.hpp.

+
diff --git a/doc/api/a00221_source.html b/doc/api/a00221_source.html new file mode 100644 index 00000000..7e6468ca --- /dev/null +++ b/doc/api/a00221_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: quaternion_geometric.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_geometric.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../geometric.hpp"
19 #include "../exponential.hpp"
20 #include "../ext/vector_relational.hpp"
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_EXT_quaternion_geometric extension included")
24 #endif
25 
26 namespace glm
27 {
30 
37  template<typename T, qualifier Q>
38  GLM_FUNC_DECL T length(qua<T, Q> const& q);
39 
46  template<typename T, qualifier Q>
47  GLM_FUNC_DECL qua<T, Q> normalize(qua<T, Q> const& q);
48 
55  template<typename T, qualifier Q>
56  GLM_FUNC_DECL T dot(qua<T, Q> const& x, qua<T, Q> const& y);
57 
64  template<typename T, qualifier Q>
65  GLM_FUNC_QUALIFIER qua<T, Q> cross(qua<T, Q> const& q1, qua<T, Q> const& q2);
66 
68 } //namespace glm
69 
70 #include "quaternion_geometric.inl"
GLM_FUNC_DECL T dot(qua< T, Q > const &x, qua< T, Q > const &y)
Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ...
+
GLM_FUNC_DECL qua< T, Q > normalize(qua< T, Q > const &q)
Returns the normalized quaternion.
+
Definition: common.hpp:20
+
GLM_FUNC_QUALIFIER qua< T, Q > cross(qua< T, Q > const &q1, qua< T, Q > const &q2)
Compute a cross product.
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
+ + + + diff --git a/doc/api/a00224.html b/doc/api/a00224.html index 1cc4bef5..5b4010fe 100644 --- a/doc/api/a00224.html +++ b/doc/api/a00224.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_scalar_relational + + +0.9.9 API documenation: quaternion_relational.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
+
+Functions
-
GLM_GTX_scalar_relational
+
quaternion_relational.hpp File Reference
-

Include <glm/gtx/scalar_relational.hpp> to use the features of this extension. -More...

-

Include <glm/gtx/scalar_relational.hpp> to use the features of this extension.

-

Extend a position from a source to a position at a defined length.

-
+

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > equal (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > equal (qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > notEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > notEqual (qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
 
+

Detailed Description

+

GLM_EXT_quaternion_relational

+ +

Definition in file quaternion_relational.hpp.

+
diff --git a/doc/api/a00224_source.html b/doc/api/a00224_source.html new file mode 100644 index 00000000..47782113 --- /dev/null +++ b/doc/api/a00224_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: quaternion_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_relational.hpp
+
+
+Go to the documentation of this file.
1 
17 #pragma once
18 
19 // Dependency:
20 #include "../vector_relational.hpp"
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_EXT_quaternion_relational extension included")
24 #endif
25 
26 namespace glm
27 {
30 
35  template<typename T, qualifier Q>
36  GLM_FUNC_DECL vec<4, bool, Q> equal(qua<T, Q> const& x, qua<T, Q> const& y);
37 
42  template<typename T, qualifier Q>
43  GLM_FUNC_DECL vec<4, bool, Q> equal(qua<T, Q> const& x, qua<T, Q> const& y, T epsilon);
44 
49  template<typename T, qualifier Q>
50  GLM_FUNC_DECL vec<4, bool, Q> notEqual(qua<T, Q> const& x, qua<T, Q> const& y);
51 
56  template<typename T, qualifier Q>
57  GLM_FUNC_DECL vec<4, bool, Q> notEqual(qua<T, Q> const& x, qua<T, Q> const& y, T epsilon);
58 
60 } //namespace glm
61 
62 #include "quaternion_relational.inl"
GLM_FUNC_DECL vec< 4, bool, Q > equal(qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL vec< 4, bool, Q > notEqual(qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00227.html b/doc/api/a00227.html index 39745919..388cfeb4 100644 --- a/doc/api/a00227.html +++ b/doc/api/a00227.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_string_cast + + +0.9.9 API documenation: quaternion_transform.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Functions
-
GLM_GTX_string_cast
+
quaternion_transform.hpp File Reference
-

Include <glm/gtx/string_cast.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - + + +

Functions

template<typename genType >
GLM_FUNC_DECL std::string to_string (genType const &x)
 Create a string from a GLM vector or matrix typed variable. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotate (qua< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 

Detailed Description

-

Include <glm/gtx/string_cast.hpp> to use the features of this extension.

-

Setup strings for GLM type values

-

This extension is not supported with CUDA

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL std::string glm::to_string (genType const & x)
-
+

GLM_EXT_quaternion_transform

-

Create a string from a GLM vector or matrix typed variable.

-
See also
GLM_GTX_string_cast extension.
- -
-
-
+

Definition in file quaternion_transform.hpp.

+
diff --git a/doc/api/a00227_source.html b/doc/api/a00227_source.html new file mode 100644 index 00000000..c7ee3bcb --- /dev/null +++ b/doc/api/a00227_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: quaternion_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_transform.hpp
+
+
+Go to the documentation of this file.
1 
18 #pragma once
19 
20 // Dependency:
21 #include "../common.hpp"
22 #include "../trigonometric.hpp"
23 #include "../geometric.hpp"
24 
25 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_EXT_quaternion_transform extension included")
27 #endif
28 
29 namespace glm
30 {
33 
42  template<typename T, qualifier Q>
43  GLM_FUNC_DECL qua<T, Q> rotate(qua<T, Q> const& q, T const& angle, vec<3, T, Q> const& axis);
45 } //namespace glm
46 
47 #include "quaternion_transform.inl"
GLM_FUNC_DECL vec< 3, T, Q > axis(qua< T, Q > const &x)
Returns the q rotation axis.
+
GLM_FUNC_DECL qua< T, Q > rotate(qua< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
Rotates a quaternion from a vector of 3 components axis and an angle.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00230.html b/doc/api/a00230.html index 370113ad..b1668493 100644 --- a/doc/api/a00230.html +++ b/doc/api/a00230.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_transform2 + + +0.9.9 API documenation: quaternion_trigonometric.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Functions
-
GLM_GTX_transform2
+
quaternion_trigonometric.hpp File Reference
-

Include <glm/gtx/transform2.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > proj2D (mat< 3, 3, T, Q > const &m, vec< 3, T, Q > const &normal)
 Build planar projection matrix along normal axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > proj3D (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &normal)
 Build planar projection matrix along normal axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (T scale, T bias)
 Build a scale bias matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (mat< 4, 4, T, Q > const &m, T scale, T bias)
 Build a scale bias matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > shearX2D (mat< 3, 3, T, Q > const &m, T y)
 Transforms a matrix with a shearing on X axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearX3D (mat< 4, 4, T, Q > const &m, T y, T z)
 Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > shearY2D (mat< 3, 3, T, Q > const &m, T x)
 Transforms a matrix with a shearing on Y axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearY3D (mat< 4, 4, T, Q > const &m, T x, T z)
 Transforms a matrix with a shearing on Y axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearZ3D (mat< 4, 4, T, Q > const &m, T x, T y)
 Transforms a matrix with a shearing on Z axis. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T angle (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > angleAxis (T const &angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > axis (qua< T, Q > const &x)
 

Detailed Description

-

Include <glm/gtx/transform2.hpp> to use the features of this extension.

-

Add extra transformation matrices

-

Function Documentation

- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::proj2D (mat< 3, 3, T, Q > const & m,
vec< 3, T, Q > const & normal 
)
-
+

GLM_EXT_quaternion_trigonometric

-

Build planar projection matrix along normal axis.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::proj3D (mat< 4, 4, T, Q > const & m,
vec< 3, T, Q > const & normal 
)
-
- -

Build planar projection matrix along normal axis.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::scaleBias (scale,
bias 
)
-
- -

Build a scale bias matrix.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::scaleBias (mat< 4, 4, T, Q > const & m,
scale,
bias 
)
-
- -

Build a scale bias matrix.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::shearX2D (mat< 3, 3, T, Q > const & m,
y 
)
-
- -

Transforms a matrix with a shearing on X axis.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::shearX3D (mat< 4, 4, T, Q > const & m,
y,
z 
)
-
- -

Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<3, 3, T, Q> glm::shearY2D (mat< 3, 3, T, Q > const & m,
x 
)
-
- -

Transforms a matrix with a shearing on Y axis.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::shearY3D (mat< 4, 4, T, Q > const & m,
x,
z 
)
-
- -

Transforms a matrix with a shearing on Y axis.

-

From GLM_GTX_transform2 extension.

- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::shearZ3D (mat< 4, 4, T, Q > const & m,
x,
y 
)
-
- -

Transforms a matrix with a shearing on Z axis.

-

From GLM_GTX_transform2 extension.

- -
-
-
+

Definition in file quaternion_trigonometric.hpp.

+
diff --git a/doc/api/a00230_source.html b/doc/api/a00230_source.html new file mode 100644 index 00000000..6e7b120e --- /dev/null +++ b/doc/api/a00230_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: quaternion_trigonometric.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
quaternion_trigonometric.hpp
+
+
+Go to the documentation of this file.
1 
18 #pragma once
19 
20 // Dependency:
21 #include "../trigonometric.hpp"
22 #include "../exponential.hpp"
23 #include "scalar_constants.hpp"
24 #include "vector_relational.hpp"
25 #include <limits>
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_EXT_quaternion_trigonometric extension included")
29 #endif
30 
31 namespace glm
32 {
35 
40  template<typename T, qualifier Q>
41  GLM_FUNC_DECL T angle(qua<T, Q> const& x);
42 
47  template<typename T, qualifier Q>
48  GLM_FUNC_DECL vec<3, T, Q> axis(qua<T, Q> const& x);
49 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL qua<T, Q> angleAxis(T const& angle, vec<3, T, Q> const& axis);
59 
61 } //namespace glm
62 
63 #include "quaternion_trigonometric.inl"
GLM_FUNC_DECL qua< T, Q > angleAxis(T const &angle, vec< 3, T, Q > const &axis)
Build a quaternion from an angle and a normalized axis.
+
GLM_EXT_vector_relational
+
GLM_FUNC_DECL vec< 3, T, Q > axis(qua< T, Q > const &x)
Returns the q rotation axis.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
GLM_EXT_scalar_constants
+
+ + + + diff --git a/doc/api/a00233.html b/doc/api/a00233.html index f8919b18..3787002b 100644 --- a/doc/api/a00233.html +++ b/doc/api/a00233.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_vec_swizzle + + +0.9.9 API documenation: scalar_common.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
+
+Functions
-
GLM_GTX_vec_swizzle
+
scalar_common.hpp File Reference
-

Include <glm/gtx/vec_swizzle.hpp> to use the features of this extension. -More...

-

Include <glm/gtx/vec_swizzle.hpp> to use the features of this extension.

-

Functions to perform swizzle operation.

-
+

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T >
GLM_FUNC_DECL T fmax (T a, T b)
 
template<typename T >
GLM_FUNC_DECL T fmax (T a, T b, T C)
 
template<typename T >
GLM_FUNC_DECL T fmax (T a, T b, T C, T D)
 
template<typename T >
GLM_FUNC_DECL T fmin (T a, T b)
 
template<typename T >
GLM_FUNC_DECL T fmin (T a, T b, T c)
 
template<typename T >
GLM_FUNC_DECL T fmin (T a, T b, T c, T d)
 
template<typename T >
GLM_FUNC_DECL T max (T a, T b, T c)
 
template<typename T >
GLM_FUNC_DECL T max (T a, T b, T c, T d)
 
template<typename T >
GLM_FUNC_DECL T min (T a, T b, T c)
 
template<typename T >
GLM_FUNC_DECL T min (T a, T b, T c, T d)
 
+

Detailed Description

+

GLM_EXT_scalar_common

+ +

Definition in file scalar_common.hpp.

+
diff --git a/doc/api/a00233_source.html b/doc/api/a00233_source.html new file mode 100644 index 00000000..bd82788a --- /dev/null +++ b/doc/api/a00233_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: scalar_common.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_common.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../common.hpp"
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_EXT_scalar_common extension included")
21 #endif
22 
23 namespace glm
24 {
27 
31  template<typename T>
32  GLM_FUNC_DECL T min(T a, T b, T c);
33 
37  template<typename T>
38  GLM_FUNC_DECL T min(T a, T b, T c, T d);
39 
43  template<typename T>
44  GLM_FUNC_DECL T max(T a, T b, T c);
45 
49  template<typename T>
50  GLM_FUNC_DECL T max(T a, T b, T c, T d);
51 
57  template<typename T>
58  GLM_FUNC_DECL T fmin(T a, T b);
59 
65  template<typename T>
66  GLM_FUNC_DECL T fmin(T a, T b, T c);
67 
73  template<typename T>
74  GLM_FUNC_DECL T fmin(T a, T b, T c, T d);
75 
81  template<typename T>
82  GLM_FUNC_DECL T fmax(T a, T b);
83 
89  template<typename T>
90  GLM_FUNC_DECL T fmax(T a, T b, T C);
91 
97  template<typename T>
98  GLM_FUNC_DECL T fmax(T a, T b, T C, T D);
99 
101 }//namespace glm
102 
103 #include "scalar_common.inl"
GLM_FUNC_DECL T fmin(T a, T b, T c, T d)
Returns the minimum component-wise values of 4 inputs.
+
GLM_FUNC_DECL T max(T a, T b, T c, T d)
Returns the maximum component-wise values of 4 inputs.
+
GLM_FUNC_DECL T min(T a, T b, T c, T d)
Returns the minimum component-wise values of 4 inputs.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T fmax(T a, T b, T C, T D)
Returns the maximum component-wise values of 4 inputs.
+
+ + + + diff --git a/doc/api/a00236.html b/doc/api/a00236.html index 55a67656..5c3f4428 100644 --- a/doc/api/a00236.html +++ b/doc/api/a00236.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTX_wrap + + +0.9.9 API documenation: scalar_constants.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
Functions
-
+
scalar_constants.hpp File Reference
-

Include <glm/gtx/wrap.hpp> to use the features of this extension. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - + + + + + +

Functions

template<typename genType >
GLM_FUNC_DECL genType clamp (genType const &Texcoord)
 Simulate GL_CLAMP OpenGL wrap mode. More...
 
template<typename genType >
GLM_FUNC_DECL genType mirrorClamp (genType const &Texcoord)
 Simulate GL_MIRRORED_REPEAT OpenGL wrap mode. More...
 
template<typename genType >
GLM_FUNC_DECL genType mirrorRepeat (genType const &Texcoord)
 Simulate GL_MIRROR_REPEAT OpenGL wrap mode. More...
 
template<typename genType >
GLM_FUNC_DECL genType repeat (genType const &Texcoord)
 Simulate GL_REPEAT OpenGL wrap mode. More...
 
+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon ()
 
+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType pi ()
 

Detailed Description

-

Include <glm/gtx/wrap.hpp> to use the features of this extension.

-

Wrapping mode of texture coordinates.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::clamp (genType const & Texcoord)
-
+

GLM_EXT_scalar_constants

-

Simulate GL_CLAMP OpenGL wrap mode.

-
See also
GLM_GTX_wrap extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::mirrorClamp (genType const & Texcoord)
-
- -

Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.

-
See also
GLM_GTX_wrap extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::mirrorRepeat (genType const & Texcoord)
-
- -

Simulate GL_MIRROR_REPEAT OpenGL wrap mode.

-
See also
GLM_GTX_wrap extension.
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL genType glm::repeat (genType const & Texcoord)
-
- -

Simulate GL_REPEAT OpenGL wrap mode.

-
See also
GLM_GTX_wrap extension.
- -
-
-
+

Definition in file scalar_constants.hpp.

+
diff --git a/doc/api/a00236_source.html b/doc/api/a00236_source.html new file mode 100644 index 00000000..f085e4f6 --- /dev/null +++ b/doc/api/a00236_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: scalar_constants.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_constants.hpp
+
+
+Go to the documentation of this file.
1 
11 #pragma once
12 
13 // Dependencies
14 #include "../detail/setup.hpp"
15 
16 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
17 # pragma message("GLM: GLM_EXT_scalar_constants extension included")
18 #endif
19 
20 namespace glm
21 {
24 
26  template<typename genType>
27  GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon();
28 
30  template<typename genType>
31  GLM_FUNC_DECL GLM_CONSTEXPR genType pi();
32 
34 } //namespace glm
35 
36 #include "scalar_constants.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType pi()
Return the pi constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00239.html b/doc/api/a00239.html index b29495d2..16c37741 100644 --- a/doc/api/a00239.html +++ b/doc/api/a00239.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: Floating-Point Pack and Unpack Functions + + +0.9.9 API documenation: scalar_float_sized.hpp File Reference - @@ -32,34 +30,22 @@ - + - - + + + +
+ +
-Functions
+Typedefs
-
Floating-Point Pack and Unpack Functions
+
scalar_float_sized.hpp File Reference
-

Include <glm/packing.hpp> to use these core features. -More...

+

Go to the source code of this file.

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + +

-Functions

GLM_FUNC_DECL double packDouble2x32 (uvec2 const &v)
 Returns a double-qualifier value obtained by packing the components of v into a 64-bit value. More...
 
GLM_FUNC_DECL uint packHalf2x16 (vec2 const &v)
 Returns an unsigned integer obtained by converting the components of a two-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these two 16- bit integers into a 32-bit unsigned integer. More...
 
GLM_FUNC_DECL uint packSnorm2x16 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uint packSnorm4x8 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uint packUnorm2x16 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uint packUnorm4x8 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uvec2 unpackDouble2x32 (double v)
 Returns a two-component unsigned integer vector representation of v. More...
 
GLM_FUNC_DECL vec2 unpackHalf2x16 (uint v)
 Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values. More...
 
GLM_FUNC_DECL vec2 unpackSnorm2x16 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackSnorm4x8 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 
GLM_FUNC_DECL vec2 unpackUnorm2x16 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm4x8 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 

+Typedefs

+typedef float float32
 
+typedef double float64
 

Detailed Description

-

Include <glm/packing.hpp> to use these core features.

-

These functions do not operate component-wise, rather as described in each case.

-

Function Documentation

- -
-
- - - - - - - - -
GLM_FUNC_DECL double glm::packDouble2x32 (uvec2 const & v)
-
+

GLM_EXT_scalar_float_sized

-

Returns a double-qualifier value obtained by packing the components of v into a 64-bit value.

-

If an IEEE 754 Inf or NaN is created, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit- level representation of v is preserved. The first vector component specifies the 32 least significant bits; the second component specifies the 32 most significant bits.

-
See also
GLSL packDouble2x32 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::packHalf2x16 (vec2 const & v)
-
- -

Returns an unsigned integer obtained by converting the components of a two-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these two 16- bit integers into a 32-bit unsigned integer.

-

The first vector component specifies the 16 least-significant bits of the result; the second component specifies the 16 most-significant bits.

-
See also
GLSL packHalf2x16 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::packSnorm2x16 (vec2 const & v)
-
- -

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

-

Then, the results are packed into the returned 32-bit unsigned integer.

-

The conversion for component c of v to fixed point is done as follows: packSnorm2x16: round(clamp(v, -1, +1) * 32767.0)

-

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLSL packSnorm2x16 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::packSnorm4x8 (vec4 const & v)
-
- -

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

-

Then, the results are packed into the returned 32-bit unsigned integer.

-

The conversion for component c of v to fixed point is done as follows: packSnorm4x8: round(clamp(c, -1, +1) * 127.0)

-

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLSL packSnorm4x8 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::packUnorm2x16 (vec2 const & v)
-
- -

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

-

Then, the results are packed into the returned 32-bit unsigned integer.

-

The conversion for component c of v to fixed point is done as follows: packUnorm2x16: round(clamp(c, 0, +1) * 65535.0)

-

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLSL packUnorm2x16 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uint glm::packUnorm4x8 (vec4 const & v)
-
- -

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

-

Then, the results are packed into the returned 32-bit unsigned integer.

-

The conversion for component c of v to fixed point is done as follows: packUnorm4x8: round(clamp(c, 0, +1) * 255.0)

-

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLSL packUnorm4x8 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL uvec2 glm::unpackDouble2x32 (double v)
-
- -

Returns a two-component unsigned integer vector representation of v.

-

The bit-level representation of v is preserved. The first component of the vector contains the 32 least significant bits of the double; the second component consists the 32 most significant bits.

-
See also
GLSL unpackDouble2x32 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec2 glm::unpackHalf2x16 (uint v)
-
- -

Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values.

-

The first component of the vector is obtained from the 16 least-significant bits of v; the second component is obtained from the 16 most-significant bits of v.

-
See also
GLSL unpackHalf2x16 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec2 glm::unpackSnorm2x16 (uint p)
-
- -

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

-

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

-

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm2x16: clamp(f / 32767.0, -1, +1)

-

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLSL unpackSnorm2x16 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec4 glm::unpackSnorm4x8 (uint p)
-
- -

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

-

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

-

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm4x8: clamp(f / 127.0, -1, +1)

-

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLSL unpackSnorm4x8 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec2 glm::unpackUnorm2x16 (uint p)
-
- -

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

-

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

-

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm2x16: f / 65535.0

-

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLSL unpackUnorm2x16 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
- -
-
- - - - - - - - -
GLM_FUNC_DECL vec4 glm::unpackUnorm4x8 (uint p)
-
- -

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

-

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

-

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm4x8: f / 255.0

-

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLSL unpackUnorm4x8 man page
-
-GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
- -
-
-
+

Definition in file scalar_float_sized.hpp.

+
diff --git a/doc/api/a00239_source.html b/doc/api/a00239_source.html new file mode 100644 index 00000000..a522fb9e --- /dev/null +++ b/doc/api/a00239_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: scalar_float_sized.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_float_sized.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "../detail/setup.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_scalar_float_sized extension included")
20 #endif
21 
22 namespace glm
23 {
26 
28  typedef float float32;
29 
30 
31 # ifndef GLM_FORCE_SINGLE_ONLY
32 
34  typedef double float64;
35 
36 # endif//GLM_FORCE_SINGLE_ONLY
37 
39 }//namespace glm
double float64
Double precision floating-point numbers.
+
float float32
Single precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00242.html b/doc/api/a00242.html new file mode 100644 index 00000000..5e4ce596 --- /dev/null +++ b/doc/api/a00242.html @@ -0,0 +1,105 @@ + + + + + + + +0.9.9 API documenation: scalar_int_sized.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
scalar_int_sized.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + +

+Typedefs

+typedef detail::int16 int16
 
+typedef detail::int32 int32
 
+typedef detail::int64 int64
 
+typedef detail::int8 int8
 
+

Detailed Description

+

GLM_EXT_scalar_int_sized

+ +

Definition in file scalar_int_sized.hpp.

+
+ + + + diff --git a/doc/api/a00242_source.html b/doc/api/a00242_source.html new file mode 100644 index 00000000..f5eb8228 --- /dev/null +++ b/doc/api/a00242_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: scalar_int_sized.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_int_sized.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../detail/setup.hpp"
16 
17 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_EXT_scalar_int_sized extension included")
19 #endif
20 
21 namespace glm{
22 namespace detail
23 {
24 # if GLM_HAS_EXTENDED_INTEGER_TYPE
25  typedef std::int8_t int8;
26  typedef std::int16_t int16;
27  typedef std::int32_t int32;
28 # else
29  typedef char int8;
30  typedef short int16;
31  typedef int int32;
32 #endif//
33 
34  template<>
35  struct is_int<int8>
36  {
37  enum test {value = ~0};
38  };
39 
40  template<>
41  struct is_int<int16>
42  {
43  enum test {value = ~0};
44  };
45 
46  template<>
47  struct is_int<int64>
48  {
49  enum test {value = ~0};
50  };
51 }//namespace detail
52 
53 
56 
58  typedef detail::int8 int8;
59 
61  typedef detail::int16 int16;
62 
64  typedef detail::int32 int32;
65 
67  typedef detail::int64 int64;
68 
70 }//namespace glm
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
detail::int8 int8
8 bit signed integer type.
+
detail::int32 int32
32 bit signed integer type.
+
detail::int64 int64
64 bit signed integer type.
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
detail::int16 int16
16 bit signed integer type.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00245.html b/doc/api/a00245.html new file mode 100644 index 00000000..116638ea --- /dev/null +++ b/doc/api/a00245.html @@ -0,0 +1,112 @@ + + + + + + + +0.9.9 API documenation: scalar_int_sized.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
scalar_int_sized.hpp File Reference
+
+
+ +

GLM_EXT_scalar_int_sized +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Typedefs

+typedef detail::int16 int16
 16 bit signed integer type.
 
+typedef detail::int32 int32
 32 bit signed integer type.
 
+typedef detail::int64 int64
 64 bit signed integer type.
 
+typedef detail::int8 int8
 8 bit signed integer type.
 
+

Detailed Description

+

GLM_EXT_scalar_int_sized

+ +

Definition in file scalar_int_sized.hpp.

+
+ + + + diff --git a/doc/api/a00245_source.html b/doc/api/a00245_source.html new file mode 100644 index 00000000..a8a10368 --- /dev/null +++ b/doc/api/a00245_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: scalar_int_sized.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_int_sized.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../detail/setup.hpp"
16 
17 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_EXT_scalar_int_sized extension included")
19 #endif
20 
21 namespace glm{
22 namespace detail
23 {
24 # if GLM_HAS_EXTENDED_INTEGER_TYPE
25  typedef std::int8_t int8;
26  typedef std::int16_t int16;
27  typedef std::int32_t int32;
28 # else
29  typedef char int8;
30  typedef short int16;
31  typedef int int32;
32 #endif//
33 
34  template<>
35  struct is_int<int8>
36  {
37  enum test {value = ~0};
38  };
39 
40  template<>
41  struct is_int<int16>
42  {
43  enum test {value = ~0};
44  };
45 
46  template<>
47  struct is_int<int64>
48  {
49  enum test {value = ~0};
50  };
51 }//namespace detail
52 
53 
56 
58  typedef detail::int8 int8;
59 
61  typedef detail::int16 int16;
62 
64  typedef detail::int32 int32;
65 
67  typedef detail::int64 int64;
68 
70 }//namespace glm
Definition: common.hpp:18
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
detail::int16 int16
16 bit signed integer type.
+
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
detail::int32 int32
32 bit signed integer type.
+
detail::int64 int64
64 bit signed integer type.
+
detail::int8 int8
8 bit signed integer type.
+
+ + + + diff --git a/doc/api/a00248.html b/doc/api/a00248.html new file mode 100644 index 00000000..19605004 --- /dev/null +++ b/doc/api/a00248.html @@ -0,0 +1,105 @@ + + + + + + + +0.9.9 API documenation: scalar_uint_sized.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
scalar_uint_sized.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + +

+Typedefs

+typedef detail::uint16 uint16
 
+typedef detail::uint32 uint32
 
+typedef detail::uint64 uint64
 
+typedef detail::uint8 uint8
 
+

Detailed Description

+

GLM_EXT_scalar_uint_sized

+ +

Definition in file scalar_uint_sized.hpp.

+
+ + + + diff --git a/doc/api/a00248_source.html b/doc/api/a00248_source.html new file mode 100644 index 00000000..09d6b443 --- /dev/null +++ b/doc/api/a00248_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: scalar_uint_sized.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_uint_sized.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../detail/setup.hpp"
16 
17 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_EXT_scalar_uint_sized extension included")
19 #endif
20 
21 namespace glm{
22 namespace detail
23 {
24 # if GLM_HAS_EXTENDED_INTEGER_TYPE
25  typedef std::uint8_t uint8;
26  typedef std::uint16_t uint16;
27  typedef std::uint32_t uint32;
28 # else
29  typedef unsigned char uint8;
30  typedef unsigned short uint16;
31  typedef unsigned int uint32;
32 #endif
33 
34  template<>
35  struct is_int<uint8>
36  {
37  enum test {value = ~0};
38  };
39 
40  template<>
41  struct is_int<uint16>
42  {
43  enum test {value = ~0};
44  };
45 
46  template<>
47  struct is_int<uint64>
48  {
49  enum test {value = ~0};
50  };
51 }//namespace detail
52 
53 
56 
58  typedef detail::uint8 uint8;
59 
61  typedef detail::uint16 uint16;
62 
64  typedef detail::uint32 uint32;
65 
67  typedef detail::uint64 uint64;
68 
70 }//namespace glm
detail::uint64 uint64
64 bit unsigned integer type.
+
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:129
+
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:101
+
detail::uint16 uint16
16 bit unsigned integer type.
+
detail::uint8 uint8
8 bit unsigned integer type.
+
detail::uint32 uint32
32 bit unsigned integer type.
+
Definition: common.hpp:20
+
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:115
+
+ + + + diff --git a/doc/api/a00251.html b/doc/api/a00251.html new file mode 100644 index 00000000..b2563a36 --- /dev/null +++ b/doc/api/a00251.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: vector_bool1.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool1.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

+typedef vec< 1, bool, defaultp > bvec1
 
+

Detailed Description

+

GLM_EXT_vector_bool1

+ +

Definition in file vector_bool1.hpp.

+
+ + + + diff --git a/doc/api/a00251_source.html b/doc/api/a00251_source.html new file mode 100644 index 00000000..d4d484a4 --- /dev/null +++ b/doc/api/a00251_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_bool1.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool1.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../detail/type_vec1.hpp"
16 
17 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_EXT_vector_bool1 extension included")
19 #endif
20 
21 namespace glm
22 {
25 
27  typedef vec<1, bool, defaultp> bvec1;
28 
30 }//namespace glm
vec< 1, bool, defaultp > bvec1
1 components vector of boolean.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00254.html b/doc/api/a00254.html new file mode 100644 index 00000000..5a33d90d --- /dev/null +++ b/doc/api/a00254.html @@ -0,0 +1,102 @@ + + + + + + + +0.9.9 API documenation: vector_bool1_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool1_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

+typedef vec< 1, bool, highp > highp_bvec1
 
+typedef vec< 1, bool, lowp > lowp_bvec1
 
+typedef vec< 1, bool, mediump > mediump_bvec1
 
+

Detailed Description

+

GLM_EXT_vector_bool1_precision

+ +

Definition in file vector_bool1_precision.hpp.

+
+ + + + diff --git a/doc/api/a00254_source.html b/doc/api/a00254_source.html new file mode 100644 index 00000000..43311bc2 --- /dev/null +++ b/doc/api/a00254_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_bool1_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool1_precision.hpp
+
+
+Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "../detail/type_vec1.hpp"
14 
15 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
16 # pragma message("GLM: GLM_EXT_vector_bool1_precision extension included")
17 #endif
18 
19 namespace glm
20 {
23 
25  typedef vec<1, bool, highp> highp_bvec1;
26 
28  typedef vec<1, bool, mediump> mediump_bvec1;
29 
31  typedef vec<1, bool, lowp> lowp_bvec1;
32 
34 }//namespace glm
vec< 1, bool, lowp > lowp_bvec1
1 component vector of bool values.
+
vec< 1, bool, mediump > mediump_bvec1
1 component vector of bool values.
+
Definition: common.hpp:20
+
vec< 1, bool, highp > highp_bvec1
1 component vector of bool values.
+
+ + + + diff --git a/doc/api/a00257.html b/doc/api/a00257.html new file mode 100644 index 00000000..c5be8c72 --- /dev/null +++ b/doc/api/a00257.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_bool2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 2, bool, defaultp > bvec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_bool2.hpp.

+
+ + + + diff --git a/doc/api/a00257_source.html b/doc/api/a00257_source.html new file mode 100644 index 00000000..a46127c6 --- /dev/null +++ b/doc/api/a00257_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_bool2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<2, bool, defaultp> bvec2;
16 
18 }//namespace glm
Definition: common.hpp:20
+
vec< 2, bool, defaultp > bvec2
2 components vector of boolean.
+
+ + + + diff --git a/doc/api/a00260.html b/doc/api/a00260.html new file mode 100644 index 00000000..759f7f2e --- /dev/null +++ b/doc/api/a00260.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_bool2_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool2_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 2, bool, highp > highp_bvec2
 
typedef vec< 2, bool, lowp > lowp_bvec2
 
typedef vec< 2, bool, mediump > mediump_bvec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_bool2_precision.hpp.

+
+ + + + diff --git a/doc/api/a00260_source.html b/doc/api/a00260_source.html new file mode 100644 index 00000000..5c90b6ce --- /dev/null +++ b/doc/api/a00260_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_bool2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<2, bool, highp> highp_bvec2;
17 
22  typedef vec<2, bool, mediump> mediump_bvec2;
23 
28  typedef vec<2, bool, lowp> lowp_bvec2;
29 
31 }//namespace glm
vec< 2, bool, mediump > mediump_bvec2
2 components vector of medium qualifier bool numbers.
+
vec< 2, bool, highp > highp_bvec2
2 components vector of high qualifier bool numbers.
+
vec< 2, bool, lowp > lowp_bvec2
2 components vector of low qualifier bool numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00263.html b/doc/api/a00263.html new file mode 100644 index 00000000..cc032c1f --- /dev/null +++ b/doc/api/a00263.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_bool3.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool3.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 3, bool, defaultp > bvec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_bool3.hpp.

+
+ + + + diff --git a/doc/api/a00263_source.html b/doc/api/a00263_source.html new file mode 100644 index 00000000..e1366ca9 --- /dev/null +++ b/doc/api/a00263_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_bool3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<3, bool, defaultp> bvec3;
16 
18 }//namespace glm
Definition: common.hpp:20
+
vec< 3, bool, defaultp > bvec3
3 components vector of boolean.
+
+ + + + diff --git a/doc/api/a00266.html b/doc/api/a00266.html new file mode 100644 index 00000000..96580bd5 --- /dev/null +++ b/doc/api/a00266.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_bool3_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool3_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 3, bool, highp > highp_bvec3
 
typedef vec< 3, bool, lowp > lowp_bvec3
 
typedef vec< 3, bool, mediump > mediump_bvec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_bool3_precision.hpp.

+
+ + + + diff --git a/doc/api/a00266_source.html b/doc/api/a00266_source.html new file mode 100644 index 00000000..2599e768 --- /dev/null +++ b/doc/api/a00266_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_bool3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<3, bool, highp> highp_bvec3;
17 
22  typedef vec<3, bool, mediump> mediump_bvec3;
23 
28  typedef vec<3, bool, lowp> lowp_bvec3;
29 
31 }//namespace glm
vec< 3, bool, lowp > lowp_bvec3
3 components vector of low qualifier bool numbers.
+
vec< 3, bool, mediump > mediump_bvec3
3 components vector of medium qualifier bool numbers.
+
vec< 3, bool, highp > highp_bvec3
3 components vector of high qualifier bool numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00269.html b/doc/api/a00269.html new file mode 100644 index 00000000..567bf44d --- /dev/null +++ b/doc/api/a00269.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_bool4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool4.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 4, bool, defaultp > bvec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_bool4.hpp.

+
+ + + + diff --git a/doc/api/a00269_source.html b/doc/api/a00269_source.html new file mode 100644 index 00000000..aed8ebd7 --- /dev/null +++ b/doc/api/a00269_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_bool4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<4, bool, defaultp> bvec4;
16 
18 }//namespace glm
vec< 4, bool, defaultp > bvec4
4 components vector of boolean.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00272.html b/doc/api/a00272.html new file mode 100644 index 00000000..e02ae5ad --- /dev/null +++ b/doc/api/a00272.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_bool4_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_bool4_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 4, bool, highp > highp_bvec4
 
typedef vec< 4, bool, lowp > lowp_bvec4
 
typedef vec< 4, bool, mediump > mediump_bvec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_bool4_precision.hpp.

+
+ + + + diff --git a/doc/api/a00272_source.html b/doc/api/a00272_source.html new file mode 100644 index 00000000..bb04d2fd --- /dev/null +++ b/doc/api/a00272_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_bool4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_bool4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<4, bool, highp> highp_bvec4;
17 
22  typedef vec<4, bool, mediump> mediump_bvec4;
23 
28  typedef vec<4, bool, lowp> lowp_bvec4;
29 
31 }//namespace glm
vec< 4, bool, lowp > lowp_bvec4
4 components vector of low qualifier bool numbers.
+
vec< 4, bool, mediump > mediump_bvec4
4 components vector of medium qualifier bool numbers.
+
vec< 4, bool, highp > highp_bvec4
4 components vector of high qualifier bool numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00275.html b/doc/api/a00275.html new file mode 100644 index 00000000..462c3b11 --- /dev/null +++ b/doc/api/a00275.html @@ -0,0 +1,129 @@ + + + + + + + +0.9.9 API documenation: vector_common.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
vector_common.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, T b)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, vec< L, T, Q > const &b)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, T y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &z)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &z, vec< L, T, Q > const &w)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
 
+

Detailed Description

+

GLM_EXT_vector_common

+ +

Definition in file vector_common.hpp.

+
+ + + + diff --git a/doc/api/a00275_source.html b/doc/api/a00275_source.html new file mode 100644 index 00000000..7d8fb98b --- /dev/null +++ b/doc/api/a00275_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: vector_common.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_common.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../ext/scalar_common.hpp"
18 #include "../common.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_vector_common extension included")
22 #endif
23 
24 namespace glm
25 {
28 
34  template<length_t L, typename T, qualifier Q>
35  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c);
36 
42  template<length_t L, typename T, qualifier Q>
43  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> min(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d);
44 
50  template<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& z);
52 
58  template<length_t L, typename T, qualifier Q>
59  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> max( vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& z, vec<L, T, Q> const& w);
60 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, T y);
70 
78  template<length_t L, typename T, qualifier Q>
79  GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
80 
88  template<length_t L, typename T, qualifier Q>
89  GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c);
90 
98  template<length_t L, typename T, qualifier Q>
99  GLM_FUNC_DECL vec<L, T, Q> fmin(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d);
100 
108  template<length_t L, typename T, qualifier Q>
109  GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, T b);
110 
118  template<length_t L, typename T, qualifier Q>
119  GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b);
120 
128  template<length_t L, typename T, qualifier Q>
129  GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c);
130 
138  template<length_t L, typename T, qualifier Q>
139  GLM_FUNC_DECL vec<L, T, Q> fmax(vec<L, T, Q> const& a, vec<L, T, Q> const& b, vec<L, T, Q> const& c, vec<L, T, Q> const& d);
140 
142 }//namespace glm
143 
144 #include "vector_common.inl"
GLM_FUNC_DECL vec< L, T, Q > fmax(vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
Returns y if x < y; otherwise, it returns x.
+
GLM_FUNC_DECL vec< L, T, Q > fmin(vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
Returns y if y < x; otherwise, it returns x.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &z, vec< L, T, Q > const &w)
Return the maximum component-wise values of 4 inputs.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min(vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
Return the minimum component-wise values of 4 inputs.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00278.html b/doc/api/a00278.html new file mode 100644 index 00000000..e30feec7 --- /dev/null +++ b/doc/api/a00278.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: vector_double1.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double1.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

+typedef vec< 1, double, defaultp > dvec1
 
+

Detailed Description

+

GLM_EXT_vector_double1

+ +

Definition in file vector_double1.hpp.

+
+ + + + diff --git a/doc/api/a00278_source.html b/doc/api/a00278_source.html new file mode 100644 index 00000000..ba09f2a4 --- /dev/null +++ b/doc/api/a00278_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_double1.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double1.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "../detail/type_vec1.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_dvec1 extension included")
20 #endif
21 
22 namespace glm
23 {
26 
28  typedef vec<1, double, defaultp> dvec1;
29 
31 }//namespace glm
Definition: common.hpp:20
+
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
+
+ + + + diff --git a/doc/api/a00281.html b/doc/api/a00281.html new file mode 100644 index 00000000..edfe5738 --- /dev/null +++ b/doc/api/a00281.html @@ -0,0 +1,102 @@ + + + + + + + +0.9.9 API documenation: vector_double1_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double1_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

+typedef vec< 1, double, highp > highp_dvec1
 
+typedef vec< 1, double, lowp > lowp_dvec1
 
+typedef vec< 1, double, mediump > mediump_dvec1
 
+

Detailed Description

+

GLM_EXT_vector_double1_precision

+ +

Definition in file vector_double1_precision.hpp.

+
+ + + + diff --git a/doc/api/a00281_source.html b/doc/api/a00281_source.html new file mode 100644 index 00000000..10d05021 --- /dev/null +++ b/doc/api/a00281_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_double1_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double1_precision.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../detail/type_vec1.hpp"
16 
17 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_EXT_vector_double1_precision extension included")
19 #endif
20 
21 namespace glm
22 {
25 
27  typedef vec<1, double, highp> highp_dvec1;
28 
30  typedef vec<1, double, mediump> mediump_dvec1;
31 
33  typedef vec<1, double, lowp> lowp_dvec1;
34 
36 }//namespace glm
vec< 1, double, mediump > mediump_dvec1
1 component vector of double-precision floating-point numbers using medium precision arithmetic in te...
+
vec< 1, double, highp > highp_dvec1
1 component vector of double-precision floating-point numbers using high precision arithmetic in term...
+
vec< 1, double, lowp > lowp_dvec1
1 component vector of double-precision floating-point numbers using low precision arithmetic in term ...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00284.html b/doc/api/a00284.html new file mode 100644 index 00000000..29f51fed --- /dev/null +++ b/doc/api/a00284.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_double2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 2, double, defaultp > dvec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_double2.hpp.

+
+ + + + diff --git a/doc/api/a00284_source.html b/doc/api/a00284_source.html new file mode 100644 index 00000000..d28765f4 --- /dev/null +++ b/doc/api/a00284_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_double2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<2, double, defaultp> dvec2;
16 
18 }//namespace glm
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00287.html b/doc/api/a00287.html new file mode 100644 index 00000000..1526da3c --- /dev/null +++ b/doc/api/a00287.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_double2_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double2_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 2, double, highp > highp_dvec2
 
typedef vec< 2, double, lowp > lowp_dvec2
 
typedef vec< 2, double, mediump > mediump_dvec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_double2_precision.hpp.

+
+ + + + diff --git a/doc/api/a00287_source.html b/doc/api/a00287_source.html new file mode 100644 index 00000000..d4c434ce --- /dev/null +++ b/doc/api/a00287_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_double2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<2, double, highp> highp_dvec2;
17 
22  typedef vec<2, double, mediump> mediump_dvec2;
23 
28  typedef vec<2, double, lowp> lowp_dvec2;
29 
31 }//namespace glm
vec< 2, double, mediump > mediump_dvec2
2 components vector of medium double-qualifier floating-point numbers.
+
vec< 2, double, lowp > lowp_dvec2
2 components vector of low double-qualifier floating-point numbers.
+
vec< 2, double, highp > highp_dvec2
2 components vector of high double-qualifier floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00290.html b/doc/api/a00290.html new file mode 100644 index 00000000..3a64a729 --- /dev/null +++ b/doc/api/a00290.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_double3.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double3.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 3, double, defaultp > dvec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_double3.hpp.

+
+ + + + diff --git a/doc/api/a00290_source.html b/doc/api/a00290_source.html new file mode 100644 index 00000000..34f6446f --- /dev/null +++ b/doc/api/a00290_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_double3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<3, double, defaultp> dvec3;
16 
18 }//namespace glm
Definition: common.hpp:20
+
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
+
+ + + + diff --git a/doc/api/a00293.html b/doc/api/a00293.html new file mode 100644 index 00000000..442d1f1c --- /dev/null +++ b/doc/api/a00293.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_double3_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double3_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 3, double, highp > highp_dvec3
 
typedef vec< 3, double, lowp > lowp_dvec3
 
typedef vec< 3, double, mediump > mediump_dvec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_double3_precision.hpp.

+
+ + + + diff --git a/doc/api/a00293_source.html b/doc/api/a00293_source.html new file mode 100644 index 00000000..dd6c8b9a --- /dev/null +++ b/doc/api/a00293_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_double3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
17  typedef vec<3, double, highp> highp_dvec3;
18 
24  typedef vec<3, double, mediump> mediump_dvec3;
25 
31  typedef vec<3, double, lowp> lowp_dvec3;
32 
34 }//namespace glm
vec< 3, double, mediump > mediump_dvec3
3 components vector of medium double-qualifier floating-point numbers.
+
vec< 3, double, lowp > lowp_dvec3
3 components vector of low double-qualifier floating-point numbers.
+
vec< 3, double, highp > highp_dvec3
3 components vector of high double-qualifier floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00296.html b/doc/api/a00296.html new file mode 100644 index 00000000..e5f7b7b5 --- /dev/null +++ b/doc/api/a00296.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_double4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double4.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 4, double, defaultp > dvec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_double4.hpp.

+
+ + + + diff --git a/doc/api/a00296_source.html b/doc/api/a00296_source.html new file mode 100644 index 00000000..6e65ef0f --- /dev/null +++ b/doc/api/a00296_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_double4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<4, double, defaultp> dvec4;
16 
18 }//namespace glm
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00299.html b/doc/api/a00299.html new file mode 100644 index 00000000..94231c2b --- /dev/null +++ b/doc/api/a00299.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_double4_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_double4_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 4, double, highp > highp_dvec4
 
typedef vec< 4, double, lowp > lowp_dvec4
 
typedef vec< 4, double, mediump > mediump_dvec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_double4_precision.hpp.

+
+ + + + diff --git a/doc/api/a00299_source.html b/doc/api/a00299_source.html new file mode 100644 index 00000000..1ba00e9d --- /dev/null +++ b/doc/api/a00299_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_double4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_double4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/setup.hpp"
6 #include "../detail/type_vec4.hpp"
7 
8 namespace glm
9 {
12 
18  typedef vec<4, double, highp> highp_dvec4;
19 
25  typedef vec<4, double, mediump> mediump_dvec4;
26 
32  typedef vec<4, double, lowp> lowp_dvec4;
33 
35 }//namespace glm
vec< 4, double, highp > highp_dvec4
4 components vector of high double-qualifier floating-point numbers.
+
vec< 4, double, mediump > mediump_dvec4
4 components vector of medium double-qualifier floating-point numbers.
+
Definition: common.hpp:20
+
vec< 4, double, lowp > lowp_dvec4
4 components vector of low double-qualifier floating-point numbers.
+
+ + + + diff --git a/doc/api/a00302.html b/doc/api/a00302.html new file mode 100644 index 00000000..a09d7603 --- /dev/null +++ b/doc/api/a00302.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: vector_float1.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float1.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

+typedef vec< 1, float, defaultp > vec1
 
+

Detailed Description

+

GLM_EXT_vector_float1

+ +

Definition in file vector_float1.hpp.

+
+ + + + diff --git a/doc/api/a00302_source.html b/doc/api/a00302_source.html new file mode 100644 index 00000000..55956430 --- /dev/null +++ b/doc/api/a00302_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_float1.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float1.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "../detail/type_vec1.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_float1 extension included")
20 #endif
21 
22 namespace glm
23 {
26 
28  typedef vec<1, float, defaultp> vec1;
29 
31 }//namespace glm
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00305.html b/doc/api/a00305.html new file mode 100644 index 00000000..36a1ed79 --- /dev/null +++ b/doc/api/a00305.html @@ -0,0 +1,102 @@ + + + + + + + +0.9.9 API documenation: vector_float1_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float1_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

+typedef vec< 1, float, highp > highp_vec1
 
+typedef vec< 1, float, lowp > lowp_vec1
 
+typedef vec< 1, float, mediump > mediump_vec1
 
+

Detailed Description

+

GLM_EXT_vector_float1_precision

+ +

Definition in file vector_float1_precision.hpp.

+
+ + + + diff --git a/doc/api/a00305_source.html b/doc/api/a00305_source.html new file mode 100644 index 00000000..d48983c0 --- /dev/null +++ b/doc/api/a00305_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_float1_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float1_precision.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../detail/type_vec1.hpp"
16 
17 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
18 # pragma message("GLM: GLM_EXT_vector_float1_precision extension included")
19 #endif
20 
21 namespace glm
22 {
25 
27  typedef vec<1, float, highp> highp_vec1;
28 
30  typedef vec<1, float, mediump> mediump_vec1;
31 
33  typedef vec<1, float, lowp> lowp_vec1;
34 
36 }//namespace glm
vec< 1, float, highp > highp_vec1
1 component vector of single-precision floating-point numbers using high precision arithmetic in term...
+
vec< 1, float, lowp > lowp_vec1
1 component vector of single-precision floating-point numbers using low precision arithmetic in term ...
+
vec< 1, float, mediump > mediump_vec1
1 component vector of single-precision floating-point numbers using medium precision arithmetic in te...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00308.html b/doc/api/a00308.html new file mode 100644 index 00000000..aa4d3f69 --- /dev/null +++ b/doc/api/a00308.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_float2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 2, float, defaultp > vec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_float2.hpp.

+
+ + + + diff --git a/doc/api/a00308_source.html b/doc/api/a00308_source.html new file mode 100644 index 00000000..000b102c --- /dev/null +++ b/doc/api/a00308_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_float2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<2, float, defaultp> vec2;
16 
18 }//namespace glm
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00311.html b/doc/api/a00311.html new file mode 100644 index 00000000..7eaf42d8 --- /dev/null +++ b/doc/api/a00311.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_float2_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float2_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 2, float, highp > highp_vec2
 
typedef vec< 2, float, lowp > lowp_vec2
 
typedef vec< 2, float, mediump > mediump_vec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_float2_precision.hpp.

+
+ + + + diff --git a/doc/api/a00311_source.html b/doc/api/a00311_source.html new file mode 100644 index 00000000..d5f496d0 --- /dev/null +++ b/doc/api/a00311_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_float2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<2, float, highp> highp_vec2;
17 
22  typedef vec<2, float, mediump> mediump_vec2;
23 
28  typedef vec<2, float, lowp> lowp_vec2;
29 
31 }//namespace glm
vec< 2, float, lowp > lowp_vec2
2 components vector of low single-qualifier floating-point numbers.
+
vec< 2, float, highp > highp_vec2
2 components vector of high single-qualifier floating-point numbers.
+
vec< 2, float, mediump > mediump_vec2
2 components vector of medium single-qualifier floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00314.html b/doc/api/a00314.html new file mode 100644 index 00000000..4d5ce03a --- /dev/null +++ b/doc/api/a00314.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_float3.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float3.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 3, float, defaultp > vec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_float3.hpp.

+
+ + + + diff --git a/doc/api/a00314_source.html b/doc/api/a00314_source.html new file mode 100644 index 00000000..a319895c --- /dev/null +++ b/doc/api/a00314_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_float3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<3, float, defaultp> vec3;
16 
18 }//namespace glm
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00317.html b/doc/api/a00317.html new file mode 100644 index 00000000..92284ca0 --- /dev/null +++ b/doc/api/a00317.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_float3_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float3_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 3, float, highp > highp_vec3
 
typedef vec< 3, float, lowp > lowp_vec3
 
typedef vec< 3, float, mediump > mediump_vec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_float3_precision.hpp.

+
+ + + + diff --git a/doc/api/a00317_source.html b/doc/api/a00317_source.html new file mode 100644 index 00000000..f77e9654 --- /dev/null +++ b/doc/api/a00317_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_float3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<3, float, highp> highp_vec3;
17 
22  typedef vec<3, float, mediump> mediump_vec3;
23 
28  typedef vec<3, float, lowp> lowp_vec3;
29 
31 }//namespace glm
vec< 3, float, lowp > lowp_vec3
3 components vector of low single-qualifier floating-point numbers.
+
vec< 3, float, mediump > mediump_vec3
3 components vector of medium single-qualifier floating-point numbers.
+
vec< 3, float, highp > highp_vec3
3 components vector of high single-qualifier floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00320.html b/doc/api/a00320.html new file mode 100644 index 00000000..5e40f861 --- /dev/null +++ b/doc/api/a00320.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_float4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float4.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 4, float, defaultp > vec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_float4.hpp.

+
+ + + + diff --git a/doc/api/a00320_source.html b/doc/api/a00320_source.html new file mode 100644 index 00000000..15e07aba --- /dev/null +++ b/doc/api/a00320_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_float4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<4, float, defaultp> vec4;
16 
18 }//namespace glm
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00323.html b/doc/api/a00323.html new file mode 100644 index 00000000..c2513ab5 --- /dev/null +++ b/doc/api/a00323.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_float4_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_float4_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 4, float, highp > highp_vec4
 
typedef vec< 4, float, lowp > lowp_vec4
 
typedef vec< 4, float, mediump > mediump_vec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_float4_precision.hpp.

+
+ + + + diff --git a/doc/api/a00323_source.html b/doc/api/a00323_source.html new file mode 100644 index 00000000..3d772548 --- /dev/null +++ b/doc/api/a00323_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_float4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_float4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<4, float, highp> highp_vec4;
17 
22  typedef vec<4, float, mediump> mediump_vec4;
23 
28  typedef vec<4, float, lowp> lowp_vec4;
29 
31 }//namespace glm
vec< 4, float, highp > highp_vec4
4 components vector of high single-qualifier floating-point numbers.
+
vec< 4, float, lowp > lowp_vec4
4 components vector of low single-qualifier floating-point numbers.
+
Definition: common.hpp:20
+
vec< 4, float, mediump > mediump_vec4
4 components vector of medium single-qualifier floating-point numbers.
+
+ + + + diff --git a/doc/api/a00326.html b/doc/api/a00326.html new file mode 100644 index 00000000..9d98ca59 --- /dev/null +++ b/doc/api/a00326.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: vector_int1.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int1.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

+typedef vec< 1, int, defaultp > ivec1
 
+

Detailed Description

+

GLM_EXT_vector_int1

+ +

Definition in file vector_int1.hpp.

+
+ + + + diff --git a/doc/api/a00326_source.html b/doc/api/a00326_source.html new file mode 100644 index 00000000..a05f4842 --- /dev/null +++ b/doc/api/a00326_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_int1.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int1.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "../detail/type_vec1.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_int1 extension included")
20 #endif
21 
22 namespace glm
23 {
26 
28  typedef vec<1, int, defaultp> ivec1;
29 
31 }//namespace glm
32 
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
Definition: vector_int1.hpp:28
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00329.html b/doc/api/a00329.html new file mode 100644 index 00000000..32e16ec6 --- /dev/null +++ b/doc/api/a00329.html @@ -0,0 +1,102 @@ + + + + + + + +0.9.9 API documenation: vector_int1_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int1_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

+typedef vec< 1, int, highp > highp_ivec1
 
+typedef vec< 1, int, lowp > lowp_ivec1
 
+typedef vec< 1, int, mediump > mediump_ivec1
 
+

Detailed Description

+

GLM_EXT_vector_int1_precision

+ +

Definition in file vector_int1_precision.hpp.

+
+ + + + diff --git a/doc/api/a00329_source.html b/doc/api/a00329_source.html new file mode 100644 index 00000000..566f3fe1 --- /dev/null +++ b/doc/api/a00329_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_int1_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int1_precision.hpp
+
+
+Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "../detail/type_vec1.hpp"
14 
15 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
16 # pragma message("GLM: GLM_EXT_vector_int1_precision extension included")
17 #endif
18 
19 namespace glm
20 {
23 
25  typedef vec<1, int, highp> highp_ivec1;
26 
28  typedef vec<1, int, mediump> mediump_ivec1;
29 
31  typedef vec<1, int, lowp> lowp_ivec1;
32 
34 }//namespace glm
vec< 1, int, mediump > mediump_ivec1
1 component vector of signed integer values.
+
vec< 1, int, highp > highp_ivec1
1 component vector of signed integer values.
+
vec< 1, int, lowp > lowp_ivec1
1 component vector of signed integer values.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00332.html b/doc/api/a00332.html new file mode 100644 index 00000000..9f2a0b4a --- /dev/null +++ b/doc/api/a00332.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_int2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 2, int, defaultp > ivec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_int2.hpp.

+
+ + + + diff --git a/doc/api/a00332_source.html b/doc/api/a00332_source.html new file mode 100644 index 00000000..6d13c17e --- /dev/null +++ b/doc/api/a00332_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_int2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<2, int, defaultp> ivec2;
16 
18 }//namespace glm
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
Definition: vector_int2.hpp:15
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00335.html b/doc/api/a00335.html new file mode 100644 index 00000000..34cac79e --- /dev/null +++ b/doc/api/a00335.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_int2_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int2_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 2, int, highp > highp_ivec2
 
typedef vec< 2, int, lowp > lowp_ivec2
 
typedef vec< 2, int, mediump > mediump_ivec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_int2_precision.hpp.

+
+ + + + diff --git a/doc/api/a00335_source.html b/doc/api/a00335_source.html new file mode 100644 index 00000000..3f18c1a9 --- /dev/null +++ b/doc/api/a00335_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_int2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<2, int, highp> highp_ivec2;
17 
22  typedef vec<2, int, mediump> mediump_ivec2;
23 
28  typedef vec<2, int, lowp> lowp_ivec2;
29 
31 }//namespace glm
vec< 2, int, lowp > lowp_ivec2
2 components vector of low qualifier signed integer numbers.
+
vec< 2, int, mediump > mediump_ivec2
2 components vector of medium qualifier signed integer numbers.
+
vec< 2, int, highp > highp_ivec2
2 components vector of high qualifier signed integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00338.html b/doc/api/a00338.html new file mode 100644 index 00000000..1eff9070 --- /dev/null +++ b/doc/api/a00338.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_int3.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int3.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 3, int, defaultp > ivec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_int3.hpp.

+
+ + + + diff --git a/doc/api/a00338_source.html b/doc/api/a00338_source.html new file mode 100644 index 00000000..3cfe0b66 --- /dev/null +++ b/doc/api/a00338_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_int3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<3, int, defaultp> ivec3;
16 
18 }//namespace glm
Definition: common.hpp:20
+
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
Definition: vector_int3.hpp:15
+
+ + + + diff --git a/doc/api/a00341.html b/doc/api/a00341.html new file mode 100644 index 00000000..5ed89cc2 --- /dev/null +++ b/doc/api/a00341.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_int3_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int3_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 3, int, highp > highp_ivec3
 
typedef vec< 3, int, lowp > lowp_ivec3
 
typedef vec< 3, int, mediump > mediump_ivec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_int3_precision.hpp.

+
+ + + + diff --git a/doc/api/a00341_source.html b/doc/api/a00341_source.html new file mode 100644 index 00000000..0db3991e --- /dev/null +++ b/doc/api/a00341_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_int3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<3, int, highp> highp_ivec3;
17 
22  typedef vec<3, int, mediump> mediump_ivec3;
23 
28  typedef vec<3, int, lowp> lowp_ivec3;
29 
31 }//namespace glm
vec< 3, int, lowp > lowp_ivec3
3 components vector of low qualifier signed integer numbers.
+
vec< 3, int, mediump > mediump_ivec3
3 components vector of medium qualifier signed integer numbers.
+
Definition: common.hpp:20
+
vec< 3, int, highp > highp_ivec3
3 components vector of high qualifier signed integer numbers.
+
+ + + + diff --git a/doc/api/a00344.html b/doc/api/a00344.html new file mode 100644 index 00000000..df886177 --- /dev/null +++ b/doc/api/a00344.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_int4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int4.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 4, int, defaultp > ivec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_int4.hpp.

+
+ + + + diff --git a/doc/api/a00344_source.html b/doc/api/a00344_source.html new file mode 100644 index 00000000..bef1d207 --- /dev/null +++ b/doc/api/a00344_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_int4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<4, int, defaultp> ivec4;
16 
18 }//namespace glm
Definition: common.hpp:20
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
+ + + + diff --git a/doc/api/a00347.html b/doc/api/a00347.html new file mode 100644 index 00000000..cac6bc4d --- /dev/null +++ b/doc/api/a00347.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_int4_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_int4_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 4, int, highp > highp_ivec4
 
typedef vec< 4, int, lowp > lowp_ivec4
 
typedef vec< 4, int, mediump > mediump_ivec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_int4_precision.hpp.

+
+ + + + diff --git a/doc/api/a00347_source.html b/doc/api/a00347_source.html new file mode 100644 index 00000000..7a13d34e --- /dev/null +++ b/doc/api/a00347_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_int4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_int4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<4, int, highp> highp_ivec4;
17 
22  typedef vec<4, int, mediump> mediump_ivec4;
23 
28  typedef vec<4, int, lowp> lowp_ivec4;
29 
31 }//namespace glm
vec< 4, int, lowp > lowp_ivec4
4 components vector of low qualifier signed integer numbers.
+
vec< 4, int, highp > highp_ivec4
4 components vector of high qualifier signed integer numbers.
+
vec< 4, int, mediump > mediump_ivec4
4 components vector of medium qualifier signed integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00350.html b/doc/api/a00350.html new file mode 100644 index 00000000..32505194 --- /dev/null +++ b/doc/api/a00350.html @@ -0,0 +1,121 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
vector_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool all (vec< L, bool, Q > const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool any (vec< L, bool, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > not_ (vec< L, bool, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
+

Detailed Description

+

Core features

+
See also
GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +

Definition in file vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a00350_source.html b/doc/api/a00350_source.html new file mode 100644 index 00000000..496368e4 --- /dev/null +++ b/doc/api/a00350_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 #include "detail/qualifier.hpp"
23 #include "detail/setup.hpp"
24 
25 namespace glm
26 {
29 
37  template<length_t L, typename T, qualifier Q>
38  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> lessThan(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
39 
47  template<length_t L, typename T, qualifier Q>
48  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> lessThanEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
49 
57  template<length_t L, typename T, qualifier Q>
58  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> greaterThan(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
59 
67  template<length_t L, typename T, qualifier Q>
68  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> greaterThanEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
69 
77  template<length_t L, typename T, qualifier Q>
78  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
79 
87  template<length_t L, typename T, qualifier Q>
88  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
89 
96  template<length_t L, qualifier Q>
97  GLM_FUNC_DECL GLM_CONSTEXPR bool any(vec<L, bool, Q> const& v);
98 
105  template<length_t L, qualifier Q>
106  GLM_FUNC_DECL GLM_CONSTEXPR bool all(vec<L, bool, Q> const& v);
107 
115  template<length_t L, qualifier Q>
116  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> not_(vec<L, bool, Q> const& v);
117 
119 }//namespace glm
120 
121 #include "detail/func_vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR bool all(vec< L, bool, Q > const &v)
Returns true if all components of x are true.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x != y.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x == y.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThan(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison result of x < y.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > not_(vec< L, bool, Q > const &v)
Returns the component-wise logical complement of x.
+
GLM_FUNC_DECL GLM_CONSTEXPR bool any(vec< L, bool, Q > const &v)
Returns true if any component of x is true.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThanEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x >= y.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThanEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x <= y.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThan(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the component-wise comparison of result x > y.
+
+ + + + diff --git a/doc/api/a00353.html b/doc/api/a00353.html new file mode 100644 index 00000000..a8de8d36 --- /dev/null +++ b/doc/api/a00353.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: vector_uint1.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint1.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

+typedef vec< 1, unsigned int, defaultp > uvec1
 
+

Detailed Description

+

GLM_EXT_vector_uint1

+ +

Definition in file vector_uint1.hpp.

+
+ + + + diff --git a/doc/api/a00353_source.html b/doc/api/a00353_source.html new file mode 100644 index 00000000..dc59917c --- /dev/null +++ b/doc/api/a00353_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_uint1.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint1.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "../detail/type_vec1.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_uint1 extension included")
20 #endif
21 
22 namespace glm
23 {
26 
28  typedef vec<1, unsigned int, defaultp> uvec1;
29 
31 }//namespace glm
32 
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00356.html b/doc/api/a00356.html new file mode 100644 index 00000000..e20e77a5 --- /dev/null +++ b/doc/api/a00356.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_uint1_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint1_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 1, unsigned int, highp > highp_uvec1
 
typedef vec< 1, unsigned int, lowp > lowp_uvec1
 
typedef vec< 1, unsigned int, mediump > mediump_uvec1
 
+

Detailed Description

+

GLM_EXT_vector_uint1_precision

+ +

Definition in file vector_uint1_precision.hpp.

+
+ + + + diff --git a/doc/api/a00356_source.html b/doc/api/a00356_source.html new file mode 100644 index 00000000..19b9209a --- /dev/null +++ b/doc/api/a00356_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_uint1_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint1_precision.hpp
+
+
+Go to the documentation of this file.
1 
11 #pragma once
12 
13 #include "../detail/type_vec1.hpp"
14 
15 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
16 # pragma message("GLM: GLM_EXT_vector_uint1_precision extension included")
17 #endif
18 
19 namespace glm
20 {
23 
27  typedef vec<1, unsigned int, highp> highp_uvec1;
28 
32  typedef vec<1, unsigned int, mediump> mediump_uvec1;
33 
37  typedef vec<1, unsigned int, lowp> lowp_uvec1;
38 
40 }//namespace glm
vec< 1, unsigned int, highp > highp_uvec1
1 component vector of unsigned integer values.
+
vec< 1, unsigned int, lowp > lowp_uvec1
1 component vector of unsigned integer values.
+
vec< 1, unsigned int, mediump > mediump_uvec1
1 component vector of unsigned integer values.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00359.html b/doc/api/a00359.html new file mode 100644 index 00000000..8a01f370 --- /dev/null +++ b/doc/api/a00359.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_uint2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 2, unsigned int, defaultp > uvec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_uint2.hpp.

+
+ + + + diff --git a/doc/api/a00359_source.html b/doc/api/a00359_source.html new file mode 100644 index 00000000..20708ce8 --- /dev/null +++ b/doc/api/a00359_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_uint2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<2, unsigned int, defaultp> uvec2;
16 
18 }//namespace glm
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00362.html b/doc/api/a00362.html new file mode 100644 index 00000000..6b96578f --- /dev/null +++ b/doc/api/a00362.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_uint2_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint2_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 2, unsigned int, highp > highp_uvec2
 
typedef vec< 2, unsigned int, lowp > lowp_uvec2
 
typedef vec< 2, unsigned int, mediump > mediump_uvec2
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_uint2_precision.hpp.

+
+ + + + diff --git a/doc/api/a00362_source.html b/doc/api/a00362_source.html new file mode 100644 index 00000000..f9d6d513 --- /dev/null +++ b/doc/api/a00362_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_uint2_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint2_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec2.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<2, unsigned int, highp> highp_uvec2;
17 
22  typedef vec<2, unsigned int, mediump> mediump_uvec2;
23 
28  typedef vec<2, unsigned int, lowp> lowp_uvec2;
29 
31 }//namespace glm
vec< 2, unsigned int, highp > highp_uvec2
2 components vector of high qualifier unsigned integer numbers.
+
vec< 2, unsigned int, mediump > mediump_uvec2
2 components vector of medium qualifier unsigned integer numbers.
+
vec< 2, unsigned int, lowp > lowp_uvec2
2 components vector of low qualifier unsigned integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00365.html b/doc/api/a00365.html new file mode 100644 index 00000000..fc527b60 --- /dev/null +++ b/doc/api/a00365.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_uint3.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint3.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 3, unsigned int, defaultp > uvec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_uint3.hpp.

+
+ + + + diff --git a/doc/api/a00365_source.html b/doc/api/a00365_source.html new file mode 100644 index 00000000..1070b160 --- /dev/null +++ b/doc/api/a00365_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_uint3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint3.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<3, unsigned int, defaultp> uvec3;
16 
18 }//namespace glm
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00368.html b/doc/api/a00368.html new file mode 100644 index 00000000..bc39ddca --- /dev/null +++ b/doc/api/a00368.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_uint3_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint3_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 3, unsigned int, highp > highp_uvec3
 
typedef vec< 3, unsigned int, lowp > lowp_uvec3
 
typedef vec< 3, unsigned int, mediump > mediump_uvec3
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_uint3_precision.hpp.

+
+ + + + diff --git a/doc/api/a00368_source.html b/doc/api/a00368_source.html new file mode 100644 index 00000000..7bcd9e36 --- /dev/null +++ b/doc/api/a00368_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_uint3_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint3_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec3.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<3, unsigned int, highp> highp_uvec3;
17 
22  typedef vec<3, unsigned int, mediump> mediump_uvec3;
23 
28  typedef vec<3, unsigned int, lowp> lowp_uvec3;
29 
31 }//namespace glm
vec< 3, unsigned int, highp > highp_uvec3
3 components vector of high qualifier unsigned integer numbers.
+
vec< 3, unsigned int, lowp > lowp_uvec3
3 components vector of low qualifier unsigned integer numbers.
+
vec< 3, unsigned int, mediump > mediump_uvec3
3 components vector of medium qualifier unsigned integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00371.html b/doc/api/a00371.html new file mode 100644 index 00000000..c9c2e0c1 --- /dev/null +++ b/doc/api/a00371.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: vector_uint4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint4.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef vec< 4, unsigned int, defaultp > uvec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_uint4.hpp.

+
+ + + + diff --git a/doc/api/a00371_source.html b/doc/api/a00371_source.html new file mode 100644 index 00000000..78e332fc --- /dev/null +++ b/doc/api/a00371_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: vector_uint4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
15  typedef vec<4, unsigned int, defaultp> uvec4;
16 
18 }//namespace glm
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00374.html b/doc/api/a00374.html new file mode 100644 index 00000000..1efee9b7 --- /dev/null +++ b/doc/api/a00374.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: vector_uint4_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
vector_uint4_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Typedefs

typedef vec< 4, unsigned int, highp > highp_uvec4
 
typedef vec< 4, unsigned int, lowp > lowp_uvec4
 
typedef vec< 4, unsigned int, mediump > mediump_uvec4
 
+

Detailed Description

+

Core features

+ +

Definition in file vector_uint4_precision.hpp.

+
+ + + + diff --git a/doc/api/a00374_source.html b/doc/api/a00374_source.html new file mode 100644 index 00000000..3b5e5001 --- /dev/null +++ b/doc/api/a00374_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_uint4_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_uint4_precision.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "../detail/type_vec4.hpp"
6 
7 namespace glm
8 {
11 
16  typedef vec<4, unsigned int, highp> highp_uvec4;
17 
22  typedef vec<4, unsigned int, mediump> mediump_uvec4;
23 
28  typedef vec<4, unsigned int, lowp> lowp_uvec4;
29 
31 }//namespace glm
vec< 4, unsigned int, highp > highp_uvec4
4 components vector of high qualifier unsigned integer numbers.
+
vec< 4, unsigned int, mediump > mediump_uvec4
4 components vector of medium qualifier unsigned integer numbers.
+
Definition: common.hpp:20
+
vec< 4, unsigned int, lowp > lowp_uvec4
4 components vector of low qualifier unsigned integer numbers.
+
+ + + + diff --git a/doc/api/a00377.html b/doc/api/a00377.html new file mode 100644 index 00000000..aa8886dc --- /dev/null +++ b/doc/api/a00377.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: ext.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

Core features (Dependence)

+ +

Definition in file ext.hpp.

+
+ + + + diff --git a/doc/api/a00377_source.html b/doc/api/a00377_source.html new file mode 100644 index 00000000..b4e50bac --- /dev/null +++ b/doc/api/a00377_source.html @@ -0,0 +1,239 @@ + + + + + + + +0.9.9 API documenation: ext.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext.hpp
+
+
+Go to the documentation of this file.
1 
5 #include "detail/setup.hpp"
6 
7 #pragma once
8 
9 #include "glm.hpp"
10 
11 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED)
12 # define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
13 # pragma message("GLM: All extensions included (not recommended)")
14 #endif//GLM_MESSAGES
15 
34 
48 #include "./ext/matrix_float4x2_precision.hpp"
53 
55 
62 
67 
68 #include "./ext/vector_bool1.hpp"
70 #include "./ext/vector_bool2.hpp"
72 #include "./ext/vector_bool3.hpp"
74 #include "./ext/vector_bool4.hpp"
76 
77 #include "./ext/vector_double1.hpp"
79 #include "./ext/vector_double2.hpp"
81 #include "./ext/vector_double3.hpp"
83 #include "./ext/vector_double4.hpp"
85 
86 #include "./ext/vector_float1.hpp"
88 #include "./ext/vector_float2.hpp"
90 #include "./ext/vector_float3.hpp"
92 #include "./ext/vector_float4.hpp"
94 
95 #include "./ext/vector_int1.hpp"
97 #include "./ext/vector_int2.hpp"
99 #include "./ext/vector_int3.hpp"
101 #include "./ext/vector_int4.hpp"
103 
105 
106 #include "./ext/vector_uint1.hpp"
108 #include "./ext/vector_uint2.hpp"
110 #include "./ext/vector_uint3.hpp"
112 #include "./ext/vector_uint4.hpp"
114 
115 #include "./gtc/bitfield.hpp"
116 #include "./gtc/color_space.hpp"
117 #include "./gtc/constants.hpp"
118 #include "./gtc/epsilon.hpp"
119 #include "./gtc/integer.hpp"
120 #include "./gtc/matrix_access.hpp"
121 #include "./gtc/matrix_integer.hpp"
122 #include "./gtc/matrix_inverse.hpp"
124 #include "./gtc/noise.hpp"
125 #include "./gtc/packing.hpp"
126 #include "./gtc/quaternion.hpp"
127 #include "./gtc/random.hpp"
128 #include "./gtc/reciprocal.hpp"
129 #include "./gtc/round.hpp"
130 #include "./gtc/type_precision.hpp"
131 #include "./gtc/type_ptr.hpp"
132 #include "./gtc/ulp.hpp"
133 #include "./gtc/vec1.hpp"
134 #if GLM_CONFIG_ALIGNED_GENTYPES == GLM_ENABLE
135 # include "./gtc/type_aligned.hpp"
136 #endif
137 
138 #ifdef GLM_ENABLE_EXPERIMENTAL
140 #include "./gtx/bit.hpp"
141 #include "./gtx/closest_point.hpp"
142 #include "./gtx/color_encoding.hpp"
143 #include "./gtx/color_space.hpp"
145 #include "./gtx/compatibility.hpp"
146 #include "./gtx/component_wise.hpp"
147 #include "./gtx/dual_quaternion.hpp"
148 #include "./gtx/euler_angles.hpp"
149 #include "./gtx/extend.hpp"
154 #include "./gtx/functions.hpp"
155 #include "./gtx/gradient_paint.hpp"
157 #include "./gtx/integer.hpp"
158 #include "./gtx/intersect.hpp"
159 #include "./gtx/log_base.hpp"
164 #include "./gtx/matrix_query.hpp"
165 #include "./gtx/mixed_product.hpp"
166 #include "./gtx/norm.hpp"
167 #include "./gtx/normal.hpp"
168 #include "./gtx/normalize_dot.hpp"
170 #include "./gtx/optimum_pow.hpp"
171 #include "./gtx/orthonormalize.hpp"
172 #include "./gtx/perpendicular.hpp"
174 #include "./gtx/projection.hpp"
175 #include "./gtx/quaternion.hpp"
176 #include "./gtx/raw_data.hpp"
177 #include "./gtx/rotate_vector.hpp"
178 #include "./gtx/spline.hpp"
179 #include "./gtx/std_based_type.hpp"
180 #if !(GLM_COMPILER & GLM_COMPILER_CUDA)
181 # include "./gtx/string_cast.hpp"
182 #endif
183 #include "./gtx/transform.hpp"
184 #include "./gtx/transform2.hpp"
185 #include "./gtx/vec_swizzle.hpp"
186 #include "./gtx/vector_angle.hpp"
187 #include "./gtx/vector_query.hpp"
188 #include "./gtx/wrap.hpp"
189 
190 #if GLM_HAS_TEMPLATE_ALIASES
192 #endif
193 
194 #if GLM_HAS_RANGE_FOR
195 # include "./gtx/range.hpp"
196 #endif
197 #endif//GLM_ENABLE_EXPERIMENTAL
GLM_EXT_quaternion_relational
+
GLM_GTX_matrix_interpolation
+
GLM_GTC_random
+
Core features
+
GLM_GTC_matrix_inverse
+
Core features
+ + +
GLM_EXT_scalar_float_sized
+
GLM_GTX_mixed_producte
+
GLM_GTX_fast_trigonometry
+
GLM_EXT_vector_uint1_precision
+ +
GLM_GTX_quaternion
+
GLM_GTX_matrix_major_storage
+
Core features
+
GLM_EXT_quaternion_float
+
GLM_GTX_matrix_cross_product
+
GLM_EXT_scalar_int_sized
+
GLM_GTX_norm
+ +
GLM_GTX_matrix_operation
+
GLM_GTX_fast_square_root
+
Core features
+
Core features
+
GLM_GTX_extend
+ +
Core features
+
GLM_GTX_component_wise
+ +
Core features
+ + +
GLM_EXT_quaternion_geometric
+
GLM_GTX_extented_min_max
+
GLM_GTX_dual_quaternion
+
Core features
+ +
GLM_GTX_transform
+
GLM_EXT_vector_relational
+
GLM_GTX_color_encoding
+
Core features
+ +
GLM_GTX_spline
+
GLM_EXT_scalar_relational
+
GLM_GTC_vec1
+
Core features
+ +
GLM_EXT_quaternion_float_precision
+
GLM_GTC_matrix_transform
+ +
Core features
+
GLM_EXT_quaternion_double
+
GLM_GTX_intersect
+ +
GLM_GTX_transform2
+ +
GLM_GTX_std_based_type
+
GLM_GTC_packing
+
Core features
+
Core features
+
GLM_EXT_quaternion_double_precision
+
GLM_GTX_polar_coordinates
+
GLM_GTC_integer
+
GLM_GTX_compatibility
+
Core features
+
GLM_EXT_vector_int1
+ +
GLM_GTX_string_cast
+
GLM_GTC_type_aligned
+
Core features
+
GLM_GTC_quaternion
+
GLM_GTX_wrap
+ +
GLM_GTX_log_base
+
GLM_GTC_constants
+
GLM_GTX_handed_coordinate_space
+
GLM_GTX_color_space_YCoCg
+
GLM_EXT_vector_int1_precision
+
Core features
+
GLM_GTX_associated_min_max
+
GLM_EXT_vector_double1_precision
+ +
Core features
+
Experimental extensions
+
GLM_GTC_type_precision
+
GLM_EXT_vector_float1_precision
+
Core features
+
GLM_GTX_vec_swizzle
+
Core features
+
Core features
+
GLM_GTX_bit
+
GLM_EXT_vector_double1
+ +
GLM_GTX_rotate_vector
+
GLM_GTC_type_ptr
+ + +
GLM_GTX_projection
+
GLM_GTX_integer
+
GLM_GTC_reciprocal
+
GLM_EXT_vector_bool1_precision
+ +
GLM_GTX_optimum_pow
+
GLM_GTC_color_space
+
GLM_GTX_closest_point
+
GLM_GTC_noise
+
Core features
+ +
GLM_GTC_ulp
+ +
Core features
+
Core features
+
GLM_GTX_vector_query
+
GLM_GTC_epsilon
+
Core features
+
Core features
+
GLM_GTX_range
+
Core features
+
Core features
+
GLM_GTX_orthonormalize
+
GLM_GTX_color_space
+ +
GLM_GTX_normal
+ +
Core features
+
GLM_GTX_raw_data
+
GLM_GTX_matrix_query
+
GLM_GTX_vector_angle
+ + + +
GLM_GTX_perpendicular
+
GLM_GTC_bitfield
+
GLM_GTX_functions
+
Core features
+
Core features
+
GLM_EXT_vector_uint1
+
GLM_GTC_round
+
Core features
+
GLM_EXT_vector_bool1
+
Core features
+
GLM_GTX_number_precision
+
GLM_GTC_matrix_access
+
Core features
+
GLM_GTX_gradient_paint
+
GLM_EXT_matrix_relational
+
GLM_EXT_vector_float1
+
GLM_GTX_fast_exponential
+ +
GLM_GTX_euler_angles
+ + +
GLM_GTX_normalize_dot
+
Core features
+
GLM_GTC_matrix_integer
+
GLM_EXT_scalar_constants
+ +
+ + + + diff --git a/doc/api/a00026.html b/doc/api/a00380.html similarity index 54% rename from doc/api/a00026.html rename to doc/api/a00380.html index 8afa018f..78e2439c 100644 --- a/doc/api/a00026.html +++ b/doc/api/a00380.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: ext.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -89,20 +71,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features (Dependence) +

Core features (Dependence) More...

-

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features (Dependence)

+

Core features (Dependence)

-

Definition in file ext.hpp.

+

Definition in file ext.hpp.

diff --git a/doc/api/a00380_source.html b/doc/api/a00380_source.html new file mode 100644 index 00000000..d67b69fb --- /dev/null +++ b/doc/api/a00380_source.html @@ -0,0 +1,714 @@ + + + + + + + +0.9.9 API documenation: fwd.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
fwd.hpp
+
+
+
1 #pragma once
2 
3 #include "detail/qualifier.hpp"
4 
5 namespace glm
6 {
7 #if GLM_HAS_EXTENDED_INTEGER_TYPE
8  typedef std::int8_t int8;
9  typedef std::int16_t int16;
10  typedef std::int32_t int32;
11  typedef std::int64_t int64;
12 
13  typedef std::uint8_t uint8;
14  typedef std::uint16_t uint16;
15  typedef std::uint32_t uint32;
16  typedef std::uint64_t uint64;
17 #else
18  typedef char int8;
19  typedef short int16;
20  typedef int int32;
21  typedef detail::int64 int64;
22 
23  typedef unsigned char uint8;
24  typedef unsigned short uint16;
25  typedef unsigned int uint32;
26  typedef detail::uint64 uint64;
27 #endif
28 
29  // Scalar int
30 
31  typedef int8 lowp_i8;
32  typedef int8 mediump_i8;
33  typedef int8 highp_i8;
34  typedef int8 i8;
35 
36  typedef int8 lowp_int8;
37  typedef int8 mediump_int8;
38  typedef int8 highp_int8;
39 
40  typedef int8 lowp_int8_t;
42  typedef int8 highp_int8_t;
43  typedef int8 int8_t;
44 
45  typedef int16 lowp_i16;
46  typedef int16 mediump_i16;
47  typedef int16 highp_i16;
48  typedef int16 i16;
49 
50  typedef int16 lowp_int16;
52  typedef int16 highp_int16;
53 
57  typedef int16 int16_t;
58 
59  typedef int32 lowp_i32;
60  typedef int32 mediump_i32;
61  typedef int32 highp_i32;
62  typedef int32 i32;
63 
64  typedef int32 lowp_int32;
66  typedef int32 highp_int32;
67 
71  typedef int32 int32_t;
72 
73  typedef int64 lowp_i64;
74  typedef int64 mediump_i64;
75  typedef int64 highp_i64;
76  typedef int64 i64;
77 
78  typedef int64 lowp_int64;
80  typedef int64 highp_int64;
81 
85  typedef int64 int64_t;
86 
87  // Scalar uint
88 
89  typedef uint8 lowp_u8;
90  typedef uint8 mediump_u8;
91  typedef uint8 highp_u8;
92  typedef uint8 u8;
93 
94  typedef uint8 lowp_uint8;
96  typedef uint8 highp_uint8;
97 
101  typedef uint8 uint8_t;
102 
103  typedef uint16 lowp_u16;
105  typedef uint16 highp_u16;
106  typedef uint16 u16;
107 
111 
115  typedef uint16 uint16_t;
116 
117  typedef uint32 lowp_u32;
119  typedef uint32 highp_u32;
120  typedef uint32 u32;
121 
125 
129  typedef uint32 uint32_t;
130 
131  typedef uint64 lowp_u64;
133  typedef uint64 highp_u64;
134  typedef uint64 u64;
135 
139 
143  typedef uint64 uint64_t;
144 
145  // Scalar float
146 
147  typedef float lowp_f32;
148  typedef float mediump_f32;
149  typedef float highp_f32;
150  typedef float f32;
151 
152  typedef float lowp_float32;
153  typedef float mediump_float32;
154  typedef float highp_float32;
155  typedef float float32;
156 
157  typedef float lowp_float32_t;
158  typedef float mediump_float32_t;
159  typedef float highp_float32_t;
160  typedef float float32_t;
161 
162 
163  typedef double lowp_f64;
164  typedef double mediump_f64;
165  typedef double highp_f64;
166  typedef double f64;
167 
168  typedef double lowp_float64;
169  typedef double mediump_float64;
170  typedef double highp_float64;
171  typedef double float64;
172 
173  typedef double lowp_float64_t;
174  typedef double mediump_float64_t;
175  typedef double highp_float64_t;
176  typedef double float64_t;
177 
178  // Vector bool
179 
180  typedef vec<1, bool, lowp> lowp_bvec1;
181  typedef vec<2, bool, lowp> lowp_bvec2;
182  typedef vec<3, bool, lowp> lowp_bvec3;
183  typedef vec<4, bool, lowp> lowp_bvec4;
184 
185  typedef vec<1, bool, mediump> mediump_bvec1;
186  typedef vec<2, bool, mediump> mediump_bvec2;
187  typedef vec<3, bool, mediump> mediump_bvec3;
188  typedef vec<4, bool, mediump> mediump_bvec4;
189 
190  typedef vec<1, bool, highp> highp_bvec1;
191  typedef vec<2, bool, highp> highp_bvec2;
192  typedef vec<3, bool, highp> highp_bvec3;
193  typedef vec<4, bool, highp> highp_bvec4;
194 
195  typedef vec<1, bool, defaultp> bvec1;
196  typedef vec<2, bool, defaultp> bvec2;
197  typedef vec<3, bool, defaultp> bvec3;
198  typedef vec<4, bool, defaultp> bvec4;
199 
200  // Vector int
201 
202  typedef vec<1, i32, lowp> lowp_ivec1;
203  typedef vec<2, i32, lowp> lowp_ivec2;
204  typedef vec<3, i32, lowp> lowp_ivec3;
205  typedef vec<4, i32, lowp> lowp_ivec4;
206 
207  typedef vec<1, i32, mediump> mediump_ivec1;
208  typedef vec<2, i32, mediump> mediump_ivec2;
209  typedef vec<3, i32, mediump> mediump_ivec3;
210  typedef vec<4, i32, mediump> mediump_ivec4;
211 
212  typedef vec<1, i32, highp> highp_ivec1;
213  typedef vec<2, i32, highp> highp_ivec2;
214  typedef vec<3, i32, highp> highp_ivec3;
215  typedef vec<4, i32, highp> highp_ivec4;
216 
217  typedef vec<1, i32, defaultp> ivec1;
218  typedef vec<2, i32, defaultp> ivec2;
219  typedef vec<3, i32, defaultp> ivec3;
220  typedef vec<4, i32, defaultp> ivec4;
221 
222  typedef vec<1, i8, lowp> lowp_i8vec1;
223  typedef vec<2, i8, lowp> lowp_i8vec2;
224  typedef vec<3, i8, lowp> lowp_i8vec3;
225  typedef vec<4, i8, lowp> lowp_i8vec4;
226 
227  typedef vec<1, i8, mediump> mediump_i8vec1;
228  typedef vec<2, i8, mediump> mediump_i8vec2;
229  typedef vec<3, i8, mediump> mediump_i8vec3;
230  typedef vec<4, i8, mediump> mediump_i8vec4;
231 
232  typedef vec<1, i8, highp> highp_i8vec1;
233  typedef vec<2, i8, highp> highp_i8vec2;
234  typedef vec<3, i8, highp> highp_i8vec3;
235  typedef vec<4, i8, highp> highp_i8vec4;
236 
237  typedef vec<1, i8, defaultp> i8vec1;
238  typedef vec<2, i8, defaultp> i8vec2;
239  typedef vec<3, i8, defaultp> i8vec3;
240  typedef vec<4, i8, defaultp> i8vec4;
241 
242  typedef vec<1, i16, lowp> lowp_i16vec1;
243  typedef vec<2, i16, lowp> lowp_i16vec2;
244  typedef vec<3, i16, lowp> lowp_i16vec3;
245  typedef vec<4, i16, lowp> lowp_i16vec4;
246 
247  typedef vec<1, i16, mediump> mediump_i16vec1;
248  typedef vec<2, i16, mediump> mediump_i16vec2;
249  typedef vec<3, i16, mediump> mediump_i16vec3;
250  typedef vec<4, i16, mediump> mediump_i16vec4;
251 
252  typedef vec<1, i16, highp> highp_i16vec1;
253  typedef vec<2, i16, highp> highp_i16vec2;
254  typedef vec<3, i16, highp> highp_i16vec3;
255  typedef vec<4, i16, highp> highp_i16vec4;
256 
257  typedef vec<1, i16, defaultp> i16vec1;
258  typedef vec<2, i16, defaultp> i16vec2;
259  typedef vec<3, i16, defaultp> i16vec3;
260  typedef vec<4, i16, defaultp> i16vec4;
261 
262  typedef vec<1, i32, lowp> lowp_i32vec1;
263  typedef vec<2, i32, lowp> lowp_i32vec2;
264  typedef vec<3, i32, lowp> lowp_i32vec3;
265  typedef vec<4, i32, lowp> lowp_i32vec4;
266 
267  typedef vec<1, i32, mediump> mediump_i32vec1;
268  typedef vec<2, i32, mediump> mediump_i32vec2;
269  typedef vec<3, i32, mediump> mediump_i32vec3;
270  typedef vec<4, i32, mediump> mediump_i32vec4;
271 
272  typedef vec<1, i32, highp> highp_i32vec1;
273  typedef vec<2, i32, highp> highp_i32vec2;
274  typedef vec<3, i32, highp> highp_i32vec3;
275  typedef vec<4, i32, highp> highp_i32vec4;
276 
277  typedef vec<1, i32, defaultp> i32vec1;
278  typedef vec<2, i32, defaultp> i32vec2;
279  typedef vec<3, i32, defaultp> i32vec3;
280  typedef vec<4, i32, defaultp> i32vec4;
281 
282  typedef vec<1, i64, lowp> lowp_i64vec1;
283  typedef vec<2, i64, lowp> lowp_i64vec2;
284  typedef vec<3, i64, lowp> lowp_i64vec3;
285  typedef vec<4, i64, lowp> lowp_i64vec4;
286 
287  typedef vec<1, i64, mediump> mediump_i64vec1;
288  typedef vec<2, i64, mediump> mediump_i64vec2;
289  typedef vec<3, i64, mediump> mediump_i64vec3;
290  typedef vec<4, i64, mediump> mediump_i64vec4;
291 
292  typedef vec<1, i64, highp> highp_i64vec1;
293  typedef vec<2, i64, highp> highp_i64vec2;
294  typedef vec<3, i64, highp> highp_i64vec3;
295  typedef vec<4, i64, highp> highp_i64vec4;
296 
297  typedef vec<1, i64, defaultp> i64vec1;
298  typedef vec<2, i64, defaultp> i64vec2;
299  typedef vec<3, i64, defaultp> i64vec3;
300  typedef vec<4, i64, defaultp> i64vec4;
301 
302  // Vector uint
303 
304  typedef vec<1, u32, lowp> lowp_uvec1;
305  typedef vec<2, u32, lowp> lowp_uvec2;
306  typedef vec<3, u32, lowp> lowp_uvec3;
307  typedef vec<4, u32, lowp> lowp_uvec4;
308 
309  typedef vec<1, u32, mediump> mediump_uvec1;
310  typedef vec<2, u32, mediump> mediump_uvec2;
311  typedef vec<3, u32, mediump> mediump_uvec3;
312  typedef vec<4, u32, mediump> mediump_uvec4;
313 
314  typedef vec<1, u32, highp> highp_uvec1;
315  typedef vec<2, u32, highp> highp_uvec2;
316  typedef vec<3, u32, highp> highp_uvec3;
317  typedef vec<4, u32, highp> highp_uvec4;
318 
319  typedef vec<1, u32, defaultp> uvec1;
320  typedef vec<2, u32, defaultp> uvec2;
321  typedef vec<3, u32, defaultp> uvec3;
322  typedef vec<4, u32, defaultp> uvec4;
323 
324  typedef vec<1, u8, lowp> lowp_u8vec1;
325  typedef vec<2, u8, lowp> lowp_u8vec2;
326  typedef vec<3, u8, lowp> lowp_u8vec3;
327  typedef vec<4, u8, lowp> lowp_u8vec4;
328 
329  typedef vec<1, u8, mediump> mediump_u8vec1;
330  typedef vec<2, u8, mediump> mediump_u8vec2;
331  typedef vec<3, u8, mediump> mediump_u8vec3;
332  typedef vec<4, u8, mediump> mediump_u8vec4;
333 
334  typedef vec<1, u8, highp> highp_u8vec1;
335  typedef vec<2, u8, highp> highp_u8vec2;
336  typedef vec<3, u8, highp> highp_u8vec3;
337  typedef vec<4, u8, highp> highp_u8vec4;
338 
339  typedef vec<1, u8, defaultp> u8vec1;
340  typedef vec<2, u8, defaultp> u8vec2;
341  typedef vec<3, u8, defaultp> u8vec3;
342  typedef vec<4, u8, defaultp> u8vec4;
343 
344  typedef vec<1, u16, lowp> lowp_u16vec1;
345  typedef vec<2, u16, lowp> lowp_u16vec2;
346  typedef vec<3, u16, lowp> lowp_u16vec3;
347  typedef vec<4, u16, lowp> lowp_u16vec4;
348 
349  typedef vec<1, u16, mediump> mediump_u16vec1;
350  typedef vec<2, u16, mediump> mediump_u16vec2;
351  typedef vec<3, u16, mediump> mediump_u16vec3;
352  typedef vec<4, u16, mediump> mediump_u16vec4;
353 
354  typedef vec<1, u16, highp> highp_u16vec1;
355  typedef vec<2, u16, highp> highp_u16vec2;
356  typedef vec<3, u16, highp> highp_u16vec3;
357  typedef vec<4, u16, highp> highp_u16vec4;
358 
359  typedef vec<1, u16, defaultp> u16vec1;
360  typedef vec<2, u16, defaultp> u16vec2;
361  typedef vec<3, u16, defaultp> u16vec3;
362  typedef vec<4, u16, defaultp> u16vec4;
363 
364  typedef vec<1, u32, lowp> lowp_u32vec1;
365  typedef vec<2, u32, lowp> lowp_u32vec2;
366  typedef vec<3, u32, lowp> lowp_u32vec3;
367  typedef vec<4, u32, lowp> lowp_u32vec4;
368 
369  typedef vec<1, u32, mediump> mediump_u32vec1;
370  typedef vec<2, u32, mediump> mediump_u32vec2;
371  typedef vec<3, u32, mediump> mediump_u32vec3;
372  typedef vec<4, u32, mediump> mediump_u32vec4;
373 
374  typedef vec<1, u32, highp> highp_u32vec1;
375  typedef vec<2, u32, highp> highp_u32vec2;
376  typedef vec<3, u32, highp> highp_u32vec3;
377  typedef vec<4, u32, highp> highp_u32vec4;
378 
379  typedef vec<1, u32, defaultp> u32vec1;
380  typedef vec<2, u32, defaultp> u32vec2;
381  typedef vec<3, u32, defaultp> u32vec3;
382  typedef vec<4, u32, defaultp> u32vec4;
383 
384  typedef vec<1, u64, lowp> lowp_u64vec1;
385  typedef vec<2, u64, lowp> lowp_u64vec2;
386  typedef vec<3, u64, lowp> lowp_u64vec3;
387  typedef vec<4, u64, lowp> lowp_u64vec4;
388 
389  typedef vec<1, u64, mediump> mediump_u64vec1;
390  typedef vec<2, u64, mediump> mediump_u64vec2;
391  typedef vec<3, u64, mediump> mediump_u64vec3;
392  typedef vec<4, u64, mediump> mediump_u64vec4;
393 
394  typedef vec<1, u64, highp> highp_u64vec1;
395  typedef vec<2, u64, highp> highp_u64vec2;
396  typedef vec<3, u64, highp> highp_u64vec3;
397  typedef vec<4, u64, highp> highp_u64vec4;
398 
399  typedef vec<1, u64, defaultp> u64vec1;
400  typedef vec<2, u64, defaultp> u64vec2;
401  typedef vec<3, u64, defaultp> u64vec3;
402  typedef vec<4, u64, defaultp> u64vec4;
403 
404  // Vector float
405 
406  typedef vec<1, float, lowp> lowp_vec1;
407  typedef vec<2, float, lowp> lowp_vec2;
408  typedef vec<3, float, lowp> lowp_vec3;
409  typedef vec<4, float, lowp> lowp_vec4;
410 
411  typedef vec<1, float, mediump> mediump_vec1;
412  typedef vec<2, float, mediump> mediump_vec2;
413  typedef vec<3, float, mediump> mediump_vec3;
414  typedef vec<4, float, mediump> mediump_vec4;
415 
416  typedef vec<1, float, highp> highp_vec1;
417  typedef vec<2, float, highp> highp_vec2;
418  typedef vec<3, float, highp> highp_vec3;
419  typedef vec<4, float, highp> highp_vec4;
420 
421  typedef vec<1, float, defaultp> vec1;
422  typedef vec<2, float, defaultp> vec2;
423  typedef vec<3, float, defaultp> vec3;
424  typedef vec<4, float, defaultp> vec4;
425 
426  typedef vec<1, float, lowp> lowp_fvec1;
427  typedef vec<2, float, lowp> lowp_fvec2;
428  typedef vec<3, float, lowp> lowp_fvec3;
429  typedef vec<4, float, lowp> lowp_fvec4;
430 
431  typedef vec<1, float, mediump> mediump_fvec1;
432  typedef vec<2, float, mediump> mediump_fvec2;
433  typedef vec<3, float, mediump> mediump_fvec3;
434  typedef vec<4, float, mediump> mediump_fvec4;
435 
436  typedef vec<1, float, highp> highp_fvec1;
437  typedef vec<2, float, highp> highp_fvec2;
438  typedef vec<3, float, highp> highp_fvec3;
439  typedef vec<4, float, highp> highp_fvec4;
440 
441  typedef vec<1, f32, defaultp> fvec1;
442  typedef vec<2, f32, defaultp> fvec2;
443  typedef vec<3, f32, defaultp> fvec3;
444  typedef vec<4, f32, defaultp> fvec4;
445 
446  typedef vec<1, f32, lowp> lowp_f32vec1;
447  typedef vec<2, f32, lowp> lowp_f32vec2;
448  typedef vec<3, f32, lowp> lowp_f32vec3;
449  typedef vec<4, f32, lowp> lowp_f32vec4;
450 
451  typedef vec<1, f32, mediump> mediump_f32vec1;
452  typedef vec<2, f32, mediump> mediump_f32vec2;
453  typedef vec<3, f32, mediump> mediump_f32vec3;
454  typedef vec<4, f32, mediump> mediump_f32vec4;
455 
456  typedef vec<1, f32, highp> highp_f32vec1;
457  typedef vec<2, f32, highp> highp_f32vec2;
458  typedef vec<3, f32, highp> highp_f32vec3;
459  typedef vec<4, f32, highp> highp_f32vec4;
460 
461  typedef vec<1, f32, defaultp> f32vec1;
462  typedef vec<2, f32, defaultp> f32vec2;
463  typedef vec<3, f32, defaultp> f32vec3;
464  typedef vec<4, f32, defaultp> f32vec4;
465 
466  typedef vec<1, f64, lowp> lowp_dvec1;
467  typedef vec<2, f64, lowp> lowp_dvec2;
468  typedef vec<3, f64, lowp> lowp_dvec3;
469  typedef vec<4, f64, lowp> lowp_dvec4;
470 
471  typedef vec<1, f64, mediump> mediump_dvec1;
472  typedef vec<2, f64, mediump> mediump_dvec2;
473  typedef vec<3, f64, mediump> mediump_dvec3;
474  typedef vec<4, f64, mediump> mediump_dvec4;
475 
476  typedef vec<1, f64, highp> highp_dvec1;
477  typedef vec<2, f64, highp> highp_dvec2;
478  typedef vec<3, f64, highp> highp_dvec3;
479  typedef vec<4, f64, highp> highp_dvec4;
480 
481  typedef vec<1, f64, defaultp> dvec1;
482  typedef vec<2, f64, defaultp> dvec2;
483  typedef vec<3, f64, defaultp> dvec3;
484  typedef vec<4, f64, defaultp> dvec4;
485 
486  typedef vec<1, f64, lowp> lowp_f64vec1;
487  typedef vec<2, f64, lowp> lowp_f64vec2;
488  typedef vec<3, f64, lowp> lowp_f64vec3;
489  typedef vec<4, f64, lowp> lowp_f64vec4;
490 
491  typedef vec<1, f64, mediump> mediump_f64vec1;
492  typedef vec<2, f64, mediump> mediump_f64vec2;
493  typedef vec<3, f64, mediump> mediump_f64vec3;
494  typedef vec<4, f64, mediump> mediump_f64vec4;
495 
496  typedef vec<1, f64, highp> highp_f64vec1;
497  typedef vec<2, f64, highp> highp_f64vec2;
498  typedef vec<3, f64, highp> highp_f64vec3;
499  typedef vec<4, f64, highp> highp_f64vec4;
500 
501  typedef vec<1, f64, defaultp> f64vec1;
502  typedef vec<2, f64, defaultp> f64vec2;
503  typedef vec<3, f64, defaultp> f64vec3;
504  typedef vec<4, f64, defaultp> f64vec4;
505 
506  // Matrix NxN
507 
508  typedef mat<2, 2, f32, lowp> lowp_mat2;
509  typedef mat<3, 3, f32, lowp> lowp_mat3;
510  typedef mat<4, 4, f32, lowp> lowp_mat4;
511 
512  typedef mat<2, 2, f32, mediump> mediump_mat2;
513  typedef mat<3, 3, f32, mediump> mediump_mat3;
514  typedef mat<4, 4, f32, mediump> mediump_mat4;
515 
516  typedef mat<2, 2, f32, highp> highp_mat2;
517  typedef mat<3, 3, f32, highp> highp_mat3;
518  typedef mat<4, 4, f32, highp> highp_mat4;
519 
520  typedef mat<2, 2, f32, defaultp> mat2;
521  typedef mat<3, 3, f32, defaultp> mat3;
522  typedef mat<4, 4, f32, defaultp> mat4;
523 
524  typedef mat<2, 2, f32, lowp> lowp_fmat2;
525  typedef mat<3, 3, f32, lowp> lowp_fmat3;
526  typedef mat<4, 4, f32, lowp> lowp_fmat4;
527 
528  typedef mat<2, 2, f32, mediump> mediump_fmat2;
529  typedef mat<3, 3, f32, mediump> mediump_fmat3;
530  typedef mat<4, 4, f32, mediump> mediump_fmat4;
531 
532  typedef mat<2, 2, f32, highp> highp_fmat2;
533  typedef mat<3, 3, f32, highp> highp_fmat3;
534  typedef mat<4, 4, f32, highp> highp_fmat4;
535 
536  typedef mat<2, 2, f32, defaultp> fmat2;
537  typedef mat<3, 3, f32, defaultp> fmat3;
538  typedef mat<4, 4, f32, defaultp> fmat4;
539 
540  typedef mat<2, 2, f32, lowp> lowp_f32mat2;
541  typedef mat<3, 3, f32, lowp> lowp_f32mat3;
542  typedef mat<4, 4, f32, lowp> lowp_f32mat4;
543 
544  typedef mat<2, 2, f32, mediump> mediump_f32mat2;
545  typedef mat<3, 3, f32, mediump> mediump_f32mat3;
546  typedef mat<4, 4, f32, mediump> mediump_f32mat4;
547 
548  typedef mat<2, 2, f32, highp> highp_f32mat2;
549  typedef mat<3, 3, f32, highp> highp_f32mat3;
550  typedef mat<4, 4, f32, highp> highp_f32mat4;
551 
552  typedef mat<2, 2, f32, defaultp> f32mat2;
553  typedef mat<3, 3, f32, defaultp> f32mat3;
554  typedef mat<4, 4, f32, defaultp> f32mat4;
555 
556  typedef mat<2, 2, f64, lowp> lowp_dmat2;
557  typedef mat<3, 3, f64, lowp> lowp_dmat3;
558  typedef mat<4, 4, f64, lowp> lowp_dmat4;
559 
560  typedef mat<2, 2, f64, mediump> mediump_dmat2;
561  typedef mat<3, 3, f64, mediump> mediump_dmat3;
562  typedef mat<4, 4, f64, mediump> mediump_dmat4;
563 
564  typedef mat<2, 2, f64, highp> highp_dmat2;
565  typedef mat<3, 3, f64, highp> highp_dmat3;
566  typedef mat<4, 4, f64, highp> highp_dmat4;
567 
568  typedef mat<2, 2, f64, defaultp> dmat2;
569  typedef mat<3, 3, f64, defaultp> dmat3;
570  typedef mat<4, 4, f64, defaultp> dmat4;
571 
572  typedef mat<2, 2, f64, lowp> lowp_f64mat2;
573  typedef mat<3, 3, f64, lowp> lowp_f64mat3;
574  typedef mat<4, 4, f64, lowp> lowp_f64mat4;
575 
576  typedef mat<2, 2, f64, mediump> mediump_f64mat2;
577  typedef mat<3, 3, f64, mediump> mediump_f64mat3;
578  typedef mat<4, 4, f64, mediump> mediump_f64mat4;
579 
580  typedef mat<2, 2, f64, highp> highp_f64mat2;
581  typedef mat<3, 3, f64, highp> highp_f64mat3;
582  typedef mat<4, 4, f64, highp> highp_f64mat4;
583 
584  typedef mat<2, 2, f64, defaultp> f64mat2;
585  typedef mat<3, 3, f64, defaultp> f64mat3;
586  typedef mat<4, 4, f64, defaultp> f64mat4;
587 
588  // Matrix MxN
589 
590  typedef mat<2, 2, f32, lowp> lowp_mat2x2;
591  typedef mat<2, 3, f32, lowp> lowp_mat2x3;
592  typedef mat<2, 4, f32, lowp> lowp_mat2x4;
593  typedef mat<3, 2, f32, lowp> lowp_mat3x2;
594  typedef mat<3, 3, f32, lowp> lowp_mat3x3;
595  typedef mat<3, 4, f32, lowp> lowp_mat3x4;
596  typedef mat<4, 2, f32, lowp> lowp_mat4x2;
597  typedef mat<4, 3, f32, lowp> lowp_mat4x3;
598  typedef mat<4, 4, f32, lowp> lowp_mat4x4;
599 
600  typedef mat<2, 2, f32, mediump> mediump_mat2x2;
601  typedef mat<2, 3, f32, mediump> mediump_mat2x3;
602  typedef mat<2, 4, f32, mediump> mediump_mat2x4;
603  typedef mat<3, 2, f32, mediump> mediump_mat3x2;
604  typedef mat<3, 3, f32, mediump> mediump_mat3x3;
605  typedef mat<3, 4, f32, mediump> mediump_mat3x4;
606  typedef mat<4, 2, f32, mediump> mediump_mat4x2;
607  typedef mat<4, 3, f32, mediump> mediump_mat4x3;
608  typedef mat<4, 4, f32, mediump> mediump_mat4x4;
609 
610  typedef mat<2, 2, f32, highp> highp_mat2x2;
611  typedef mat<2, 3, f32, highp> highp_mat2x3;
612  typedef mat<2, 4, f32, highp> highp_mat2x4;
613  typedef mat<3, 2, f32, highp> highp_mat3x2;
614  typedef mat<3, 3, f32, highp> highp_mat3x3;
615  typedef mat<3, 4, f32, highp> highp_mat3x4;
616  typedef mat<4, 2, f32, highp> highp_mat4x2;
617  typedef mat<4, 3, f32, highp> highp_mat4x3;
618  typedef mat<4, 4, f32, highp> highp_mat4x4;
619 
620  typedef mat<2, 2, f32, defaultp> mat2x2;
621  typedef mat<3, 2, f32, defaultp> mat3x2;
622  typedef mat<4, 2, f32, defaultp> mat4x2;
623  typedef mat<2, 3, f32, defaultp> mat2x3;
624  typedef mat<3, 3, f32, defaultp> mat3x3;
625  typedef mat<4, 3, f32, defaultp> mat4x3;
626  typedef mat<2, 4, f32, defaultp> mat2x4;
627  typedef mat<3, 4, f32, defaultp> mat3x4;
628  typedef mat<4, 4, f32, defaultp> mat4x4;
629 
630  typedef mat<2, 2, f32, lowp> lowp_fmat2x2;
631  typedef mat<2, 3, f32, lowp> lowp_fmat2x3;
632  typedef mat<2, 4, f32, lowp> lowp_fmat2x4;
633  typedef mat<3, 2, f32, lowp> lowp_fmat3x2;
634  typedef mat<3, 3, f32, lowp> lowp_fmat3x3;
635  typedef mat<3, 4, f32, lowp> lowp_fmat3x4;
636  typedef mat<4, 2, f32, lowp> lowp_fmat4x2;
637  typedef mat<4, 3, f32, lowp> lowp_fmat4x3;
638  typedef mat<4, 4, f32, lowp> lowp_fmat4x4;
639 
640  typedef mat<2, 2, f32, mediump> mediump_fmat2x2;
641  typedef mat<2, 3, f32, mediump> mediump_fmat2x3;
642  typedef mat<2, 4, f32, mediump> mediump_fmat2x4;
643  typedef mat<3, 2, f32, mediump> mediump_fmat3x2;
644  typedef mat<3, 3, f32, mediump> mediump_fmat3x3;
645  typedef mat<3, 4, f32, mediump> mediump_fmat3x4;
646  typedef mat<4, 2, f32, mediump> mediump_fmat4x2;
647  typedef mat<4, 3, f32, mediump> mediump_fmat4x3;
648  typedef mat<4, 4, f32, mediump> mediump_fmat4x4;
649 
650  typedef mat<2, 2, f32, highp> highp_fmat2x2;
651  typedef mat<2, 3, f32, highp> highp_fmat2x3;
652  typedef mat<2, 4, f32, highp> highp_fmat2x4;
653  typedef mat<3, 2, f32, highp> highp_fmat3x2;
654  typedef mat<3, 3, f32, highp> highp_fmat3x3;
655  typedef mat<3, 4, f32, highp> highp_fmat3x4;
656  typedef mat<4, 2, f32, highp> highp_fmat4x2;
657  typedef mat<4, 3, f32, highp> highp_fmat4x3;
658  typedef mat<4, 4, f32, highp> highp_fmat4x4;
659 
660  typedef mat<2, 2, f32, defaultp> fmat2x2;
661  typedef mat<3, 2, f32, defaultp> fmat3x2;
662  typedef mat<4, 2, f32, defaultp> fmat4x2;
663  typedef mat<2, 3, f32, defaultp> fmat2x3;
664  typedef mat<3, 3, f32, defaultp> fmat3x3;
665  typedef mat<4, 3, f32, defaultp> fmat4x3;
666  typedef mat<2, 4, f32, defaultp> fmat2x4;
667  typedef mat<3, 4, f32, defaultp> fmat3x4;
668  typedef mat<4, 4, f32, defaultp> fmat4x4;
669 
670  typedef mat<2, 2, f32, lowp> lowp_f32mat2x2;
671  typedef mat<2, 3, f32, lowp> lowp_f32mat2x3;
672  typedef mat<2, 4, f32, lowp> lowp_f32mat2x4;
673  typedef mat<3, 2, f32, lowp> lowp_f32mat3x2;
674  typedef mat<3, 3, f32, lowp> lowp_f32mat3x3;
675  typedef mat<3, 4, f32, lowp> lowp_f32mat3x4;
676  typedef mat<4, 2, f32, lowp> lowp_f32mat4x2;
677  typedef mat<4, 3, f32, lowp> lowp_f32mat4x3;
678  typedef mat<4, 4, f32, lowp> lowp_f32mat4x4;
679 
680  typedef mat<2, 2, f32, mediump> mediump_f32mat2x2;
681  typedef mat<2, 3, f32, mediump> mediump_f32mat2x3;
682  typedef mat<2, 4, f32, mediump> mediump_f32mat2x4;
683  typedef mat<3, 2, f32, mediump> mediump_f32mat3x2;
684  typedef mat<3, 3, f32, mediump> mediump_f32mat3x3;
685  typedef mat<3, 4, f32, mediump> mediump_f32mat3x4;
686  typedef mat<4, 2, f32, mediump> mediump_f32mat4x2;
687  typedef mat<4, 3, f32, mediump> mediump_f32mat4x3;
688  typedef mat<4, 4, f32, mediump> mediump_f32mat4x4;
689 
690  typedef mat<2, 2, f32, highp> highp_f32mat2x2;
691  typedef mat<2, 3, f32, highp> highp_f32mat2x3;
692  typedef mat<2, 4, f32, highp> highp_f32mat2x4;
693  typedef mat<3, 2, f32, highp> highp_f32mat3x2;
694  typedef mat<3, 3, f32, highp> highp_f32mat3x3;
695  typedef mat<3, 4, f32, highp> highp_f32mat3x4;
696  typedef mat<4, 2, f32, highp> highp_f32mat4x2;
697  typedef mat<4, 3, f32, highp> highp_f32mat4x3;
698  typedef mat<4, 4, f32, highp> highp_f32mat4x4;
699 
700  typedef mat<2, 2, f32, defaultp> f32mat2x2;
701  typedef mat<3, 2, f32, defaultp> f32mat3x2;
702  typedef mat<4, 2, f32, defaultp> f32mat4x2;
703  typedef mat<2, 3, f32, defaultp> f32mat2x3;
704  typedef mat<3, 3, f32, defaultp> f32mat3x3;
705  typedef mat<4, 3, f32, defaultp> f32mat4x3;
706  typedef mat<2, 4, f32, defaultp> f32mat2x4;
707  typedef mat<3, 4, f32, defaultp> f32mat3x4;
708  typedef mat<4, 4, f32, defaultp> f32mat4x4;
709 
710  typedef mat<2, 2, double, lowp> lowp_dmat2x2;
711  typedef mat<2, 3, double, lowp> lowp_dmat2x3;
712  typedef mat<2, 4, double, lowp> lowp_dmat2x4;
713  typedef mat<3, 2, double, lowp> lowp_dmat3x2;
714  typedef mat<3, 3, double, lowp> lowp_dmat3x3;
715  typedef mat<3, 4, double, lowp> lowp_dmat3x4;
716  typedef mat<4, 2, double, lowp> lowp_dmat4x2;
717  typedef mat<4, 3, double, lowp> lowp_dmat4x3;
718  typedef mat<4, 4, double, lowp> lowp_dmat4x4;
719 
720  typedef mat<2, 2, double, mediump> mediump_dmat2x2;
721  typedef mat<2, 3, double, mediump> mediump_dmat2x3;
722  typedef mat<2, 4, double, mediump> mediump_dmat2x4;
723  typedef mat<3, 2, double, mediump> mediump_dmat3x2;
724  typedef mat<3, 3, double, mediump> mediump_dmat3x3;
725  typedef mat<3, 4, double, mediump> mediump_dmat3x4;
726  typedef mat<4, 2, double, mediump> mediump_dmat4x2;
727  typedef mat<4, 3, double, mediump> mediump_dmat4x3;
728  typedef mat<4, 4, double, mediump> mediump_dmat4x4;
729 
730  typedef mat<2, 2, double, highp> highp_dmat2x2;
731  typedef mat<2, 3, double, highp> highp_dmat2x3;
732  typedef mat<2, 4, double, highp> highp_dmat2x4;
733  typedef mat<3, 2, double, highp> highp_dmat3x2;
734  typedef mat<3, 3, double, highp> highp_dmat3x3;
735  typedef mat<3, 4, double, highp> highp_dmat3x4;
736  typedef mat<4, 2, double, highp> highp_dmat4x2;
737  typedef mat<4, 3, double, highp> highp_dmat4x3;
738  typedef mat<4, 4, double, highp> highp_dmat4x4;
739 
740  typedef mat<2, 2, double, defaultp> dmat2x2;
741  typedef mat<3, 2, double, defaultp> dmat3x2;
742  typedef mat<4, 2, double, defaultp> dmat4x2;
743  typedef mat<2, 3, double, defaultp> dmat2x3;
744  typedef mat<3, 3, double, defaultp> dmat3x3;
745  typedef mat<4, 3, double, defaultp> dmat4x3;
746  typedef mat<2, 4, double, defaultp> dmat2x4;
747  typedef mat<3, 4, double, defaultp> dmat3x4;
748  typedef mat<4, 4, double, defaultp> dmat4x4;
749 
750  typedef mat<2, 2, f64, lowp> lowp_f64mat2x2;
751  typedef mat<2, 3, f64, lowp> lowp_f64mat2x3;
752  typedef mat<2, 4, f64, lowp> lowp_f64mat2x4;
753  typedef mat<3, 2, f64, lowp> lowp_f64mat3x2;
754  typedef mat<3, 3, f64, lowp> lowp_f64mat3x3;
755  typedef mat<3, 4, f64, lowp> lowp_f64mat3x4;
756  typedef mat<4, 2, f64, lowp> lowp_f64mat4x2;
757  typedef mat<4, 3, f64, lowp> lowp_f64mat4x3;
758  typedef mat<4, 4, f64, lowp> lowp_f64mat4x4;
759 
760  typedef mat<2, 2, f64, mediump> mediump_f64mat2x2;
761  typedef mat<2, 3, f64, mediump> mediump_f64mat2x3;
762  typedef mat<2, 4, f64, mediump> mediump_f64mat2x4;
763  typedef mat<3, 2, f64, mediump> mediump_f64mat3x2;
764  typedef mat<3, 3, f64, mediump> mediump_f64mat3x3;
765  typedef mat<3, 4, f64, mediump> mediump_f64mat3x4;
766  typedef mat<4, 2, f64, mediump> mediump_f64mat4x2;
767  typedef mat<4, 3, f64, mediump> mediump_f64mat4x3;
768  typedef mat<4, 4, f64, mediump> mediump_f64mat4x4;
769 
770  typedef mat<2, 2, f64, highp> highp_f64mat2x2;
771  typedef mat<2, 3, f64, highp> highp_f64mat2x3;
772  typedef mat<2, 4, f64, highp> highp_f64mat2x4;
773  typedef mat<3, 2, f64, highp> highp_f64mat3x2;
774  typedef mat<3, 3, f64, highp> highp_f64mat3x3;
775  typedef mat<3, 4, f64, highp> highp_f64mat3x4;
776  typedef mat<4, 2, f64, highp> highp_f64mat4x2;
777  typedef mat<4, 3, f64, highp> highp_f64mat4x3;
778  typedef mat<4, 4, f64, highp> highp_f64mat4x4;
779 
780  typedef mat<2, 2, f64, defaultp> f64mat2x2;
781  typedef mat<3, 2, f64, defaultp> f64mat3x2;
782  typedef mat<4, 2, f64, defaultp> f64mat4x2;
783  typedef mat<2, 3, f64, defaultp> f64mat2x3;
784  typedef mat<3, 3, f64, defaultp> f64mat3x3;
785  typedef mat<4, 3, f64, defaultp> f64mat4x3;
786  typedef mat<2, 4, f64, defaultp> f64mat2x4;
787  typedef mat<3, 4, f64, defaultp> f64mat3x4;
788  typedef mat<4, 4, f64, defaultp> f64mat4x4;
789 
790  // Quaternion
791 
792  typedef qua<float, lowp> lowp_quat;
793  typedef qua<float, mediump> mediump_quat;
794  typedef qua<float, highp> highp_quat;
795  typedef qua<float, defaultp> quat;
796 
797  typedef qua<float, lowp> lowp_fquat;
798  typedef qua<float, mediump> mediump_fquat;
799  typedef qua<float, highp> highp_fquat;
800  typedef qua<float, defaultp> fquat;
801 
802  typedef qua<f32, lowp> lowp_f32quat;
803  typedef qua<f32, mediump> mediump_f32quat;
804  typedef qua<f32, highp> highp_f32quat;
805  typedef qua<f32, defaultp> f32quat;
806 
807  typedef qua<double, lowp> lowp_dquat;
808  typedef qua<double, mediump> mediump_dquat;
809  typedef qua<double, highp> highp_dquat;
810  typedef qua<double, defaultp> dquat;
811 
812  typedef qua<f64, lowp> lowp_f64quat;
813  typedef qua<f64, mediump> mediump_f64quat;
814  typedef qua<f64, highp> highp_f64quat;
815  typedef qua<f64, defaultp> f64quat;
816 }//namespace glm
817 
818 
mat< 4, 3, double, defaultp > dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers.
+
double f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:166
+
mat< 2, 3, float, lowp > lowp_mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 1, unsigned int, highp > highp_uvec1
1 component vector of unsigned integer values.
+
vec< 4, unsigned int, highp > highp_uvec4
4 components vector of high qualifier unsigned integer numbers.
+
vec< 2, i8, highp > highp_i8vec2
High qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:233
+
vec< 2, f32, mediump > mediump_f32vec2
Medium single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:452
+
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
+
vec< 4, i64, mediump > mediump_i64vec4
Medium qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:290
+
vec< 3, u16, defaultp > u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:361
+
vec< 1, double, mediump > mediump_dvec1
1 component vector of double-precision floating-point numbers using medium precision arithmetic in te...
+
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
+
vec< 1, i16, defaultp > i16vec1
16 bit signed integer scalar type.
Definition: fwd.hpp:257
+
mat< 3, 3, f32, lowp > lowp_f32mat3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:541
+
mat< 4, 4, f64, highp > highp_f64mat4x4
High double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:778
+
vec< 1, unsigned int, lowp > lowp_uvec1
1 component vector of unsigned integer values.
+
mat< 3, 3, f32, mediump > mediump_fmat3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:529
+
mat< 4, 2, f32, lowp > lowp_fmat4x2
Low single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:636
+
mat< 3, 3, double, highp > highp_dmat3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 3, float, mediump > mediump_fvec3
Medium Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:433
+
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:114
+
mat< 2, 3, f32, highp > highp_fmat2x3
High single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:651
+
mat< 4, 3, f32, lowp > lowp_f32mat4x3
Low single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:677
+
double mediump_float64
Medium 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:169
+
mat< 3, 3, double, defaultp > dmat3
3 columns of 3 components matrix of double-precision floating-point numbers.
+
vec< 1, int, mediump > mediump_ivec1
1 component vector of signed integer values.
+
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
Definition: fwd.hpp:815
+
mat< 3, 4, double, defaultp > dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers.
+
vec< 1, u64, mediump > mediump_u64vec1
Medium qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:389
+
vec< 4, u8, highp > highp_u8vec4
High qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:337
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:502
+
vec< 3, u32, highp > highp_u32vec3
High qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:376
+
vec< 4, f64, highp > highp_f64vec4
High double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:499
+
int64 i64
64 bit signed integer type.
Definition: fwd.hpp:76
+
mat< 2, 3, f32, lowp > lowp_f32mat2x3
Low single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:671
+
mat< 4, 4, f32, defaultp > f32mat4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:554
+
int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:59
+
vec< 1, i16, highp > highp_i16vec1
High qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:252
+
vec< 1, unsigned int, mediump > mediump_uvec1
1 component vector of unsigned integer values.
+
mat< 3, 4, f32, mediump > mediump_f32mat3x4
Medium single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:685
+
vec< 4, int, lowp > lowp_ivec4
4 components vector of low qualifier signed integer numbers.
+
vec< 2, unsigned int, highp > highp_uvec2
2 components vector of high qualifier unsigned integer numbers.
+
vec< 3, i32, mediump > mediump_i32vec3
Medium qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:269
+
vec< 4, i16, highp > highp_i16vec4
High qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:255
+
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:95
+
vec< 3, i8, lowp > lowp_i8vec3
Low qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:224
+
vec< 4, i32, mediump > mediump_i32vec4
Medium qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:270
+
vec< 1, i8, lowp > lowp_i8vec1
Low qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:222
+
mat< 3, 4, double, lowp > lowp_dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
vec< 2, i64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:298
+
mat< 2, 4, float, mediump > mediump_mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 4, u16, lowp > lowp_u16vec4
Low qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:347
+
vec< 2, double, mediump > mediump_dvec2
2 components vector of medium double-qualifier floating-point numbers.
+
mat< 3, 4, f64, lowp > lowp_f64mat3x4
Low double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:755
+
vec< 1, u32, mediump > mediump_u32vec1
Medium qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:369
+
mat< 3, 3, f32, mediump > mediump_f32mat3x3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:684
+
mat< 4, 2, f32, mediump > mediump_f32mat4x2
Medium single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:686
+
mat< 2, 2, double, defaultp > dmat2
2 columns of 2 components matrix of double-precision floating-point numbers.
+
mat< 3, 3, f32, lowp > lowp_fmat3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:525
+
vec< 3, u8, lowp > lowp_u8vec3
Low qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:326
+
mat< 2, 4, f32, lowp > lowp_f32mat2x4
Low single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:672
+
mat< 4, 2, f32, highp > highp_f32mat4x2
High single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:696
+
mat< 3, 3, f32, highp > highp_f32mat3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:549
+
mat< 2, 2, float, mediump > mediump_mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 3, 4, f64, mediump > mediump_f64mat3x4
Medium double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:765
+
mat< 4, 4, f32, lowp > lowp_fmat4x4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:638
+
detail::int8 int8
8 bit signed integer type.
+
vec< 4, bool, lowp > lowp_bvec4
4 components vector of low qualifier bool numbers.
+
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:444
+
mat< 2, 3, float, highp > highp_mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
vec< 4, float, highp > highp_vec4
4 components vector of high single-qualifier floating-point numbers.
+
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:40
+
vec< 3, bool, lowp > lowp_bvec3
3 components vector of low qualifier bool numbers.
+
vec< 2, i16, mediump > mediump_i16vec2
Medium qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:248
+
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:82
+
mat< 2, 4, f32, highp > highp_f32mat2x4
High single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:692
+
vec< 4, f32, highp > highp_f32vec4
High single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:459
+
mat< 2, 2, f32, mediump > mediump_fmat2x2
Medium single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:640
+
mat< 4, 4, double, lowp > lowp_dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 2, 2, f32, lowp > lowp_f32mat2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:540
+
vec< 2, f32, lowp > lowp_f32vec2
Low single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:447
+
mat< 3, 3, f32, defaultp > fmat3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:537
+
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
+
mat< 2, 2, f64, highp > highp_f64mat2x2
High double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:770
+
mat< 3, 3, double, highp > highp_dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 3, unsigned int, highp > highp_uvec3
3 components vector of high qualifier unsigned integer numbers.
+
mat< 3, 2, double, highp > highp_dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 3, i64, lowp > lowp_i64vec3
Low qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:284
+
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:32
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
double float64
Double precision floating-point numbers.
+
mat< 2, 2, f32, lowp > lowp_fmat2x2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:630
+
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:98
+
int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:70
+
vec< 4, i8, lowp > lowp_i8vec4
Low qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:225
+
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:501
+
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:666
+
mat< 4, 4, double, mediump > mediump_dmat4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:79
+
mat< 4, 3, f64, highp > highp_f64mat4x3
High double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:777
+
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:703
+
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 4, 2, float, lowp > lowp_mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 2, 2, float, highp > highp_mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
vec< 1, i32, mediump > mediump_i32vec1
Medium qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:267
+
vec< 3, i8, highp > highp_i8vec3
High qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:234
+
vec< 3, unsigned int, lowp > lowp_uvec3
3 components vector of low qualifier unsigned integer numbers.
+
vec< 4, u32, highp > highp_u32vec4
High qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:377
+
vec< 1, float, highp > highp_vec1
1 component vector of single-precision floating-point numbers using high precision arithmetic in term...
+
double float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:176
+
vec< 3, i16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:259
+
mat< 4, 3, f32, highp > highp_fmat4x3
High single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:657
+
vec< 1, float, lowp > lowp_fvec1
Low single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:426
+
mat< 4, 4, float, lowp > lowp_mat4
4 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 2, 2, float, mediump > mediump_mat2
2 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:123
+
mat< 4, 4, f64, highp > highp_f64mat4
High double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:582
+
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:91
+
int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:78
+
vec< 3, double, mediump > mediump_dvec3
3 components vector of medium double-qualifier floating-point numbers.
+
vec< 3, bool, mediump > mediump_bvec3
3 components vector of medium qualifier bool numbers.
+
mat< 3, 3, float, highp > highp_mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
mat< 2, 2, f64, highp > highp_f64mat2
High double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:580
+
vec< 4, bool, mediump > mediump_bvec4
4 components vector of medium qualifier bool numbers.
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
mat< 2, 3, double, defaultp > dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers.
+
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:112
+
mat< 3, 3, f32, highp > highp_fmat3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:533
+
vec< 2, float, highp > highp_fvec2
High Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:437
+
vec< 1, float, lowp > lowp_vec1
1 component vector of single-precision floating-point numbers using low precision arithmetic in term ...
+
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:89
+
vec< 3, u32, lowp > lowp_u32vec3
Low qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:366
+
vec< 1, u64, lowp > lowp_u64vec1
Low qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:384
+
vec< 1, bool, lowp > lowp_bvec1
1 component vector of bool values.
+
mat< 4, 4, double, lowp > lowp_dmat4
4 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:84
+
mat< 2, 2, f64, lowp > lowp_f64mat2
Low double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:572
+
vec< 1, f64, lowp > lowp_f64vec1
Low double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:486
+
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:128
+
mat< 2, 4, f64, mediump > mediump_f64mat2x4
Medium double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:762
+
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:664
+
mat< 2, 3, f32, mediump > mediump_f32mat2x3
Medium single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:681
+
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:137
+
mat< 2, 2, float, lowp > lowp_mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:60
+
mat< 2, 4, float, lowp > lowp_mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 1, i64, defaultp > i64vec1
64 bit signed integer scalar type.
Definition: fwd.hpp:297
+
mat< 4, 4, f32, highp > highp_f32mat4x4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:698
+
float lowp_f32
Low 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:147
+
mat< 3, 2, f32, lowp > lowp_f32mat3x2
Low single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:673
+
mat< 2, 2, f64, defaultp > f64mat2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:584
+
mat< 2, 2, f32, highp > highp_fmat2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:532
+
vec< 2, unsigned int, mediump > mediump_uvec2
2 components vector of medium qualifier unsigned integer numbers.
+
vec< 2, f64, mediump > mediump_f64vec2
Medium double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:492
+
mat< 4, 4, f32, mediump > mediump_fmat4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:530
+
vec< 2, bool, mediump > mediump_bvec2
2 components vector of medium qualifier bool numbers.
+
vec< 1, u32, defaultp > u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:379
+
vec< 1, f32, highp > highp_f32vec1
High single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:456
+
mat< 3, 2, double, defaultp > dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers.
+
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:108
+
double highp_float64
High 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:170
+
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:100
+
int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:33
+
mat< 3, 3, double, lowp > lowp_dmat3
3 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 2, 2, f32, lowp > lowp_f32mat2x2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:670
+
float mediump_float32_t
Medium 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:158
+
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:661
+
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:52
+
qua< float, lowp > lowp_quat
Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:47
+
float f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:150
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
mat< 3, 3, f32, mediump > mediump_f32mat3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:545
+
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:665
+
mat< 2, 4, float, defaultp > mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 2, 4, f32, lowp > lowp_fmat2x4
Low single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:632
+
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
+
vec< 3, u8, mediump > mediump_u8vec3
Medium qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:331
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:701
+
mat< 2, 4, double, defaultp > dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers.
+
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:126
+
vec< 1, double, highp > highp_dvec1
1 component vector of double-precision floating-point numbers using high precision arithmetic in term...
+
double lowp_f64
Low 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:163
+
vec< 2, unsigned int, lowp > lowp_uvec2
2 components vector of low qualifier unsigned integer numbers.
+
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:464
+
vec< 3, bool, highp > highp_bvec3
3 components vector of high qualifier bool numbers.
+
vec< 4, bool, defaultp > bvec4
4 components vector of boolean.
+
vec< 4, u16, mediump > mediump_u16vec4
Medium qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:352
+
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
vec< 3, float, lowp > lowp_fvec3
Low single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:428
+
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:132
+
vec< 1, i16, lowp > lowp_i16vec1
Low qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:242
+
mat< 3, 4, f32, mediump > mediump_fmat3x4
Medium single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:645
+
vec< 3, u32, mediump > mediump_u32vec3
Medium qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:371
+
double mediump_float64_t
Medium 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:174
+
mat< 3, 3, f32, highp > highp_f32mat3x3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:694
+
mat< 4, 2, double, highp > highp_dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
int16 i16
16 bit signed integer type.
Definition: fwd.hpp:48
+
mat< 3, 3, f32, mediump > mediump_fmat3x3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:644
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
double mediump_f64
Medium 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:164
+
vec< 2, i64, highp > highp_i64vec2
High qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:293
+
vec< 4, i16, lowp > lowp_i16vec4
Low qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:245
+
vec< 1, u16, highp > highp_u16vec1
High qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:354
+
vec< 2, int, lowp > lowp_ivec2
2 components vector of low qualifier signed integer numbers.
+
mat< 3, 3, float, highp > highp_mat3
3 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 3, 3, f64, defaultp > f64mat3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:585
+
mat< 4, 3, double, mediump > mediump_dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 2, int, mediump > mediump_ivec2
2 components vector of medium qualifier signed integer numbers.
+
int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:56
+
vec< 4, i8, highp > highp_i8vec4
High qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:235
+
vec< 4, f64, lowp > lowp_f64vec4
Low double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:489
+
mat< 4, 2, float, defaultp > mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers.
+
vec< 4, unsigned int, mediump > mediump_uvec4
4 components vector of medium qualifier unsigned integer numbers.
+
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:138
+
vec< 2, u32, highp > highp_u32vec2
High qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:375
+
vec< 1, bool, mediump > mediump_bvec1
1 component vector of bool values.
+
mat< 4, 4, double, defaultp > dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers.
+
qua< f32, highp > highp_f32quat
High single-qualifier floating-point quaternion.
Definition: fwd.hpp:804
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
mat< 2, 2, f64, lowp > lowp_f64mat2x2
Low double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:750
+
vec< 4, u8, mediump > mediump_u8vec4
Medium qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:332
+
vec< 4, float, lowp > lowp_fvec4
Low single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:429
+
mat< 4, 2, f64, lowp > lowp_f64mat4x2
Low double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:756
+
mat< 4, 4, double, highp > highp_dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 4, f32, highp > highp_f32mat3x4
High single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:695
+
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:96
+
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:140
+
int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:66
+
mat< 2, 3, f32, lowp > lowp_fmat2x3
Low single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:631
+
mat< 2, 2, float, highp > highp_mat2
2 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:708
+
vec< 1, i32, defaultp > i32vec1
32 bit signed integer scalar type.
Definition: fwd.hpp:277
+
mat< 4, 3, float, mediump > mediump_mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:104
+
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:69
+
vec< 4, u64, lowp > lowp_u64vec4
Low qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:387
+
qua< f64, highp > highp_f64quat
High double-qualifier floating-point quaternion.
Definition: fwd.hpp:814
+
mat< 3, 2, f64, mediump > mediump_f64mat3x2
Medium double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:763
+
int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:38
+
mat< 3, 4, float, highp > highp_mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
vec< 3, i64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:299
+
vec< 3, f64, highp > highp_f64vec3
High double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:498
+
vec< 1, f32, lowp > lowp_f32vec1
Low single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:446
+
vec< 3, u32, defaultp > u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:381
+
mat< 2, 3, f64, lowp > lowp_f64mat2x3
Low double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:751
+
mat< 4, 2, double, mediump > mediump_dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
vec< 1, double, lowp > lowp_dvec1
1 component vector of double-precision floating-point numbers using low precision arithmetic in term ...
+
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:785
+
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:705
+
mat< 3, 2, float, lowp > lowp_mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:462
+
mat< 4, 3, float, defaultp > mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers.
+
mat< 4, 4, f32, mediump > mediump_f32mat4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:546
+
vec< 3, float, lowp > lowp_vec3
3 components vector of low single-qualifier floating-point numbers.
+
mat< 2, 3, double, highp > highp_dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 4, f64, highp > highp_f64mat3x4
High double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:775
+
mat< 2, 2, f32, highp > highp_fmat2x2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:650
+
mat< 4, 2, f32, mediump > mediump_fmat4x2
Medium single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:646
+
mat< 3, 3, f64, highp > highp_f64mat3x3
High double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:774
+
mat< 2, 2, double, mediump > mediump_dmat2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 4, f32, mediump > mediump_f32mat4x4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:688
+
mat< 3, 3, float, lowp > lowp_mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 4, bool, highp > highp_bvec4
4 components vector of high qualifier bool numbers.
+
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:133
+
float highp_f32
High 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:149
+
vec< 2, double, lowp > lowp_dvec2
2 components vector of low double-qualifier floating-point numbers.
+
vec< 4, i64, lowp > lowp_i64vec4
Low qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:285
+
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:782
+
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:663
+
double highp_float64_t
High 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:175
+
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:136
+
vec< 2, float, mediump > mediump_fvec2
Medium Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:432
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
mat< 4, 2, f32, highp > highp_fmat4x2
High single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:656
+
mat< 3, 2, f64, highp > highp_f64mat3x2
High double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:773
+
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:142
+
mat< 2, 3, double, mediump > mediump_dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 2, double, mediump > mediump_dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, double, lowp > lowp_dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
vec< 4, u32, defaultp > u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:382
+
mat< 4, 4, f32, lowp > lowp_fmat4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:526
+
float float32
Single precision floating-point numbers.
+
vec< 1, int, highp > highp_ivec1
1 component vector of signed integer values.
+
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:660
+
float mediump_f32
Medium 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:148
+
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
Definition: fwd.hpp:805
+
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:504
+
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
vec< 3, int, lowp > lowp_ivec3
3 components vector of low qualifier signed integer numbers.
+
int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:31
+
mat< 3, 3, double, mediump > mediump_dmat3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:783
+
vec< 3, float, mediump > mediump_vec3
3 components vector of medium single-qualifier floating-point numbers.
+
mat< 4, 4, f64, mediump > mediump_f64mat4x4
Medium double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:768
+
vec< 1, f64, highp > highp_f64vec1
High double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:496
+
float lowp_float32
Low 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:152
+
mat< 2, 2, f32, defaultp > fmat2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:536
+
vec< 3, u64, defaultp > u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:401
+
vec< 3, float, highp > highp_vec3
3 components vector of high single-qualifier floating-point numbers.
+
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:784
+
vec< 2, u64, mediump > mediump_u64vec2
Medium qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:390
+
mat< 3, 4, float, mediump > mediump_mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 3, 2, double, lowp > lowp_dmat3x2
3 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
vec< 2, f32, highp > highp_f32vec2
High single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:457
+
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
mat< 2, 2, double, highp > highp_dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:702
+
vec< 4, f32, lowp > lowp_f32vec4
Low single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:449
+
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:83
+
vec< 3, u16, highp > highp_u16vec3
High qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:356
+
mat< 4, 4, f32, lowp > lowp_f32mat4x4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:678
+
vec< 1, u64, highp > highp_u64vec1
High qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:394
+
mat< 2, 2, f32, highp > highp_f32mat2x2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:690
+
vec< 2, u64, lowp > lowp_u64vec2
Low qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:385
+
mat< 3, 4, f32, highp > highp_fmat3x4
High single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:655
+
qua< f32, lowp > lowp_f32quat
Low single-qualifier floating-point quaternion.
Definition: fwd.hpp:802
+
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:74
+
mat< 3, 2, f32, highp > highp_f32mat3x2
High single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:693
+
int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:36
+
mat< 3, 4, double, highp > highp_dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
+
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:94
+
vec< 4, u64, defaultp > u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:402
+
vec< 4, u32, lowp > lowp_u32vec4
Low qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:367
+
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:124
+
vec< 4, u64, highp > highp_u64vec4
High qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:397
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
mat< 2, 2, f64, mediump > mediump_f64mat2
Medium double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:576
+
vec< 2, u16, lowp > lowp_u16vec2
Low qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:345
+
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:105
+
vec< 3, u64, highp > highp_u64vec3
High qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:396
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:73
+
mat< 3, 4, double, mediump > mediump_dmat3x4
3 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 2, double, lowp > lowp_dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:46
+
vec< 3, u16, lowp > lowp_u16vec3
Low qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:346
+
mat< 2, 4, double, highp > highp_dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 2, float, lowp > lowp_vec2
2 components vector of low single-qualifier floating-point numbers.
+
mat< 4, 4, double, mediump > mediump_dmat4x4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 2, i8, mediump > mediump_i8vec2
Medium qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:228
+
vec< 1, i64, highp > highp_i64vec1
High qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:292
+
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:41
+
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:110
+
int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:64
+
mat< 2, 2, double, lowp > lowp_dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 4, 4, f32, highp > highp_fmat4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:534
+
mat< 4, 4, float, highp > highp_mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
double lowp_float64_t
Low 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:173
+
mat< 4, 3, f64, mediump > mediump_f64mat4x3
Medium double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:767
+
vec< 1, float, mediump > mediump_vec1
1 component vector of single-precision floating-point numbers using medium precision arithmetic in te...
+
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
+
mat< 4, 3, f32, mediump > mediump_f32mat4x3
Medium single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:687
+
vec< 3, int, mediump > mediump_ivec3
3 components vector of medium qualifier signed integer numbers.
+
mat< 2, 3, f64, mediump > mediump_f64mat2x3
Medium double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:761
+
vec< 1, i8, mediump > mediump_i8vec1
Medium qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:227
+
vec< 2, u16, highp > highp_u16vec2
High qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:355
+
float highp_float32_t
High 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:159
+
vec< 4, int, highp > highp_ivec4
4 components vector of high qualifier signed integer numbers.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
mat< 2, 3, f64, highp > highp_f64mat2x3
High double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:771
+
mat< 4, 2, f64, mediump > mediump_f64mat4x2
Medium double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:766
+
vec< 1, u32, highp > highp_u32vec1
High qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:374
+
vec< 3, i8, mediump > mediump_i8vec3
Medium qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:229
+
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:704
+
vec< 4, i8, mediump > mediump_i8vec4
Medium qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:230
+
vec< 2, float, lowp > lowp_fvec2
Low single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:427
+
vec< 1, i8, defaultp > i8vec1
8 bit signed integer scalar type.
Definition: fwd.hpp:237
+
mat< 4, 3, f64, lowp > lowp_f64mat4x3
Low double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:757
+
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:443
+
mat< 2, 2, f32, defaultp > f32mat2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:552
+
vec< 2, u16, mediump > mediump_u16vec2
Medium qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:350
+
mat< 4, 4, f64, lowp > lowp_f64mat4x4
Low double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:758
+
vec< 2, u8, lowp > lowp_u8vec2
Low qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:325
+
mat< 3, 3, f64, mediump > mediump_f64mat3
Medium double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:577
+
mat< 2, 3, float, defaultp > mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers.
+
float float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:160
+
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:662
+
mat< 4, 4, double, highp > highp_dmat4
4 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:129
+
vec< 3, u8, highp > highp_u8vec3
High qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:336
+
vec< 3, float, highp > highp_fvec3
High Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:438
+
qua< double, highp > highp_dquat
Quaternion of high double-qualifier floating-point numbers using high precision arithmetic in term of...
+
vec< 3, i32, highp > highp_i32vec3
High qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:274
+
vec< 1, i64, mediump > mediump_i64vec1
Medium qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:287
+
mat< 4, 2, float, mediump > mediump_mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:786
+
vec< 1, u8, lowp > lowp_u8vec1
Low qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:324
+
int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:85
+
vec< 1, i64, lowp > lowp_i64vec1
Low qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:282
+
vec< 2, i8, lowp > lowp_i8vec2
Low qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:223
+
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:51
+
mat< 3, 3, f32, highp > highp_fmat3x3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:654
+
mat< 4, 3, double, highp > highp_dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:131
+
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:668
+
vec< 3, f32, highp > highp_f32vec3
High single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:458
+
int8 i8
8 bit signed integer type.
Definition: fwd.hpp:34
+
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:141
+
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:109
+
vec< 1, int, lowp > lowp_ivec1
1 component vector of signed integer values.
+
mat< 2, 2, f32, mediump > mediump_f32mat2
Medium single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:544
+
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:706
+
vec< 4, float, mediump > mediump_fvec4
Medium Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:434
+
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:99
+
int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:45
+
int32 i32
32 bit signed integer type.
Definition: fwd.hpp:62
+
mat< 3, 2, f32, highp > highp_fmat3x2
High single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:653
+
vec< 1, u32, lowp > lowp_u32vec1
Low qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:364
+
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:101
+
vec< 2, double, highp > highp_dvec2
2 components vector of high double-qualifier floating-point numbers.
+
mat< 3, 3, f32, lowp > lowp_fmat3x3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:634
+
vec< 4, float, highp > highp_fvec4
High Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:439
+
vec< 1, f32, mediump > mediump_f32vec1
Medium single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:451
+
qua< double, lowp > lowp_dquat
Quaternion of double-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
mat< 2, 2, double, mediump > mediump_dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 3, 3, float, mediump > mediump_mat3
3 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 2, f64, lowp > lowp_f64vec2
Low double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:487
+
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:781
+
mat< 4, 3, float, lowp > lowp_mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
+
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:55
+
mat< 2, 4, float, highp > highp_mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 2, 2, f64, mediump > mediump_f64mat2x2
Medium double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:760
+
int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:61
+
vec< 4, f64, mediump > mediump_f64vec4
Medium double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:494
+
vec< 2, float, highp > highp_vec2
2 components vector of high single-qualifier floating-point numbers.
+
int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:80
+
float lowp_float32_t
Low 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:157
+
detail::uint16 uint16
16 bit unsigned integer type.
+
mat< 2, 4, f32, mediump > mediump_fmat2x4
Medium single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:642
+
mat< 4, 4, f64, lowp > lowp_f64mat4
Low double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:574
+
mat< 4, 2, double, defaultp > dmat4x2
4 columns of 2 components matrix of double-precision floating-point numbers.
+
vec< 2, bool, highp > highp_bvec2
2 components vector of high qualifier bool numbers.
+
mat< 3, 4, float, defaultp > mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 4, 4, f32, highp > highp_fmat4x4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:658
+
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
+
vec< 4, i32, highp > highp_i32vec4
High qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:275
+
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:118
+
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:90
+
vec< 3, i16, highp > highp_i16vec3
High qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:254
+
vec< 4, i32, lowp > lowp_i32vec4
Low qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:265
+
double highp_f64
High 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:165
+
mat< 3, 3, double, defaultp > dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers.
+
mat< 4, 4, f32, mediump > mediump_fmat4x4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:648
+
vec< 2, i64, lowp > lowp_i64vec2
Low qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:283
+
mat< 2, 4, double, mediump > mediump_dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 3, f32, lowp > lowp_fmat4x3
Low single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:637
+
qua< f32, mediump > mediump_f32quat
Medium single-qualifier floating-point quaternion.
Definition: fwd.hpp:803
+
mat< 4, 3, f32, mediump > mediump_fmat4x3
Medium single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:647
+
detail::int32 int32
32 bit signed integer type.
+
vec< 1, u8, mediump > mediump_u8vec1
Medium qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:329
+
mat< 2, 4, f32, highp > highp_fmat2x4
High single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:652
+
vec< 3, u64, mediump > mediump_u64vec3
Medium qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:391
+
vec< 1, u64, defaultp > u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:399
+
vec< 1, f64, mediump > mediump_f64vec1
Medium double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:491
+
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
Definition: vector_int1.hpp:28
+
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:442
+
mat< 3, 3, f64, lowp > lowp_f64mat3
Low double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:573
+
mat< 4, 4, f32, lowp > lowp_f32mat4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:542
+
mat< 3, 3, float, mediump > mediump_mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 1, i32, highp > highp_i32vec1
High qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:272
+
mat< 2, 4, f64, highp > highp_f64mat2x4
High double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:772
+
vec< 1, u8, highp > highp_u8vec1
High qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:334
+
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
+
mat< 2, 3, float, mediump > mediump_mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 3, u64, lowp > lowp_u64vec3
Low qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:386
+
vec< 3, double, lowp > lowp_dvec3
3 components vector of low double-qualifier floating-point numbers.
+
qua< f64, lowp > lowp_f64quat
Low double-qualifier floating-point quaternion.
Definition: fwd.hpp:812
+
detail::int64 int64
64 bit signed integer type.
+
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:667
+
mat< 3, 4, f32, lowp > lowp_f32mat3x4
Low single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:675
+
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:65
+
detail::uint8 uint8
8 bit unsigned integer type.
+
vec< 2, float, mediump > mediump_vec2
2 components vector of medium single-qualifier floating-point numbers.
+
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:103
+
vec< 4, i64, highp > highp_i64vec4
High qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:295
+
vec< 2, i64, mediump > mediump_i64vec2
Medium qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:288
+
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:113
+
vec< 3, u8, defaultp > u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:341
+
vec< 3, double, highp > highp_dvec3
3 components vector of high double-qualifier floating-point numbers.
+
vec< 4, u64, mediump > mediump_u64vec4
Medium qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:392
+
mat< 3, 2, float, defaultp > mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers.
+
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:463
+
mat< 4, 4, float, highp > highp_mat4
4 columns of 4 components matrix of single-precision floating-point numbers using high precision arit...
+
vec< 1, i32, lowp > lowp_i32vec1
Low qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:262
+
vec< 4, float, lowp > lowp_vec4
4 components vector of low single-qualifier floating-point numbers.
+
vec< 2, i16, highp > highp_i16vec2
High qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:253
+
vec< 4, i16, mediump > mediump_i16vec4
Medium qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:250
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
vec< 4, i64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:300
+
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:441
+
mat< 4, 4, double, defaultp > dmat4
4 columns of 4 components matrix of double-precision floating-point numbers.
+
mat< 4, 4, float, mediump > mediump_mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 3, i32, lowp > lowp_i32vec3
Low qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:264
+
vec< 4, double, highp > highp_dvec4
4 components vector of high double-qualifier floating-point numbers.
+
mat< 3, 2, f32, lowp > lowp_fmat3x2
Low single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:633
+
vec< 4, f32, mediump > mediump_f32vec4
Medium single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:454
+
detail::uint32 uint32
32 bit unsigned integer type.
+
qua< float, mediump > mediump_quat
Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
vec< 2, i32, highp > highp_i32vec2
High qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:273
+
mat< 3, 3, f64, highp > highp_f64mat3
High double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:581
+
mat< 2, 3, double, lowp > lowp_dmat2x3
2 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
vec< 1, u8, defaultp > u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:339
+
mat< 4, 4, f32, defaultp > fmat4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:538
+
mat< 3, 3, double, mediump > mediump_dmat3x3
3 columns of 3 components matrix of double-precision floating-point numbers using medium precision ar...
+
mat< 4, 4, float, mediump > mediump_mat4
4 columns of 4 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
vec< 2, bool, lowp > lowp_bvec2
2 components vector of low qualifier bool numbers.
+
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:54
+
mat< 2, 4, f32, mediump > mediump_f32mat2x4
Medium single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:682
+
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:707
+
mat< 4, 4, f64, mediump > mediump_f64mat4
Medium double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:578
+
vec< 1, u16, lowp > lowp_u16vec1
Low qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:344
+
qua< double, mediump > mediump_dquat
Quaternion of medium double-qualifier floating-point numbers using high precision arithmetic in term ...
+
vec< 3, i8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:239
+
qua< f64, mediump > mediump_f64quat
Medium double-qualifier floating-point quaternion.
Definition: fwd.hpp:813
+
vec< 4, int, mediump > mediump_ivec4
4 components vector of medium qualifier signed integer numbers.
+
detail::int16 int16
16 bit signed integer type.
+
vec< 3, f32, lowp > lowp_f32vec3
Low single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:448
+
mat< 3, 3, f64, lowp > lowp_f64mat3x3
Low double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:754
+
vec< 4, double, mediump > mediump_dvec4
4 components vector of medium double-qualifier floating-point numbers.
+
vec< 3, unsigned int, mediump > mediump_uvec3
3 components vector of medium qualifier unsigned integer numbers.
+
int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:50
+
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:503
+
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
+
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:143
+
vec< 1, bool, defaultp > bvec1
1 components vector of boolean.
+
double lowp_float64
Low 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:168
+
mat< 3, 3, float, lowp > lowp_mat3
3 columns of 3 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 2, 2, f32, mediump > mediump_fmat2
Medium single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:528
+
vec< 3, f32, mediump > mediump_f32vec3
Medium single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:453
+
mat< 3, 3, f32, defaultp > f32mat3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:553
+
mat< 2, 2, float, lowp > lowp_mat2
2 columns of 2 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 3, f64, mediump > mediump_f64vec3
Medium double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:493
+
mat< 2, 3, f32, highp > highp_f32mat2x3
High single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:691
+
vec< 1, u16, defaultp > u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:359
+
mat< 2, 2, f32, highp > highp_f32mat2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:548
+
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:461
+
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:68
+
mat< 3, 4, f32, lowp > lowp_fmat3x4
Low single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:635
+
mat< 4, 3, float, highp > highp_mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 2, 2, double, lowp > lowp_dmat2
2 columns of 2 components matrix of double-precision floating-point numbers using low precision arith...
+
vec< 2, int, highp > highp_ivec2
2 components vector of high qualifier signed integer numbers.
+
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:780
+
vec< 2, u32, mediump > mediump_u32vec2
Medium qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:370
+
mat< 2, 4, f64, lowp > lowp_f64mat2x4
Low double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:752
+
mat< 4, 2, f32, lowp > lowp_f32mat4x2
Low single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:676
+
vec< 2, u8, mediump > mediump_u8vec2
Medium qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:330
+
vec< 2, f64, highp > highp_f64vec2
High double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:497
+
mat< 2, 2, double, highp > highp_dmat2
2 columns of 2 components matrix of double-precision floating-point numbers using medium precision ar...
+
vec< 2, u64, defaultp > u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:400
+
vec< 4, u16, highp > highp_u16vec4
High qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:357
+
vec< 1, float, highp > highp_fvec1
High single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:436
+
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:119
+
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
Definition: vector_int2.hpp:15
+
Definition: common.hpp:20
+
vec< 1, u16, mediump > mediump_u16vec1
Medium qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:349
+
vec< 1, bool, highp > highp_bvec1
1 component vector of bool values.
+
mat< 4, 4, f64, defaultp > f64mat4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:586
+
vec< 2, i32, lowp > lowp_i32vec2
Low qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:263
+
vec< 4, double, lowp > lowp_dvec4
4 components vector of low double-qualifier floating-point numbers.
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
Definition: vector_int3.hpp:15
+
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:115
+
float mediump_float32
Medium 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:153
+
vec< 3, i32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:279
+
vec< 1, i8, highp > highp_i8vec1
High qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:232
+
mat< 2, 2, f32, lowp > lowp_fmat2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:524
+
vec< 2, u32, lowp > lowp_u32vec2
Low qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:365
+
mat< 4, 3, f32, highp > highp_f32mat4x3
High single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:697
+
vec< 2, bool, defaultp > bvec2
2 components vector of boolean.
+
vec< 4, u8, lowp > lowp_u8vec4
Low qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:327
+
mat< 4, 4, f32, highp > highp_f32mat4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:550
+
vec< 3, int, highp > highp_ivec3
3 components vector of high qualifier signed integer numbers.
+
vec< 3, bool, defaultp > bvec3
3 components vector of boolean.
+
vec< 1, float, mediump > mediump_fvec1
Medium single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:431
+
mat< 4, 2, float, highp > highp_mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
mat< 2, 2, double, defaultp > dmat2x2
2 columns of 2 components matrix of double-precision floating-point numbers.
+
int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:42
+
mat< 2, 3, f32, mediump > mediump_fmat2x3
Medium single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:641
+
vec< 3, i16, lowp > lowp_i16vec3
Low qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:244
+
vec< 2, i32, mediump > mediump_i32vec2
Medium qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:268
+
vec< 3, i16, mediump > mediump_i16vec3
Medium qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:249
+
mat< 3, 2, f32, mediump > mediump_fmat3x2
Medium single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:643
+
vec< 2, u64, highp > highp_u64vec2
High qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:395
+
mat< 3, 2, float, mediump > mediump_mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers using medium precision ar...
+
vec< 4, unsigned int, lowp > lowp_uvec4
4 components vector of low qualifier unsigned integer numbers.
+
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:117
+
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:788
+
vec< 3, i64, mediump > mediump_i64vec3
Medium qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:289
+
mat< 3, 3, f32, lowp > lowp_f32mat3x3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:674
+
mat< 4, 3, double, lowp > lowp_dmat4x3
4 columns of 3 components matrix of double-precision floating-point numbers using low precision arith...
+
vec< 3, i64, highp > highp_i64vec3
High qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:294
+
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:127
+
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:122
+
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:700
+
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
+
vec< 4, float, mediump > mediump_vec4
4 components vector of medium single-qualifier floating-point numbers.
+
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:37
+
mat< 3, 2, f64, lowp > lowp_f64mat3x2
Low double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:753
+
vec< 4, u32, mediump > mediump_u32vec4
Medium qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:372
+
mat< 2, 4, double, lowp > lowp_dmat2x4
2 columns of 4 components matrix of double-precision floating-point numbers using low precision arith...
+
mat< 4, 2, f64, highp > highp_f64mat4x2
High double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:776
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
mat< 2, 2, f32, mediump > mediump_f32mat2x2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:680
+
mat< 3, 3, f64, mediump > mediump_f64mat3x3
Medium double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:764
+
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
vec< 1, i16, mediump > mediump_i16vec1
Medium qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:247
+
vec< 3, u16, mediump > mediump_u16vec3
Medium qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:351
+
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:787
+
vec< 2, u8, highp > highp_u8vec2
High qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:335
+
vec< 4, i32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:280
+
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
+
float highp_float32
High 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:154
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
mat< 3, 4, float, lowp > lowp_mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
mat< 4, 4, float, lowp > lowp_mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers using low precision arith...
+
vec< 2, i16, lowp > lowp_i16vec2
Low qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:243
+
vec< 3, f64, lowp > lowp_f64vec3
Low double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:488
+
qua< float, highp > highp_quat
Quaternion of single-precision floating-point numbers using high precision arithmetic in term of ULPs...
+
mat< 3, 2, float, highp > highp_mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers using high precision arit...
+
int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:75
+
mat< 3, 2, f32, mediump > mediump_f32mat3x2
Medium single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:683
+
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
+
+ + + + diff --git a/doc/api/a00035.html b/doc/api/a00383.html similarity index 60% rename from doc/api/a00035.html rename to doc/api/a00383.html index 72e63c57..3d269c11 100644 --- a/doc/api/a00035.html +++ b/doc/api/a00383.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: geometric.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,57 +73,46 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Returns the cross product of x and y. More...
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T distance (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). More...
GLM_FUNC_DECL T distance (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T dot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the dot product of x and y, i.e., result = x * y. More...
GLM_FUNC_DECL T dot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > faceforward (vec< L, T, Q > const &N, vec< L, T, Q > const &I, vec< L, T, Q > const &Nref)
 If dot(Nref, I) < 0.0, return N, otherwise, return -N. More...
GLM_FUNC_DECL vec< L, T, Q > faceforward (vec< L, T, Q > const &N, vec< L, T, Q > const &I, vec< L, T, Q > const &Nref)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T length (vec< L, T, Q > const &x)
 Returns the length of x, i.e., sqrt(x * x). More...
GLM_FUNC_DECL T length (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > normalize (vec< L, T, Q > const &x)
 Returns a vector in the same direction as x but with length of 1. More...
GLM_FUNC_DECL vec< L, T, Q > normalize (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > reflect (vec< L, T, Q > const &I, vec< L, T, Q > const &N)
 For the incident vector I and surface orientation N, returns the reflection direction : result = I - 2.0 * dot(N, I) * N. More...
GLM_FUNC_DECL vec< L, T, Q > reflect (vec< L, T, Q > const &I, vec< L, T, Q > const &N)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > refract (vec< L, T, Q > const &I, vec< L, T, Q > const &N, T eta)
 For the incident vector I and surface normal N, and the ratio of indices of refraction eta, return the refraction vector. More...
GLM_FUNC_DECL vec< L, T, Q > refract (vec< L, T, Q > const &I, vec< L, T, Q > const &N, T eta)
 

Detailed Description

-

Core features

+
diff --git a/doc/api/a00383_source.html b/doc/api/a00383_source.html new file mode 100644 index 00000000..d3a138c3 --- /dev/null +++ b/doc/api/a00383_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: geometric.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
geometric.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "detail/type_vec3.hpp"
16 
17 namespace glm
18 {
21 
29  template<length_t L, typename T, qualifier Q>
30  GLM_FUNC_DECL T length(vec<L, T, Q> const& x);
31 
39  template<length_t L, typename T, qualifier Q>
40  GLM_FUNC_DECL T distance(vec<L, T, Q> const& p0, vec<L, T, Q> const& p1);
41 
49  template<length_t L, typename T, qualifier Q>
50  GLM_FUNC_DECL T dot(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
51 
58  template<typename T, qualifier Q>
59  GLM_FUNC_DECL vec<3, T, Q> cross(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
60 
69  template<length_t L, typename T, qualifier Q>
70  GLM_FUNC_DECL vec<L, T, Q> normalize(vec<L, T, Q> const& x);
71 
79  template<length_t L, typename T, qualifier Q>
80  GLM_FUNC_DECL vec<L, T, Q> faceforward(
81  vec<L, T, Q> const& N,
82  vec<L, T, Q> const& I,
83  vec<L, T, Q> const& Nref);
84 
93  template<length_t L, typename T, qualifier Q>
94  GLM_FUNC_DECL vec<L, T, Q> reflect(
95  vec<L, T, Q> const& I,
96  vec<L, T, Q> const& N);
97 
107  template<length_t L, typename T, qualifier Q>
108  GLM_FUNC_DECL vec<L, T, Q> refract(
109  vec<L, T, Q> const& I,
110  vec<L, T, Q> const& N,
111  T eta);
112 
114 }//namespace glm
115 
116 #include "detail/func_geometric.inl"
GLM_FUNC_DECL T length(vec< L, T, Q > const &x)
Returns the length of x, i.e., sqrt(x * x).
+
GLM_FUNC_DECL vec< L, T, Q > reflect(vec< L, T, Q > const &I, vec< L, T, Q > const &N)
For the incident vector I and surface orientation N, returns the reflection direction : result = I - ...
+
GLM_FUNC_DECL T distance(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
+
GLM_FUNC_DECL vec< 3, T, Q > cross(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
Returns the cross product of x and y.
+
GLM_FUNC_DECL vec< L, T, Q > normalize(vec< L, T, Q > const &x)
Returns a vector in the same direction as x but with length of 1.
+
GLM_FUNC_DECL vec< L, T, Q > faceforward(vec< L, T, Q > const &N, vec< L, T, Q > const &I, vec< L, T, Q > const &Nref)
If dot(Nref, I) < 0.0, return N, otherwise, return -N.
+
GLM_FUNC_DECL vec< L, T, Q > refract(vec< L, T, Q > const &I, vec< L, T, Q > const &N, T eta)
For the incident vector I and surface normal N, and the ratio of indices of refraction eta...
+
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T dot(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the dot product of x and y, i.e., result = x * y.
+
+ + + + diff --git a/doc/api/a00036.html b/doc/api/a00386.html similarity index 53% rename from doc/api/a00036.html rename to doc/api/a00386.html index edd4cc18..acfa2fff 100644 --- a/doc/api/a00036.html +++ b/doc/api/a00386.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: glm.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file glm.hpp.

+

Definition in file glm.hpp.

diff --git a/doc/api/a00386_source.html b/doc/api/a00386_source.html new file mode 100644 index 00000000..b527011b --- /dev/null +++ b/doc/api/a00386_source.html @@ -0,0 +1,101 @@ + + + + + + + +0.9.9 API documenation: glm.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
glm.hpp
+
+
+Go to the documentation of this file.
1 
103 #include "detail/_fixes.hpp"
104 
105 #include "detail/setup.hpp"
106 
107 #pragma once
108 
109 #include <cmath>
110 #include <climits>
111 #include <cfloat>
112 #include <limits>
113 #include <cassert>
114 #include "fwd.hpp"
115 
116 #include "vec2.hpp"
117 #include "vec3.hpp"
118 #include "vec4.hpp"
119 #include "mat2x2.hpp"
120 #include "mat2x3.hpp"
121 #include "mat2x4.hpp"
122 #include "mat3x2.hpp"
123 #include "mat3x3.hpp"
124 #include "mat3x4.hpp"
125 #include "mat4x2.hpp"
126 #include "mat4x3.hpp"
127 #include "mat4x4.hpp"
128 
129 #include "trigonometric.hpp"
130 #include "exponential.hpp"
131 #include "common.hpp"
132 #include "packing.hpp"
133 #include "geometric.hpp"
134 #include "matrix.hpp"
135 #include "vector_relational.hpp"
136 #include "integer.hpp"
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
+ + + + diff --git a/doc/api/a00389.html b/doc/api/a00389.html new file mode 100644 index 00000000..a57624a8 --- /dev/null +++ b/doc/api/a00389.html @@ -0,0 +1,170 @@ + + + + + + + +0.9.9 API documenation: bitfield.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
bitfield.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL glm::u8vec2 bitfieldDeinterleave (glm::uint16 x)
 
GLM_FUNC_DECL glm::u16vec2 bitfieldDeinterleave (glm::uint32 x)
 
GLM_FUNC_DECL glm::u32vec2 bitfieldDeinterleave (glm::uint64 x)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillOne (genIUType Value, int FirstBit, int BitCount)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillZero (genIUType Value, int FirstBit, int BitCount)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 
GLM_FUNC_DECL int16 bitfieldInterleave (int8 x, int8 y)
 
GLM_FUNC_DECL uint16 bitfieldInterleave (uint8 x, uint8 y)
 
GLM_FUNC_DECL uint16 bitfieldInterleave (u8vec2 const &v)
 
GLM_FUNC_DECL int32 bitfieldInterleave (int16 x, int16 y)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint16 x, uint16 y)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (u16vec2 const &v)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (u32vec2 const &v)
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y, int32 z)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y, uint32 z)
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z, int8 w)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z, uint8 w)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z, int16 w)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z, uint16 w)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateLeft (genIUType In, int Shift)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft (vec< L, T, Q > const &In, int Shift)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateRight (genIUType In, int Shift)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight (vec< L, T, Q > const &In, int Shift)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType mask (genIUType Bits)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mask (vec< L, T, Q > const &v)
 
+

Detailed Description

+

GLM_GTC_bitfield

+
See also
Core features (dependence)
+
+GLM_GTC_bitfield (dependence)
+ +

Definition in file bitfield.hpp.

+
+ + + + diff --git a/doc/api/a00389_source.html b/doc/api/a00389_source.html new file mode 100644 index 00000000..b3fe2128 --- /dev/null +++ b/doc/api/a00389_source.html @@ -0,0 +1,97 @@ + + + + + + + +0.9.9 API documenation: bitfield.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
bitfield.hpp
+
+
+Go to the documentation of this file.
1 
14 #include "../detail/setup.hpp"
15 
16 #pragma once
17 
18 // Dependencies
19 #include "../ext/scalar_int_sized.hpp"
20 #include "../ext/scalar_uint_sized.hpp"
21 #include "../detail/qualifier.hpp"
22 #include "../detail/_vectorize.hpp"
23 #include "type_precision.hpp"
24 #include <limits>
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTC_bitfield extension included")
28 #endif
29 
30 namespace glm
31 {
34 
38  template<typename genIUType>
39  GLM_FUNC_DECL genIUType mask(genIUType Bits);
40 
48  template<length_t L, typename T, qualifier Q>
49  GLM_FUNC_DECL vec<L, T, Q> mask(vec<L, T, Q> const& v);
50 
54  template<typename genIUType>
55  GLM_FUNC_DECL genIUType bitfieldRotateRight(genIUType In, int Shift);
56 
64  template<length_t L, typename T, qualifier Q>
65  GLM_FUNC_DECL vec<L, T, Q> bitfieldRotateRight(vec<L, T, Q> const& In, int Shift);
66 
70  template<typename genIUType>
71  GLM_FUNC_DECL genIUType bitfieldRotateLeft(genIUType In, int Shift);
72 
80  template<length_t L, typename T, qualifier Q>
81  GLM_FUNC_DECL vec<L, T, Q> bitfieldRotateLeft(vec<L, T, Q> const& In, int Shift);
82 
86  template<typename genIUType>
87  GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount);
88 
96  template<length_t L, typename T, qualifier Q>
97  GLM_FUNC_DECL vec<L, T, Q> bitfieldFillOne(vec<L, T, Q> const& Value, int FirstBit, int BitCount);
98 
102  template<typename genIUType>
103  GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount);
104 
112  template<length_t L, typename T, qualifier Q>
113  GLM_FUNC_DECL vec<L, T, Q> bitfieldFillZero(vec<L, T, Q> const& Value, int FirstBit, int BitCount);
114 
120  GLM_FUNC_DECL int16 bitfieldInterleave(int8 x, int8 y);
121 
127  GLM_FUNC_DECL uint16 bitfieldInterleave(uint8 x, uint8 y);
128 
134  GLM_FUNC_DECL uint16 bitfieldInterleave(u8vec2 const& v);
135 
140 
146  GLM_FUNC_DECL int32 bitfieldInterleave(int16 x, int16 y);
147 
153  GLM_FUNC_DECL uint32 bitfieldInterleave(uint16 x, uint16 y);
154 
160  GLM_FUNC_DECL uint32 bitfieldInterleave(u16vec2 const& v);
161 
166 
172  GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y);
173 
179  GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y);
180 
186  GLM_FUNC_DECL uint64 bitfieldInterleave(u32vec2 const& v);
187 
192 
198  GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z);
199 
205  GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z);
206 
212  GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z);
213 
219  GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z);
220 
226  GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y, int32 z);
227 
233  GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y, uint32 z);
234 
240  GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z, int8 w);
241 
247  GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z, uint8 w);
248 
254  GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z, int16 w);
255 
261  GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w);
262 
264 } //namespace glm
265 
266 #include "bitfield.inl"
GLM_FUNC_DECL vec< L, T, Q > mask(vec< L, T, Q > const &v)
Build a mask of &#39;count&#39; bits.
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne(vec< L, T, Q > const &Value, int FirstBit, int BitCount)
Set to 1 a range of bits.
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft(vec< L, T, Q > const &In, int Shift)
Rotate all bits to the left.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
GLM_GTC_type_precision
+
detail::uint16 uint16
16 bit unsigned integer type.
+
detail::int64 int64
64 bit signed integer type.
+
GLM_FUNC_DECL glm::u32vec2 bitfieldDeinterleave(glm::uint64 x)
Deinterleaves the bits of x.
+
detail::uint32 uint32
32 bit unsigned integer type.
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero(vec< L, T, Q > const &Value, int FirstBit, int BitCount)
Set to 0 a range of bits.
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight(vec< L, T, Q > const &In, int Shift)
Rotate all bits to the right.
+
GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w)
Interleaves the bits of x, y, z and w.
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
+ + + + diff --git a/doc/api/a00009.html b/doc/api/a00392.html similarity index 65% rename from doc/api/a00009.html rename to doc/api/a00392.html index 17eb3c10..e1a636c7 100644 --- a/doc/api/a00009.html +++ b/doc/api/a00392.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: bitfield.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,115 +73,133 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_bitfield +

GLM_GTC_bitfield More...

-

Go to the source code of this file.

+

Go to the source code of this file.

+ + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + + + + - - + + - - + + + + + - - + + - - + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

Functions

GLM_FUNC_DECL glm::u8vec2 bitfieldDeinterleave (glm::uint16 x)
 Deinterleaves the bits of x. More...
 
GLM_FUNC_DECL glm::u16vec2 bitfieldDeinterleave (glm::uint32 x)
 Deinterleaves the bits of x. More...
 
GLM_FUNC_DECL glm::u32vec2 bitfieldDeinterleave (glm::uint64 x)
 Deinterleaves the bits of x. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillOne (genIUType Value, int FirstBit, int BitCount)
 Set to 1 a range of bits. More...
GLM_FUNC_DECL genIUType bitfieldFillOne (genIUType Value, int FirstBit, int BitCount)
 Set to 1 a range of bits. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 Set to 1 a range of bits. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 Set to 1 a range of bits. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillZero (genIUType Value, int FirstBit, int BitCount)
 Set to 0 a range of bits. More...
GLM_FUNC_DECL genIUType bitfieldFillZero (genIUType Value, int FirstBit, int BitCount)
 Set to 0 a range of bits. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 Set to 0 a range of bits. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 Set to 0 a range of bits. More...
 
GLM_FUNC_DECL int16 bitfieldInterleave (int8 x, int8 y)
 Interleaves the bits of x and y. More...
GLM_FUNC_DECL int16 bitfieldInterleave (int8 x, int8 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL uint16 bitfieldInterleave (uint8 x, uint8 y)
 Interleaves the bits of x and y. More...
GLM_FUNC_DECL uint16 bitfieldInterleave (uint8 x, uint8 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int16 x, int16 y)
 Interleaves the bits of x and y. More...
GLM_FUNC_DECL uint16 bitfieldInterleave (u8vec2 const &v)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int16 x, int16 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint16 x, uint16 y)
 Interleaves the bits of x and y. More...
GLM_FUNC_DECL uint32 bitfieldInterleave (uint16 x, uint16 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y)
 Interleaves the bits of x and y. More...
GLM_FUNC_DECL uint32 bitfieldInterleave (u16vec2 const &v)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y)
 Interleaves the bits of x and y. More...
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z)
 Interleaves the bits of x, y and z. More...
GLM_FUNC_DECL uint64 bitfieldInterleave (u32vec2 const &v)
 Interleaves the bits of x and y. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z)
 Interleaves the bits of x, y and z. More...
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z)
 Interleaves the bits of x, y and z. More...
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z)
 Interleaves the bits of x, y and z. More...
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y, int32 z)
 Interleaves the bits of x, y and z. More...
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y, int32 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y, uint32 z)
 Interleaves the bits of x, y and z. More...
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y, uint32 z)
 Interleaves the bits of x, y and z. More...
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z, int8 w)
 Interleaves the bits of x, y, z and w. More...
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z, int8 w)
 Interleaves the bits of x, y, z and w. More...
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z, uint8 w)
 Interleaves the bits of x, y, z and w. More...
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z, uint8 w)
 Interleaves the bits of x, y, z and w. More...
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z, int16 w)
 Interleaves the bits of x, y, z and w. More...
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z, int16 w)
 Interleaves the bits of x, y, z and w. More...
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z, uint16 w)
 Interleaves the bits of x, y, z and w. More...
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z, uint16 w)
 Interleaves the bits of x, y, z and w. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateLeft (genIUType In, int Shift)
 Rotate all bits to the left. More...
GLM_FUNC_DECL genIUType bitfieldRotateLeft (genIUType In, int Shift)
 Rotate all bits to the left. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft (vec< L, T, Q > const &In, int Shift)
 Rotate all bits to the left. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft (vec< L, T, Q > const &In, int Shift)
 Rotate all bits to the left. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateRight (genIUType In, int Shift)
 Rotate all bits to the right. More...
GLM_FUNC_DECL genIUType bitfieldRotateRight (genIUType In, int Shift)
 Rotate all bits to the right. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight (vec< L, T, Q > const &In, int Shift)
 Rotate all bits to the right. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight (vec< L, T, Q > const &In, int Shift)
 Rotate all bits to the right. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType mask (genIUType Bits)
 Build a mask of 'count' bits. More...
GLM_FUNC_DECL genIUType mask (genIUType Bits)
 Build a mask of 'count' bits. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mask (vec< L, T, Q > const &v)
 Build a mask of 'count' bits. More...
GLM_FUNC_DECL vec< L, T, Q > mask (vec< L, T, Q > const &v)
 Build a mask of 'count' bits. More...
 

Detailed Description

-

GLM_GTC_bitfield

-
See also
Core features (dependence)
+

GLM_GTC_bitfield

+
See also
Core features (dependence)
-GLM_GTC_bitfield (dependence)
+GLM_GTC_bitfield (dependence)
-

Definition in file bitfield.hpp.

+

Definition in file bitfield.hpp.

diff --git a/doc/api/a00392_source.html b/doc/api/a00392_source.html new file mode 100644 index 00000000..5015475b --- /dev/null +++ b/doc/api/a00392_source.html @@ -0,0 +1,97 @@ + + + + + + + +0.9.9 API documenation: bitfield.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
bitfield.hpp
+
+
+Go to the documentation of this file.
1 
14 #include "../detail/setup.hpp"
15 
16 #pragma once
17 
18 // Dependencies
19 #include "../ext/scalar_int_sized.hpp"
20 #include "../ext/scalar_uint_sized.hpp"
21 #include "../detail/qualifier.hpp"
22 #include "../detail/_vectorize.hpp"
23 #include "type_precision.hpp"
24 #include <limits>
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTC_bitfield extension included")
28 #endif
29 
30 namespace glm
31 {
34 
38  template<typename genIUType>
39  GLM_FUNC_DECL genIUType mask(genIUType Bits);
40 
48  template<length_t L, typename T, qualifier Q>
49  GLM_FUNC_DECL vec<L, T, Q> mask(vec<L, T, Q> const& v);
50 
54  template<typename genIUType>
55  GLM_FUNC_DECL genIUType bitfieldRotateRight(genIUType In, int Shift);
56 
64  template<length_t L, typename T, qualifier Q>
65  GLM_FUNC_DECL vec<L, T, Q> bitfieldRotateRight(vec<L, T, Q> const& In, int Shift);
66 
70  template<typename genIUType>
71  GLM_FUNC_DECL genIUType bitfieldRotateLeft(genIUType In, int Shift);
72 
80  template<length_t L, typename T, qualifier Q>
81  GLM_FUNC_DECL vec<L, T, Q> bitfieldRotateLeft(vec<L, T, Q> const& In, int Shift);
82 
86  template<typename genIUType>
87  GLM_FUNC_DECL genIUType bitfieldFillOne(genIUType Value, int FirstBit, int BitCount);
88 
96  template<length_t L, typename T, qualifier Q>
97  GLM_FUNC_DECL vec<L, T, Q> bitfieldFillOne(vec<L, T, Q> const& Value, int FirstBit, int BitCount);
98 
102  template<typename genIUType>
103  GLM_FUNC_DECL genIUType bitfieldFillZero(genIUType Value, int FirstBit, int BitCount);
104 
112  template<length_t L, typename T, qualifier Q>
113  GLM_FUNC_DECL vec<L, T, Q> bitfieldFillZero(vec<L, T, Q> const& Value, int FirstBit, int BitCount);
114 
120  GLM_FUNC_DECL int16 bitfieldInterleave(int8 x, int8 y);
121 
127  GLM_FUNC_DECL uint16 bitfieldInterleave(uint8 x, uint8 y);
128 
134  GLM_FUNC_DECL uint16 bitfieldInterleave(u8vec2 const& v);
135 
140 
146  GLM_FUNC_DECL int32 bitfieldInterleave(int16 x, int16 y);
147 
153  GLM_FUNC_DECL uint32 bitfieldInterleave(uint16 x, uint16 y);
154 
160  GLM_FUNC_DECL uint32 bitfieldInterleave(u16vec2 const& v);
161 
166 
172  GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y);
173 
179  GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y);
180 
186  GLM_FUNC_DECL uint64 bitfieldInterleave(u32vec2 const& v);
187 
192 
198  GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z);
199 
205  GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z);
206 
212  GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z);
213 
219  GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z);
220 
226  GLM_FUNC_DECL int64 bitfieldInterleave(int32 x, int32 y, int32 z);
227 
233  GLM_FUNC_DECL uint64 bitfieldInterleave(uint32 x, uint32 y, uint32 z);
234 
240  GLM_FUNC_DECL int32 bitfieldInterleave(int8 x, int8 y, int8 z, int8 w);
241 
247  GLM_FUNC_DECL uint32 bitfieldInterleave(uint8 x, uint8 y, uint8 z, uint8 w);
248 
254  GLM_FUNC_DECL int64 bitfieldInterleave(int16 x, int16 y, int16 z, int16 w);
255 
261  GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w);
262 
264 } //namespace glm
265 
266 #include "bitfield.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight(vec< L, T, Q > const &In, int Shift)
Rotate all bits to the right.
+
GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w)
Interleaves the bits of x, y, z and w.
+
detail::uint32 uint32
32 bit unsigned integer type.
+
GLM_FUNC_DECL glm::u32vec2 bitfieldDeinterleave(glm::uint64 x)
Deinterleaves the bits of x.
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne(vec< L, T, Q > const &Value, int FirstBit, int BitCount)
Set to 1 a range of bits.
+
detail::int64 int64
64 bit signed integer type.
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero(vec< L, T, Q > const &Value, int FirstBit, int BitCount)
Set to 0 a range of bits.
+
GLM_GTC_type_precision
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft(vec< L, T, Q > const &In, int Shift)
Rotate all bits to the left.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
detail::uint16 uint16
16 bit unsigned integer type.
+
GLM_FUNC_DECL vec< L, T, Q > mask(vec< L, T, Q > const &v)
Build a mask of &#39;count&#39; bits.
+
+ + + + diff --git a/doc/api/a00020.html b/doc/api/a00395.html similarity index 58% rename from doc/api/a00020.html rename to doc/api/a00395.html index cd97330a..4edd7d5f 100644 --- a/doc/api/a00020.html +++ b/doc/api/a00395.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: constants.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,141 +73,103 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_constants -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - - - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType e ()
 Return e constant. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType e ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon ()
 Return the epsilon constant for floating point types. More...
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType euler ()
 Return Euler's constant. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType euler ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi ()
 Return 4 / pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio ()
 Return the golden ratio constant. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi ()
 Return pi / 2. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two ()
 Return ln(ln(2)). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten ()
 Return ln(10). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two ()
 Return ln(2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one ()
 Return 1. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi ()
 Return 1 / pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two ()
 Return 1 / sqrt(2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi ()
 Return 1 / (pi * 2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType pi ()
 Return the pi constant. More...
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi ()
 Return pi / 4. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_five ()
 Return sqrt(5). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_five ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi ()
 Return sqrt(pi / 2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four ()
 Return sqrt(ln(4)). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi ()
 Return square root of pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_three ()
 Return sqrt(3). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_three ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two ()
 Return sqrt(2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi ()
 Return sqrt(2 * pi). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType third ()
 Return 1 / 3. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType third ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi ()
 Return pi / 2 * 3. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi ()
 Return 2 / pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi ()
 Return 2 / sqrt(pi). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi ()
 Return pi * 2. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds ()
 Return 2 / 3. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType zero ()
 Return 0. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType zero ()
 

Detailed Description

-

GLM_GTC_constants

-
See also
Core features (dependence)
+

GLM_GTC_constants

+
See also
Core features (dependence)
-

Definition in file constants.hpp.

+

Definition in file constants.hpp.

diff --git a/doc/api/a00395_source.html b/doc/api/a00395_source.html new file mode 100644 index 00000000..1082f67c --- /dev/null +++ b/doc/api/a00395_source.html @@ -0,0 +1,109 @@ + + + + + + + +0.9.9 API documenation: constants.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
constants.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../ext/scalar_constants.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTC_constants extension included")
20 #endif
21 
22 namespace glm
23 {
26 
29  template<typename genType>
30  GLM_FUNC_DECL GLM_CONSTEXPR genType zero();
31 
34  template<typename genType>
35  GLM_FUNC_DECL GLM_CONSTEXPR genType one();
36 
39  template<typename genType>
40  GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi();
41 
44  template<typename genType>
45  GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi();
46 
49  template<typename genType>
50  GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi();
51 
54  template<typename genType>
55  GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi();
56 
59  template<typename genType>
60  GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi();
61 
64  template<typename genType>
65  GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi();
66 
69  template<typename genType>
70  GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi();
71 
74  template<typename genType>
75  GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi();
76 
79  template<typename genType>
80  GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi();
81 
84  template<typename genType>
85  GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi();
86 
89  template<typename genType>
90  GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two();
91 
94  template<typename genType>
95  GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi();
96 
99  template<typename genType>
100  GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi();
101 
104  template<typename genType>
105  GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four();
106 
109  template<typename genType>
110  GLM_FUNC_DECL GLM_CONSTEXPR genType e();
111 
114  template<typename genType>
115  GLM_FUNC_DECL GLM_CONSTEXPR genType euler();
116 
119  template<typename genType>
120  GLM_FUNC_DECL GLM_CONSTEXPR genType root_two();
121 
124  template<typename genType>
125  GLM_FUNC_DECL GLM_CONSTEXPR genType root_three();
126 
129  template<typename genType>
130  GLM_FUNC_DECL GLM_CONSTEXPR genType root_five();
131 
134  template<typename genType>
135  GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two();
136 
139  template<typename genType>
140  GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten();
141 
144  template<typename genType>
145  GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two();
146 
149  template<typename genType>
150  GLM_FUNC_DECL GLM_CONSTEXPR genType third();
151 
154  template<typename genType>
155  GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds();
156 
159  template<typename genType>
160  GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio();
161 
163 } //namespace glm
164 
165 #include "constants.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi()
Return pi / 4.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType one()
Return 1.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi()
Return 1 / (pi * 2).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi()
Return sqrt(2 * pi).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four()
Return sqrt(ln(4)).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_five()
Return sqrt(5).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi()
Return sqrt(pi / 2).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi()
Return 4 / pi.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi()
Return square root of pi.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType third()
Return 1 / 3.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds()
Return 2 / 3.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two()
Return 1 / sqrt(2).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi()
Return 2 / sqrt(pi).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten()
Return ln(10).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi()
Return pi / 2.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi()
Return 1 / pi.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType e()
Return e constant.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi()
Return 2 / pi.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two()
Return sqrt(2).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType root_three()
Return sqrt(3).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi()
Return pi * 2.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi()
Return pi / 2 * 3.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two()
Return ln(2).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType euler()
Return Euler&#39;s constant.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType zero()
Return 0.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two()
Return ln(ln(2)).
+
GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio()
Return the golden ratio constant.
+
+ + + + diff --git a/doc/api/a00023.html b/doc/api/a00398.html similarity index 57% rename from doc/api/a00023.html rename to doc/api/a00398.html index 51356adc..443e7d14 100644 --- a/doc/api/a00023.html +++ b/doc/api/a00398.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: epsilon.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,43 +73,36 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_epsilon -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > epsilonEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
GLM_FUNC_DECL vec< L, bool, Q > epsilonEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 
template<typename genType >
GLM_FUNC_DECL bool epsilonEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
GLM_FUNC_DECL bool epsilonEqual (genType const &x, genType const &y, genType const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > epsilonNotEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
GLM_FUNC_DECL vec< L, bool, Q > epsilonNotEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 
template<typename genType >
GLM_FUNC_DECL bool epsilonNotEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
GLM_FUNC_DECL bool epsilonNotEqual (genType const &x, genType const &y, genType const &epsilon)
 

Detailed Description

-

GLM_GTC_epsilon

-
See also
Core features (dependence)
+

GLM_GTC_epsilon

+
See also
Core features (dependence)
-GLM_GTC_quaternion (dependence)
+GLM_GTC_quaternion (dependence)
-

Definition in file epsilon.hpp.

+

Definition in file epsilon.hpp.

diff --git a/doc/api/a00398_source.html b/doc/api/a00398_source.html new file mode 100644 index 00000000..a73840b5 --- /dev/null +++ b/doc/api/a00398_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: epsilon.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
epsilon.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_GTC_epsilon extension included")
22 #endif
23 
24 namespace glm
25 {
28 
33  template<length_t L, typename T, qualifier Q>
34  GLM_FUNC_DECL vec<L, bool, Q> epsilonEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T const& epsilon);
35 
40  template<typename genType>
41  GLM_FUNC_DECL bool epsilonEqual(genType const& x, genType const& y, genType const& epsilon);
42 
47  template<length_t L, typename T, qualifier Q>
48  GLM_FUNC_DECL vec<L, bool, Q> epsilonNotEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T const& epsilon);
49 
54  template<typename genType>
55  GLM_FUNC_DECL bool epsilonNotEqual(genType const& x, genType const& y, genType const& epsilon);
56 
58 }//namespace glm
59 
60 #include "epsilon.inl"
GLM_FUNC_DECL bool epsilonNotEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL bool epsilonEqual(genType const &x, genType const &y, genType const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00042.html b/doc/api/a00401.html similarity index 60% rename from doc/api/a00042.html rename to doc/api/a00401.html index 114b67b5..ce4baa1e 100644 --- a/doc/api/a00042.html +++ b/doc/api/a00401.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: integer.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,77 +73,61 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL int bitCount (genType v)
 Returns the number of bits set to 1 in the binary representation of value. More...
GLM_FUNC_DECL int bitCount (genType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > bitCount (vec< L, T, Q > const &v)
 Returns the number of bits set to 1 in the binary representation of value. More...
GLM_FUNC_DECL vec< L, int, Q > bitCount (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldExtract (vec< L, T, Q > const &Value, int Offset, int Bits)
 Extracts bits [offset, offset + bits - 1] from value, returning them in the least significant bits of the result. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldExtract (vec< L, T, Q > const &Value, int Offset, int Bits)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldInsert (vec< L, T, Q > const &Base, vec< L, T, Q > const &Insert, int Offset, int Bits)
 Returns the insertion the bits least-significant bits of insert into base. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldInsert (vec< L, T, Q > const &Base, vec< L, T, Q > const &Insert, int Offset, int Bits)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldReverse (vec< L, T, Q > const &v)
 Returns the reversal of the bits of value. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldReverse (vec< L, T, Q > const &v)
 
template<typename genIUType >
GLM_FUNC_DECL int findLSB (genIUType x)
 Returns the bit number of the least significant bit set to 1 in the binary representation of value. More...
GLM_FUNC_DECL int findLSB (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > findLSB (vec< L, T, Q > const &v)
 Returns the bit number of the least significant bit set to 1 in the binary representation of value. More...
GLM_FUNC_DECL vec< L, int, Q > findLSB (vec< L, T, Q > const &v)
 
template<typename genIUType >
GLM_FUNC_DECL int findMSB (genIUType x)
 Returns the bit number of the most significant bit in the binary representation of value. More...
GLM_FUNC_DECL int findMSB (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > findMSB (vec< L, T, Q > const &v)
 Returns the bit number of the most significant bit in the binary representation of value. More...
GLM_FUNC_DECL vec< L, int, Q > findMSB (vec< L, T, Q > const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL void imulExtended (vec< L, int, Q > const &x, vec< L, int, Q > const &y, vec< L, int, Q > &msb, vec< L, int, Q > &lsb)
 Multiplies 32-bit integers x and y, producing a 64-bit result. More...
GLM_FUNC_DECL void imulExtended (vec< L, int, Q > const &x, vec< L, int, Q > const &y, vec< L, int, Q > &msb, vec< L, int, Q > &lsb)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uaddCarry (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &carry)
 Adds 32-bit unsigned integer x and y, returning the sum modulo pow(2, 32). More...
GLM_FUNC_DECL vec< L, uint, Q > uaddCarry (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &carry)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL void umulExtended (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &msb, vec< L, uint, Q > &lsb)
 Multiplies 32-bit integers x and y, producing a 64-bit result. More...
GLM_FUNC_DECL void umulExtended (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &msb, vec< L, uint, Q > &lsb)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > usubBorrow (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &borrow)
 Subtracts the 32-bit unsigned integer y from x, returning the difference if non-negative, or pow(2, 32) plus the difference otherwise. More...
GLM_FUNC_DECL vec< L, uint, Q > usubBorrow (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &borrow)
 

Detailed Description

-

Core features

+
diff --git a/doc/api/a00401_source.html b/doc/api/a00401_source.html new file mode 100644 index 00000000..a685af65 --- /dev/null +++ b/doc/api/a00401_source.html @@ -0,0 +1,94 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
integer.hpp
+
+
+Go to the documentation of this file.
1 
17 #pragma once
18 
19 #include "detail/qualifier.hpp"
20 #include "common.hpp"
21 #include "vector_relational.hpp"
22 
23 namespace glm
24 {
27 
36  template<length_t L, qualifier Q>
37  GLM_FUNC_DECL vec<L, uint, Q> uaddCarry(
38  vec<L, uint, Q> const& x,
39  vec<L, uint, Q> const& y,
40  vec<L, uint, Q> & carry);
41 
50  template<length_t L, qualifier Q>
51  GLM_FUNC_DECL vec<L, uint, Q> usubBorrow(
52  vec<L, uint, Q> const& x,
53  vec<L, uint, Q> const& y,
54  vec<L, uint, Q> & borrow);
55 
64  template<length_t L, qualifier Q>
65  GLM_FUNC_DECL void umulExtended(
66  vec<L, uint, Q> const& x,
67  vec<L, uint, Q> const& y,
68  vec<L, uint, Q> & msb,
69  vec<L, uint, Q> & lsb);
70 
79  template<length_t L, qualifier Q>
80  GLM_FUNC_DECL void imulExtended(
81  vec<L, int, Q> const& x,
82  vec<L, int, Q> const& y,
83  vec<L, int, Q> & msb,
84  vec<L, int, Q> & lsb);
85 
102  template<length_t L, typename T, qualifier Q>
103  GLM_FUNC_DECL vec<L, T, Q> bitfieldExtract(
104  vec<L, T, Q> const& Value,
105  int Offset,
106  int Bits);
107 
123  template<length_t L, typename T, qualifier Q>
124  GLM_FUNC_DECL vec<L, T, Q> bitfieldInsert(
125  vec<L, T, Q> const& Base,
126  vec<L, T, Q> const& Insert,
127  int Offset,
128  int Bits);
129 
139  template<length_t L, typename T, qualifier Q>
140  GLM_FUNC_DECL vec<L, T, Q> bitfieldReverse(vec<L, T, Q> const& v);
141 
148  template<typename genType>
149  GLM_FUNC_DECL int bitCount(genType v);
150 
158  template<length_t L, typename T, qualifier Q>
159  GLM_FUNC_DECL vec<L, int, Q> bitCount(vec<L, T, Q> const& v);
160 
169  template<typename genIUType>
170  GLM_FUNC_DECL int findLSB(genIUType x);
171 
181  template<length_t L, typename T, qualifier Q>
182  GLM_FUNC_DECL vec<L, int, Q> findLSB(vec<L, T, Q> const& v);
183 
193  template<typename genIUType>
194  GLM_FUNC_DECL int findMSB(genIUType x);
195 
206  template<length_t L, typename T, qualifier Q>
207  GLM_FUNC_DECL vec<L, int, Q> findMSB(vec<L, T, Q> const& v);
208 
210 }//namespace glm
211 
212 #include "detail/func_integer.inl"
GLM_FUNC_DECL void umulExtended(vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &msb, vec< L, uint, Q > &lsb)
Multiplies 32-bit integers x and y, producing a 64-bit result.
+
GLM_FUNC_DECL vec< L, int, Q > bitCount(vec< L, T, Q > const &v)
Returns the number of bits set to 1 in the binary representation of value.
+
GLM_FUNC_DECL vec< L, uint, Q > usubBorrow(vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &borrow)
Subtracts the 32-bit unsigned integer y from x, returning the difference if non-negative, or pow(2, 32) plus the difference otherwise.
+
Core features
+
GLM_FUNC_DECL vec< L, int, Q > findLSB(vec< L, T, Q > const &v)
Returns the bit number of the least significant bit set to 1 in the binary representation of value...
+
GLM_FUNC_DECL void imulExtended(vec< L, int, Q > const &x, vec< L, int, Q > const &y, vec< L, int, Q > &msb, vec< L, int, Q > &lsb)
Multiplies 32-bit integers x and y, producing a 64-bit result.
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldExtract(vec< L, T, Q > const &Value, int Offset, int Bits)
Extracts bits [offset, offset + bits - 1] from value, returning them in the least significant bits of...
+
GLM_FUNC_DECL vec< L, int, Q > findMSB(vec< L, T, Q > const &v)
Returns the bit number of the most significant bit in the binary representation of value...
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldReverse(vec< L, T, Q > const &v)
Returns the reversal of the bits of value.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, T, Q > bitfieldInsert(vec< L, T, Q > const &Base, vec< L, T, Q > const &Insert, int Offset, int Bits)
Returns the insertion the bits least-significant bits of insert into base.
+
Core features
+
GLM_FUNC_DECL vec< L, uint, Q > uaddCarry(vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &carry)
Adds 32-bit unsigned integer x and y, returning the sum modulo pow(2, 32).
+
+ + + + diff --git a/doc/api/a00057.html b/doc/api/a00404.html similarity index 58% rename from doc/api/a00057.html rename to doc/api/a00404.html index f920bc34..b5985d04 100644 --- a/doc/api/a00057.html +++ b/doc/api/a00404.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_access.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,41 +73,34 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_matrix_access -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType::col_type column (genType const &m, length_t index)
 Get a specific column of a matrix. More...
GLM_FUNC_DECL genType::col_type column (genType const &m, length_t index)
 
template<typename genType >
GLM_FUNC_DECL genType column (genType const &m, length_t index, typename genType::col_type const &x)
 Set a specific column to a matrix. More...
GLM_FUNC_DECL genType column (genType const &m, length_t index, typename genType::col_type const &x)
 
template<typename genType >
GLM_FUNC_DECL genType::row_type row (genType const &m, length_t index)
 Get a specific row of a matrix. More...
GLM_FUNC_DECL genType::row_type row (genType const &m, length_t index)
 
template<typename genType >
GLM_FUNC_DECL genType row (genType const &m, length_t index, typename genType::row_type const &x)
 Set a specific row to a matrix. More...
GLM_FUNC_DECL genType row (genType const &m, length_t index, typename genType::row_type const &x)
 

Detailed Description

-

GLM_GTC_matrix_access

-
See also
Core features (dependence)
+

GLM_GTC_matrix_access

+
See also
Core features (dependence)
-

Definition in file matrix_access.hpp.

+

Definition in file matrix_access.hpp.

diff --git a/doc/api/a00404_source.html b/doc/api/a00404_source.html new file mode 100644 index 00000000..d297d936 --- /dev/null +++ b/doc/api/a00404_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: matrix_access.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_access.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../detail/setup.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTC_matrix_access extension included")
20 #endif
21 
22 namespace glm
23 {
26 
29  template<typename genType>
30  GLM_FUNC_DECL typename genType::row_type row(
31  genType const& m,
32  length_t index);
33 
36  template<typename genType>
37  GLM_FUNC_DECL genType row(
38  genType const& m,
39  length_t index,
40  typename genType::row_type const& x);
41 
44  template<typename genType>
45  GLM_FUNC_DECL typename genType::col_type column(
46  genType const& m,
47  length_t index);
48 
51  template<typename genType>
52  GLM_FUNC_DECL genType column(
53  genType const& m,
54  length_t index,
55  typename genType::col_type const& x);
56 
58 }//namespace glm
59 
60 #include "matrix_access.inl"
GLM_FUNC_DECL genType row(genType const &m, length_t index, typename genType::row_type const &x)
Set a specific row to a matrix.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL genType column(genType const &m, length_t index, typename genType::col_type const &x)
Set a specific column to a matrix.
+
+ + + + diff --git a/doc/api/a00061.html b/doc/api/a00407.html similarity index 52% rename from doc/api/a00061.html rename to doc/api/a00407.html index 5a394c94..4f022a47 100644 --- a/doc/api/a00061.html +++ b/doc/api/a00407.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_integer.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,313 +73,214 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_matrix_integer -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Typedefs

typedef mat< 2, 2, int, highp > highp_imat2
 High-qualifier signed integer 2x2 matrix. More...
typedef mat< 2, 2, int, highp > highp_imat2
 
typedef mat< 2, 2, int, highp > highp_imat2x2
 High-qualifier signed integer 2x2 matrix. More...
typedef mat< 2, 2, int, highp > highp_imat2x2
 
typedef mat< 2, 3, int, highp > highp_imat2x3
 High-qualifier signed integer 2x3 matrix. More...
typedef mat< 2, 3, int, highp > highp_imat2x3
 
typedef mat< 2, 4, int, highp > highp_imat2x4
 High-qualifier signed integer 2x4 matrix. More...
typedef mat< 2, 4, int, highp > highp_imat2x4
 
typedef mat< 3, 3, int, highp > highp_imat3
 High-qualifier signed integer 3x3 matrix. More...
typedef mat< 3, 3, int, highp > highp_imat3
 
typedef mat< 3, 2, int, highp > highp_imat3x2
 High-qualifier signed integer 3x2 matrix. More...
typedef mat< 3, 2, int, highp > highp_imat3x2
 
typedef mat< 3, 3, int, highp > highp_imat3x3
 High-qualifier signed integer 3x3 matrix. More...
typedef mat< 3, 3, int, highp > highp_imat3x3
 
typedef mat< 3, 4, int, highp > highp_imat3x4
 High-qualifier signed integer 3x4 matrix. More...
typedef mat< 3, 4, int, highp > highp_imat3x4
 
typedef mat< 4, 4, int, highp > highp_imat4
 High-qualifier signed integer 4x4 matrix. More...
typedef mat< 4, 4, int, highp > highp_imat4
 
typedef mat< 4, 2, int, highp > highp_imat4x2
 High-qualifier signed integer 4x2 matrix. More...
typedef mat< 4, 2, int, highp > highp_imat4x2
 
typedef mat< 4, 3, int, highp > highp_imat4x3
 High-qualifier signed integer 4x3 matrix. More...
typedef mat< 4, 3, int, highp > highp_imat4x3
 
typedef mat< 4, 4, int, highp > highp_imat4x4
 High-qualifier signed integer 4x4 matrix. More...
typedef mat< 4, 4, int, highp > highp_imat4x4
 
typedef mat< 2, 2, uint, highp > highp_umat2
 High-qualifier unsigned integer 2x2 matrix. More...
typedef mat< 2, 2, uint, highp > highp_umat2
 
typedef mat< 2, 2, uint, highp > highp_umat2x2
 High-qualifier unsigned integer 2x2 matrix. More...
typedef mat< 2, 2, uint, highp > highp_umat2x2
 
typedef mat< 2, 3, uint, highp > highp_umat2x3
 High-qualifier unsigned integer 2x3 matrix. More...
typedef mat< 2, 3, uint, highp > highp_umat2x3
 
typedef mat< 2, 4, uint, highp > highp_umat2x4
 High-qualifier unsigned integer 2x4 matrix. More...
typedef mat< 2, 4, uint, highp > highp_umat2x4
 
typedef mat< 3, 3, uint, highp > highp_umat3
 High-qualifier unsigned integer 3x3 matrix. More...
typedef mat< 3, 3, uint, highp > highp_umat3
 
typedef mat< 3, 2, uint, highp > highp_umat3x2
 High-qualifier unsigned integer 3x2 matrix. More...
typedef mat< 3, 2, uint, highp > highp_umat3x2
 
typedef mat< 3, 3, uint, highp > highp_umat3x3
 High-qualifier unsigned integer 3x3 matrix. More...
typedef mat< 3, 3, uint, highp > highp_umat3x3
 
typedef mat< 3, 4, uint, highp > highp_umat3x4
 High-qualifier unsigned integer 3x4 matrix. More...
typedef mat< 3, 4, uint, highp > highp_umat3x4
 
typedef mat< 4, 4, uint, highp > highp_umat4
 High-qualifier unsigned integer 4x4 matrix. More...
typedef mat< 4, 4, uint, highp > highp_umat4
 
typedef mat< 4, 2, uint, highp > highp_umat4x2
 High-qualifier unsigned integer 4x2 matrix. More...
typedef mat< 4, 2, uint, highp > highp_umat4x2
 
typedef mat< 4, 3, uint, highp > highp_umat4x3
 High-qualifier unsigned integer 4x3 matrix. More...
typedef mat< 4, 3, uint, highp > highp_umat4x3
 
typedef mat< 4, 4, uint, highp > highp_umat4x4
 High-qualifier unsigned integer 4x4 matrix. More...
typedef mat< 4, 4, uint, highp > highp_umat4x4
 
typedef mediump_imat2 imat2
 Signed integer 2x2 matrix. More...
typedef mediump_imat2 imat2
 
typedef mediump_imat2x2 imat2x2
 Signed integer 2x2 matrix. More...
typedef mediump_imat2x2 imat2x2
 
typedef mediump_imat2x3 imat2x3
 Signed integer 2x3 matrix. More...
typedef mediump_imat2x3 imat2x3
 
typedef mediump_imat2x4 imat2x4
 Signed integer 2x4 matrix. More...
typedef mediump_imat2x4 imat2x4
 
typedef mediump_imat3 imat3
 Signed integer 3x3 matrix. More...
typedef mediump_imat3 imat3
 
typedef mediump_imat3x2 imat3x2
 Signed integer 3x2 matrix. More...
typedef mediump_imat3x2 imat3x2
 
typedef mediump_imat3x3 imat3x3
 Signed integer 3x3 matrix. More...
typedef mediump_imat3x3 imat3x3
 
typedef mediump_imat3x4 imat3x4
 Signed integer 3x4 matrix. More...
typedef mediump_imat3x4 imat3x4
 
typedef mediump_imat4 imat4
 Signed integer 4x4 matrix. More...
typedef mediump_imat4 imat4
 
typedef mediump_imat4x2 imat4x2
 Signed integer 4x2 matrix. More...
typedef mediump_imat4x2 imat4x2
 
typedef mediump_imat4x3 imat4x3
 Signed integer 4x3 matrix. More...
typedef mediump_imat4x3 imat4x3
 
typedef mediump_imat4x4 imat4x4
 Signed integer 4x4 matrix. More...
typedef mediump_imat4x4 imat4x4
 
typedef mat< 2, 2, int, lowp > lowp_imat2
 Low-qualifier signed integer 2x2 matrix. More...
typedef mat< 2, 2, int, lowp > lowp_imat2
 
typedef mat< 2, 2, int, lowp > lowp_imat2x2
 Low-qualifier signed integer 2x2 matrix. More...
typedef mat< 2, 2, int, lowp > lowp_imat2x2
 
typedef mat< 2, 3, int, lowp > lowp_imat2x3
 Low-qualifier signed integer 2x3 matrix. More...
typedef mat< 2, 3, int, lowp > lowp_imat2x3
 
typedef mat< 2, 4, int, lowp > lowp_imat2x4
 Low-qualifier signed integer 2x4 matrix. More...
typedef mat< 2, 4, int, lowp > lowp_imat2x4
 
typedef mat< 3, 3, int, lowp > lowp_imat3
 Low-qualifier signed integer 3x3 matrix. More...
typedef mat< 3, 3, int, lowp > lowp_imat3
 
typedef mat< 3, 2, int, lowp > lowp_imat3x2
 Low-qualifier signed integer 3x2 matrix. More...
typedef mat< 3, 2, int, lowp > lowp_imat3x2
 
typedef mat< 3, 3, int, lowp > lowp_imat3x3
 Low-qualifier signed integer 3x3 matrix. More...
typedef mat< 3, 3, int, lowp > lowp_imat3x3
 
typedef mat< 3, 4, int, lowp > lowp_imat3x4
 Low-qualifier signed integer 3x4 matrix. More...
typedef mat< 3, 4, int, lowp > lowp_imat3x4
 
typedef mat< 4, 4, int, lowp > lowp_imat4
 Low-qualifier signed integer 4x4 matrix. More...
typedef mat< 4, 4, int, lowp > lowp_imat4
 
typedef mat< 4, 2, int, lowp > lowp_imat4x2
 Low-qualifier signed integer 4x2 matrix. More...
typedef mat< 4, 2, int, lowp > lowp_imat4x2
 
typedef mat< 4, 3, int, lowp > lowp_imat4x3
 Low-qualifier signed integer 4x3 matrix. More...
typedef mat< 4, 3, int, lowp > lowp_imat4x3
 
typedef mat< 4, 4, int, lowp > lowp_imat4x4
 Low-qualifier signed integer 4x4 matrix. More...
typedef mat< 4, 4, int, lowp > lowp_imat4x4
 
typedef mat< 2, 2, uint, lowp > lowp_umat2
 Low-qualifier unsigned integer 2x2 matrix. More...
typedef mat< 2, 2, uint, lowp > lowp_umat2
 
typedef mat< 2, 2, uint, lowp > lowp_umat2x2
 Low-qualifier unsigned integer 2x2 matrix. More...
typedef mat< 2, 2, uint, lowp > lowp_umat2x2
 
typedef mat< 2, 3, uint, lowp > lowp_umat2x3
 Low-qualifier unsigned integer 2x3 matrix. More...
typedef mat< 2, 3, uint, lowp > lowp_umat2x3
 
typedef mat< 2, 4, uint, lowp > lowp_umat2x4
 Low-qualifier unsigned integer 2x4 matrix. More...
typedef mat< 2, 4, uint, lowp > lowp_umat2x4
 
typedef mat< 3, 3, uint, lowp > lowp_umat3
 Low-qualifier unsigned integer 3x3 matrix. More...
typedef mat< 3, 3, uint, lowp > lowp_umat3
 
typedef mat< 3, 2, uint, lowp > lowp_umat3x2
 Low-qualifier unsigned integer 3x2 matrix. More...
typedef mat< 3, 2, uint, lowp > lowp_umat3x2
 
typedef mat< 3, 3, uint, lowp > lowp_umat3x3
 Low-qualifier unsigned integer 3x3 matrix. More...
typedef mat< 3, 3, uint, lowp > lowp_umat3x3
 
typedef mat< 3, 4, uint, lowp > lowp_umat3x4
 Low-qualifier unsigned integer 3x4 matrix. More...
typedef mat< 3, 4, uint, lowp > lowp_umat3x4
 
typedef mat< 4, 4, uint, lowp > lowp_umat4
 Low-qualifier unsigned integer 4x4 matrix. More...
typedef mat< 4, 4, uint, lowp > lowp_umat4
 
typedef mat< 4, 2, uint, lowp > lowp_umat4x2
 Low-qualifier unsigned integer 4x2 matrix. More...
typedef mat< 4, 2, uint, lowp > lowp_umat4x2
 
typedef mat< 4, 3, uint, lowp > lowp_umat4x3
 Low-qualifier unsigned integer 4x3 matrix. More...
typedef mat< 4, 3, uint, lowp > lowp_umat4x3
 
typedef mat< 4, 4, uint, lowp > lowp_umat4x4
 Low-qualifier unsigned integer 4x4 matrix. More...
typedef mat< 4, 4, uint, lowp > lowp_umat4x4
 
typedef mat< 2, 2, int, mediump > mediump_imat2
 Medium-qualifier signed integer 2x2 matrix. More...
typedef mat< 2, 2, int, mediump > mediump_imat2
 
typedef mat< 2, 2, int, mediump > mediump_imat2x2
 Medium-qualifier signed integer 2x2 matrix. More...
typedef mat< 2, 2, int, mediump > mediump_imat2x2
 
typedef mat< 2, 3, int, mediump > mediump_imat2x3
 Medium-qualifier signed integer 2x3 matrix. More...
typedef mat< 2, 3, int, mediump > mediump_imat2x3
 
typedef mat< 2, 4, int, mediump > mediump_imat2x4
 Medium-qualifier signed integer 2x4 matrix. More...
typedef mat< 2, 4, int, mediump > mediump_imat2x4
 
typedef mat< 3, 3, int, mediump > mediump_imat3
 Medium-qualifier signed integer 3x3 matrix. More...
typedef mat< 3, 3, int, mediump > mediump_imat3
 
typedef mat< 3, 2, int, mediump > mediump_imat3x2
 Medium-qualifier signed integer 3x2 matrix. More...
typedef mat< 3, 2, int, mediump > mediump_imat3x2
 
typedef mat< 3, 3, int, mediump > mediump_imat3x3
 Medium-qualifier signed integer 3x3 matrix. More...
typedef mat< 3, 3, int, mediump > mediump_imat3x3
 
typedef mat< 3, 4, int, mediump > mediump_imat3x4
 Medium-qualifier signed integer 3x4 matrix. More...
typedef mat< 3, 4, int, mediump > mediump_imat3x4
 
typedef mat< 4, 4, int, mediump > mediump_imat4
 Medium-qualifier signed integer 4x4 matrix. More...
typedef mat< 4, 4, int, mediump > mediump_imat4
 
typedef mat< 4, 2, int, mediump > mediump_imat4x2
 Medium-qualifier signed integer 4x2 matrix. More...
typedef mat< 4, 2, int, mediump > mediump_imat4x2
 
typedef mat< 4, 3, int, mediump > mediump_imat4x3
 Medium-qualifier signed integer 4x3 matrix. More...
typedef mat< 4, 3, int, mediump > mediump_imat4x3
 
typedef mat< 4, 4, int, mediump > mediump_imat4x4
 Medium-qualifier signed integer 4x4 matrix. More...
typedef mat< 4, 4, int, mediump > mediump_imat4x4
 
typedef mat< 2, 2, uint, mediump > mediump_umat2
 Medium-qualifier unsigned integer 2x2 matrix. More...
typedef mat< 2, 2, uint, mediump > mediump_umat2
 
typedef mat< 2, 2, uint, mediump > mediump_umat2x2
 Medium-qualifier unsigned integer 2x2 matrix. More...
typedef mat< 2, 2, uint, mediump > mediump_umat2x2
 
typedef mat< 2, 3, uint, mediump > mediump_umat2x3
 Medium-qualifier unsigned integer 2x3 matrix. More...
typedef mat< 2, 3, uint, mediump > mediump_umat2x3
 
typedef mat< 2, 4, uint, mediump > mediump_umat2x4
 Medium-qualifier unsigned integer 2x4 matrix. More...
typedef mat< 2, 4, uint, mediump > mediump_umat2x4
 
typedef mat< 3, 3, uint, mediump > mediump_umat3
 Medium-qualifier unsigned integer 3x3 matrix. More...
typedef mat< 3, 3, uint, mediump > mediump_umat3
 
typedef mat< 3, 2, uint, mediump > mediump_umat3x2
 Medium-qualifier unsigned integer 3x2 matrix. More...
typedef mat< 3, 2, uint, mediump > mediump_umat3x2
 
typedef mat< 3, 3, uint, mediump > mediump_umat3x3
 Medium-qualifier unsigned integer 3x3 matrix. More...
typedef mat< 3, 3, uint, mediump > mediump_umat3x3
 
typedef mat< 3, 4, uint, mediump > mediump_umat3x4
 Medium-qualifier unsigned integer 3x4 matrix. More...
typedef mat< 3, 4, uint, mediump > mediump_umat3x4
 
typedef mat< 4, 4, uint, mediump > mediump_umat4
 Medium-qualifier unsigned integer 4x4 matrix. More...
typedef mat< 4, 4, uint, mediump > mediump_umat4
 
typedef mat< 4, 2, uint, mediump > mediump_umat4x2
 Medium-qualifier unsigned integer 4x2 matrix. More...
typedef mat< 4, 2, uint, mediump > mediump_umat4x2
 
typedef mat< 4, 3, uint, mediump > mediump_umat4x3
 Medium-qualifier unsigned integer 4x3 matrix. More...
typedef mat< 4, 3, uint, mediump > mediump_umat4x3
 
typedef mat< 4, 4, uint, mediump > mediump_umat4x4
 Medium-qualifier unsigned integer 4x4 matrix. More...
typedef mat< 4, 4, uint, mediump > mediump_umat4x4
 
typedef mediump_umat2 umat2
 Unsigned integer 2x2 matrix. More...
typedef mediump_umat2 umat2
 
typedef mediump_umat2x2 umat2x2
 Unsigned integer 2x2 matrix. More...
typedef mediump_umat2x2 umat2x2
 
typedef mediump_umat2x3 umat2x3
 Unsigned integer 2x3 matrix. More...
typedef mediump_umat2x3 umat2x3
 
typedef mediump_umat2x4 umat2x4
 Unsigned integer 2x4 matrix. More...
typedef mediump_umat2x4 umat2x4
 
typedef mediump_umat3 umat3
 Unsigned integer 3x3 matrix. More...
typedef mediump_umat3 umat3
 
typedef mediump_umat3x2 umat3x2
 Unsigned integer 3x2 matrix. More...
typedef mediump_umat3x2 umat3x2
 
typedef mediump_umat3x3 umat3x3
 Unsigned integer 3x3 matrix. More...
typedef mediump_umat3x3 umat3x3
 
typedef mediump_umat3x4 umat3x4
 Unsigned integer 3x4 matrix. More...
typedef mediump_umat3x4 umat3x4
 
typedef mediump_umat4 umat4
 Unsigned integer 4x4 matrix. More...
typedef mediump_umat4 umat4
 
typedef mediump_umat4x2 umat4x2
 Unsigned integer 4x2 matrix. More...
typedef mediump_umat4x2 umat4x2
 
typedef mediump_umat4x3 umat4x3
 Unsigned integer 4x3 matrix. More...
typedef mediump_umat4x3 umat4x3
 
typedef mediump_umat4x4 umat4x4
 Unsigned integer 4x4 matrix. More...
typedef mediump_umat4x4 umat4x4
 

Detailed Description

-

GLM_GTC_matrix_integer

-
See also
Core features (dependence)
+

GLM_GTC_matrix_integer

+
See also
Core features (dependence)
-

Definition in file matrix_integer.hpp.

+

Definition in file matrix_integer.hpp.

diff --git a/doc/api/a00407_source.html b/doc/api/a00407_source.html new file mode 100644 index 00000000..0ef21a23 --- /dev/null +++ b/doc/api/a00407_source.html @@ -0,0 +1,178 @@ + + + + + + + +0.9.9 API documenation: matrix_integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_integer.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../mat2x2.hpp"
17 #include "../mat2x3.hpp"
18 #include "../mat2x4.hpp"
19 #include "../mat3x2.hpp"
20 #include "../mat3x3.hpp"
21 #include "../mat3x4.hpp"
22 #include "../mat4x2.hpp"
23 #include "../mat4x3.hpp"
24 #include "../mat4x4.hpp"
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTC_matrix_integer extension included")
28 #endif
29 
30 namespace glm
31 {
34 
37  typedef mat<2, 2, int, highp> highp_imat2;
38 
41  typedef mat<3, 3, int, highp> highp_imat3;
42 
45  typedef mat<4, 4, int, highp> highp_imat4;
46 
49  typedef mat<2, 2, int, highp> highp_imat2x2;
50 
53  typedef mat<2, 3, int, highp> highp_imat2x3;
54 
57  typedef mat<2, 4, int, highp> highp_imat2x4;
58 
61  typedef mat<3, 2, int, highp> highp_imat3x2;
62 
65  typedef mat<3, 3, int, highp> highp_imat3x3;
66 
69  typedef mat<3, 4, int, highp> highp_imat3x4;
70 
73  typedef mat<4, 2, int, highp> highp_imat4x2;
74 
77  typedef mat<4, 3, int, highp> highp_imat4x3;
78 
81  typedef mat<4, 4, int, highp> highp_imat4x4;
82 
83 
86  typedef mat<2, 2, int, mediump> mediump_imat2;
87 
90  typedef mat<3, 3, int, mediump> mediump_imat3;
91 
94  typedef mat<4, 4, int, mediump> mediump_imat4;
95 
96 
99  typedef mat<2, 2, int, mediump> mediump_imat2x2;
100 
103  typedef mat<2, 3, int, mediump> mediump_imat2x3;
104 
107  typedef mat<2, 4, int, mediump> mediump_imat2x4;
108 
111  typedef mat<3, 2, int, mediump> mediump_imat3x2;
112 
115  typedef mat<3, 3, int, mediump> mediump_imat3x3;
116 
119  typedef mat<3, 4, int, mediump> mediump_imat3x4;
120 
123  typedef mat<4, 2, int, mediump> mediump_imat4x2;
124 
127  typedef mat<4, 3, int, mediump> mediump_imat4x3;
128 
131  typedef mat<4, 4, int, mediump> mediump_imat4x4;
132 
133 
136  typedef mat<2, 2, int, lowp> lowp_imat2;
137 
140  typedef mat<3, 3, int, lowp> lowp_imat3;
141 
144  typedef mat<4, 4, int, lowp> lowp_imat4;
145 
146 
149  typedef mat<2, 2, int, lowp> lowp_imat2x2;
150 
153  typedef mat<2, 3, int, lowp> lowp_imat2x3;
154 
157  typedef mat<2, 4, int, lowp> lowp_imat2x4;
158 
161  typedef mat<3, 2, int, lowp> lowp_imat3x2;
162 
165  typedef mat<3, 3, int, lowp> lowp_imat3x3;
166 
169  typedef mat<3, 4, int, lowp> lowp_imat3x4;
170 
173  typedef mat<4, 2, int, lowp> lowp_imat4x2;
174 
177  typedef mat<4, 3, int, lowp> lowp_imat4x3;
178 
181  typedef mat<4, 4, int, lowp> lowp_imat4x4;
182 
183 
186  typedef mat<2, 2, uint, highp> highp_umat2;
187 
190  typedef mat<3, 3, uint, highp> highp_umat3;
191 
194  typedef mat<4, 4, uint, highp> highp_umat4;
195 
198  typedef mat<2, 2, uint, highp> highp_umat2x2;
199 
202  typedef mat<2, 3, uint, highp> highp_umat2x3;
203 
206  typedef mat<2, 4, uint, highp> highp_umat2x4;
207 
210  typedef mat<3, 2, uint, highp> highp_umat3x2;
211 
214  typedef mat<3, 3, uint, highp> highp_umat3x3;
215 
218  typedef mat<3, 4, uint, highp> highp_umat3x4;
219 
222  typedef mat<4, 2, uint, highp> highp_umat4x2;
223 
226  typedef mat<4, 3, uint, highp> highp_umat4x3;
227 
230  typedef mat<4, 4, uint, highp> highp_umat4x4;
231 
232 
235  typedef mat<2, 2, uint, mediump> mediump_umat2;
236 
239  typedef mat<3, 3, uint, mediump> mediump_umat3;
240 
243  typedef mat<4, 4, uint, mediump> mediump_umat4;
244 
245 
248  typedef mat<2, 2, uint, mediump> mediump_umat2x2;
249 
252  typedef mat<2, 3, uint, mediump> mediump_umat2x3;
253 
256  typedef mat<2, 4, uint, mediump> mediump_umat2x4;
257 
260  typedef mat<3, 2, uint, mediump> mediump_umat3x2;
261 
264  typedef mat<3, 3, uint, mediump> mediump_umat3x3;
265 
268  typedef mat<3, 4, uint, mediump> mediump_umat3x4;
269 
272  typedef mat<4, 2, uint, mediump> mediump_umat4x2;
273 
276  typedef mat<4, 3, uint, mediump> mediump_umat4x3;
277 
280  typedef mat<4, 4, uint, mediump> mediump_umat4x4;
281 
282 
285  typedef mat<2, 2, uint, lowp> lowp_umat2;
286 
289  typedef mat<3, 3, uint, lowp> lowp_umat3;
290 
293  typedef mat<4, 4, uint, lowp> lowp_umat4;
294 
295 
298  typedef mat<2, 2, uint, lowp> lowp_umat2x2;
299 
302  typedef mat<2, 3, uint, lowp> lowp_umat2x3;
303 
306  typedef mat<2, 4, uint, lowp> lowp_umat2x4;
307 
310  typedef mat<3, 2, uint, lowp> lowp_umat3x2;
311 
314  typedef mat<3, 3, uint, lowp> lowp_umat3x3;
315 
318  typedef mat<3, 4, uint, lowp> lowp_umat3x4;
319 
322  typedef mat<4, 2, uint, lowp> lowp_umat4x2;
323 
326  typedef mat<4, 3, uint, lowp> lowp_umat4x3;
327 
330  typedef mat<4, 4, uint, lowp> lowp_umat4x4;
331 
332 #if(defined(GLM_PRECISION_HIGHP_INT))
333  typedef highp_imat2 imat2;
334  typedef highp_imat3 imat3;
335  typedef highp_imat4 imat4;
336  typedef highp_imat2x2 imat2x2;
337  typedef highp_imat2x3 imat2x3;
338  typedef highp_imat2x4 imat2x4;
339  typedef highp_imat3x2 imat3x2;
340  typedef highp_imat3x3 imat3x3;
341  typedef highp_imat3x4 imat3x4;
342  typedef highp_imat4x2 imat4x2;
343  typedef highp_imat4x3 imat4x3;
344  typedef highp_imat4x4 imat4x4;
345 #elif(defined(GLM_PRECISION_LOWP_INT))
346  typedef lowp_imat2 imat2;
347  typedef lowp_imat3 imat3;
348  typedef lowp_imat4 imat4;
349  typedef lowp_imat2x2 imat2x2;
350  typedef lowp_imat2x3 imat2x3;
351  typedef lowp_imat2x4 imat2x4;
352  typedef lowp_imat3x2 imat3x2;
353  typedef lowp_imat3x3 imat3x3;
354  typedef lowp_imat3x4 imat3x4;
355  typedef lowp_imat4x2 imat4x2;
356  typedef lowp_imat4x3 imat4x3;
357  typedef lowp_imat4x4 imat4x4;
358 #else //if(defined(GLM_PRECISION_MEDIUMP_INT))
359 
363 
367 
371 
375 
379 
383 
387 
391 
395 
399 
403 
407 #endif//GLM_PRECISION
408 
409 #if(defined(GLM_PRECISION_HIGHP_UINT))
410  typedef highp_umat2 umat2;
411  typedef highp_umat3 umat3;
412  typedef highp_umat4 umat4;
413  typedef highp_umat2x2 umat2x2;
414  typedef highp_umat2x3 umat2x3;
415  typedef highp_umat2x4 umat2x4;
416  typedef highp_umat3x2 umat3x2;
417  typedef highp_umat3x3 umat3x3;
418  typedef highp_umat3x4 umat3x4;
419  typedef highp_umat4x2 umat4x2;
420  typedef highp_umat4x3 umat4x3;
421  typedef highp_umat4x4 umat4x4;
422 #elif(defined(GLM_PRECISION_LOWP_UINT))
423  typedef lowp_umat2 umat2;
424  typedef lowp_umat3 umat3;
425  typedef lowp_umat4 umat4;
426  typedef lowp_umat2x2 umat2x2;
427  typedef lowp_umat2x3 umat2x3;
428  typedef lowp_umat2x4 umat2x4;
429  typedef lowp_umat3x2 umat3x2;
430  typedef lowp_umat3x3 umat3x3;
431  typedef lowp_umat3x4 umat3x4;
432  typedef lowp_umat4x2 umat4x2;
433  typedef lowp_umat4x3 umat4x3;
434  typedef lowp_umat4x4 umat4x4;
435 #else //if(defined(GLM_PRECISION_MEDIUMP_UINT))
436 
440 
444 
448 
452 
456 
460 
464 
468 
472 
476 
480 
484 #endif//GLM_PRECISION
485 
487 }//namespace glm
mat< 3, 3, int, mediump > mediump_imat3
Medium-qualifier signed integer 3x3 matrix.
+
mat< 4, 4, int, lowp > lowp_imat4
Low-qualifier signed integer 4x4 matrix.
+
mediump_umat3x4 umat3x4
Unsigned integer 3x4 matrix.
+
mat< 3, 3, uint, lowp > lowp_umat3
Low-qualifier unsigned integer 3x3 matrix.
+
mediump_imat4x2 imat4x2
Signed integer 4x2 matrix.
+
mat< 3, 4, int, highp > highp_imat3x4
High-qualifier signed integer 3x4 matrix.
+
mat< 2, 2, int, mediump > mediump_imat2x2
Medium-qualifier signed integer 2x2 matrix.
+
mat< 3, 3, int, highp > highp_imat3x3
High-qualifier signed integer 3x3 matrix.
+
mat< 3, 3, uint, highp > highp_umat3
High-qualifier unsigned integer 3x3 matrix.
+
mat< 2, 3, uint, lowp > lowp_umat2x3
Low-qualifier unsigned integer 2x3 matrix.
+
mediump_imat4x4 imat4x4
Signed integer 4x4 matrix.
+
mat< 3, 2, uint, mediump > mediump_umat3x2
Medium-qualifier unsigned integer 3x2 matrix.
+
mat< 2, 4, uint, lowp > lowp_umat2x4
Low-qualifier unsigned integer 2x4 matrix.
+
mat< 3, 2, uint, highp > highp_umat3x2
High-qualifier unsigned integer 3x2 matrix.
+
mat< 4, 4, int, lowp > lowp_imat4x4
Low-qualifier signed integer 4x4 matrix.
+
mediump_umat2x2 umat2x2
Unsigned integer 2x2 matrix.
+
mediump_umat2 umat2
Unsigned integer 2x2 matrix.
+
mat< 2, 4, int, lowp > lowp_imat2x4
Low-qualifier signed integer 2x4 matrix.
+
mat< 4, 3, uint, highp > highp_umat4x3
High-qualifier unsigned integer 4x3 matrix.
+
mat< 4, 4, uint, lowp > lowp_umat4x4
Low-qualifier unsigned integer 4x4 matrix.
+
mediump_imat2 imat2
Signed integer 2x2 matrix.
+
mat< 4, 4, int, mediump > mediump_imat4x4
Medium-qualifier signed integer 4x4 matrix.
+
mat< 4, 3, uint, mediump > mediump_umat4x3
Medium-qualifier unsigned integer 4x3 matrix.
+
mat< 3, 2, int, highp > highp_imat3x2
High-qualifier signed integer 3x2 matrix.
+
mediump_umat4x3 umat4x3
Unsigned integer 4x3 matrix.
+
mat< 3, 4, uint, highp > highp_umat3x4
High-qualifier unsigned integer 3x4 matrix.
+
mat< 2, 2, uint, lowp > lowp_umat2x2
Low-qualifier unsigned integer 2x2 matrix.
+
mat< 3, 4, uint, mediump > mediump_umat3x4
Medium-qualifier unsigned integer 3x4 matrix.
+
mat< 4, 4, int, highp > highp_imat4
High-qualifier signed integer 4x4 matrix.
+
mat< 3, 4, int, mediump > mediump_imat3x4
Medium-qualifier signed integer 3x4 matrix.
+
mediump_umat3x3 umat3x3
Unsigned integer 3x3 matrix.
+
mat< 3, 3, int, lowp > lowp_imat3x3
Low-qualifier signed integer 3x3 matrix.
+
mat< 3, 4, uint, lowp > lowp_umat3x4
Low-qualifier unsigned integer 3x4 matrix.
+
mediump_imat3x4 imat3x4
Signed integer 3x4 matrix.
+
mediump_imat2x4 imat2x4
Signed integer 2x4 matrix.
+
mat< 4, 3, int, lowp > lowp_imat4x3
Low-qualifier signed integer 4x3 matrix.
+
mat< 2, 2, uint, mediump > mediump_umat2x2
Medium-qualifier unsigned integer 2x2 matrix.
+
mediump_imat3 imat3
Signed integer 3x3 matrix.
+
mat< 3, 4, int, lowp > lowp_imat3x4
Low-qualifier signed integer 3x4 matrix.
+
mat< 3, 3, uint, mediump > mediump_umat3x3
Medium-qualifier unsigned integer 3x3 matrix.
+
mat< 4, 2, int, mediump > mediump_imat4x2
Medium-qualifier signed integer 4x2 matrix.
+
mat< 3, 3, uint, lowp > lowp_umat3x3
Low-qualifier unsigned integer 3x3 matrix.
+
mat< 4, 4, int, mediump > mediump_imat4
Medium-qualifier signed integer 4x4 matrix.
+
mediump_umat2x3 umat2x3
Unsigned integer 2x3 matrix.
+
mat< 3, 3, int, highp > highp_imat3
High-qualifier signed integer 3x3 matrix.
+
mat< 4, 2, uint, mediump > mediump_umat4x2
Medium-qualifier unsigned integer 4x2 matrix.
+
mediump_imat2x2 imat2x2
Signed integer 2x2 matrix.
+
mat< 4, 4, uint, mediump > mediump_umat4x4
Medium-qualifier unsigned integer 4x4 matrix.
+
mediump_imat4x3 imat4x3
Signed integer 4x3 matrix.
+
mat< 2, 3, int, lowp > lowp_imat2x3
Low-qualifier signed integer 2x3 matrix.
+
mat< 2, 2, int, highp > highp_imat2x2
High-qualifier signed integer 2x2 matrix.
+
mat< 2, 2, int, lowp > lowp_imat2x2
Low-qualifier signed integer 2x2 matrix.
+
mediump_umat3 umat3
Unsigned integer 3x3 matrix.
+
mat< 2, 2, int, lowp > lowp_imat2
Low-qualifier signed integer 2x2 matrix.
+
mat< 2, 3, uint, mediump > mediump_umat2x3
Medium-qualifier unsigned integer 2x3 matrix.
+
mat< 4, 4, int, highp > highp_imat4x4
High-qualifier signed integer 4x4 matrix.
+
mat< 2, 4, int, highp > highp_imat2x4
High-qualifier signed integer 2x4 matrix.
+
mat< 4, 4, uint, highp > highp_umat4
High-qualifier unsigned integer 4x4 matrix.
+
mat< 2, 4, uint, mediump > mediump_umat2x4
Medium-qualifier unsigned integer 2x4 matrix.
+
mat< 4, 2, uint, lowp > lowp_umat4x2
Low-qualifier unsigned integer 4x2 matrix.
+
mat< 3, 3, int, mediump > mediump_imat3x3
Medium-qualifier signed integer 3x3 matrix.
+
mat< 2, 2, uint, highp > highp_umat2
High-qualifier unsigned integer 2x2 matrix.
+
mat< 4, 3, uint, lowp > lowp_umat4x3
Low-qualifier unsigned integer 4x3 matrix.
+
mediump_umat4x4 umat4x4
Unsigned integer 4x4 matrix.
+
mat< 3, 3, int, lowp > lowp_imat3
Low-qualifier signed integer 3x3 matrix.
+
mat< 4, 3, int, highp > highp_imat4x3
High-qualifier signed integer 4x3 matrix.
+
mat< 3, 2, int, lowp > lowp_imat3x2
Low-qualifier signed integer 3x2 matrix.
+
mediump_imat3x2 imat3x2
Signed integer 3x2 matrix.
+
mat< 2, 3, uint, highp > highp_umat2x3
High-qualifier unsigned integer 2x3 matrix.
+
mat< 4, 4, uint, lowp > lowp_umat4
Low-qualifier unsigned integer 4x4 matrix.
+
mat< 2, 4, int, mediump > mediump_imat2x4
Medium-qualifier signed integer 2x4 matrix.
+
mat< 2, 4, uint, highp > highp_umat2x4
High-qualifier unsigned integer 2x4 matrix.
+
mat< 3, 2, int, mediump > mediump_imat3x2
Medium-qualifier signed integer 3x2 matrix.
+
mat< 2, 2, int, mediump > mediump_imat2
Medium-qualifier signed integer 2x2 matrix.
+
mat< 4, 2, int, highp > highp_imat4x2
High-qualifier signed integer 4x2 matrix.
+
mat< 2, 3, int, mediump > mediump_imat2x3
Medium-qualifier signed integer 2x3 matrix.
+
mat< 4, 4, uint, highp > highp_umat4x4
High-qualifier unsigned integer 4x4 matrix.
+
mat< 3, 2, uint, lowp > lowp_umat3x2
Low-qualifier unsigned integer 3x2 matrix.
+
mediump_imat2x3 imat2x3
Signed integer 2x3 matrix.
+
mat< 2, 2, uint, highp > highp_umat2x2
High-qualifier unsigned integer 2x2 matrix.
+
mat< 2, 3, int, highp > highp_imat2x3
High-qualifier signed integer 2x3 matrix.
+
mat< 2, 2, int, highp > highp_imat2
High-qualifier signed integer 2x2 matrix.
+
mat< 3, 3, uint, mediump > mediump_umat3
Medium-qualifier unsigned integer 3x3 matrix.
+
mediump_umat4 umat4
Unsigned integer 4x4 matrix.
+
mat< 2, 2, uint, lowp > lowp_umat2
Low-qualifier unsigned integer 2x2 matrix.
+
mat< 4, 2, uint, highp > highp_umat4x2
High-qualifier unsigned integer 4x2 matrix.
+
mediump_imat3x3 imat3x3
Signed integer 3x3 matrix.
+
Definition: common.hpp:20
+
mat< 4, 4, uint, mediump > mediump_umat4
Medium-qualifier unsigned integer 4x4 matrix.
+
mat< 4, 2, int, lowp > lowp_imat4x2
Low-qualifier signed integer 4x2 matrix.
+
mediump_umat2x4 umat2x4
Unsigned integer 2x4 matrix.
+
mediump_umat3x2 umat3x2
Unsigned integer 3x2 matrix.
+
mediump_imat4 imat4
Signed integer 4x4 matrix.
+
mat< 3, 3, uint, highp > highp_umat3x3
High-qualifier unsigned integer 3x3 matrix.
+
mat< 2, 2, uint, mediump > mediump_umat2
Medium-qualifier unsigned integer 2x2 matrix.
+
mediump_umat4x2 umat4x2
Unsigned integer 4x2 matrix.
+
mat< 4, 3, int, mediump > mediump_imat4x3
Medium-qualifier signed integer 4x3 matrix.
+
+ + + + diff --git a/doc/api/a00063.html b/doc/api/a00410.html similarity index 56% rename from doc/api/a00063.html rename to doc/api/a00410.html index c1809654..f2a88d73 100644 --- a/doc/api/a00063.html +++ b/doc/api/a00410.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_inverse.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,33 +73,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_matrix_inverse -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType affineInverse (genType const &m)
 Fast matrix inverse for affine matrix. More...
GLM_FUNC_DECL genType affineInverse (genType const &m)
 
template<typename genType >
GLM_FUNC_DECL genType inverseTranspose (genType const &m)
 Compute the inverse transpose of a matrix. More...
GLM_FUNC_DECL genType inverseTranspose (genType const &m)
 

Detailed Description

-

GLM_GTC_matrix_inverse

-
See also
Core features (dependence)
+

GLM_GTC_matrix_inverse

+
See also
Core features (dependence)
-

Definition in file matrix_inverse.hpp.

+

Definition in file matrix_inverse.hpp.

diff --git a/doc/api/a00410_source.html b/doc/api/a00410_source.html new file mode 100644 index 00000000..a5704df9 --- /dev/null +++ b/doc/api/a00410_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: matrix_inverse.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_inverse.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/setup.hpp"
17 #include "../matrix.hpp"
18 #include "../mat2x2.hpp"
19 #include "../mat3x3.hpp"
20 #include "../mat4x4.hpp"
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTC_matrix_inverse extension included")
24 #endif
25 
26 namespace glm
27 {
30 
36  template<typename genType>
37  GLM_FUNC_DECL genType affineInverse(genType const& m);
38 
44  template<typename genType>
45  GLM_FUNC_DECL genType inverseTranspose(genType const& m);
46 
48 }//namespace glm
49 
50 #include "matrix_inverse.inl"
GLM_FUNC_DECL genType inverseTranspose(genType const &m)
Compute the inverse transpose of a matrix.
+
GLM_FUNC_DECL genType affineInverse(genType const &m)
Fast matrix inverse for affine matrix.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00070.html b/doc/api/a00413.html similarity index 58% rename from doc/api/a00070.html rename to doc/api/a00413.html index 89759a77..faabd4e7 100644 --- a/doc/api/a00070.html +++ b/doc/api/a00413.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: noise.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,37 +73,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_noise -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p)
 Classic perlin noise. More...
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
 Periodic perlin noise. More...
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T simplex (vec< L, T, Q > const &p)
 Simplex noise. More...
GLM_FUNC_DECL T simplex (vec< L, T, Q > const &p)
 

Detailed Description

-

GLM_GTC_noise

-
See also
Core features (dependence)
+

GLM_GTC_noise

+
See also
Core features (dependence)
-

Definition in file noise.hpp.

+

Definition in file noise.hpp.

diff --git a/doc/api/a00413_source.html b/doc/api/a00413_source.html new file mode 100644 index 00000000..5cdf4633 --- /dev/null +++ b/doc/api/a00413_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: noise.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
noise.hpp
+
+
+Go to the documentation of this file.
1 
17 #pragma once
18 
19 // Dependencies
20 #include "../detail/setup.hpp"
21 #include "../detail/qualifier.hpp"
22 #include "../detail/_noise.hpp"
23 #include "../geometric.hpp"
24 #include "../common.hpp"
25 #include "../vector_relational.hpp"
26 #include "../vec2.hpp"
27 #include "../vec3.hpp"
28 #include "../vec4.hpp"
29 
30 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
31 # pragma message("GLM: GLM_GTC_noise extension included")
32 #endif
33 
34 namespace glm
35 {
38 
41  template<length_t L, typename T, qualifier Q>
42  GLM_FUNC_DECL T perlin(
43  vec<L, T, Q> const& p);
44 
47  template<length_t L, typename T, qualifier Q>
48  GLM_FUNC_DECL T perlin(
49  vec<L, T, Q> const& p,
50  vec<L, T, Q> const& rep);
51 
54  template<length_t L, typename T, qualifier Q>
55  GLM_FUNC_DECL T simplex(
56  vec<L, T, Q> const& p);
57 
59 }//namespace glm
60 
61 #include "noise.inl"
GLM_FUNC_DECL T perlin(vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
Periodic perlin noise.
+
GLM_FUNC_DECL T simplex(vec< L, T, Q > const &p)
Simplex noise.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00416.html b/doc/api/a00416.html new file mode 100644 index 00000000..22351dba --- /dev/null +++ b/doc/api/a00416.html @@ -0,0 +1,120 @@ + + + + + + + +0.9.9 API documenation: packing.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
packing.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL double packDouble2x32 (uvec2 const &v)
 
GLM_FUNC_DECL uint packHalf2x16 (vec2 const &v)
 
GLM_FUNC_DECL uint packSnorm2x16 (vec2 const &v)
 
GLM_FUNC_DECL uint packSnorm4x8 (vec4 const &v)
 
GLM_FUNC_DECL uint packUnorm2x16 (vec2 const &v)
 
GLM_FUNC_DECL uint packUnorm4x8 (vec4 const &v)
 
GLM_FUNC_DECL uvec2 unpackDouble2x32 (double v)
 
GLM_FUNC_DECL vec2 unpackHalf2x16 (uint v)
 
GLM_FUNC_DECL vec2 unpackSnorm2x16 (uint p)
 
GLM_FUNC_DECL vec4 unpackSnorm4x8 (uint p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x16 (uint p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x8 (uint p)
 
+

Detailed Description

+
+ + + + diff --git a/doc/api/a00416_source.html b/doc/api/a00416_source.html new file mode 100644 index 00000000..15f0bc05 --- /dev/null +++ b/doc/api/a00416_source.html @@ -0,0 +1,100 @@ + + + + + + + +0.9.9 API documenation: packing.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
packing.hpp
+
+
+Go to the documentation of this file.
1 
16 #pragma once
17 
18 #include "./ext/vector_uint2.hpp"
19 #include "./ext/vector_float2.hpp"
20 #include "./ext/vector_float4.hpp"
21 
22 namespace glm
23 {
26 
38  GLM_FUNC_DECL uint packUnorm2x16(vec2 const& v);
39 
51  GLM_FUNC_DECL uint packSnorm2x16(vec2 const& v);
52 
64  GLM_FUNC_DECL uint packUnorm4x8(vec4 const& v);
65 
77  GLM_FUNC_DECL uint packSnorm4x8(vec4 const& v);
78 
90  GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p);
91 
103  GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p);
104 
116  GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p);
117 
129  GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p);
130 
139  GLM_FUNC_DECL double packDouble2x32(uvec2 const& v);
140 
148  GLM_FUNC_DECL uvec2 unpackDouble2x32(double v);
149 
158  GLM_FUNC_DECL uint packHalf2x16(vec2 const& v);
159 
168  GLM_FUNC_DECL vec2 unpackHalf2x16(uint v);
169 
171 }//namespace glm
172 
173 #include "detail/func_packing.inl"
GLM_FUNC_DECL vec2 unpackHalf2x16(uint v)
Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned...
+
Core features
+
GLM_FUNC_DECL uint packSnorm2x16(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
GLM_FUNC_DECL uint packUnorm2x16(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
GLM_FUNC_DECL uint packHalf2x16(vec2 const &v)
Returns an unsigned integer obtained by converting the components of a two-component floating-point v...
+
GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
GLM_FUNC_DECL uint packUnorm4x8(vec4 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
GLM_FUNC_DECL uint packSnorm4x8(vec4 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
Core features
+
GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
GLM_FUNC_DECL double packDouble2x32(uvec2 const &v)
Returns a double-qualifier value obtained by packing the components of v into a 64-bit value...
+
Core features
+
Definition: common.hpp:20
+
GLM_FUNC_DECL uvec2 unpackDouble2x32(double v)
Returns a two-component unsigned integer vector representation of v.
+
+ + + + diff --git a/doc/api/a00078.html b/doc/api/a00419.html similarity index 73% rename from doc/api/a00078.html rename to doc/api/a00419.html index adc4287f..054524cd 100644 --- a/doc/api/a00078.html +++ b/doc/api/a00419.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: packing.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,63 +73,63 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features +

Core features More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

Functions

GLM_FUNC_DECL double packDouble2x32 (uvec2 const &v)
 Returns a double-qualifier value obtained by packing the components of v into a 64-bit value. More...
GLM_FUNC_DECL double packDouble2x32 (uvec2 const &v)
 Returns a double-qualifier value obtained by packing the components of v into a 64-bit value. More...
 
GLM_FUNC_DECL uint packHalf2x16 (vec2 const &v)
 Returns an unsigned integer obtained by converting the components of a two-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these two 16- bit integers into a 32-bit unsigned integer. More...
GLM_FUNC_DECL uint packHalf2x16 (vec2 const &v)
 Returns an unsigned integer obtained by converting the components of a two-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these two 16- bit integers into a 32-bit unsigned integer. More...
 
GLM_FUNC_DECL uint packSnorm2x16 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
GLM_FUNC_DECL uint packSnorm2x16 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uint packSnorm4x8 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
GLM_FUNC_DECL uint packSnorm4x8 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uint packUnorm2x16 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
GLM_FUNC_DECL uint packUnorm2x16 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uint packUnorm4x8 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
GLM_FUNC_DECL uint packUnorm4x8 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values. More...
 
GLM_FUNC_DECL uvec2 unpackDouble2x32 (double v)
 Returns a two-component unsigned integer vector representation of v. More...
GLM_FUNC_DECL uvec2 unpackDouble2x32 (double v)
 Returns a two-component unsigned integer vector representation of v. More...
 
GLM_FUNC_DECL vec2 unpackHalf2x16 (uint v)
 Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values. More...
GLM_FUNC_DECL vec2 unpackHalf2x16 (uint v)
 Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values. More...
 
GLM_FUNC_DECL vec2 unpackSnorm2x16 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
GLM_FUNC_DECL vec2 unpackSnorm2x16 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackSnorm4x8 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
GLM_FUNC_DECL vec4 unpackSnorm4x8 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 
GLM_FUNC_DECL vec2 unpackUnorm2x16 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
GLM_FUNC_DECL vec2 unpackUnorm2x16 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm4x8 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
GLM_FUNC_DECL vec4 unpackUnorm4x8 (uint p)
 First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers. More...
 

Detailed Description

-

Core features

+
diff --git a/doc/api/a00419_source.html b/doc/api/a00419_source.html new file mode 100644 index 00000000..cb4ecf1a --- /dev/null +++ b/doc/api/a00419_source.html @@ -0,0 +1,100 @@ + + + + + + + +0.9.9 API documenation: packing.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
packing.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 #include "./ext/vector_uint2.hpp"
17 #include "./ext/vector_float2.hpp"
18 #include "./ext/vector_float4.hpp"
19 
20 namespace glm
21 {
24 
36  GLM_FUNC_DECL uint packUnorm2x16(vec2 const& v);
37 
49  GLM_FUNC_DECL uint packSnorm2x16(vec2 const& v);
50 
62  GLM_FUNC_DECL uint packUnorm4x8(vec4 const& v);
63 
75  GLM_FUNC_DECL uint packSnorm4x8(vec4 const& v);
76 
88  GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p);
89 
101  GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p);
102 
114  GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p);
115 
127  GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p);
128 
137  GLM_FUNC_DECL double packDouble2x32(uvec2 const& v);
138 
146  GLM_FUNC_DECL uvec2 unpackDouble2x32(double v);
147 
156  GLM_FUNC_DECL uint packHalf2x16(vec2 const& v);
157 
166  GLM_FUNC_DECL vec2 unpackHalf2x16(uint v);
167 
169 }//namespace glm
170 
171 #include "detail/func_packing.inl"
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
Definition: common.hpp:18
+
Core features
+
Core features
+
GLM_FUNC_DECL vec2 unpackSnorm2x16(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
GLM_FUNC_DECL uint packSnorm4x8(vec4 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
GLM_FUNC_DECL vec2 unpackUnorm2x16(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
GLM_FUNC_DECL uvec2 unpackDouble2x32(double v)
Returns a two-component unsigned integer vector representation of v.
+
GLM_FUNC_DECL vec4 unpackUnorm4x8(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
GLM_FUNC_DECL uint packUnorm2x16(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
GLM_FUNC_DECL double packDouble2x32(uvec2 const &v)
Returns a double-qualifier value obtained by packing the components of v into a 64-bit value...
+
GLM_FUNC_DECL uint packSnorm2x16(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
GLM_FUNC_DECL uint packUnorm4x8(vec4 const &v)
First, converts each component of the normalized floating-point value v into 8- or 16-bit integer val...
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
Core features
+
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
GLM_FUNC_DECL uint packHalf2x16(vec2 const &v)
Returns an unsigned integer obtained by converting the components of a two-component floating-point v...
+
GLM_FUNC_DECL vec4 unpackSnorm4x8(uint p)
First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.
+
GLM_FUNC_DECL vec2 unpackHalf2x16(uint v)
Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned...
+
+ + + + diff --git a/doc/api/a00085.html b/doc/api/a00422.html similarity index 57% rename from doc/api/a00085.html rename to doc/api/a00422.html index 4903cee5..72d85e68 100644 --- a/doc/api/a00085.html +++ b/doc/api/a00422.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: random.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,55 +73,45 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_random -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > ballRand (T Radius)
 Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius. More...
GLM_FUNC_DECL vec< 3, T, defaultp > ballRand (T Radius)
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > circularRand (T Radius)
 Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius. More...
GLM_FUNC_DECL vec< 2, T, defaultp > circularRand (T Radius)
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > diskRand (T Radius)
 Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius. More...
GLM_FUNC_DECL vec< 2, T, defaultp > diskRand (T Radius)
 
template<typename genType >
GLM_FUNC_DECL genType gaussRand (genType Mean, genType Deviation)
 Generate random numbers in the interval [Min, Max], according a gaussian distribution. More...
GLM_FUNC_DECL genType gaussRand (genType Mean, genType Deviation)
 
template<typename genType >
GLM_FUNC_DECL genType linearRand (genType Min, genType Max)
 Generate random numbers in the interval [Min, Max], according a linear distribution. More...
GLM_FUNC_DECL genType linearRand (genType Min, genType Max)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > linearRand (vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Generate random numbers in the interval [Min, Max], according a linear distribution. More...
GLM_FUNC_DECL vec< L, T, Q > linearRand (vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > sphericalRand (T Radius)
 Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius. More...
GLM_FUNC_DECL vec< 3, T, defaultp > sphericalRand (T Radius)
 

Detailed Description

-

GLM_GTC_random

-
See also
Core features (dependence)
+

GLM_GTC_random

+
See also
Core features (dependence)
gtx_random (extended)
-

Definition in file random.hpp.

+

Definition in file random.hpp.

diff --git a/doc/api/a00422_source.html b/doc/api/a00422_source.html new file mode 100644 index 00000000..7829fb36 --- /dev/null +++ b/doc/api/a00422_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: random.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
random.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../ext/scalar_int_sized.hpp"
18 #include "../ext/scalar_uint_sized.hpp"
19 #include "../detail/qualifier.hpp"
20 
21 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTC_random extension included")
23 #endif
24 
25 namespace glm
26 {
29 
36  template<typename genType>
37  GLM_FUNC_DECL genType linearRand(genType Min, genType Max);
38 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL vec<L, T, Q> linearRand(vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
48 
52  template<typename genType>
53  GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation);
54 
58  template<typename T>
59  GLM_FUNC_DECL vec<2, T, defaultp> circularRand(T Radius);
60 
64  template<typename T>
65  GLM_FUNC_DECL vec<3, T, defaultp> sphericalRand(T Radius);
66 
70  template<typename T>
71  GLM_FUNC_DECL vec<2, T, defaultp> diskRand(T Radius);
72 
76  template<typename T>
77  GLM_FUNC_DECL vec<3, T, defaultp> ballRand(T Radius);
78 
80 }//namespace glm
81 
82 #include "random.inl"
GLM_FUNC_DECL vec< 3, T, defaultp > sphericalRand(T Radius)
Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius...
+
GLM_FUNC_DECL vec< 2, T, defaultp > circularRand(T Radius)
Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius...
+
GLM_FUNC_DECL vec< 2, T, defaultp > diskRand(T Radius)
Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a...
+
GLM_FUNC_DECL genType gaussRand(genType Mean, genType Deviation)
Generate random numbers in the interval [Min, Max], according a gaussian distribution.
+
GLM_FUNC_DECL vec< L, T, Q > linearRand(vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Generate random numbers in the interval [Min, Max], according a linear distribution.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< 3, T, defaultp > ballRand(T Radius)
Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of...
+
+ + + + diff --git a/doc/api/a00088.html b/doc/api/a00425.html similarity index 59% rename from doc/api/a00088.html rename to doc/api/a00425.html index ecdf3db8..196f3023 100644 --- a/doc/api/a00088.html +++ b/doc/api/a00425.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: reciprocal.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,73 +73,58 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_reciprocal -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType acot (genType x)
 Inverse cotangent function. More...
GLM_FUNC_DECL genType acot (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acoth (genType x)
 Inverse cotangent hyperbolic function. More...
GLM_FUNC_DECL genType acoth (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acsc (genType x)
 Inverse cosecant function. More...
GLM_FUNC_DECL genType acsc (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acsch (genType x)
 Inverse cosecant hyperbolic function. More...
GLM_FUNC_DECL genType acsch (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType asec (genType x)
 Inverse secant function. More...
GLM_FUNC_DECL genType asec (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType asech (genType x)
 Inverse secant hyperbolic function. More...
GLM_FUNC_DECL genType asech (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType cot (genType angle)
 Cotangent function. More...
GLM_FUNC_DECL genType cot (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType coth (genType angle)
 Cotangent hyperbolic function. More...
GLM_FUNC_DECL genType coth (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType csc (genType angle)
 Cosecant function. More...
GLM_FUNC_DECL genType csc (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType csch (genType angle)
 Cosecant hyperbolic function. More...
GLM_FUNC_DECL genType csch (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType sec (genType angle)
 Secant function. More...
GLM_FUNC_DECL genType sec (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType sech (genType angle)
 Secant hyperbolic function. More...
GLM_FUNC_DECL genType sech (genType angle)
 

Detailed Description

-

GLM_GTC_reciprocal

-
See also
Core features (dependence)
+

GLM_GTC_reciprocal

+
See also
Core features (dependence)
-

Definition in file reciprocal.hpp.

+

Definition in file reciprocal.hpp.

diff --git a/doc/api/a00425_source.html b/doc/api/a00425_source.html new file mode 100644 index 00000000..04ac46a6 --- /dev/null +++ b/doc/api/a00425_source.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: reciprocal.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
reciprocal.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/setup.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTC_reciprocal extension included")
20 #endif
21 
22 namespace glm
23 {
26 
33  template<typename genType>
34  GLM_FUNC_DECL genType sec(genType angle);
35 
42  template<typename genType>
43  GLM_FUNC_DECL genType csc(genType angle);
44 
51  template<typename genType>
52  GLM_FUNC_DECL genType cot(genType angle);
53 
60  template<typename genType>
61  GLM_FUNC_DECL genType asec(genType x);
62 
69  template<typename genType>
70  GLM_FUNC_DECL genType acsc(genType x);
71 
78  template<typename genType>
79  GLM_FUNC_DECL genType acot(genType x);
80 
86  template<typename genType>
87  GLM_FUNC_DECL genType sech(genType angle);
88 
94  template<typename genType>
95  GLM_FUNC_DECL genType csch(genType angle);
96 
102  template<typename genType>
103  GLM_FUNC_DECL genType coth(genType angle);
104 
111  template<typename genType>
112  GLM_FUNC_DECL genType asech(genType x);
113 
120  template<typename genType>
121  GLM_FUNC_DECL genType acsch(genType x);
122 
129  template<typename genType>
130  GLM_FUNC_DECL genType acoth(genType x);
131 
133 }//namespace glm
134 
135 #include "reciprocal.inl"
GLM_FUNC_DECL genType sec(genType angle)
Secant function.
+
GLM_FUNC_DECL genType acsc(genType x)
Inverse cosecant function.
+
GLM_FUNC_DECL genType csc(genType angle)
Cosecant function.
+
GLM_FUNC_DECL genType coth(genType angle)
Cotangent hyperbolic function.
+
GLM_FUNC_DECL genType cot(genType angle)
Cotangent function.
+
GLM_FUNC_DECL genType acoth(genType x)
Inverse cotangent hyperbolic function.
+
GLM_FUNC_DECL genType sech(genType angle)
Secant hyperbolic function.
+
GLM_FUNC_DECL genType asech(genType x)
Inverse secant hyperbolic function.
+
GLM_FUNC_DECL genType acot(genType x)
Inverse cotangent function.
+
GLM_FUNC_DECL genType acsch(genType x)
Inverse cosecant hyperbolic function.
+
GLM_FUNC_DECL genType csch(genType angle)
Cosecant hyperbolic function.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL genType asec(genType x)
Inverse secant function.
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00428.html b/doc/api/a00428.html new file mode 100644 index 00000000..18d79a28 --- /dev/null +++ b/doc/api/a00428.html @@ -0,0 +1,147 @@ + + + + + + + +0.9.9 API documenation: round.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
round.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType ceilMultiple (genType v, genType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType ceilPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo (vec< L, T, Q > const &v)
 
template<typename genType >
GLM_FUNC_DECL genType floorMultiple (genType v, genType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floorMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType floorPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo (vec< L, T, Q > const &v)
 
template<typename genIUType >
GLM_FUNC_DECL bool isMultiple (genIUType v, genIUType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, T Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL bool isPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo (vec< L, T, Q > const &v)
 
template<typename genType >
GLM_FUNC_DECL genType roundMultiple (genType v, genType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType roundPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo (vec< L, T, Q > const &v)
 
+

Detailed Description

+

GLM_GTC_round

+
See also
Core features (dependence)
+
+GLM_GTC_round (dependence)
+ +

Definition in file round.hpp.

+
+ + + + diff --git a/doc/api/a00428_source.html b/doc/api/a00428_source.html new file mode 100644 index 00000000..4274b71e --- /dev/null +++ b/doc/api/a00428_source.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: round.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
round.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../detail/_vectorize.hpp"
20 #include "../vector_relational.hpp"
21 #include "../common.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_integer extension included")
26 #endif
27 
28 namespace glm
29 {
32 
36  template<typename genIUType>
37  GLM_FUNC_DECL bool isPowerOfTwo(genIUType v);
38 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL vec<L, bool, Q> isPowerOfTwo(vec<L, T, Q> const& v);
48 
53  template<typename genIUType>
54  GLM_FUNC_DECL genIUType ceilPowerOfTwo(genIUType v);
55 
64  template<length_t L, typename T, qualifier Q>
65  GLM_FUNC_DECL vec<L, T, Q> ceilPowerOfTwo(vec<L, T, Q> const& v);
66 
71  template<typename genIUType>
72  GLM_FUNC_DECL genIUType floorPowerOfTwo(genIUType v);
73 
82  template<length_t L, typename T, qualifier Q>
83  GLM_FUNC_DECL vec<L, T, Q> floorPowerOfTwo(vec<L, T, Q> const& v);
84 
88  template<typename genIUType>
89  GLM_FUNC_DECL genIUType roundPowerOfTwo(genIUType v);
90 
98  template<length_t L, typename T, qualifier Q>
99  GLM_FUNC_DECL vec<L, T, Q> roundPowerOfTwo(vec<L, T, Q> const& v);
100 
104  template<typename genIUType>
105  GLM_FUNC_DECL bool isMultiple(genIUType v, genIUType Multiple);
106 
114  template<length_t L, typename T, qualifier Q>
115  GLM_FUNC_DECL vec<L, bool, Q> isMultiple(vec<L, T, Q> const& v, T Multiple);
116 
124  template<length_t L, typename T, qualifier Q>
125  GLM_FUNC_DECL vec<L, bool, Q> isMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
126 
135  template<typename genType>
136  GLM_FUNC_DECL genType ceilMultiple(genType v, genType Multiple);
137 
148  template<length_t L, typename T, qualifier Q>
149  GLM_FUNC_DECL vec<L, T, Q> ceilMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
150 
159  template<typename genType>
160  GLM_FUNC_DECL genType floorMultiple(genType v, genType Multiple);
161 
172  template<length_t L, typename T, qualifier Q>
173  GLM_FUNC_DECL vec<L, T, Q> floorMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
174 
183  template<typename genType>
184  GLM_FUNC_DECL genType roundMultiple(genType v, genType Multiple);
185 
196  template<length_t L, typename T, qualifier Q>
197  GLM_FUNC_DECL vec<L, T, Q> roundMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
198 
200 } //namespace glm
201 
202 #include "round.inl"
GLM_FUNC_DECL vec< L, T, Q > floorMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
+
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Higher multiple number of Source.
+
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just lower the input value, round down to a power of tw...
+
GLM_FUNC_DECL vec< L, bool, Q > isMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Return true if the &#39;Value&#39; is a multiple of &#39;Multiple&#39;.
+
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just higher the input value, round up to a power of two...
+
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo(vec< L, T, Q > const &v)
Return true if the value is a power of two number.
+
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is the closet to the input value.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, T, Q > roundMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
+
+ + + + diff --git a/doc/api/a00091.html b/doc/api/a00431.html similarity index 76% rename from doc/api/a00091.html rename to doc/api/a00431.html index c7856bcc..d1597f51 100644 --- a/doc/api/a00091.html +++ b/doc/api/a00431.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: round.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,95 +73,95 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_round +

GLM_GTC_round More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

Functions

template<typename genType >
GLM_FUNC_DECL genType ceilMultiple (genType v, genType Multiple)
 Higher multiple number of Source. More...
GLM_FUNC_DECL genType ceilMultiple (genType v, genType Multiple)
 Higher multiple number of Source. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Higher multiple number of Source. More...
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Higher multiple number of Source. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType ceilPowerOfTwo (genIUType v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
GLM_FUNC_DECL genIUType ceilPowerOfTwo (genIUType v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
 
template<typename genType >
GLM_FUNC_DECL genType floorMultiple (genType v, genType Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL genType floorMultiple (genType v, genType Multiple)
 Lower multiple number of Source. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floorMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL vec< L, T, Q > floorMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Lower multiple number of Source. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType floorPowerOfTwo (genIUType v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
GLM_FUNC_DECL genIUType floorPowerOfTwo (genIUType v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
 
template<typename genIUType >
GLM_FUNC_DECL bool isMultiple (genIUType v, genIUType Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
GLM_FUNC_DECL bool isMultiple (genIUType v, genIUType Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, T Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, T Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
 
template<typename genIUType >
GLM_FUNC_DECL bool isPowerOfTwo (genIUType v)
 Return true if the value is a power of two number. More...
GLM_FUNC_DECL bool isPowerOfTwo (genIUType v)
 Return true if the value is a power of two number. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo (vec< L, T, Q > const &v)
 Return true if the value is a power of two number. More...
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo (vec< L, T, Q > const &v)
 Return true if the value is a power of two number. More...
 
template<typename genType >
GLM_FUNC_DECL genType roundMultiple (genType v, genType Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL genType roundMultiple (genType v, genType Multiple)
 Lower multiple number of Source. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL vec< L, T, Q > roundMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Lower multiple number of Source. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType roundPowerOfTwo (genIUType v)
 Return the power of two number which value is the closet to the input value. More...
GLM_FUNC_DECL genIUType roundPowerOfTwo (genIUType v)
 Return the power of two number which value is the closet to the input value. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is the closet to the input value. More...
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is the closet to the input value. More...
 

Detailed Description

-

GLM_GTC_round

-
See also
Core features (dependence)
+

GLM_GTC_round

+
See also
Core features (dependence)
-GLM_GTC_round (dependence)
+GLM_GTC_round (dependence)
-

Definition in file round.hpp.

+

Definition in file round.hpp.

diff --git a/doc/api/a00431_source.html b/doc/api/a00431_source.html new file mode 100644 index 00000000..2d6cbd8f --- /dev/null +++ b/doc/api/a00431_source.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: round.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
round.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../detail/_vectorize.hpp"
20 #include "../vector_relational.hpp"
21 #include "../common.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_integer extension included")
26 #endif
27 
28 namespace glm
29 {
32 
36  template<typename genIUType>
37  GLM_FUNC_DECL bool isPowerOfTwo(genIUType v);
38 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL vec<L, bool, Q> isPowerOfTwo(vec<L, T, Q> const& v);
48 
53  template<typename genIUType>
54  GLM_FUNC_DECL genIUType ceilPowerOfTwo(genIUType v);
55 
64  template<length_t L, typename T, qualifier Q>
65  GLM_FUNC_DECL vec<L, T, Q> ceilPowerOfTwo(vec<L, T, Q> const& v);
66 
71  template<typename genIUType>
72  GLM_FUNC_DECL genIUType floorPowerOfTwo(genIUType v);
73 
82  template<length_t L, typename T, qualifier Q>
83  GLM_FUNC_DECL vec<L, T, Q> floorPowerOfTwo(vec<L, T, Q> const& v);
84 
88  template<typename genIUType>
89  GLM_FUNC_DECL genIUType roundPowerOfTwo(genIUType v);
90 
98  template<length_t L, typename T, qualifier Q>
99  GLM_FUNC_DECL vec<L, T, Q> roundPowerOfTwo(vec<L, T, Q> const& v);
100 
104  template<typename genIUType>
105  GLM_FUNC_DECL bool isMultiple(genIUType v, genIUType Multiple);
106 
114  template<length_t L, typename T, qualifier Q>
115  GLM_FUNC_DECL vec<L, bool, Q> isMultiple(vec<L, T, Q> const& v, T Multiple);
116 
124  template<length_t L, typename T, qualifier Q>
125  GLM_FUNC_DECL vec<L, bool, Q> isMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
126 
135  template<typename genType>
136  GLM_FUNC_DECL genType ceilMultiple(genType v, genType Multiple);
137 
148  template<length_t L, typename T, qualifier Q>
149  GLM_FUNC_DECL vec<L, T, Q> ceilMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
150 
159  template<typename genType>
160  GLM_FUNC_DECL genType floorMultiple(genType v, genType Multiple);
161 
172  template<length_t L, typename T, qualifier Q>
173  GLM_FUNC_DECL vec<L, T, Q> floorMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
174 
183  template<typename genType>
184  GLM_FUNC_DECL genType roundMultiple(genType v, genType Multiple);
185 
196  template<length_t L, typename T, qualifier Q>
197  GLM_FUNC_DECL vec<L, T, Q> roundMultiple(vec<L, T, Q> const& v, vec<L, T, Q> const& Multiple);
198 
200 } //namespace glm
201 
202 #include "round.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL vec< L, bool, Q > isMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Return true if the &#39;Value&#39; is a multiple of &#39;Multiple&#39;.
+
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo(vec< L, T, Q > const &v)
Return true if the value is a power of two number.
+
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Higher multiple number of Source.
+
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is the closet to the input value.
+
GLM_FUNC_DECL vec< L, T, Q > roundMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
+
GLM_FUNC_DECL vec< L, T, Q > floorMultiple(vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
Lower multiple number of Source.
+
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just lower the input value, round down to a power of tw...
+
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo(vec< L, T, Q > const &v)
Return the power of two number which value is just higher the input value, round up to a power of two...
+
+ + + + diff --git a/doc/api/a00118.html b/doc/api/a00434.html similarity index 51% rename from doc/api/a00118.html rename to doc/api/a00434.html index c0816294..e05dc461 100644 --- a/doc/api/a00118.html +++ b/doc/api/a00434.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: type_precision.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -89,23 +71,20 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_type_precision -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

GLM_GTC_type_precision

-
See also
Core features (dependence)
+

GLM_GTC_type_precision

+
See also
Core features (dependence)
-GLM_GTC_quaternion (dependence)
+GLM_GTC_quaternion (dependence)
-

Definition in file type_precision.hpp.

+

Definition in file type_precision.hpp.

diff --git a/doc/api/a00434_source.html b/doc/api/a00434_source.html new file mode 100644 index 00000000..70bc465c --- /dev/null +++ b/doc/api/a00434_source.html @@ -0,0 +1,524 @@ + + + + + + + +0.9.9 API documenation: type_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
type_precision.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtc/quaternion.hpp"
18 #include "../gtc/vec1.hpp"
19 #include "../ext/scalar_float_sized.hpp"
20 #include "../ext/scalar_int_sized.hpp"
21 #include "../ext/scalar_uint_sized.hpp"
22 #include "../detail/type_vec2.hpp"
23 #include "../detail/type_vec3.hpp"
24 #include "../detail/type_vec4.hpp"
25 #include "../detail/type_mat2x2.hpp"
26 #include "../detail/type_mat2x3.hpp"
27 #include "../detail/type_mat2x4.hpp"
28 #include "../detail/type_mat3x2.hpp"
29 #include "../detail/type_mat3x3.hpp"
30 #include "../detail/type_mat3x4.hpp"
31 #include "../detail/type_mat4x2.hpp"
32 #include "../detail/type_mat4x3.hpp"
33 #include "../detail/type_mat4x4.hpp"
34 
35 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
36 # pragma message("GLM: GLM_GTC_type_precision extension included")
37 #endif
38 
39 namespace glm
40 {
42  // Signed int vector types
43 
46 
49  typedef detail::int8 lowp_int8;
50 
53  typedef detail::int16 lowp_int16;
54 
57  typedef detail::int32 lowp_int32;
58 
61  typedef detail::int64 lowp_int64;
62 
65  typedef detail::int8 lowp_int8_t;
66 
69  typedef detail::int16 lowp_int16_t;
70 
73  typedef detail::int32 lowp_int32_t;
74 
78 
81  typedef detail::int8 lowp_i8;
82 
85  typedef detail::int16 lowp_i16;
86 
89  typedef detail::int32 lowp_i32;
90 
93  typedef detail::int64 lowp_i64;
94 
97  typedef detail::int8 mediump_int8;
98 
101  typedef detail::int16 mediump_int16;
102 
105  typedef detail::int32 mediump_int32;
106 
110 
113  typedef detail::int8 mediump_int8_t;
114 
117  typedef detail::int16 mediump_int16_t;
118 
121  typedef detail::int32 mediump_int32_t;
122 
126 
129  typedef detail::int8 mediump_i8;
130 
133  typedef detail::int16 mediump_i16;
134 
137  typedef detail::int32 mediump_i32;
138 
141  typedef detail::int64 mediump_i64;
142 
145  typedef detail::int8 highp_int8;
146 
149  typedef detail::int16 highp_int16;
150 
153  typedef detail::int32 highp_int32;
154 
157  typedef detail::int64 highp_int64;
158 
161  typedef detail::int8 highp_int8_t;
162 
165  typedef detail::int16 highp_int16_t;
166 
169  typedef detail::int32 highp_int32_t;
170 
174 
177  typedef detail::int8 highp_i8;
178 
181  typedef detail::int16 highp_i16;
182 
185  typedef detail::int32 highp_i32;
186 
189  typedef detail::int64 highp_i64;
190 
191 
192 #if GLM_HAS_EXTENDED_INTEGER_TYPE
193  using std::int8_t;
194  using std::int16_t;
195  using std::int32_t;
196  using std::int64_t;
197 #else
198  typedef detail::int8 int8_t;
201 
204  typedef detail::int16 int16_t;
205 
208  typedef detail::int32 int32_t;
209 
212  typedef detail::int64 int64_t;
213 #endif
214 
217  typedef detail::int8 i8;
218 
221  typedef detail::int16 i16;
222 
225  typedef detail::int32 i32;
226 
229  typedef detail::int64 i64;
230 
231 
232 
235  typedef vec<1, i8, lowp> lowp_i8vec1;
236 
239  typedef vec<2, i8, lowp> lowp_i8vec2;
240 
243  typedef vec<3, i8, lowp> lowp_i8vec3;
244 
247  typedef vec<4, i8, lowp> lowp_i8vec4;
248 
249 
252  typedef vec<1, i8, mediump> mediump_i8vec1;
253 
256  typedef vec<2, i8, mediump> mediump_i8vec2;
257 
260  typedef vec<3, i8, mediump> mediump_i8vec3;
261 
264  typedef vec<4, i8, mediump> mediump_i8vec4;
265 
266 
269  typedef vec<1, i8, highp> highp_i8vec1;
270 
273  typedef vec<2, i8, highp> highp_i8vec2;
274 
277  typedef vec<3, i8, highp> highp_i8vec3;
278 
281  typedef vec<4, i8, highp> highp_i8vec4;
282 
283 
284 
287  typedef vec<1, i8, defaultp> i8vec1;
288 
291  typedef vec<2, i8, defaultp> i8vec2;
292 
295  typedef vec<3, i8, defaultp> i8vec3;
296 
299  typedef vec<4, i8, defaultp> i8vec4;
300 
301 
302 
303 
304 
307  typedef vec<1, i16, lowp> lowp_i16vec1;
308 
311  typedef vec<2, i16, lowp> lowp_i16vec2;
312 
315  typedef vec<3, i16, lowp> lowp_i16vec3;
316 
319  typedef vec<4, i16, lowp> lowp_i16vec4;
320 
321 
324  typedef vec<1, i16, mediump> mediump_i16vec1;
325 
328  typedef vec<2, i16, mediump> mediump_i16vec2;
329 
332  typedef vec<3, i16, mediump> mediump_i16vec3;
333 
336  typedef vec<4, i16, mediump> mediump_i16vec4;
337 
338 
341  typedef vec<1, i16, highp> highp_i16vec1;
342 
345  typedef vec<2, i16, highp> highp_i16vec2;
346 
349  typedef vec<3, i16, highp> highp_i16vec3;
350 
353  typedef vec<4, i16, highp> highp_i16vec4;
354 
355 
356 
357 
360  typedef vec<1, i16, defaultp> i16vec1;
361 
364  typedef vec<2, i16, defaultp> i16vec2;
365 
368  typedef vec<3, i16, defaultp> i16vec3;
369 
372  typedef vec<4, i16, defaultp> i16vec4;
373 
374 
375 
378  typedef vec<1, i32, lowp> lowp_i32vec1;
379 
382  typedef vec<2, i32, lowp> lowp_i32vec2;
383 
386  typedef vec<3, i32, lowp> lowp_i32vec3;
387 
390  typedef vec<4, i32, lowp> lowp_i32vec4;
391 
392 
395  typedef vec<1, i32, mediump> mediump_i32vec1;
396 
399  typedef vec<2, i32, mediump> mediump_i32vec2;
400 
403  typedef vec<3, i32, mediump> mediump_i32vec3;
404 
407  typedef vec<4, i32, mediump> mediump_i32vec4;
408 
409 
412  typedef vec<1, i32, highp> highp_i32vec1;
413 
416  typedef vec<2, i32, highp> highp_i32vec2;
417 
420  typedef vec<3, i32, highp> highp_i32vec3;
421 
424  typedef vec<4, i32, highp> highp_i32vec4;
425 
426 
429  typedef vec<1, i32, defaultp> i32vec1;
430 
433  typedef vec<2, i32, defaultp> i32vec2;
434 
437  typedef vec<3, i32, defaultp> i32vec3;
438 
441  typedef vec<4, i32, defaultp> i32vec4;
442 
443 
444 
445 
448  typedef vec<1, i64, lowp> lowp_i64vec1;
449 
452  typedef vec<2, i64, lowp> lowp_i64vec2;
453 
456  typedef vec<3, i64, lowp> lowp_i64vec3;
457 
460  typedef vec<4, i64, lowp> lowp_i64vec4;
461 
462 
465  typedef vec<1, i64, mediump> mediump_i64vec1;
466 
469  typedef vec<2, i64, mediump> mediump_i64vec2;
470 
473  typedef vec<3, i64, mediump> mediump_i64vec3;
474 
477  typedef vec<4, i64, mediump> mediump_i64vec4;
478 
479 
482  typedef vec<1, i64, highp> highp_i64vec1;
483 
486  typedef vec<2, i64, highp> highp_i64vec2;
487 
490  typedef vec<3, i64, highp> highp_i64vec3;
491 
494  typedef vec<4, i64, highp> highp_i64vec4;
495 
496 
499  typedef vec<1, i64, defaultp> i64vec1;
500 
503  typedef vec<2, i64, defaultp> i64vec2;
504 
507  typedef vec<3, i64, defaultp> i64vec3;
508 
511  typedef vec<4, i64, defaultp> i64vec4;
512 
513 
515  // Unsigned int vector types
516 
519  typedef detail::uint8 lowp_uint8;
520 
523  typedef detail::uint16 lowp_uint16;
524 
527  typedef detail::uint32 lowp_uint32;
528 
531  typedef detail::uint64 lowp_uint64;
532 
535  typedef detail::uint8 lowp_uint8_t;
536 
539  typedef detail::uint16 lowp_uint16_t;
540 
543  typedef detail::uint32 lowp_uint32_t;
544 
548 
551  typedef detail::uint8 lowp_u8;
552 
555  typedef detail::uint16 lowp_u16;
556 
559  typedef detail::uint32 lowp_u32;
560 
563  typedef detail::uint64 lowp_u64;
564 
567  typedef detail::uint8 mediump_uint8;
568 
571  typedef detail::uint16 mediump_uint16;
572 
575  typedef detail::uint32 mediump_uint32;
576 
580 
583  typedef detail::uint8 mediump_uint8_t;
584 
587  typedef detail::uint16 mediump_uint16_t;
588 
591  typedef detail::uint32 mediump_uint32_t;
592 
596 
599  typedef detail::uint8 mediump_u8;
600 
603  typedef detail::uint16 mediump_u16;
604 
607  typedef detail::uint32 mediump_u32;
608 
611  typedef detail::uint64 mediump_u64;
612 
615  typedef detail::uint8 highp_uint8;
616 
619  typedef detail::uint16 highp_uint16;
620 
623  typedef detail::uint32 highp_uint32;
624 
628 
631  typedef detail::uint8 highp_uint8_t;
632 
635  typedef detail::uint16 highp_uint16_t;
636 
639  typedef detail::uint32 highp_uint32_t;
640 
644 
647  typedef detail::uint8 highp_u8;
648 
651  typedef detail::uint16 highp_u16;
652 
655  typedef detail::uint32 highp_u32;
656 
659  typedef detail::uint64 highp_u64;
660 
661 #if GLM_HAS_EXTENDED_INTEGER_TYPE
662  using std::uint8_t;
663  using std::uint16_t;
664  using std::uint32_t;
665  using std::uint64_t;
666 #else
667  typedef detail::uint8 uint8_t;
670 
673  typedef detail::uint16 uint16_t;
674 
677  typedef detail::uint32 uint32_t;
678 
681  typedef detail::uint64 uint64_t;
682 #endif
683 
686  typedef detail::uint8 u8;
687 
690  typedef detail::uint16 u16;
691 
694  typedef detail::uint32 u32;
695 
698  typedef detail::uint64 u64;
699 
700 
701 
702 
703 
705  // Float vector types
706 
709  typedef float32 lowp_float32;
710 
713  typedef float64 lowp_float64;
714 
717  typedef float32 lowp_float32_t;
718 
721  typedef float64 lowp_float64_t;
722 
725  typedef float32 lowp_f32;
726 
729  typedef float64 lowp_f64;
730 
733  typedef float32 lowp_float32;
734 
737  typedef float64 lowp_float64;
738 
741  typedef float32 lowp_float32_t;
742 
745  typedef float64 lowp_float64_t;
746 
749  typedef float32 lowp_f32;
750 
753  typedef float64 lowp_f64;
754 
755 
758  typedef float32 lowp_float32;
759 
762  typedef float64 lowp_float64;
763 
766  typedef float32 lowp_float32_t;
767 
770  typedef float64 lowp_float64_t;
771 
774  typedef float32 lowp_f32;
775 
778  typedef float64 lowp_f64;
779 
780 
783  typedef float32 mediump_float32;
784 
787  typedef float64 mediump_float64;
788 
791  typedef float32 mediump_float32_t;
792 
795  typedef float64 mediump_float64_t;
796 
799  typedef float32 mediump_f32;
800 
803  typedef float64 mediump_f64;
804 
805 
808  typedef float32 highp_float32;
809 
812  typedef float64 highp_float64;
813 
816  typedef float32 highp_float32_t;
817 
820  typedef float64 highp_float64_t;
821 
824  typedef float32 highp_f32;
825 
828  typedef float64 highp_f64;
829 
830 
831 #if(defined(GLM_PRECISION_LOWP_FLOAT))
832  typedef lowp_float32_t float32_t;
835 
838  typedef lowp_float64_t float64_t;
839 
842  typedef lowp_f32 f32;
843 
846  typedef lowp_f64 f64;
847 
848 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
849  typedef mediump_float32 float32_t;
852 
855  typedef mediump_float64 float64_t;
856 
859  typedef mediump_float32 f32;
860 
863  typedef mediump_float64 f64;
864 
865 #else//(defined(GLM_PRECISION_HIGHP_FLOAT))
866 
869  typedef highp_float32_t float32_t;
870 
873  typedef highp_float64_t float64_t;
874 
877  typedef highp_float32_t f32;
878 
881  typedef highp_float64_t f64;
882 #endif
883 
884 
887  typedef vec<1, float, lowp> lowp_fvec1;
888 
891  typedef vec<2, float, lowp> lowp_fvec2;
892 
895  typedef vec<3, float, lowp> lowp_fvec3;
896 
899  typedef vec<4, float, lowp> lowp_fvec4;
900 
901 
904  typedef vec<1, float, mediump> mediump_fvec1;
905 
908  typedef vec<2, float, mediump> mediump_fvec2;
909 
912  typedef vec<3, float, mediump> mediump_fvec3;
913 
916  typedef vec<4, float, mediump> mediump_fvec4;
917 
918 
921  typedef vec<1, float, highp> highp_fvec1;
922 
925  typedef vec<2, float, highp> highp_fvec2;
926 
929  typedef vec<3, float, highp> highp_fvec3;
930 
933  typedef vec<4, float, highp> highp_fvec4;
934 
935 
938  typedef vec<1, f32, lowp> lowp_f32vec1;
939 
942  typedef vec<2, f32, lowp> lowp_f32vec2;
943 
946  typedef vec<3, f32, lowp> lowp_f32vec3;
947 
950  typedef vec<4, f32, lowp> lowp_f32vec4;
951 
954  typedef vec<1, f32, mediump> mediump_f32vec1;
955 
958  typedef vec<2, f32, mediump> mediump_f32vec2;
959 
962  typedef vec<3, f32, mediump> mediump_f32vec3;
963 
966  typedef vec<4, f32, mediump> mediump_f32vec4;
967 
970  typedef vec<1, f32, highp> highp_f32vec1;
971 
974  typedef vec<2, f32, highp> highp_f32vec2;
975 
978  typedef vec<3, f32, highp> highp_f32vec3;
979 
982  typedef vec<4, f32, highp> highp_f32vec4;
983 
984 
987  typedef vec<1, f64, lowp> lowp_f64vec1;
988 
991  typedef vec<2, f64, lowp> lowp_f64vec2;
992 
995  typedef vec<3, f64, lowp> lowp_f64vec3;
996 
999  typedef vec<4, f64, lowp> lowp_f64vec4;
1000 
1003  typedef vec<1, f64, mediump> mediump_f64vec1;
1004 
1007  typedef vec<2, f64, mediump> mediump_f64vec2;
1008 
1011  typedef vec<3, f64, mediump> mediump_f64vec3;
1012 
1015  typedef vec<4, f64, mediump> mediump_f64vec4;
1016 
1019  typedef vec<1, f64, highp> highp_f64vec1;
1020 
1023  typedef vec<2, f64, highp> highp_f64vec2;
1024 
1027  typedef vec<3, f64, highp> highp_f64vec3;
1028 
1031  typedef vec<4, f64, highp> highp_f64vec4;
1032 
1033 
1034 
1036  // Float matrix types
1037 
1040  //typedef lowp_f32 lowp_fmat1x1;
1041 
1044  typedef mat<2, 2, f32, lowp> lowp_fmat2x2;
1045 
1048  typedef mat<2, 3, f32, lowp> lowp_fmat2x3;
1049 
1052  typedef mat<2, 4, f32, lowp> lowp_fmat2x4;
1053 
1056  typedef mat<3, 2, f32, lowp> lowp_fmat3x2;
1057 
1060  typedef mat<3, 3, f32, lowp> lowp_fmat3x3;
1061 
1064  typedef mat<3, 4, f32, lowp> lowp_fmat3x4;
1065 
1068  typedef mat<4, 2, f32, lowp> lowp_fmat4x2;
1069 
1072  typedef mat<4, 3, f32, lowp> lowp_fmat4x3;
1073 
1076  typedef mat<4, 4, f32, lowp> lowp_fmat4x4;
1077 
1080  //typedef lowp_fmat1x1 lowp_fmat1;
1081 
1084  typedef lowp_fmat2x2 lowp_fmat2;
1085 
1088  typedef lowp_fmat3x3 lowp_fmat3;
1089 
1092  typedef lowp_fmat4x4 lowp_fmat4;
1093 
1094 
1097  //typedef mediump_f32 mediump_fmat1x1;
1098 
1101  typedef mat<2, 2, f32, mediump> mediump_fmat2x2;
1102 
1105  typedef mat<2, 3, f32, mediump> mediump_fmat2x3;
1106 
1109  typedef mat<2, 4, f32, mediump> mediump_fmat2x4;
1110 
1113  typedef mat<3, 2, f32, mediump> mediump_fmat3x2;
1114 
1117  typedef mat<3, 3, f32, mediump> mediump_fmat3x3;
1118 
1121  typedef mat<3, 4, f32, mediump> mediump_fmat3x4;
1122 
1125  typedef mat<4, 2, f32, mediump> mediump_fmat4x2;
1126 
1129  typedef mat<4, 3, f32, mediump> mediump_fmat4x3;
1130 
1133  typedef mat<4, 4, f32, mediump> mediump_fmat4x4;
1134 
1137  //typedef mediump_fmat1x1 mediump_fmat1;
1138 
1142 
1146 
1150 
1151 
1154  //typedef highp_f32 highp_fmat1x1;
1155 
1158  typedef mat<2, 2, f32, highp> highp_fmat2x2;
1159 
1162  typedef mat<2, 3, f32, highp> highp_fmat2x3;
1163 
1166  typedef mat<2, 4, f32, highp> highp_fmat2x4;
1167 
1170  typedef mat<3, 2, f32, highp> highp_fmat3x2;
1171 
1174  typedef mat<3, 3, f32, highp> highp_fmat3x3;
1175 
1178  typedef mat<3, 4, f32, highp> highp_fmat3x4;
1179 
1182  typedef mat<4, 2, f32, highp> highp_fmat4x2;
1183 
1186  typedef mat<4, 3, f32, highp> highp_fmat4x3;
1187 
1190  typedef mat<4, 4, f32, highp> highp_fmat4x4;
1191 
1194  //typedef highp_fmat1x1 highp_fmat1;
1195 
1198  typedef highp_fmat2x2 highp_fmat2;
1199 
1202  typedef highp_fmat3x3 highp_fmat3;
1203 
1206  typedef highp_fmat4x4 highp_fmat4;
1207 
1208 
1211  //typedef f32 lowp_f32mat1x1;
1212 
1215  typedef mat<2, 2, f32, lowp> lowp_f32mat2x2;
1216 
1219  typedef mat<2, 3, f32, lowp> lowp_f32mat2x3;
1220 
1223  typedef mat<2, 4, f32, lowp> lowp_f32mat2x4;
1224 
1227  typedef mat<3, 2, f32, lowp> lowp_f32mat3x2;
1228 
1231  typedef mat<3, 3, f32, lowp> lowp_f32mat3x3;
1232 
1235  typedef mat<3, 4, f32, lowp> lowp_f32mat3x4;
1236 
1239  typedef mat<4, 2, f32, lowp> lowp_f32mat4x2;
1240 
1243  typedef mat<4, 3, f32, lowp> lowp_f32mat4x3;
1244 
1247  typedef mat<4, 4, f32, lowp> lowp_f32mat4x4;
1248 
1251  //typedef detail::tmat1x1<f32, lowp> lowp_f32mat1;
1252 
1255  typedef lowp_f32mat2x2 lowp_f32mat2;
1256 
1259  typedef lowp_f32mat3x3 lowp_f32mat3;
1260 
1263  typedef lowp_f32mat4x4 lowp_f32mat4;
1264 
1265 
1268  //typedef f32 mediump_f32mat1x1;
1269 
1272  typedef mat<2, 2, f32, mediump> mediump_f32mat2x2;
1273 
1276  typedef mat<2, 3, f32, mediump> mediump_f32mat2x3;
1277 
1280  typedef mat<2, 4, f32, mediump> mediump_f32mat2x4;
1281 
1284  typedef mat<3, 2, f32, mediump> mediump_f32mat3x2;
1285 
1288  typedef mat<3, 3, f32, mediump> mediump_f32mat3x3;
1289 
1292  typedef mat<3, 4, f32, mediump> mediump_f32mat3x4;
1293 
1296  typedef mat<4, 2, f32, mediump> mediump_f32mat4x2;
1297 
1300  typedef mat<4, 3, f32, mediump> mediump_f32mat4x3;
1301 
1304  typedef mat<4, 4, f32, mediump> mediump_f32mat4x4;
1305 
1308  //typedef detail::tmat1x1<f32, mediump> f32mat1;
1309 
1313 
1317 
1321 
1322 
1325  //typedef f32 highp_f32mat1x1;
1326 
1329  typedef mat<2, 2, f32, highp> highp_f32mat2x2;
1330 
1333  typedef mat<2, 3, f32, highp> highp_f32mat2x3;
1334 
1337  typedef mat<2, 4, f32, highp> highp_f32mat2x4;
1338 
1341  typedef mat<3, 2, f32, highp> highp_f32mat3x2;
1342 
1345  typedef mat<3, 3, f32, highp> highp_f32mat3x3;
1346 
1349  typedef mat<3, 4, f32, highp> highp_f32mat3x4;
1350 
1353  typedef mat<4, 2, f32, highp> highp_f32mat4x2;
1354 
1357  typedef mat<4, 3, f32, highp> highp_f32mat4x3;
1358 
1361  typedef mat<4, 4, f32, highp> highp_f32mat4x4;
1362 
1365  //typedef detail::tmat1x1<f32, highp> f32mat1;
1366 
1370 
1374 
1378 
1379 
1382  //typedef f64 lowp_f64mat1x1;
1383 
1386  typedef mat<2, 2, f64, lowp> lowp_f64mat2x2;
1387 
1390  typedef mat<2, 3, f64, lowp> lowp_f64mat2x3;
1391 
1394  typedef mat<2, 4, f64, lowp> lowp_f64mat2x4;
1395 
1398  typedef mat<3, 2, f64, lowp> lowp_f64mat3x2;
1399 
1402  typedef mat<3, 3, f64, lowp> lowp_f64mat3x3;
1403 
1406  typedef mat<3, 4, f64, lowp> lowp_f64mat3x4;
1407 
1410  typedef mat<4, 2, f64, lowp> lowp_f64mat4x2;
1411 
1414  typedef mat<4, 3, f64, lowp> lowp_f64mat4x3;
1415 
1418  typedef mat<4, 4, f64, lowp> lowp_f64mat4x4;
1419 
1422  //typedef lowp_f64mat1x1 lowp_f64mat1;
1423 
1426  typedef lowp_f64mat2x2 lowp_f64mat2;
1427 
1430  typedef lowp_f64mat3x3 lowp_f64mat3;
1431 
1434  typedef lowp_f64mat4x4 lowp_f64mat4;
1435 
1436 
1439  //typedef f64 Highp_f64mat1x1;
1440 
1443  typedef mat<2, 2, f64, mediump> mediump_f64mat2x2;
1444 
1447  typedef mat<2, 3, f64, mediump> mediump_f64mat2x3;
1448 
1451  typedef mat<2, 4, f64, mediump> mediump_f64mat2x4;
1452 
1455  typedef mat<3, 2, f64, mediump> mediump_f64mat3x2;
1456 
1459  typedef mat<3, 3, f64, mediump> mediump_f64mat3x3;
1460 
1463  typedef mat<3, 4, f64, mediump> mediump_f64mat3x4;
1464 
1467  typedef mat<4, 2, f64, mediump> mediump_f64mat4x2;
1468 
1471  typedef mat<4, 3, f64, mediump> mediump_f64mat4x3;
1472 
1475  typedef mat<4, 4, f64, mediump> mediump_f64mat4x4;
1476 
1479  //typedef mediump_f64mat1x1 mediump_f64mat1;
1480 
1484 
1488 
1492 
1495  //typedef f64 highp_f64mat1x1;
1496 
1499  typedef mat<2, 2, f64, highp> highp_f64mat2x2;
1500 
1503  typedef mat<2, 3, f64, highp> highp_f64mat2x3;
1504 
1507  typedef mat<2, 4, f64, highp> highp_f64mat2x4;
1508 
1511  typedef mat<3, 2, f64, highp> highp_f64mat3x2;
1512 
1515  typedef mat<3, 3, f64, highp> highp_f64mat3x3;
1516 
1519  typedef mat<3, 4, f64, highp> highp_f64mat3x4;
1520 
1523  typedef mat<4, 2, f64, highp> highp_f64mat4x2;
1524 
1527  typedef mat<4, 3, f64, highp> highp_f64mat4x3;
1528 
1531  typedef mat<4, 4, f64, highp> highp_f64mat4x4;
1532 
1535  //typedef highp_f64mat1x1 highp_f64mat1;
1536 
1540 
1544 
1548 
1549 
1550 
1551 
1554  typedef vec<1, u8, lowp> lowp_u8vec1;
1555 
1558  typedef vec<2, u8, lowp> lowp_u8vec2;
1559 
1562  typedef vec<3, u8, lowp> lowp_u8vec3;
1563 
1566  typedef vec<4, u8, lowp> lowp_u8vec4;
1567 
1568 
1571  typedef vec<1, u8, mediump> mediump_u8vec1;
1572 
1575  typedef vec<2, u8, mediump> mediump_u8vec2;
1576 
1579  typedef vec<3, u8, mediump> mediump_u8vec3;
1580 
1583  typedef vec<4, u8, mediump> mediump_u8vec4;
1584 
1585 
1588  typedef vec<1, u8, highp> highp_u8vec1;
1589 
1592  typedef vec<2, u8, highp> highp_u8vec2;
1593 
1596  typedef vec<3, u8, highp> highp_u8vec3;
1597 
1600  typedef vec<4, u8, highp> highp_u8vec4;
1601 
1602 
1603 
1606  typedef vec<1, u8, defaultp> u8vec1;
1607 
1610  typedef vec<2, u8, defaultp> u8vec2;
1611 
1614  typedef vec<3, u8, defaultp> u8vec3;
1615 
1618  typedef vec<4, u8, defaultp> u8vec4;
1619 
1620 
1621 
1622 
1625  typedef vec<1, u16, lowp> lowp_u16vec1;
1626 
1629  typedef vec<2, u16, lowp> lowp_u16vec2;
1630 
1633  typedef vec<3, u16, lowp> lowp_u16vec3;
1634 
1637  typedef vec<4, u16, lowp> lowp_u16vec4;
1638 
1639 
1642  typedef vec<1, u16, mediump> mediump_u16vec1;
1643 
1646  typedef vec<2, u16, mediump> mediump_u16vec2;
1647 
1650  typedef vec<3, u16, mediump> mediump_u16vec3;
1651 
1654  typedef vec<4, u16, mediump> mediump_u16vec4;
1655 
1656 
1659  typedef vec<1, u16, highp> highp_u16vec1;
1660 
1663  typedef vec<2, u16, highp> highp_u16vec2;
1664 
1667  typedef vec<3, u16, highp> highp_u16vec3;
1668 
1671  typedef vec<4, u16, highp> highp_u16vec4;
1672 
1673 
1674 
1675 
1678  typedef vec<1, u16, defaultp> u16vec1;
1679 
1682  typedef vec<2, u16, defaultp> u16vec2;
1683 
1686  typedef vec<3, u16, defaultp> u16vec3;
1687 
1690  typedef vec<4, u16, defaultp> u16vec4;
1691 
1692 
1693 
1696  typedef vec<1, u32, lowp> lowp_u32vec1;
1697 
1700  typedef vec<2, u32, lowp> lowp_u32vec2;
1701 
1704  typedef vec<3, u32, lowp> lowp_u32vec3;
1705 
1708  typedef vec<4, u32, lowp> lowp_u32vec4;
1709 
1710 
1713  typedef vec<1, u32, mediump> mediump_u32vec1;
1714 
1717  typedef vec<2, u32, mediump> mediump_u32vec2;
1718 
1721  typedef vec<3, u32, mediump> mediump_u32vec3;
1722 
1725  typedef vec<4, u32, mediump> mediump_u32vec4;
1726 
1727 
1730  typedef vec<1, u32, highp> highp_u32vec1;
1731 
1734  typedef vec<2, u32, highp> highp_u32vec2;
1735 
1738  typedef vec<3, u32, highp> highp_u32vec3;
1739 
1742  typedef vec<4, u32, highp> highp_u32vec4;
1743 
1744 
1745 
1748  typedef vec<1, u32, defaultp> u32vec1;
1749 
1752  typedef vec<2, u32, defaultp> u32vec2;
1753 
1756  typedef vec<3, u32, defaultp> u32vec3;
1757 
1760  typedef vec<4, u32, defaultp> u32vec4;
1761 
1762 
1763 
1764 
1767  typedef vec<1, u64, lowp> lowp_u64vec1;
1768 
1771  typedef vec<2, u64, lowp> lowp_u64vec2;
1772 
1775  typedef vec<3, u64, lowp> lowp_u64vec3;
1776 
1779  typedef vec<4, u64, lowp> lowp_u64vec4;
1780 
1781 
1784  typedef vec<1, u64, mediump> mediump_u64vec1;
1785 
1788  typedef vec<2, u64, mediump> mediump_u64vec2;
1789 
1792  typedef vec<3, u64, mediump> mediump_u64vec3;
1793 
1796  typedef vec<4, u64, mediump> mediump_u64vec4;
1797 
1798 
1801  typedef vec<1, u64, highp> highp_u64vec1;
1802 
1805  typedef vec<2, u64, highp> highp_u64vec2;
1806 
1809  typedef vec<3, u64, highp> highp_u64vec3;
1810 
1813  typedef vec<4, u64, highp> highp_u64vec4;
1814 
1815 
1816 
1817 
1820  typedef vec<1, u64, defaultp> u64vec1;
1821 
1824  typedef vec<2, u64, defaultp> u64vec2;
1825 
1828  typedef vec<3, u64, defaultp> u64vec3;
1829 
1832  typedef vec<4, u64, defaultp> u64vec4;
1833 
1834 
1836  // Float vector types
1837 
1840  typedef float32 float32_t;
1841 
1844  typedef float32 f32;
1845 
1846 # ifndef GLM_FORCE_SINGLE_ONLY
1847 
1850  typedef float64 float64_t;
1851 
1854  typedef float64 f64;
1855 # endif//GLM_FORCE_SINGLE_ONLY
1856 
1859  typedef vec<1, float, defaultp> fvec1;
1860 
1863  typedef vec<2, float, defaultp> fvec2;
1864 
1867  typedef vec<3, float, defaultp> fvec3;
1868 
1871  typedef vec<4, float, defaultp> fvec4;
1872 
1873 
1876  typedef vec<1, f32, defaultp> f32vec1;
1877 
1880  typedef vec<2, f32, defaultp> f32vec2;
1881 
1884  typedef vec<3, f32, defaultp> f32vec3;
1885 
1888  typedef vec<4, f32, defaultp> f32vec4;
1889 
1890 # ifndef GLM_FORCE_SINGLE_ONLY
1891  typedef vec<1, f64, defaultp> f64vec1;
1894 
1897  typedef vec<2, f64, defaultp> f64vec2;
1898 
1901  typedef vec<3, f64, defaultp> f64vec3;
1902 
1905  typedef vec<4, f64, defaultp> f64vec4;
1906 # endif//GLM_FORCE_SINGLE_ONLY
1907 
1908 
1910  // Float matrix types
1911 
1914  //typedef detail::tmat1x1<f32> fmat1;
1915 
1918  typedef mat<2, 2, f32, defaultp> fmat2;
1919 
1922  typedef mat<3, 3, f32, defaultp> fmat3;
1923 
1926  typedef mat<4, 4, f32, defaultp> fmat4;
1927 
1928 
1931  //typedef f32 fmat1x1;
1932 
1935  typedef mat<2, 2, f32, defaultp> fmat2x2;
1936 
1939  typedef mat<2, 3, f32, defaultp> fmat2x3;
1940 
1943  typedef mat<2, 4, f32, defaultp> fmat2x4;
1944 
1947  typedef mat<3, 2, f32, defaultp> fmat3x2;
1948 
1951  typedef mat<3, 3, f32, defaultp> fmat3x3;
1952 
1955  typedef mat<3, 4, f32, defaultp> fmat3x4;
1956 
1959  typedef mat<4, 2, f32, defaultp> fmat4x2;
1960 
1963  typedef mat<4, 3, f32, defaultp> fmat4x3;
1964 
1967  typedef mat<4, 4, f32, defaultp> fmat4x4;
1968 
1969 
1972  //typedef detail::tmat1x1<f32, defaultp> f32mat1;
1973 
1976  typedef mat<2, 2, f32, defaultp> f32mat2;
1977 
1980  typedef mat<3, 3, f32, defaultp> f32mat3;
1981 
1984  typedef mat<4, 4, f32, defaultp> f32mat4;
1985 
1986 
1989  //typedef f32 f32mat1x1;
1990 
1993  typedef mat<2, 2, f32, defaultp> f32mat2x2;
1994 
1997  typedef mat<2, 3, f32, defaultp> f32mat2x3;
1998 
2001  typedef mat<2, 4, f32, defaultp> f32mat2x4;
2002 
2005  typedef mat<3, 2, f32, defaultp> f32mat3x2;
2006 
2009  typedef mat<3, 3, f32, defaultp> f32mat3x3;
2010 
2013  typedef mat<3, 4, f32, defaultp> f32mat3x4;
2014 
2017  typedef mat<4, 2, f32, defaultp> f32mat4x2;
2018 
2021  typedef mat<4, 3, f32, defaultp> f32mat4x3;
2022 
2025  typedef mat<4, 4, f32, defaultp> f32mat4x4;
2026 
2027 
2028 # ifndef GLM_FORCE_SINGLE_ONLY
2029 
2032  //typedef detail::tmat1x1<f64, defaultp> f64mat1;
2033 
2036  typedef mat<2, 2, f64, defaultp> f64mat2;
2037 
2040  typedef mat<3, 3, f64, defaultp> f64mat3;
2041 
2044  typedef mat<4, 4, f64, defaultp> f64mat4;
2045 
2046 
2049  //typedef f64 f64mat1x1;
2050 
2053  typedef mat<2, 2, f64, defaultp> f64mat2x2;
2054 
2057  typedef mat<2, 3, f64, defaultp> f64mat2x3;
2058 
2061  typedef mat<2, 4, f64, defaultp> f64mat2x4;
2062 
2065  typedef mat<3, 2, f64, defaultp> f64mat3x2;
2066 
2069  typedef mat<3, 3, f64, defaultp> f64mat3x3;
2070 
2073  typedef mat<3, 4, f64, defaultp> f64mat3x4;
2074 
2077  typedef mat<4, 2, f64, defaultp> f64mat4x2;
2078 
2081  typedef mat<4, 3, f64, defaultp> f64mat4x3;
2082 
2085  typedef mat<4, 4, f64, defaultp> f64mat4x4;
2086 
2087 # endif//GLM_FORCE_SINGLE_ONLY
2088 
2090  // Quaternion types
2091 
2094  typedef qua<f32, defaultp> f32quat;
2095 
2098  typedef qua<f32, lowp> lowp_f32quat;
2099 
2102  typedef qua<f64, lowp> lowp_f64quat;
2103 
2106  typedef qua<f32, mediump> mediump_f32quat;
2107 
2108 # ifndef GLM_FORCE_SINGLE_ONLY
2109 
2112  typedef qua<f64, mediump> mediump_f64quat;
2113 
2116  typedef qua<f32, highp> highp_f32quat;
2117 
2120  typedef qua<f64, highp> highp_f64quat;
2121 
2124  typedef qua<f64, defaultp> f64quat;
2125 
2126 # endif//GLM_FORCE_SINGLE_ONLY
2127 
2129 }//namespace glm
2130 
2131 #include "type_precision.inl"
double f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:166
+
vec< 2, i8, highp > highp_i8vec2
High qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:233
+
vec< 2, f32, mediump > mediump_f32vec2
Medium single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:452
+
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
+
vec< 4, i64, mediump > mediump_i64vec4
Medium qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:290
+
vec< 3, u16, defaultp > u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:361
+
vec< 1, i16, defaultp > i16vec1
16 bit signed integer scalar type.
Definition: fwd.hpp:257
+
mat< 3, 3, f32, lowp > lowp_f32mat3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:541
+
mat< 4, 4, f64, highp > highp_f64mat4x4
High double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:778
+
mat< 3, 3, f32, mediump > mediump_fmat3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:529
+
mat< 4, 2, f32, lowp > lowp_fmat4x2
Low single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:636
+
vec< 3, float, mediump > mediump_fvec3
Medium Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:433
+
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:114
+
mat< 2, 3, f32, highp > highp_fmat2x3
High single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:651
+
mat< 4, 3, f32, lowp > lowp_f32mat4x3
Low single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:677
+
double mediump_float64
Medium 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:169
+
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
Definition: fwd.hpp:815
+
vec< 1, u64, mediump > mediump_u64vec1
Medium qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:389
+
vec< 4, u8, highp > highp_u8vec4
High qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:337
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:502
+
vec< 3, u32, highp > highp_u32vec3
High qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:376
+
vec< 4, f64, highp > highp_f64vec4
High double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:499
+
int64 i64
64 bit signed integer type.
Definition: fwd.hpp:76
+
mat< 2, 3, f32, lowp > lowp_f32mat2x3
Low single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:671
+
mat< 4, 4, f32, defaultp > f32mat4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:554
+
int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:59
+
vec< 1, i16, highp > highp_i16vec1
High qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:252
+
mat< 3, 4, f32, mediump > mediump_f32mat3x4
Medium single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:685
+
vec< 3, i32, mediump > mediump_i32vec3
Medium qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:269
+
vec< 4, i16, highp > highp_i16vec4
High qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:255
+
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:95
+
vec< 3, i8, lowp > lowp_i8vec3
Low qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:224
+
vec< 4, i32, mediump > mediump_i32vec4
Medium qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:270
+
vec< 1, i8, lowp > lowp_i8vec1
Low qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:222
+
vec< 2, i64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:298
+
vec< 4, u16, lowp > lowp_u16vec4
Low qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:347
+
mat< 3, 4, f64, lowp > lowp_f64mat3x4
Low double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:755
+
vec< 1, u32, mediump > mediump_u32vec1
Medium qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:369
+
mat< 3, 3, f32, mediump > mediump_f32mat3x3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:684
+
mat< 4, 2, f32, mediump > mediump_f32mat4x2
Medium single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:686
+
mat< 3, 3, f32, lowp > lowp_fmat3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:525
+
vec< 3, u8, lowp > lowp_u8vec3
Low qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:326
+
mat< 2, 4, f32, lowp > lowp_f32mat2x4
Low single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:672
+
mat< 4, 2, f32, highp > highp_f32mat4x2
High single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:696
+
mat< 3, 3, f32, highp > highp_f32mat3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:549
+
mat< 3, 4, f64, mediump > mediump_f64mat3x4
Medium double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:765
+
mat< 4, 4, f32, lowp > lowp_fmat4x4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:638
+
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:444
+
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:40
+
vec< 2, i16, mediump > mediump_i16vec2
Medium qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:248
+
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:82
+
mat< 2, 4, f32, highp > highp_f32mat2x4
High single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:692
+
vec< 4, f32, highp > highp_f32vec4
High single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:459
+
mat< 2, 2, f32, mediump > mediump_fmat2x2
Medium single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:640
+
mat< 2, 2, f32, lowp > lowp_f32mat2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:540
+
vec< 2, f32, lowp > lowp_f32vec2
Low single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:447
+
mat< 3, 3, f32, defaultp > fmat3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:537
+
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
+
mat< 2, 2, f64, highp > highp_f64mat2x2
High double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:770
+
vec< 3, i64, lowp > lowp_i64vec3
Low qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:284
+
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:32
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
double float64
Double precision floating-point numbers.
+
mat< 2, 2, f32, lowp > lowp_fmat2x2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:630
+
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:98
+
int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:70
+
vec< 4, i8, lowp > lowp_i8vec4
Low qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:225
+
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:501
+
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:666
+
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:79
+
mat< 4, 3, f64, highp > highp_f64mat4x3
High double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:777
+
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:703
+
vec< 1, i32, mediump > mediump_i32vec1
Medium qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:267
+
vec< 3, i8, highp > highp_i8vec3
High qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:234
+
vec< 4, u32, highp > highp_u32vec4
High qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:377
+
double float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:176
+
vec< 3, i16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:259
+
mat< 4, 3, f32, highp > highp_fmat4x3
High single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:657
+
vec< 1, float, lowp > lowp_fvec1
Low single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:426
+
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:123
+
mat< 4, 4, f64, highp > highp_f64mat4
High double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:582
+
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:91
+
int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:78
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
mat< 2, 2, f64, highp > highp_f64mat2
High double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:580
+
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:112
+
mat< 3, 3, f32, highp > highp_fmat3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:533
+
vec< 2, float, highp > highp_fvec2
High Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:437
+
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:89
+
vec< 3, u32, lowp > lowp_u32vec3
Low qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:366
+
vec< 1, u64, lowp > lowp_u64vec1
Low qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:384
+
int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:84
+
mat< 2, 2, f64, lowp > lowp_f64mat2
Low double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:572
+
vec< 1, f64, lowp > lowp_f64vec1
Low double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:486
+
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:128
+
mat< 2, 4, f64, mediump > mediump_f64mat2x4
Medium double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:762
+
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:664
+
mat< 2, 3, f32, mediump > mediump_f32mat2x3
Medium single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:681
+
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:137
+
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:60
+
vec< 1, i64, defaultp > i64vec1
64 bit signed integer scalar type.
Definition: fwd.hpp:297
+
mat< 4, 4, f32, highp > highp_f32mat4x4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:698
+
float lowp_f32
Low 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:147
+
mat< 3, 2, f32, lowp > lowp_f32mat3x2
Low single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:673
+
mat< 2, 2, f64, defaultp > f64mat2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:584
+
mat< 2, 2, f32, highp > highp_fmat2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:532
+
vec< 2, f64, mediump > mediump_f64vec2
Medium double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:492
+
mat< 4, 4, f32, mediump > mediump_fmat4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:530
+
vec< 1, u32, defaultp > u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:379
+
vec< 1, f32, highp > highp_f32vec1
High single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:456
+
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:108
+
double highp_float64
High 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:170
+
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:100
+
int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:33
+
mat< 2, 2, f32, lowp > lowp_f32mat2x2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:670
+
float mediump_float32_t
Medium 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:158
+
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:661
+
int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:52
+
int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:47
+
float f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:150
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
mat< 3, 3, f32, mediump > mediump_f32mat3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:545
+
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:665
+
mat< 2, 4, f32, lowp > lowp_fmat2x4
Low single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:632
+
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
+
vec< 3, u8, mediump > mediump_u8vec3
Medium qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:331
+
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:701
+
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:126
+
double lowp_f64
Low 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:163
+
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:464
+
vec< 4, u16, mediump > mediump_u16vec4
Medium qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:352
+
vec< 3, float, lowp > lowp_fvec3
Low single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:428
+
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:132
+
vec< 1, i16, lowp > lowp_i16vec1
Low qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:242
+
mat< 3, 4, f32, mediump > mediump_fmat3x4
Medium single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:645
+
vec< 3, u32, mediump > mediump_u32vec3
Medium qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:371
+
double mediump_float64_t
Medium 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:174
+
mat< 3, 3, f32, highp > highp_f32mat3x3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:694
+
int16 i16
16 bit signed integer type.
Definition: fwd.hpp:48
+
mat< 3, 3, f32, mediump > mediump_fmat3x3
Medium single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:644
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
double mediump_f64
Medium 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:164
+
vec< 2, i64, highp > highp_i64vec2
High qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:293
+
vec< 4, i16, lowp > lowp_i16vec4
Low qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:245
+
vec< 1, u16, highp > highp_u16vec1
High qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:354
+
mat< 3, 3, f64, defaultp > f64mat3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:585
+
int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:56
+
vec< 4, i8, highp > highp_i8vec4
High qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:235
+
vec< 4, f64, lowp > lowp_f64vec4
Low double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:489
+
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:138
+
vec< 2, u32, highp > highp_u32vec2
High qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:375
+
qua< f32, highp > highp_f32quat
High single-qualifier floating-point quaternion.
Definition: fwd.hpp:804
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
mat< 2, 2, f64, lowp > lowp_f64mat2x2
Low double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:750
+
vec< 4, u8, mediump > mediump_u8vec4
Medium qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:332
+
vec< 4, float, lowp > lowp_fvec4
Low single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:429
+
mat< 4, 2, f64, lowp > lowp_f64mat4x2
Low double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:756
+
mat< 3, 4, f32, highp > highp_f32mat3x4
High single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:695
+
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:96
+
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:140
+
int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:66
+
mat< 2, 3, f32, lowp > lowp_fmat2x3
Low single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:631
+
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:708
+
vec< 1, i32, defaultp > i32vec1
32 bit signed integer scalar type.
Definition: fwd.hpp:277
+
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:104
+
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:69
+
vec< 4, u64, lowp > lowp_u64vec4
Low qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:387
+
qua< f64, highp > highp_f64quat
High double-qualifier floating-point quaternion.
Definition: fwd.hpp:814
+
mat< 3, 2, f64, mediump > mediump_f64mat3x2
Medium double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:763
+
int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:38
+
vec< 3, i64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:299
+
vec< 3, f64, highp > highp_f64vec3
High double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:498
+
vec< 1, f32, lowp > lowp_f32vec1
Low single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:446
+
vec< 3, u32, defaultp > u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:381
+
mat< 2, 3, f64, lowp > lowp_f64mat2x3
Low double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:751
+
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:785
+
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:705
+
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:462
+
mat< 4, 4, f32, mediump > mediump_f32mat4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:546
+
mat< 3, 4, f64, highp > highp_f64mat3x4
High double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:775
+
mat< 2, 2, f32, highp > highp_fmat2x2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:650
+
mat< 4, 2, f32, mediump > mediump_fmat4x2
Medium single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:646
+
mat< 3, 3, f64, highp > highp_f64mat3x3
High double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:774
+
mat< 4, 4, f32, mediump > mediump_f32mat4x4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:688
+
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:133
+
float highp_f32
High 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:149
+
vec< 4, i64, lowp > lowp_i64vec4
Low qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:285
+
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:782
+
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:663
+
double highp_float64_t
High 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:175
+
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:136
+
vec< 2, float, mediump > mediump_fvec2
Medium Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:432
+
mat< 4, 2, f32, highp > highp_fmat4x2
High single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:656
+
mat< 3, 2, f64, highp > highp_f64mat3x2
High double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:773
+
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:142
+
vec< 4, u32, defaultp > u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:382
+
mat< 4, 4, f32, lowp > lowp_fmat4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:526
+
float float32
Single precision floating-point numbers.
+
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:660
+
float mediump_f32
Medium 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:148
+
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
Definition: fwd.hpp:805
+
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:504
+
int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:31
+
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:783
+
mat< 4, 4, f64, mediump > mediump_f64mat4x4
Medium double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:768
+
vec< 1, f64, highp > highp_f64vec1
High double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:496
+
float lowp_float32
Low 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:152
+
mat< 2, 2, f32, defaultp > fmat2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:536
+
vec< 3, u64, defaultp > u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:401
+
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:784
+
vec< 2, u64, mediump > mediump_u64vec2
Medium qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:390
+
vec< 2, f32, highp > highp_f32vec2
High single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:457
+
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:702
+
vec< 4, f32, lowp > lowp_f32vec4
Low single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:449
+
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:83
+
vec< 3, u16, highp > highp_u16vec3
High qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:356
+
mat< 4, 4, f32, lowp > lowp_f32mat4x4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:678
+
vec< 1, u64, highp > highp_u64vec1
High qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:394
+
mat< 2, 2, f32, highp > highp_f32mat2x2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:690
+
vec< 2, u64, lowp > lowp_u64vec2
Low qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:385
+
mat< 3, 4, f32, highp > highp_fmat3x4
High single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:655
+
qua< f32, lowp > lowp_f32quat
Low single-qualifier floating-point quaternion.
Definition: fwd.hpp:802
+
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:74
+
mat< 3, 2, f32, highp > highp_f32mat3x2
High single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:693
+
int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:36
+
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:94
+
vec< 4, u64, defaultp > u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:402
+
vec< 4, u32, lowp > lowp_u32vec4
Low qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:367
+
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:124
+
vec< 4, u64, highp > highp_u64vec4
High qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:397
+
mat< 2, 2, f64, mediump > mediump_f64mat2
Medium double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:576
+
vec< 2, u16, lowp > lowp_u16vec2
Low qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:345
+
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:105
+
vec< 3, u64, highp > highp_u64vec3
High qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:396
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:73
+
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:46
+
vec< 3, u16, lowp > lowp_u16vec3
Low qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:346
+
vec< 2, i8, mediump > mediump_i8vec2
Medium qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:228
+
vec< 1, i64, highp > highp_i64vec1
High qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:292
+
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:41
+
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:110
+
int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:64
+
mat< 4, 4, f32, highp > highp_fmat4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:534
+
double lowp_float64_t
Low 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:173
+
mat< 4, 3, f64, mediump > mediump_f64mat4x3
Medium double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:767
+
mat< 4, 3, f32, mediump > mediump_f32mat4x3
Medium single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:687
+
mat< 2, 3, f64, mediump > mediump_f64mat2x3
Medium double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:761
+
vec< 1, i8, mediump > mediump_i8vec1
Medium qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:227
+
vec< 2, u16, highp > highp_u16vec2
High qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:355
+
float highp_float32_t
High 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:159
+
detail::uint64 uint64
64 bit unsigned integer type.
+
mat< 2, 3, f64, highp > highp_f64mat2x3
High double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:771
+
mat< 4, 2, f64, mediump > mediump_f64mat4x2
Medium double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:766
+
vec< 1, u32, highp > highp_u32vec1
High qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:374
+
vec< 3, i8, mediump > mediump_i8vec3
Medium qualifier 8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:229
+
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:704
+
vec< 4, i8, mediump > mediump_i8vec4
Medium qualifier 8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:230
+
vec< 2, float, lowp > lowp_fvec2
Low single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:427
+
vec< 1, i8, defaultp > i8vec1
8 bit signed integer scalar type.
Definition: fwd.hpp:237
+
mat< 4, 3, f64, lowp > lowp_f64mat4x3
Low double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:757
+
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:443
+
mat< 2, 2, f32, defaultp > f32mat2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:552
+
vec< 2, u16, mediump > mediump_u16vec2
Medium qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:350
+
mat< 4, 4, f64, lowp > lowp_f64mat4x4
Low double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:758
+
vec< 2, u8, lowp > lowp_u8vec2
Low qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:325
+
mat< 3, 3, f64, mediump > mediump_f64mat3
Medium double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:577
+
float float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:160
+
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:662
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:129
+
vec< 3, u8, highp > highp_u8vec3
High qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:336
+
vec< 3, float, highp > highp_fvec3
High Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:438
+
vec< 3, i32, highp > highp_i32vec3
High qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:274
+
vec< 1, i64, mediump > mediump_i64vec1
Medium qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:287
+
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:786
+
vec< 1, u8, lowp > lowp_u8vec1
Low qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:324
+
int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:85
+
vec< 1, i64, lowp > lowp_i64vec1
Low qualifier 64 bit signed integer scalar type.
Definition: fwd.hpp:282
+
vec< 2, i8, lowp > lowp_i8vec2
Low qualifier 8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:223
+
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:51
+
mat< 3, 3, f32, highp > highp_fmat3x3
High single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:654
+
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:131
+
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:668
+
vec< 3, f32, highp > highp_f32vec3
High single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:458
+
int8 i8
8 bit signed integer type.
Definition: fwd.hpp:34
+
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:141
+
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:109
+
mat< 2, 2, f32, mediump > mediump_f32mat2
Medium single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:544
+
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:706
+
vec< 4, float, mediump > mediump_fvec4
Medium Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:434
+
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:99
+
int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:45
+
int32 i32
32 bit signed integer type.
Definition: fwd.hpp:62
+
mat< 3, 2, f32, highp > highp_fmat3x2
High single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:653
+
vec< 1, u32, lowp > lowp_u32vec1
Low qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:364
+
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:101
+
mat< 3, 3, f32, lowp > lowp_fmat3x3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:634
+
vec< 4, float, highp > highp_fvec4
High Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:439
+
vec< 1, f32, mediump > mediump_f32vec1
Medium single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:451
+
vec< 2, f64, lowp > lowp_f64vec2
Low double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:487
+
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:781
+
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:55
+
mat< 2, 2, f64, mediump > mediump_f64mat2x2
Medium double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:760
+
int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:61
+
vec< 4, f64, mediump > mediump_f64vec4
Medium double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:494
+
int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:80
+
float lowp_float32_t
Low 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:157
+
mat< 2, 4, f32, mediump > mediump_fmat2x4
Medium single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:642
+
mat< 4, 4, f64, lowp > lowp_f64mat4
Low double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:574
+
mat< 4, 4, f32, highp > highp_fmat4x4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:658
+
vec< 4, i32, highp > highp_i32vec4
High qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:275
+
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:118
+
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:90
+
vec< 3, i16, highp > highp_i16vec3
High qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:254
+
vec< 4, i32, lowp > lowp_i32vec4
Low qualifier 32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:265
+
double highp_f64
High 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:165
+
mat< 4, 4, f32, mediump > mediump_fmat4x4
Medium single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:648
+
vec< 2, i64, lowp > lowp_i64vec2
Low qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:283
+
mat< 4, 3, f32, lowp > lowp_fmat4x3
Low single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:637
+
qua< f32, mediump > mediump_f32quat
Medium single-qualifier floating-point quaternion.
Definition: fwd.hpp:803
+
mat< 4, 3, f32, mediump > mediump_fmat4x3
Medium single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:647
+
vec< 1, u8, mediump > mediump_u8vec1
Medium qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:329
+
mat< 2, 4, f32, highp > highp_fmat2x4
High single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:652
+
vec< 3, u64, mediump > mediump_u64vec3
Medium qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:391
+
vec< 1, u64, defaultp > u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:399
+
vec< 1, f64, mediump > mediump_f64vec1
Medium double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:491
+
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:442
+
mat< 3, 3, f64, lowp > lowp_f64mat3
Low double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:573
+
mat< 4, 4, f32, lowp > lowp_f32mat4
Low single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:542
+
vec< 1, i32, highp > highp_i32vec1
High qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:272
+
mat< 2, 4, f64, highp > highp_f64mat2x4
High double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:772
+
vec< 1, u8, highp > highp_u8vec1
High qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:334
+
vec< 3, u64, lowp > lowp_u64vec3
Low qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:386
+
qua< f64, lowp > lowp_f64quat
Low double-qualifier floating-point quaternion.
Definition: fwd.hpp:812
+
detail::int64 int64
64 bit signed integer type.
+
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:667
+
mat< 3, 4, f32, lowp > lowp_f32mat3x4
Low single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:675
+
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:65
+
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:103
+
vec< 4, i64, highp > highp_i64vec4
High qualifier 64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:295
+
vec< 2, i64, mediump > mediump_i64vec2
Medium qualifier 64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:288
+
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:113
+
vec< 3, u8, defaultp > u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:341
+
vec< 4, u64, mediump > mediump_u64vec4
Medium qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:392
+
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:463
+
vec< 1, i32, lowp > lowp_i32vec1
Low qualifier 32 bit signed integer scalar type.
Definition: fwd.hpp:262
+
vec< 2, i16, highp > highp_i16vec2
High qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:253
+
vec< 4, i16, mediump > mediump_i16vec4
Medium qualifier 16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:250
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
vec< 4, i64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:300
+
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:441
+
vec< 3, i32, lowp > lowp_i32vec3
Low qualifier 32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:264
+
mat< 3, 2, f32, lowp > lowp_fmat3x2
Low single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:633
+
vec< 4, f32, mediump > mediump_f32vec4
Medium single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:454
+
vec< 2, i32, highp > highp_i32vec2
High qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:273
+
mat< 3, 3, f64, highp > highp_f64mat3
High double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:581
+
vec< 1, u8, defaultp > u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:339
+
mat< 4, 4, f32, defaultp > fmat4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:538
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:54
+
mat< 2, 4, f32, mediump > mediump_f32mat2x4
Medium single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:682
+
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:707
+
mat< 4, 4, f64, mediump > mediump_f64mat4
Medium double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:578
+
vec< 1, u16, lowp > lowp_u16vec1
Low qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:344
+
vec< 3, i8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:239
+
qua< f64, mediump > mediump_f64quat
Medium double-qualifier floating-point quaternion.
Definition: fwd.hpp:813
+
vec< 3, f32, lowp > lowp_f32vec3
Low single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:448
+
mat< 3, 3, f64, lowp > lowp_f64mat3x3
Low double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:754
+
int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:50
+
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:503
+
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:143
+
double lowp_float64
Low 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:168
+
mat< 2, 2, f32, mediump > mediump_fmat2
Medium single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:528
+
vec< 3, f32, mediump > mediump_f32vec3
Medium single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:453
+
mat< 3, 3, f32, defaultp > f32mat3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:553
+
vec< 3, f64, mediump > mediump_f64vec3
Medium double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:493
+
mat< 2, 3, f32, highp > highp_f32mat2x3
High single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:691
+
vec< 1, u16, defaultp > u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:359
+
mat< 2, 2, f32, highp > highp_f32mat2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:548
+
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:461
+
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:68
+
mat< 3, 4, f32, lowp > lowp_fmat3x4
Low single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:635
+
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:780
+
vec< 2, u32, mediump > mediump_u32vec2
Medium qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:370
+
mat< 2, 4, f64, lowp > lowp_f64mat2x4
Low double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:752
+
mat< 4, 2, f32, lowp > lowp_f32mat4x2
Low single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:676
+
vec< 2, u8, mediump > mediump_u8vec2
Medium qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:330
+
vec< 2, f64, highp > highp_f64vec2
High double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:497
+
vec< 2, u64, defaultp > u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:400
+
vec< 4, u16, highp > highp_u16vec4
High qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:357
+
vec< 1, float, highp > highp_fvec1
High single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:436
+
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:119
+
Definition: common.hpp:20
+
vec< 1, u16, mediump > mediump_u16vec1
Medium qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:349
+
mat< 4, 4, f64, defaultp > f64mat4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:586
+
vec< 2, i32, lowp > lowp_i32vec2
Low qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:263
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:115
+
float mediump_float32
Medium 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:153
+
vec< 3, i32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:279
+
vec< 1, i8, highp > highp_i8vec1
High qualifier 8 bit signed integer scalar type.
Definition: fwd.hpp:232
+
mat< 2, 2, f32, lowp > lowp_fmat2
Low single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:524
+
vec< 2, u32, lowp > lowp_u32vec2
Low qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:365
+
mat< 4, 3, f32, highp > highp_f32mat4x3
High single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:697
+
vec< 4, u8, lowp > lowp_u8vec4
Low qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:327
+
mat< 4, 4, f32, highp > highp_f32mat4
High single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:550
+
vec< 1, float, mediump > mediump_fvec1
Medium single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:431
+
int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:42
+
mat< 2, 3, f32, mediump > mediump_fmat2x3
Medium single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:641
+
vec< 3, i16, lowp > lowp_i16vec3
Low qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:244
+
vec< 2, i32, mediump > mediump_i32vec2
Medium qualifier 32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:268
+
vec< 3, i16, mediump > mediump_i16vec3
Medium qualifier 16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:249
+
mat< 3, 2, f32, mediump > mediump_fmat3x2
Medium single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:643
+
vec< 2, u64, highp > highp_u64vec2
High qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:395
+
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:117
+
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:788
+
vec< 3, i64, mediump > mediump_i64vec3
Medium qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:289
+
mat< 3, 3, f32, lowp > lowp_f32mat3x3
Low single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:674
+
vec< 3, i64, highp > highp_i64vec3
High qualifier 64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:294
+
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:127
+
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:122
+
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:700
+
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:37
+
mat< 3, 2, f64, lowp > lowp_f64mat3x2
Low double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:753
+
vec< 4, u32, mediump > mediump_u32vec4
Medium qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:372
+
mat< 4, 2, f64, highp > highp_f64mat4x2
High double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:776
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
mat< 2, 2, f32, mediump > mediump_f32mat2x2
High single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:680
+
mat< 3, 3, f64, mediump > mediump_f64mat3x3
Medium double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:764
+
vec< 1, i16, mediump > mediump_i16vec1
Medium qualifier 16 bit signed integer scalar type.
Definition: fwd.hpp:247
+
vec< 3, u16, mediump > mediump_u16vec3
Medium qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:351
+
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:787
+
vec< 2, u8, highp > highp_u8vec2
High qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:335
+
vec< 4, i32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:280
+
float highp_float32
High 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:154
+
vec< 2, i16, lowp > lowp_i16vec2
Low qualifier 16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:243
+
vec< 3, f64, lowp > lowp_f64vec3
Low double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:488
+
int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:75
+
mat< 3, 2, f32, mediump > mediump_f32mat3x2
Medium single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:683
+
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
+
+ + + + diff --git a/doc/api/a00437.html b/doc/api/a00437.html new file mode 100644 index 00000000..99ec49d4 --- /dev/null +++ b/doc/api/a00437.html @@ -0,0 +1,195 @@ + + + + + + + +0.9.9 API documenation: type_ptr.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
type_ptr.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2x2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 3, T, defaultp > make_mat2x3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 4, T, defaultp > make_mat2x4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 2, T, defaultp > make_mat3x2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3x3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 4, T, defaultp > make_mat3x4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 2, T, defaultp > make_mat4x2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 3, T, defaultp > make_mat4x3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4x4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL qua< T, defaultp > make_quat (T const *const ptr)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 4, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 4, T, Q > const &v)
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > make_vec2 (T const *const ptr)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 4, T, Q > const &v)
 
template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > make_vec3 (T const *const ptr)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 4, T, Q > const &v)
 
template<typename T >
GLM_FUNC_DECL vec< 4, T, defaultp > make_vec4 (T const *const ptr)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type const * value_ptr (genType const &v)
 
+

Detailed Description

+

GLM_GTC_type_ptr

+
See also
Core features (dependence)
+
+GLM_GTC_quaternion (dependence)
+ +

Definition in file type_ptr.hpp.

+
+ + + + diff --git a/doc/api/a00437_source.html b/doc/api/a00437_source.html new file mode 100644 index 00000000..2febf269 --- /dev/null +++ b/doc/api/a00437_source.html @@ -0,0 +1,100 @@ + + + + + + + +0.9.9 API documenation: type_ptr.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
type_ptr.hpp
+
+
+Go to the documentation of this file.
1 
34 #pragma once
35 
36 // Dependency:
37 #include "../gtc/quaternion.hpp"
38 #include "../gtc/vec1.hpp"
39 #include "../vec2.hpp"
40 #include "../vec3.hpp"
41 #include "../vec4.hpp"
42 #include "../mat2x2.hpp"
43 #include "../mat2x3.hpp"
44 #include "../mat2x4.hpp"
45 #include "../mat3x2.hpp"
46 #include "../mat3x3.hpp"
47 #include "../mat3x4.hpp"
48 #include "../mat4x2.hpp"
49 #include "../mat4x3.hpp"
50 #include "../mat4x4.hpp"
51 #include <cstring>
52 
53 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
54 # pragma message("GLM: GLM_GTC_type_ptr extension included")
55 #endif
56 
57 namespace glm
58 {
61 
64  template<typename genType>
65  GLM_FUNC_DECL typename genType::value_type const * value_ptr(genType const& v);
66 
69  template <typename T, qualifier Q>
70  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<1, T, Q> const& v);
71 
74  template <typename T, qualifier Q>
75  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<2, T, Q> const& v);
76 
79  template <typename T, qualifier Q>
80  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<3, T, Q> const& v);
81 
84  template <typename T, qualifier Q>
85  GLM_FUNC_DECL vec<1, T, Q> make_vec1(vec<4, T, Q> const& v);
86 
89  template <typename T, qualifier Q>
90  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<1, T, Q> const& v);
91 
94  template <typename T, qualifier Q>
95  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<2, T, Q> const& v);
96 
99  template <typename T, qualifier Q>
100  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<3, T, Q> const& v);
101 
104  template <typename T, qualifier Q>
105  GLM_FUNC_DECL vec<2, T, Q> make_vec2(vec<4, T, Q> const& v);
106 
109  template <typename T, qualifier Q>
110  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<1, T, Q> const& v);
111 
114  template <typename T, qualifier Q>
115  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<2, T, Q> const& v);
116 
119  template <typename T, qualifier Q>
120  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<3, T, Q> const& v);
121 
124  template <typename T, qualifier Q>
125  GLM_FUNC_DECL vec<3, T, Q> make_vec3(vec<4, T, Q> const& v);
126 
129  template <typename T, qualifier Q>
130  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<1, T, Q> const& v);
131 
134  template <typename T, qualifier Q>
135  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<2, T, Q> const& v);
136 
139  template <typename T, qualifier Q>
140  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<3, T, Q> const& v);
141 
144  template <typename T, qualifier Q>
145  GLM_FUNC_DECL vec<4, T, Q> make_vec4(vec<4, T, Q> const& v);
146 
149  template<typename T>
150  GLM_FUNC_DECL vec<2, T, defaultp> make_vec2(T const * const ptr);
151 
154  template<typename T>
155  GLM_FUNC_DECL vec<3, T, defaultp> make_vec3(T const * const ptr);
156 
159  template<typename T>
160  GLM_FUNC_DECL vec<4, T, defaultp> make_vec4(T const * const ptr);
161 
164  template<typename T>
165  GLM_FUNC_DECL mat<2, 2, T, defaultp> make_mat2x2(T const * const ptr);
166 
169  template<typename T>
170  GLM_FUNC_DECL mat<2, 3, T, defaultp> make_mat2x3(T const * const ptr);
171 
174  template<typename T>
175  GLM_FUNC_DECL mat<2, 4, T, defaultp> make_mat2x4(T const * const ptr);
176 
179  template<typename T>
180  GLM_FUNC_DECL mat<3, 2, T, defaultp> make_mat3x2(T const * const ptr);
181 
184  template<typename T>
185  GLM_FUNC_DECL mat<3, 3, T, defaultp> make_mat3x3(T const * const ptr);
186 
189  template<typename T>
190  GLM_FUNC_DECL mat<3, 4, T, defaultp> make_mat3x4(T const * const ptr);
191 
194  template<typename T>
195  GLM_FUNC_DECL mat<4, 2, T, defaultp> make_mat4x2(T const * const ptr);
196 
199  template<typename T>
200  GLM_FUNC_DECL mat<4, 3, T, defaultp> make_mat4x3(T const * const ptr);
201 
204  template<typename T>
205  GLM_FUNC_DECL mat<4, 4, T, defaultp> make_mat4x4(T const * const ptr);
206 
209  template<typename T>
210  GLM_FUNC_DECL mat<2, 2, T, defaultp> make_mat2(T const * const ptr);
211 
214  template<typename T>
215  GLM_FUNC_DECL mat<3, 3, T, defaultp> make_mat3(T const * const ptr);
216 
219  template<typename T>
220  GLM_FUNC_DECL mat<4, 4, T, defaultp> make_mat4(T const * const ptr);
221 
224  template<typename T>
225  GLM_FUNC_DECL qua<T, defaultp> make_quat(T const * const ptr);
226 
228 }//namespace glm
229 
230 #include "type_ptr.inl"
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4x4(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL genType::value_type const * value_ptr(genType const &v)
Return the constant address to the data of the input parameter.
+
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2x2(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL vec< 1, T, Q > make_vec1(vec< 4, T, Q > const &v)
Build a vector from a pointer.
+
GLM_FUNC_DECL mat< 2, 4, T, defaultp > make_mat2x4(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 3, 4, T, defaultp > make_mat3x4(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL vec< 4, T, defaultp > make_vec4(T const *const ptr)
Build a vector from a pointer.
+
GLM_FUNC_DECL mat< 4, 2, T, defaultp > make_mat4x2(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3x3(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL qua< T, defaultp > make_quat(T const *const ptr)
Build a quaternion from a pointer.
+
GLM_FUNC_DECL vec< 2, T, defaultp > make_vec2(T const *const ptr)
Build a vector from a pointer.
+
GLM_FUNC_DECL vec< 3, T, defaultp > make_vec3(T const *const ptr)
Build a vector from a pointer.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL mat< 2, 3, T, defaultp > make_mat2x3(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 4, 3, T, defaultp > make_mat4x3(T const *const ptr)
Build a matrix from a pointer.
+
GLM_FUNC_DECL mat< 3, 2, T, defaultp > make_mat3x2(T const *const ptr)
Build a matrix from a pointer.
+
+ + + + diff --git a/doc/api/a00126.html b/doc/api/a00440.html similarity index 58% rename from doc/api/a00126.html rename to doc/api/a00440.html index 6936a816..3023bc6a 100644 --- a/doc/api/a00126.html +++ b/doc/api/a00440.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: ulp.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,49 +73,40 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_ulp -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL uint float_distance (T const &x, T const &y)
 Return the distance in the number of ULP between 2 scalars. More...
GLM_FUNC_DECL uint float_distance (T const &x, T const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, uint, Q > float_distance (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 Return the distance in the number of ULP between 2 vectors. More...
GLM_FUNC_DECL vec< 2, uint, Q > float_distance (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL genType next_float (genType const &x)
 Return the next ULP value(s) after the input value(s). More...
GLM_FUNC_DECL genType next_float (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType next_float (genType const &x, uint const &Distance)
 Return the value(s) ULP distance after the input value(s). More...
GLM_FUNC_DECL genType next_float (genType const &x, uint const &Distance)
 
template<typename genType >
GLM_FUNC_DECL genType prev_float (genType const &x)
 Return the previous ULP value(s) before the input value(s). More...
GLM_FUNC_DECL genType prev_float (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType prev_float (genType const &x, uint const &Distance)
 Return the value(s) ULP distance before the input value(s). More...
GLM_FUNC_DECL genType prev_float (genType const &x, uint const &Distance)
 

Detailed Description

-

GLM_GTC_ulp

-
See also
Core features (dependence)
+

GLM_GTC_ulp

+
See also
Core features (dependence)
-

Definition in file ulp.hpp.

+

Definition in file ulp.hpp.

diff --git a/doc/api/a00440_source.html b/doc/api/a00440_source.html new file mode 100644 index 00000000..a7825a9b --- /dev/null +++ b/doc/api/a00440_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: ulp.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ulp.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../gtc/constants.hpp"
19 #include "../ext/vector_relational.hpp"
20 
21 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTC_ulp extension included")
23 #endif
24 
25 namespace glm
26 {
29 
32  template<typename genType>
33  GLM_FUNC_DECL genType next_float(genType const& x);
34 
37  template<typename genType>
38  GLM_FUNC_DECL genType prev_float(genType const& x);
39 
42  template<typename genType>
43  GLM_FUNC_DECL genType next_float(genType const& x, uint const& Distance);
44 
47  template<typename genType>
48  GLM_FUNC_DECL genType prev_float(genType const& x, uint const& Distance);
49 
52  template<typename T>
53  GLM_FUNC_DECL uint float_distance(T const& x, T const& y);
54 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL vec<2, uint, Q> float_distance(vec<2, T, Q> const& x, vec<2, T, Q> const& y);
59 
61 }// namespace glm
62 
63 #include "ulp.inl"
GLM_FUNC_DECL vec< 2, uint, Q > float_distance(vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
Return the distance in the number of ULP between 2 vectors.
+
GLM_FUNC_DECL genType prev_float(genType const &x, uint const &Distance)
Return the value(s) ULP distance before the input value(s).
+
GLM_FUNC_DECL genType next_float(genType const &x, uint const &Distance)
Return the value(s) ULP distance after the input value(s).
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00443.html b/doc/api/a00443.html new file mode 100644 index 00000000..d876c903 --- /dev/null +++ b/doc/api/a00443.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: vec1.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec1.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

GLM_GTC_vec1

+
See also
Core features (dependence)
+ +

Definition in file vec1.hpp.

+
+ + + + diff --git a/doc/api/a00443_source.html b/doc/api/a00443_source.html new file mode 100644 index 00000000..6c626652 --- /dev/null +++ b/doc/api/a00443_source.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: vec1.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec1.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../ext/vector_bool1.hpp"
17 #include "../ext/vector_bool1_precision.hpp"
18 #include "../ext/vector_float1.hpp"
19 #include "../ext/vector_float1_precision.hpp"
20 #include "../ext/vector_double1.hpp"
21 #include "../ext/vector_double1_precision.hpp"
22 #include "../ext/vector_int1.hpp"
23 #include "../ext/vector_int1_precision.hpp"
24 #include "../ext/vector_uint1.hpp"
25 #include "../ext/vector_uint1_precision.hpp"
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTC_vec1 extension included")
29 #endif
30 
+ + + + diff --git a/doc/api/a00007.html b/doc/api/a00446.html similarity index 62% rename from doc/api/a00007.html rename to doc/api/a00446.html index 29a18147..047bfc44 100644 --- a/doc/api/a00007.html +++ b/doc/api/a00446.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: associated_min_max.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,115 +73,90 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_associated_min_max -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , typename U >
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 2, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< 2, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c, T w, U d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c, T w, U d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 2, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< 2, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, const vec< L, U, Q > &a, T y, const vec< L, U, Q > &b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, const vec< L, U, Q > &a, T y, const vec< L, U, Q > &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c)
 Minimum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 Minimum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c, T w, U d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c, T w, U d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 

Detailed Description

-

GLM_GTX_associated_min_max

-
See also
Core features (dependence)
+

GLM_GTX_associated_min_max

+
See also
Core features (dependence)
gtx_extented_min_max (dependence)
-

Definition in file associated_min_max.hpp.

+

Definition in file associated_min_max.hpp.

diff --git a/doc/api/a00446_source.html b/doc/api/a00446_source.html new file mode 100644 index 00000000..fbb71c48 --- /dev/null +++ b/doc/api/a00446_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: associated_min_max.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
associated_min_max.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GTX_associated_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_associated_min_max extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename T, typename U, qualifier Q>
35  GLM_FUNC_DECL U associatedMin(T x, U a, T y, U b);
36 
39  template<length_t L, typename T, typename U, qualifier Q>
40  GLM_FUNC_DECL vec<2, U, Q> associatedMin(
41  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
42  vec<L, T, Q> const& y, vec<L, U, Q> const& b);
43 
46  template<length_t L, typename T, typename U, qualifier Q>
47  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
48  T x, const vec<L, U, Q>& a,
49  T y, const vec<L, U, Q>& b);
50 
53  template<length_t L, typename T, typename U, qualifier Q>
54  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
55  vec<L, T, Q> const& x, U a,
56  vec<L, T, Q> const& y, U b);
57 
60  template<typename T, typename U>
61  GLM_FUNC_DECL U associatedMin(
62  T x, U a,
63  T y, U b,
64  T z, U c);
65 
68  template<length_t L, typename T, typename U, qualifier Q>
69  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
70  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
71  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
72  vec<L, T, Q> const& z, vec<L, U, Q> const& c);
73 
76  template<typename T, typename U>
77  GLM_FUNC_DECL U associatedMin(
78  T x, U a,
79  T y, U b,
80  T z, U c,
81  T w, U d);
82 
85  template<length_t L, typename T, typename U, qualifier Q>
86  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
87  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
88  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
89  vec<L, T, Q> const& z, vec<L, U, Q> const& c,
90  vec<L, T, Q> const& w, vec<L, U, Q> const& d);
91 
94  template<length_t L, typename T, typename U, qualifier Q>
95  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
96  T x, vec<L, U, Q> const& a,
97  T y, vec<L, U, Q> const& b,
98  T z, vec<L, U, Q> const& c,
99  T w, vec<L, U, Q> const& d);
100 
103  template<length_t L, typename T, typename U, qualifier Q>
104  GLM_FUNC_DECL vec<L, U, Q> associatedMin(
105  vec<L, T, Q> const& x, U a,
106  vec<L, T, Q> const& y, U b,
107  vec<L, T, Q> const& z, U c,
108  vec<L, T, Q> const& w, U d);
109 
112  template<typename T, typename U>
113  GLM_FUNC_DECL U associatedMax(T x, U a, T y, U b);
114 
117  template<length_t L, typename T, typename U, qualifier Q>
118  GLM_FUNC_DECL vec<2, U, Q> associatedMax(
119  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
120  vec<L, T, Q> const& y, vec<L, U, Q> const& b);
121 
124  template<length_t L, typename T, typename U, qualifier Q>
125  GLM_FUNC_DECL vec<L, T, Q> associatedMax(
126  T x, vec<L, U, Q> const& a,
127  T y, vec<L, U, Q> const& b);
128 
131  template<length_t L, typename T, typename U, qualifier Q>
132  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
133  vec<L, T, Q> const& x, U a,
134  vec<L, T, Q> const& y, U b);
135 
138  template<typename T, typename U>
139  GLM_FUNC_DECL U associatedMax(
140  T x, U a,
141  T y, U b,
142  T z, U c);
143 
146  template<length_t L, typename T, typename U, qualifier Q>
147  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
148  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
149  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
150  vec<L, T, Q> const& z, vec<L, U, Q> const& c);
151 
154  template<length_t L, typename T, typename U, qualifier Q>
155  GLM_FUNC_DECL vec<L, T, Q> associatedMax(
156  T x, vec<L, U, Q> const& a,
157  T y, vec<L, U, Q> const& b,
158  T z, vec<L, U, Q> const& c);
159 
162  template<length_t L, typename T, typename U, qualifier Q>
163  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
164  vec<L, T, Q> const& x, U a,
165  vec<L, T, Q> const& y, U b,
166  vec<L, T, Q> const& z, U c);
167 
170  template<typename T, typename U>
171  GLM_FUNC_DECL U associatedMax(
172  T x, U a,
173  T y, U b,
174  T z, U c,
175  T w, U d);
176 
179  template<length_t L, typename T, typename U, qualifier Q>
180  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
181  vec<L, T, Q> const& x, vec<L, U, Q> const& a,
182  vec<L, T, Q> const& y, vec<L, U, Q> const& b,
183  vec<L, T, Q> const& z, vec<L, U, Q> const& c,
184  vec<L, T, Q> const& w, vec<L, U, Q> const& d);
185 
188  template<length_t L, typename T, typename U, qualifier Q>
189  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
190  T x, vec<L, U, Q> const& a,
191  T y, vec<L, U, Q> const& b,
192  T z, vec<L, U, Q> const& c,
193  T w, vec<L, U, Q> const& d);
194 
197  template<length_t L, typename T, typename U, qualifier Q>
198  GLM_FUNC_DECL vec<L, U, Q> associatedMax(
199  vec<L, T, Q> const& x, U a,
200  vec<L, T, Q> const& y, U b,
201  vec<L, T, Q> const& z, U c,
202  vec<L, T, Q> const& w, U d);
203 
205 } //namespace glm
206 
207 #include "associated_min_max.inl"
GLM_FUNC_DECL vec< L, U, Q > associatedMin(vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
Minimum comparison between 4 variables and returns 4 associated variable values.
+
GLM_FUNC_DECL vec< L, U, Q > associatedMax(vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
Maximum comparison between 4 variables and returns 4 associated variable values.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00008.html b/doc/api/a00449.html similarity index 61% rename from doc/api/a00008.html rename to doc/api/a00449.html index 0149e36f..0f6ea70f 100644 --- a/doc/api/a00008.html +++ b/doc/api/a00449.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: bit.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,59 +73,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_bit -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- + - - + - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genIUType >
GLM_FUNC_DECL genIUType highestBitValue (genIUType Value)
GLM_FUNC_DECL genIUType highestBitValue (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > highestBitValue (vec< L, T, Q > const &value)
 Find the highest bit set to 1 in a integer variable and return its value. More...
GLM_FUNC_DECL vec< L, T, Q > highestBitValue (vec< L, T, Q > const &value)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType lowestBitValue (genIUType Value)
GLM_FUNC_DECL genIUType lowestBitValue (genIUType Value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove (genIUType Value)
 Return the power of two number which value is just higher the input value. More...
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoAbove (vec< L, T, Q > const &value)
 Return the power of two number which value is just higher the input value. More...
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoAbove (vec< L, T, Q > const &value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow (genIUType Value)
 Return the power of two number which value is just lower the input value. More...
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoBelow (vec< L, T, Q > const &value)
 Return the power of two number which value is just lower the input value. More...
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoBelow (vec< L, T, Q > const &value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest (genIUType Value)
 Return the power of two number which value is the closet to the input value. More...
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoNearest (vec< L, T, Q > const &value)
 Return the power of two number which value is the closet to the input value. More...
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoNearest (vec< L, T, Q > const &value)
 

Detailed Description

-

GLM_GTX_bit

-
See also
Core features (dependence)
+

GLM_GTX_bit

+
See also
Core features (dependence)
-

Definition in file bit.hpp.

+

Definition in file bit.hpp.

diff --git a/doc/api/a00449_source.html b/doc/api/a00449_source.html new file mode 100644 index 00000000..48839230 --- /dev/null +++ b/doc/api/a00449_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: bit.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
bit.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../gtc/bitfield.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_bit is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_bit extension is deprecated, include GLM_GTC_bitfield and GLM_GTC_integer instead")
24 #endif
25 
26 namespace glm
27 {
30 
32  template<typename genIUType>
33  GLM_FUNC_DECL genIUType highestBitValue(genIUType Value);
34 
36  template<typename genIUType>
37  GLM_FUNC_DECL genIUType lowestBitValue(genIUType Value);
38 
42  template<length_t L, typename T, qualifier Q>
43  GLM_FUNC_DECL vec<L, T, Q> highestBitValue(vec<L, T, Q> const& value);
44 
50  template<typename genIUType>
51  GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove(genIUType Value);
52 
58  template<length_t L, typename T, qualifier Q>
59  GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoAbove(vec<L, T, Q> const& value);
60 
66  template<typename genIUType>
67  GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow(genIUType Value);
68 
74  template<length_t L, typename T, qualifier Q>
75  GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoBelow(vec<L, T, Q> const& value);
76 
82  template<typename genIUType>
83  GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest(genIUType Value);
84 
90  template<length_t L, typename T, qualifier Q>
91  GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> powerOfTwoNearest(vec<L, T, Q> const& value);
92 
94 } //namespace glm
95 
96 
97 #include "bit.inl"
98 
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoNearest(vec< L, T, Q > const &value)
Return the power of two number which value is the closet to the input value.
+
GLM_FUNC_DECL vec< L, T, Q > highestBitValue(vec< L, T, Q > const &value)
Find the highest bit set to 1 in a integer variable and return its value.
+
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoAbove(vec< L, T, Q > const &value)
Return the power of two number which value is just higher the input value.
+
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoBelow(vec< L, T, Q > const &value)
Return the power of two number which value is just lower the input value.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL genIUType lowestBitValue(genIUType Value)
+
+ + + + diff --git a/doc/api/a00010.html b/doc/api/a00452.html similarity index 57% rename from doc/api/a00010.html rename to doc/api/a00452.html index 81745194..499beab6 100644 --- a/doc/api/a00010.html +++ b/doc/api/a00452.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: closest_point.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,34 +73,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_closest_point -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > closestPointOnLine (vec< 3, T, Q > const &point, vec< 3, T, Q > const &a, vec< 3, T, Q > const &b)
 Find the point on a straight line which is the closet of a point. More...
GLM_FUNC_DECL vec< 3, T, Q > closestPointOnLine (vec< 3, T, Q > const &point, vec< 3, T, Q > const &a, vec< 3, T, Q > const &b)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > closestPointOnLine (vec< 2, T, Q > const &point, vec< 2, T, Q > const &a, vec< 2, T, Q > const &b)
 2d lines work as well
GLM_FUNC_DECL vec< 2, T, Q > closestPointOnLine (vec< 2, T, Q > const &point, vec< 2, T, Q > const &a, vec< 2, T, Q > const &b)
 

Detailed Description

-

GLM_GTX_closest_point

-
See also
Core features (dependence)
+

GLM_GTX_closest_point

+
See also
Core features (dependence)
-

Definition in file closest_point.hpp.

+

Definition in file closest_point.hpp.

diff --git a/doc/api/a00452_source.html b/doc/api/a00452_source.html new file mode 100644 index 00000000..4e7b985b --- /dev/null +++ b/doc/api/a00452_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: closest_point.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
closest_point.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_closest_point is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_closest_point extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL vec<3, T, Q> closestPointOnLine(
35  vec<3, T, Q> const& point,
36  vec<3, T, Q> const& a,
37  vec<3, T, Q> const& b);
38 
40  template<typename T, qualifier Q>
41  GLM_FUNC_DECL vec<2, T, Q> closestPointOnLine(
42  vec<2, T, Q> const& point,
43  vec<2, T, Q> const& a,
44  vec<2, T, Q> const& b);
45 
47 }// namespace glm
48 
49 #include "closest_point.inl"
GLM_FUNC_DECL vec< 2, T, Q > closestPointOnLine(vec< 2, T, Q > const &point, vec< 2, T, Q > const &a, vec< 2, T, Q > const &b)
2d lines work as well
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00011.html b/doc/api/a00455.html similarity index 56% rename from doc/api/a00011.html rename to doc/api/a00455.html index 1641778d..b0e8ff28 100644 --- a/doc/api/a00011.html +++ b/doc/api/a00455.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: color_encoding.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,47 +73,40 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_color_encoding -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - - + - - - + - - - + - - - +

Functions

+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ (vec< 3, T, Q > const &ColorD65XYZ)
 Convert a D65 YUV color to D50 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ (vec< 3, T, Q > const &ColorD65XYZ)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB (vec< 3, T, Q > const &ColorD65XYZ)
 Convert a D65 YUV color to linear sRGB.
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB (vec< 3, T, Q > const &ColorD65XYZ)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 Convert a linear sRGB color to D50 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 Convert a linear sRGB color to D65 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 

Detailed Description

-

GLM_GTX_color_encoding

-
See also
Core features (dependence)
+

GLM_GTX_color_encoding

+
See also
Core features (dependence)
-GLM_GTX_color_encoding (dependence)
+GLM_GTX_color_encoding (dependence)
-

Definition in file color_encoding.hpp.

+

Definition in file color_encoding.hpp.

diff --git a/doc/api/a00455_source.html b/doc/api/a00455_source.html new file mode 100644 index 00000000..409b3157 --- /dev/null +++ b/doc/api/a00455_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: color_encoding.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
color_encoding.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../vec3.hpp"
20 #include <limits>
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTC_color_encoding extension included")
24 #endif
25 
26 namespace glm
27 {
30 
32  template<typename T, qualifier Q>
33  GLM_FUNC_DECL vec<3, T, Q> convertLinearSRGBToD65XYZ(vec<3, T, Q> const& ColorLinearSRGB);
34 
36  template<typename T, qualifier Q>
37  GLM_FUNC_DECL vec<3, T, Q> convertLinearSRGBToD50XYZ(vec<3, T, Q> const& ColorLinearSRGB);
38 
40  template<typename T, qualifier Q>
41  GLM_FUNC_DECL vec<3, T, Q> convertD65XYZToLinearSRGB(vec<3, T, Q> const& ColorD65XYZ);
42 
44  template<typename T, qualifier Q>
45  GLM_FUNC_DECL vec<3, T, Q> convertD65XYZToD50XYZ(vec<3, T, Q> const& ColorD65XYZ);
46 
48 } //namespace glm
49 
50 #include "color_encoding.inl"
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ(vec< 3, T, Q > const &ColorD65XYZ)
Convert a D65 YUV color to D50 YUV.
+
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB(vec< 3, T, Q > const &ColorD65XYZ)
Convert a D65 YUV color to linear sRGB.
+
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ(vec< 3, T, Q > const &ColorLinearSRGB)
Convert a linear sRGB color to D50 YUV.
+
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ(vec< 3, T, Q > const &ColorLinearSRGB)
Convert a linear sRGB color to D65 YUV.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00014.html b/doc/api/a00458.html similarity index 58% rename from doc/api/a00014.html rename to doc/api/a00458.html index d516e8bd..7d462e79 100644 --- a/doc/api/a00014.html +++ b/doc/api/a00458.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: color_space_YCoCg.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,41 +73,34 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_color_space_YCoCg -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCg (vec< 3, T, Q > const &rgbColor)
 Convert a color from RGB color space to YCoCg color space. More...
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCg (vec< 3, T, Q > const &rgbColor)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCgR (vec< 3, T, Q > const &rgbColor)
 Convert a color from RGB color space to YCoCgR color space. More...
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCgR (vec< 3, T, Q > const &rgbColor)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > YCoCg2rgb (vec< 3, T, Q > const &YCoCgColor)
 Convert a color from YCoCg color space to RGB color space. More...
GLM_FUNC_DECL vec< 3, T, Q > YCoCg2rgb (vec< 3, T, Q > const &YCoCgColor)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > YCoCgR2rgb (vec< 3, T, Q > const &YCoCgColor)
 Convert a color from YCoCgR color space to RGB color space. More...
GLM_FUNC_DECL vec< 3, T, Q > YCoCgR2rgb (vec< 3, T, Q > const &YCoCgColor)
 

Detailed Description

-

GLM_GTX_color_space_YCoCg

-
See also
Core features (dependence)
+

GLM_GTX_color_space_YCoCg

+
See also
Core features (dependence)
-

Definition in file color_space_YCoCg.hpp.

+

Definition in file color_space_YCoCg.hpp.

diff --git a/doc/api/a00458_source.html b/doc/api/a00458_source.html new file mode 100644 index 00000000..bd5b3de2 --- /dev/null +++ b/doc/api/a00458_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: color_space_YCoCg.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
color_space_YCoCg.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_color_space_YCoCg is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_color_space_YCoCg extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL vec<3, T, Q> rgb2YCoCg(
35  vec<3, T, Q> const& rgbColor);
36 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL vec<3, T, Q> YCoCg2rgb(
41  vec<3, T, Q> const& YCoCgColor);
42 
46  template<typename T, qualifier Q>
47  GLM_FUNC_DECL vec<3, T, Q> rgb2YCoCgR(
48  vec<3, T, Q> const& rgbColor);
49 
53  template<typename T, qualifier Q>
54  GLM_FUNC_DECL vec<3, T, Q> YCoCgR2rgb(
55  vec<3, T, Q> const& YCoCgColor);
56 
58 }//namespace glm
59 
60 #include "color_space_YCoCg.inl"
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCgR(vec< 3, T, Q > const &rgbColor)
Convert a color from RGB color space to YCoCgR color space.
+
GLM_FUNC_DECL vec< 3, T, Q > rgbColor(vec< 3, T, Q > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.
+
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCg(vec< 3, T, Q > const &rgbColor)
Convert a color from RGB color space to YCoCg color space.
+
GLM_FUNC_DECL vec< 3, T, Q > YCoCg2rgb(vec< 3, T, Q > const &YCoCgColor)
Convert a color from YCoCg color space to RGB color space.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< 3, T, Q > YCoCgR2rgb(vec< 3, T, Q > const &YCoCgColor)
Convert a color from YCoCgR color space to RGB color space.
+
+ + + + diff --git a/doc/api/a00461.html b/doc/api/a00461.html new file mode 100644 index 00000000..e891e140 --- /dev/null +++ b/doc/api/a00461.html @@ -0,0 +1,346 @@ + + + + + + + +0.9.9 API documenation: compatibility.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
compatibility.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef bool bool1
 
+typedef bool bool1x1
 
+typedef vec< 2, bool, highp > bool2
 
+typedef mat< 2, 2, bool, highp > bool2x2
 
+typedef mat< 2, 3, bool, highp > bool2x3
 
+typedef mat< 2, 4, bool, highp > bool2x4
 
+typedef vec< 3, bool, highp > bool3
 
+typedef mat< 3, 2, bool, highp > bool3x2
 
+typedef mat< 3, 3, bool, highp > bool3x3
 
+typedef mat< 3, 4, bool, highp > bool3x4
 
+typedef vec< 4, bool, highp > bool4
 
+typedef mat< 4, 2, bool, highp > bool4x2
 
+typedef mat< 4, 3, bool, highp > bool4x3
 
+typedef mat< 4, 4, bool, highp > bool4x4
 
+typedef double double1
 
+typedef double double1x1
 
+typedef vec< 2, double, highp > double2
 
+typedef mat< 2, 2, double, highp > double2x2
 
+typedef mat< 2, 3, double, highp > double2x3
 
+typedef mat< 2, 4, double, highp > double2x4
 
+typedef vec< 3, double, highp > double3
 
+typedef mat< 3, 2, double, highp > double3x2
 
+typedef mat< 3, 3, double, highp > double3x3
 
+typedef mat< 3, 4, double, highp > double3x4
 
+typedef vec< 4, double, highp > double4
 
+typedef mat< 4, 2, double, highp > double4x2
 
+typedef mat< 4, 3, double, highp > double4x3
 
+typedef mat< 4, 4, double, highp > double4x4
 
+typedef float float1
 
+typedef float float1x1
 
+typedef vec< 2, float, highp > float2
 
+typedef mat< 2, 2, float, highp > float2x2
 
+typedef mat< 2, 3, float, highp > float2x3
 
+typedef mat< 2, 4, float, highp > float2x4
 
+typedef vec< 3, float, highp > float3
 
+typedef mat< 3, 2, float, highp > float3x2
 
+typedef mat< 3, 3, float, highp > float3x3
 
+typedef mat< 3, 4, float, highp > float3x4
 
+typedef vec< 4, float, highp > float4
 
+typedef mat< 4, 2, float, highp > float4x2
 
+typedef mat< 4, 3, float, highp > float4x3
 
+typedef mat< 4, 4, float, highp > float4x4
 
+typedef int int1
 
+typedef int int1x1
 
+typedef vec< 2, int, highp > int2
 
+typedef mat< 2, 2, int, highp > int2x2
 
+typedef mat< 2, 3, int, highp > int2x3
 
+typedef mat< 2, 4, int, highp > int2x4
 
+typedef vec< 3, int, highp > int3
 
+typedef mat< 3, 2, int, highp > int3x2
 
+typedef mat< 3, 3, int, highp > int3x3
 
+typedef mat< 3, 4, int, highp > int3x4
 
+typedef vec< 4, int, highp > int4
 
+typedef mat< 4, 2, int, highp > int4x2
 
+typedef mat< 4, 3, int, highp > int4x3
 
+typedef mat< 4, 4, int, highp > int4x4
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T atan2 (T x, T y)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > atan2 (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > atan2 (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2 (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y)
 
+template<typename genType >
GLM_FUNC_DECL bool isfinite (genType const &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, bool, Q > isfinite (const vec< 1, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, bool, Q > isfinite (const vec< 2, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, bool, Q > isfinite (const vec< 3, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isfinite (const vec< 4, T, Q > &x)
 
+template<typename T >
GLM_FUNC_QUALIFIER T lerp (T x, T y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, const vec< 2, T, Q > &a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, const vec< 3, T, Q > &a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, const vec< 4, T, Q > &a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T saturate (T x)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > saturate (const vec< 2, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > saturate (const vec< 3, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > saturate (const vec< 4, T, Q > &x)
 
+

Detailed Description

+

GLM_GTX_compatibility

+
See also
Core features (dependence)
+ +

Definition in file compatibility.hpp.

+
+ + + + diff --git a/doc/api/a00461_source.html b/doc/api/a00461_source.html new file mode 100644 index 00000000..c175512c --- /dev/null +++ b/doc/api/a00461_source.html @@ -0,0 +1,145 @@ + + + + + + + +0.9.9 API documenation: compatibility.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
compatibility.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/quaternion.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_compatibility is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_compatibility extension included")
25 #endif
26 
27 #if GLM_COMPILER & GLM_COMPILER_VC
28 # include <cfloat>
29 #elif GLM_COMPILER & GLM_COMPILER_GCC
30 # include <cmath>
31 # if(GLM_PLATFORM & GLM_PLATFORM_ANDROID)
32 # undef isfinite
33 # endif
34 #endif//GLM_COMPILER
35 
36 namespace glm
37 {
40 
41  template<typename T> GLM_FUNC_QUALIFIER T lerp(T x, T y, T a){return mix(x, y, a);}
42  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> lerp(const vec<2, T, Q>& x, const vec<2, T, Q>& y, T a){return mix(x, y, a);}
43 
44  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> lerp(const vec<3, T, Q>& x, const vec<3, T, Q>& y, T a){return mix(x, y, a);}
45  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> lerp(const vec<4, T, Q>& x, const vec<4, T, Q>& y, T a){return mix(x, y, a);}
46  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> lerp(const vec<2, T, Q>& x, const vec<2, T, Q>& y, const vec<2, T, Q>& a){return mix(x, y, a);}
47  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> lerp(const vec<3, T, Q>& x, const vec<3, T, Q>& y, const vec<3, T, Q>& a){return mix(x, y, a);}
48  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> lerp(const vec<4, T, Q>& x, const vec<4, T, Q>& y, const vec<4, T, Q>& a){return mix(x, y, a);}
49 
50  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER T saturate(T x){return clamp(x, T(0), T(1));}
51  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> saturate(const vec<2, T, Q>& x){return clamp(x, T(0), T(1));}
52  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> saturate(const vec<3, T, Q>& x){return clamp(x, T(0), T(1));}
53  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> saturate(const vec<4, T, Q>& x){return clamp(x, T(0), T(1));}
54 
55  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER T atan2(T x, T y){return atan(x, y);}
56  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<2, T, Q> atan2(const vec<2, T, Q>& x, const vec<2, T, Q>& y){return atan(x, y);}
57  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<3, T, Q> atan2(const vec<3, T, Q>& x, const vec<3, T, Q>& y){return atan(x, y);}
58  template<typename T, qualifier Q> GLM_FUNC_QUALIFIER vec<4, T, Q> atan2(const vec<4, T, Q>& x, const vec<4, T, Q>& y){return atan(x, y);}
59 
60  template<typename genType> GLM_FUNC_DECL bool isfinite(genType const& x);
61  template<typename T, qualifier Q> GLM_FUNC_DECL vec<1, bool, Q> isfinite(const vec<1, T, Q>& x);
62  template<typename T, qualifier Q> GLM_FUNC_DECL vec<2, bool, Q> isfinite(const vec<2, T, Q>& x);
63  template<typename T, qualifier Q> GLM_FUNC_DECL vec<3, bool, Q> isfinite(const vec<3, T, Q>& x);
64  template<typename T, qualifier Q> GLM_FUNC_DECL vec<4, bool, Q> isfinite(const vec<4, T, Q>& x);
65 
66  typedef bool bool1;
67  typedef vec<2, bool, highp> bool2;
68  typedef vec<3, bool, highp> bool3;
69  typedef vec<4, bool, highp> bool4;
70 
71  typedef bool bool1x1;
72  typedef mat<2, 2, bool, highp> bool2x2;
73  typedef mat<2, 3, bool, highp> bool2x3;
74  typedef mat<2, 4, bool, highp> bool2x4;
75  typedef mat<3, 2, bool, highp> bool3x2;
76  typedef mat<3, 3, bool, highp> bool3x3;
77  typedef mat<3, 4, bool, highp> bool3x4;
78  typedef mat<4, 2, bool, highp> bool4x2;
79  typedef mat<4, 3, bool, highp> bool4x3;
80  typedef mat<4, 4, bool, highp> bool4x4;
81 
82  typedef int int1;
83  typedef vec<2, int, highp> int2;
84  typedef vec<3, int, highp> int3;
85  typedef vec<4, int, highp> int4;
86 
87  typedef int int1x1;
88  typedef mat<2, 2, int, highp> int2x2;
89  typedef mat<2, 3, int, highp> int2x3;
90  typedef mat<2, 4, int, highp> int2x4;
91  typedef mat<3, 2, int, highp> int3x2;
92  typedef mat<3, 3, int, highp> int3x3;
93  typedef mat<3, 4, int, highp> int3x4;
94  typedef mat<4, 2, int, highp> int4x2;
95  typedef mat<4, 3, int, highp> int4x3;
96  typedef mat<4, 4, int, highp> int4x4;
97 
98  typedef float float1;
99  typedef vec<2, float, highp> float2;
100  typedef vec<3, float, highp> float3;
101  typedef vec<4, float, highp> float4;
102 
103  typedef float float1x1;
104  typedef mat<2, 2, float, highp> float2x2;
105  typedef mat<2, 3, float, highp> float2x3;
106  typedef mat<2, 4, float, highp> float2x4;
107  typedef mat<3, 2, float, highp> float3x2;
108  typedef mat<3, 3, float, highp> float3x3;
109  typedef mat<3, 4, float, highp> float3x4;
110  typedef mat<4, 2, float, highp> float4x2;
111  typedef mat<4, 3, float, highp> float4x3;
112  typedef mat<4, 4, float, highp> float4x4;
113 
114  typedef double double1;
115  typedef vec<2, double, highp> double2;
116  typedef vec<3, double, highp> double3;
117  typedef vec<4, double, highp> double4;
118 
119  typedef double double1x1;
120  typedef mat<2, 2, double, highp> double2x2;
121  typedef mat<2, 3, double, highp> double2x3;
122  typedef mat<2, 4, double, highp> double2x4;
123  typedef mat<3, 2, double, highp> double3x2;
124  typedef mat<3, 3, double, highp> double3x3;
125  typedef mat<3, 4, double, highp> double3x4;
126  typedef mat<4, 2, double, highp> double4x2;
127  typedef mat<4, 3, double, highp> double4x3;
128  typedef mat<4, 4, double, highp> double4x4;
129 
131 }//namespace glm
132 
133 #include "compatibility.inl"
mat< 3, 3, double, highp > double3x3
double-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension) ...
+
mat< 3, 2, float, highp > float3x2
single-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 4, 3, bool, highp > bool4x3
boolean matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
+
GLM_FUNC_DECL vec< 4, bool, Q > isfinite(const vec< 4, T, Q > &x)
Test whether or not a scalar or each vector component is a finite value. (From GLM_GTX_compatibility)...
+
vec< 4, float, highp > float4
single-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension) ...
+
mat< 4, 2, bool, highp > bool4x2
boolean matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
+
mat< 2, 3, bool, highp > bool2x3
boolean matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
+
vec< 4, double, highp > double4
double-qualifier floating-point vector with 4 components. (From GLM_GTX_compatibility extension) ...
+
vec< 3, bool, highp > bool3
boolean type with 3 components. (From GLM_GTX_compatibility extension)
+
float float1x1
single-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 3, double, highp > double2x3
double-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 4, bool, highp > bool2x4
boolean matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
+
mat< 4, 2, float, highp > float4x2
single-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 4, 2, int, highp > int4x2
integer matrix with 4 x 2 components. (From GLM_GTX_compatibility extension)
+
mat< 2, 2, bool, highp > bool2x2
boolean matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
+
int int1x1
integer matrix with 1 component. (From GLM_GTX_compatibility extension)
+
mat< 2, 2, double, highp > double2x2
double-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 4, 4, int, highp > int4x4
integer matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
+
float float1
single-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension) ...
+
vec< 2, int, highp > int2
integer vector with 2 components. (From GLM_GTX_compatibility extension)
+
GLM_FUNC_QUALIFIER vec< 4, T, Q > saturate(const vec< 4, T, Q > &x)
Returns clamp(x, 0, 1) for each component in x. (From GLM_GTX_compatibility)
+
vec< 3, float, highp > float3
single-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 4, int, highp > int2x4
integer matrix with 2 x 4 components. (From GLM_GTX_compatibility extension)
+
mat< 4, 2, double, highp > double4x2
double-qualifier floating-point matrix with 4 x 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 4, double, highp > double2x4
double-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension) ...
+
GLM_FUNC_DECL GLM_CONSTEXPR genType clamp(genType x, genType minVal, genType maxVal)
Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal an...
+
bool bool1
boolean type with 1 component. (From GLM_GTX_compatibility extension)
+
vec< 2, double, highp > double2
double-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 4, float, highp > float2x4
single-qualifier floating-point matrix with 2 x 4 components. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 3, int, highp > int2x3
integer matrix with 2 x 3 components. (From GLM_GTX_compatibility extension)
+
mat< 4, 4, double, highp > double4x4
double-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension) ...
+
vec< 3, int, highp > int3
integer vector with 3 components. (From GLM_GTX_compatibility extension)
+
mat< 3, 4, float, highp > float3x4
single-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension) ...
+
mat< 4, 4, float, highp > float4x4
single-qualifier floating-point matrix with 4 x 4 components. (From GLM_GTX_compatibility extension) ...
+
vec< 4, int, highp > int4
integer vector with 4 components. (From GLM_GTX_compatibility extension)
+
mat< 3, 3, int, highp > int3x3
integer matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
+
vec< 3, double, highp > double3
double-qualifier floating-point vector with 3 components. (From GLM_GTX_compatibility extension) ...
+
mat< 3, 4, bool, highp > bool3x4
boolean matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
+
int int1
integer vector with 1 component. (From GLM_GTX_compatibility extension)
+
double double1x1
double-qualifier floating-point matrix with 1 component. (From GLM_GTX_compatibility extension) ...
+
vec< 2, bool, highp > bool2
boolean type with 2 components. (From GLM_GTX_compatibility extension)
+
mat< 2, 3, float, highp > float2x3
single-qualifier floating-point matrix with 2 x 3 components. (From GLM_GTX_compatibility extension) ...
+
mat< 4, 4, bool, highp > bool4x4
boolean matrix with 4 x 4 components. (From GLM_GTX_compatibility extension)
+
mat< 4, 3, double, highp > double4x3
double-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) ...
+
mat< 2, 2, float, highp > float2x2
single-qualifier floating-point matrix with 2 x 2 components. (From GLM_GTX_compatibility extension) ...
+
vec< 2, float, highp > float2
single-qualifier floating-point vector with 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 3, 2, int, highp > int3x2
integer matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
+
bool bool1x1
boolean matrix with 1 x 1 component. (From GLM_GTX_compatibility extension)
+
mat< 3, 2, double, highp > double3x2
double-qualifier floating-point matrix with 3 x 2 components. (From GLM_GTX_compatibility extension) ...
+
mat< 3, 3, float, highp > float3x3
single-qualifier floating-point matrix with 3 x 3 components. (From GLM_GTX_compatibility extension) ...
+
GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2(const vec< 4, T, Q > &x, const vec< 4, T, Q > &y)
Arc tangent. Returns an angle whose tangent is y/x. The signs of x and y are used to determine what q...
+
GLM_FUNC_DECL genTypeT mix(genTypeT x, genTypeT y, genTypeU a)
If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of ...
+
mat< 4, 3, int, highp > int4x3
integer matrix with 4 x 3 components. (From GLM_GTX_compatibility extension)
+
Definition: common.hpp:20
+
mat< 4, 3, float, highp > float4x3
single-qualifier floating-point matrix with 4 x 3 components. (From GLM_GTX_compatibility extension) ...
+
vec< 4, bool, highp > bool4
boolean type with 4 components. (From GLM_GTX_compatibility extension)
+
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp(const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, const vec< 4, T, Q > &a)
Returns the component-wise result of x * (1.0 - a) + y * a, i.e., the linear blend of x and y using v...
+
GLM_FUNC_DECL vec< L, T, Q > atan(vec< L, T, Q > const &y, vec< L, T, Q > const &x)
Arc tangent.
+
double double1
double-qualifier floating-point vector with 1 component. (From GLM_GTX_compatibility extension) ...
+
mat< 3, 3, bool, highp > bool3x3
boolean matrix with 3 x 3 components. (From GLM_GTX_compatibility extension)
+
mat< 3, 4, int, highp > int3x4
integer matrix with 3 x 4 components. (From GLM_GTX_compatibility extension)
+
mat< 3, 4, double, highp > double3x4
double-qualifier floating-point matrix with 3 x 4 components. (From GLM_GTX_compatibility extension) ...
+
mat< 3, 2, bool, highp > bool3x2
boolean matrix with 3 x 2 components. (From GLM_GTX_compatibility extension)
+
mat< 2, 2, int, highp > int2x2
integer matrix with 2 x 2 components. (From GLM_GTX_compatibility extension)
+
+ + + + diff --git a/doc/api/a00018.html b/doc/api/a00464.html similarity index 59% rename from doc/api/a00018.html rename to doc/api/a00464.html index b7dc0791..3558273f 100644 --- a/doc/api/a00018.html +++ b/doc/api/a00464.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: component_wise.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,51 +73,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_component_wise -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType::value_type compAdd (genType const &v)
 Add all vector components together. More...
GLM_FUNC_DECL genType::value_type compAdd (genType const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type compMax (genType const &v)
 Find the maximum value between single vector components. More...
GLM_FUNC_DECL genType::value_type compMax (genType const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type compMin (genType const &v)
 Find the minimum value between single vector components. More...
GLM_FUNC_DECL genType::value_type compMin (genType const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type compMul (genType const &v)
 Multiply all vector components together. More...
GLM_FUNC_DECL genType::value_type compMul (genType const &v)
 
template<typename floatType , length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > compNormalize (vec< L, T, Q > const &v)
 Convert an integer vector to a normalized float vector. More...
GLM_FUNC_DECL vec< L, floatType, Q > compNormalize (vec< L, T, Q > const &v)
 
template<length_t L, typename T , typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > compScale (vec< L, floatType, Q > const &v)
 Convert a normalized float vector to an integer vector. More...
GLM_FUNC_DECL vec< L, T, Q > compScale (vec< L, floatType, Q > const &v)
 

Detailed Description

-

GLM_GTX_component_wise

+

GLM_GTX_component_wise

Date
2007-05-21 / 2011-06-07
Author
Christophe Riccio
-
See also
Core features (dependence)
+
See also
Core features (dependence)
-

Definition in file component_wise.hpp.

+

Definition in file component_wise.hpp.

diff --git a/doc/api/a00464_source.html b/doc/api/a00464_source.html new file mode 100644 index 00000000..afc676dc --- /dev/null +++ b/doc/api/a00464_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: component_wise.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
component_wise.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../detail/setup.hpp"
19 #include "../detail/qualifier.hpp"
20 
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_component_wise is an experimental 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_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_component_wise extension included")
27 #endif
28 
29 namespace glm
30 {
33 
37  template<typename floatType, length_t L, typename T, qualifier Q>
38  GLM_FUNC_DECL vec<L, floatType, Q> compNormalize(vec<L, T, Q> const& v);
39 
43  template<length_t L, typename T, typename floatType, qualifier Q>
44  GLM_FUNC_DECL vec<L, T, Q> compScale(vec<L, floatType, Q> const& v);
45 
48  template<typename genType>
49  GLM_FUNC_DECL typename genType::value_type compAdd(genType const& v);
50 
53  template<typename genType>
54  GLM_FUNC_DECL typename genType::value_type compMul(genType const& v);
55 
58  template<typename genType>
59  GLM_FUNC_DECL typename genType::value_type compMin(genType const& v);
60 
63  template<typename genType>
64  GLM_FUNC_DECL typename genType::value_type compMax(genType const& v);
65 
67 }//namespace glm
68 
69 #include "component_wise.inl"
GLM_FUNC_DECL vec< L, T, Q > compScale(vec< L, floatType, Q > const &v)
Convert a normalized float vector to an integer vector.
+
GLM_FUNC_DECL genType::value_type compAdd(genType const &v)
Add all vector components together.
+
GLM_FUNC_DECL genType::value_type compMin(genType const &v)
Find the minimum value between single vector components.
+
GLM_FUNC_DECL genType::value_type compMul(genType const &v)
Multiply all vector components together.
+
GLM_FUNC_DECL vec< L, floatType, Q > compNormalize(vec< L, T, Q > const &v)
Convert an integer vector to a normalized float vector.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL genType::value_type compMax(genType const &v)
Find the maximum value between single vector components.
+
+ + + + diff --git a/doc/api/a00021.html b/doc/api/a00467.html similarity index 56% rename from doc/api/a00021.html rename to doc/api/a00467.html index 446cf4d7..6b0ebb1a 100644 --- a/doc/api/a00021.html +++ b/doc/api/a00467.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: dual_quaternion.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -92,101 +74,78 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_dual_quaternion -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Typedefs

typedef highp_ddualquat ddualquat
 Dual-quaternion of default double-qualifier floating-point numbers. More...
typedef highp_ddualquat ddualquat
 
typedef highp_fdualquat dualquat
 Dual-quaternion of floating-point numbers. More...
typedef highp_fdualquat dualquat
 
typedef highp_fdualquat fdualquat
 Dual-quaternion of single-qualifier floating-point numbers. More...
typedef highp_fdualquat fdualquat
 
typedef tdualquat< double, highp > highp_ddualquat
 Dual-quaternion of high double-qualifier floating-point numbers. More...
typedef tdualquat< double, highp > highp_ddualquat
 
typedef tdualquat< float, highp > highp_dualquat
 Dual-quaternion of high single-qualifier floating-point numbers. More...
typedef tdualquat< float, highp > highp_dualquat
 
typedef tdualquat< float, highp > highp_fdualquat
 Dual-quaternion of high single-qualifier floating-point numbers. More...
typedef tdualquat< float, highp > highp_fdualquat
 
typedef tdualquat< double, lowp > lowp_ddualquat
 Dual-quaternion of low double-qualifier floating-point numbers. More...
typedef tdualquat< double, lowp > lowp_ddualquat
 
typedef tdualquat< float, lowp > lowp_dualquat
 Dual-quaternion of low single-qualifier floating-point numbers. More...
typedef tdualquat< float, lowp > lowp_dualquat
 
typedef tdualquat< float, lowp > lowp_fdualquat
 Dual-quaternion of low single-qualifier floating-point numbers. More...
typedef tdualquat< float, lowp > lowp_fdualquat
 
typedef tdualquat< double, mediump > mediump_ddualquat
 Dual-quaternion of medium double-qualifier floating-point numbers. More...
typedef tdualquat< double, mediump > mediump_ddualquat
 
typedef tdualquat< float, mediump > mediump_dualquat
 Dual-quaternion of medium single-qualifier floating-point numbers. More...
typedef tdualquat< float, mediump > mediump_dualquat
 
typedef tdualquat< float, mediump > mediump_fdualquat
 Dual-quaternion of medium single-qualifier floating-point numbers. More...
typedef tdualquat< float, mediump > mediump_fdualquat
 
- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > dual_quat_identity ()
 Creates an identity dual quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > dual_quat_identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 2, 4, T, Q > const &x)
 Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 2, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 3, 4, T, Q > const &x)
 Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 3, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > inverse (tdualquat< T, Q > const &q)
 Returns the q inverse. More...
GLM_FUNC_DECL tdualquat< T, Q > inverse (tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > lerp (tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
 Returns the linear interpolation of two dual quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > lerp (tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 4, T, Q > mat2x4_cast (tdualquat< T, Q > const &x)
 Converts a quaternion to a 2 * 4 matrix. More...
GLM_FUNC_DECL mat< 2, 4, T, Q > mat2x4_cast (tdualquat< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 4, T, Q > mat3x4_cast (tdualquat< T, Q > const &x)
 Converts a quaternion to a 3 * 4 matrix. More...
GLM_FUNC_DECL mat< 3, 4, T, Q > mat3x4_cast (tdualquat< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > normalize (tdualquat< T, Q > const &q)
 Returns the normalized quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > normalize (tdualquat< T, Q > const &q)
 

Detailed Description

-

GLM_GTX_dual_quaternion

+

GLM_GTX_dual_quaternion

Author
Maksim Vorobiev (msome.nosp@m.one@.nosp@m.gmail.nosp@m..com)
-
See also
Core features (dependence)
+
See also
Core features (dependence)
-GLM_GTC_constants (dependence)
+GLM_GTC_constants (dependence)
-GLM_GTC_quaternion (dependence)
+GLM_GTC_quaternion (dependence)
-

Definition in file dual_quaternion.hpp.

+

Definition in file dual_quaternion.hpp.

diff --git a/doc/api/a00467_source.html b/doc/api/a00467_source.html new file mode 100644 index 00000000..4c325761 --- /dev/null +++ b/doc/api/a00467_source.html @@ -0,0 +1,103 @@ + + + + + + + +0.9.9 API documenation: dual_quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
dual_quaternion.hpp
+
+
+Go to the documentation of this file.
1 
16 #pragma once
17 
18 // Dependency:
19 #include "../glm.hpp"
20 #include "../gtc/constants.hpp"
21 #include "../gtc/quaternion.hpp"
22 
23 #ifndef GLM_ENABLE_EXPERIMENTAL
24 # error "GLM: GLM_GTX_dual_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
25 #endif
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTX_dual_quaternion extension included")
29 #endif
30 
31 namespace glm
32 {
35 
36  template<typename T, qualifier Q = defaultp>
37  struct tdualquat
38  {
39  // -- Implementation detail --
40 
41  typedef T value_type;
42  typedef qua<T, Q> part_type;
43 
44  // -- Data --
45 
46  qua<T, Q> real, dual;
47 
48  // -- Component accesses --
49 
50  typedef length_t length_type;
52  GLM_FUNC_DECL static GLM_CONSTEXPR length_type length(){return 2;}
53 
54  GLM_FUNC_DECL part_type & operator[](length_type i);
55  GLM_FUNC_DECL part_type const& operator[](length_type i) const;
56 
57  // -- Implicit basic constructors --
58 
59  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat() GLM_DEFAULT;
60  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tdualquat<T, Q> const& d) GLM_DEFAULT;
61  template<qualifier P>
62  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(tdualquat<T, P> const& d);
63 
64  // -- Explicit basic constructors --
65 
66  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(qua<T, Q> const& real);
67  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(qua<T, Q> const& orientation, vec<3, T, Q> const& translation);
68  GLM_FUNC_DECL GLM_CONSTEXPR tdualquat(qua<T, Q> const& real, qua<T, Q> const& dual);
69 
70  // -- Conversion constructors --
71 
72  template<typename U, qualifier P>
73  GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT tdualquat(tdualquat<U, P> const& q);
74 
75  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR tdualquat(mat<2, 4, T, Q> const& holder_mat);
76  GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR tdualquat(mat<3, 4, T, Q> const& aug_mat);
77 
78  // -- Unary arithmetic operators --
79 
80  GLM_FUNC_DECL tdualquat<T, Q> & operator=(tdualquat<T, Q> const& m) GLM_DEFAULT;
81 
82  template<typename U>
83  GLM_FUNC_DECL tdualquat<T, Q> & operator=(tdualquat<U, Q> const& m);
84  template<typename U>
85  GLM_FUNC_DECL tdualquat<T, Q> & operator*=(U s);
86  template<typename U>
87  GLM_FUNC_DECL tdualquat<T, Q> & operator/=(U s);
88  };
89 
90  // -- Unary bit operators --
91 
92  template<typename T, qualifier Q>
93  GLM_FUNC_DECL tdualquat<T, Q> operator+(tdualquat<T, Q> const& q);
94 
95  template<typename T, qualifier Q>
96  GLM_FUNC_DECL tdualquat<T, Q> operator-(tdualquat<T, Q> const& q);
97 
98  // -- Binary operators --
99 
100  template<typename T, qualifier Q>
101  GLM_FUNC_DECL tdualquat<T, Q> operator+(tdualquat<T, Q> const& q, tdualquat<T, Q> const& p);
102 
103  template<typename T, qualifier Q>
104  GLM_FUNC_DECL tdualquat<T, Q> operator*(tdualquat<T, Q> const& q, tdualquat<T, Q> const& p);
105 
106  template<typename T, qualifier Q>
107  GLM_FUNC_DECL vec<3, T, Q> operator*(tdualquat<T, Q> const& q, vec<3, T, Q> const& v);
108 
109  template<typename T, qualifier Q>
110  GLM_FUNC_DECL vec<3, T, Q> operator*(vec<3, T, Q> const& v, tdualquat<T, Q> const& q);
111 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL vec<4, T, Q> operator*(tdualquat<T, Q> const& q, vec<4, T, Q> const& v);
114 
115  template<typename T, qualifier Q>
116  GLM_FUNC_DECL vec<4, T, Q> operator*(vec<4, T, Q> const& v, tdualquat<T, Q> const& q);
117 
118  template<typename T, qualifier Q>
119  GLM_FUNC_DECL tdualquat<T, Q> operator*(tdualquat<T, Q> const& q, T const& s);
120 
121  template<typename T, qualifier Q>
122  GLM_FUNC_DECL tdualquat<T, Q> operator*(T const& s, tdualquat<T, Q> const& q);
123 
124  template<typename T, qualifier Q>
125  GLM_FUNC_DECL tdualquat<T, Q> operator/(tdualquat<T, Q> const& q, T const& s);
126 
127  // -- Boolean operators --
128 
129  template<typename T, qualifier Q>
130  GLM_FUNC_DECL bool operator==(tdualquat<T, Q> const& q1, tdualquat<T, Q> const& q2);
131 
132  template<typename T, qualifier Q>
133  GLM_FUNC_DECL bool operator!=(tdualquat<T, Q> const& q1, tdualquat<T, Q> const& q2);
134 
138  template <typename T, qualifier Q>
139  GLM_FUNC_DECL tdualquat<T, Q> dual_quat_identity();
140 
144  template<typename T, qualifier Q>
145  GLM_FUNC_DECL tdualquat<T, Q> normalize(tdualquat<T, Q> const& q);
146 
150  template<typename T, qualifier Q>
151  GLM_FUNC_DECL tdualquat<T, Q> lerp(tdualquat<T, Q> const& x, tdualquat<T, Q> const& y, T const& a);
152 
156  template<typename T, qualifier Q>
157  GLM_FUNC_DECL tdualquat<T, Q> inverse(tdualquat<T, Q> const& q);
158 
162  template<typename T, qualifier Q>
163  GLM_FUNC_DECL mat<2, 4, T, Q> mat2x4_cast(tdualquat<T, Q> const& x);
164 
168  template<typename T, qualifier Q>
169  GLM_FUNC_DECL mat<3, 4, T, Q> mat3x4_cast(tdualquat<T, Q> const& x);
170 
174  template<typename T, qualifier Q>
175  GLM_FUNC_DECL tdualquat<T, Q> dualquat_cast(mat<2, 4, T, Q> const& x);
176 
180  template<typename T, qualifier Q>
181  GLM_FUNC_DECL tdualquat<T, Q> dualquat_cast(mat<3, 4, T, Q> const& x);
182 
183 
187  typedef tdualquat<float, lowp> lowp_dualquat;
188 
192  typedef tdualquat<float, mediump> mediump_dualquat;
193 
197  typedef tdualquat<float, highp> highp_dualquat;
198 
199 
203  typedef tdualquat<float, lowp> lowp_fdualquat;
204 
208  typedef tdualquat<float, mediump> mediump_fdualquat;
209 
213  typedef tdualquat<float, highp> highp_fdualquat;
214 
215 
219  typedef tdualquat<double, lowp> lowp_ddualquat;
220 
224  typedef tdualquat<double, mediump> mediump_ddualquat;
225 
229  typedef tdualquat<double, highp> highp_ddualquat;
230 
231 
232 #if(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
233  typedef highp_fdualquat dualquat;
237 
242 #elif(defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
243  typedef highp_fdualquat dualquat;
244  typedef highp_fdualquat fdualquat;
245 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && defined(GLM_PRECISION_MEDIUMP_FLOAT) && !defined(GLM_PRECISION_LOWP_FLOAT))
246  typedef mediump_fdualquat dualquat;
248 #elif(!defined(GLM_PRECISION_HIGHP_FLOAT) && !defined(GLM_PRECISION_MEDIUMP_FLOAT) && defined(GLM_PRECISION_LOWP_FLOAT))
249  typedef lowp_fdualquat dualquat;
250  typedef lowp_fdualquat fdualquat;
251 #else
252 # error "GLM error: multiple default precision requested for single-precision floating-point types"
253 #endif
254 
255 
256 #if(!defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
257  typedef highp_ddualquat ddualquat;
261 #elif(defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
262  typedef highp_ddualquat ddualquat;
263 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && defined(GLM_PRECISION_MEDIUMP_DOUBLE) && !defined(GLM_PRECISION_LOWP_DOUBLE))
265 #elif(!defined(GLM_PRECISION_HIGHP_DOUBLE) && !defined(GLM_PRECISION_MEDIUMP_DOUBLE) && defined(GLM_PRECISION_LOWP_DOUBLE))
266  typedef lowp_ddualquat ddualquat;
267 #else
268 # error "GLM error: Multiple default precision requested for double-precision floating-point types"
269 #endif
270 
272 } //namespace glm
273 
274 #include "dual_quaternion.inl"
GLM_FUNC_DECL mat< 3, 4, T, Q > mat3x4_cast(tdualquat< T, Q > const &x)
Converts a quaternion to a 3 * 4 matrix.
+
tdualquat< double, lowp > lowp_ddualquat
Dual-quaternion of low double-qualifier floating-point numbers.
+
GLM_FUNC_DECL tdualquat< T, Q > inverse(tdualquat< T, Q > const &q)
Returns the q inverse.
+
tdualquat< float, highp > highp_dualquat
Dual-quaternion of high single-qualifier floating-point numbers.
+
GLM_FUNC_DECL tdualquat< T, Q > lerp(tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
Returns the linear interpolation of two dual quaternion.
+
tdualquat< float, lowp > lowp_fdualquat
Dual-quaternion of low single-qualifier floating-point numbers.
+
highp_fdualquat fdualquat
Dual-quaternion of single-qualifier floating-point numbers.
+
GLM_FUNC_DECL mat< 2, 4, T, Q > mat2x4_cast(tdualquat< T, Q > const &x)
Converts a quaternion to a 2 * 4 matrix.
+
tdualquat< double, highp > highp_ddualquat
Dual-quaternion of high double-qualifier floating-point numbers.
+
tdualquat< float, mediump > mediump_fdualquat
Dual-quaternion of medium single-qualifier floating-point numbers.
+
highp_ddualquat ddualquat
Dual-quaternion of default double-qualifier floating-point numbers.
+
tdualquat< float, mediump > mediump_dualquat
Dual-quaternion of medium single-qualifier floating-point numbers.
+
GLM_FUNC_DECL tdualquat< T, Q > normalize(tdualquat< T, Q > const &q)
Returns the normalized quaternion.
+
GLM_FUNC_DECL tdualquat< T, Q > dual_quat_identity()
Creates an identity dual quaternion.
+
tdualquat< float, highp > highp_fdualquat
Dual-quaternion of high single-qualifier floating-point numbers.
+
tdualquat< double, mediump > mediump_ddualquat
Dual-quaternion of medium double-qualifier floating-point numbers.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
Build a rotation matrix from a normal and a up vector.
+
highp_fdualquat dualquat
Dual-quaternion of floating-point numbers.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length(qua< T, Q > const &q)
Returns the norm of a quaternions.
+
tdualquat< float, lowp > lowp_dualquat
Dual-quaternion of low single-qualifier floating-point numbers.
+
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast(mat< 3, 4, T, Q > const &x)
Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion.
+
+ + + + diff --git a/doc/api/a00022.html b/doc/api/a00470.html similarity index 64% rename from doc/api/a00022.html rename to doc/api/a00470.html index d415ee09..7c5cb208 100644 --- a/doc/api/a00022.html +++ b/doc/api/a00470.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: easing.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,154 +73,126 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_easing -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- + - + - + - + - + - + - + - + - + - - + - - + - - + - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType backEaseIn (genType const &a)
GLM_FUNC_DECL genType backEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseIn (genType const &a, genType const &o)
GLM_FUNC_DECL genType backEaseIn (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseInOut (genType const &a)
GLM_FUNC_DECL genType backEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseInOut (genType const &a, genType const &o)
GLM_FUNC_DECL genType backEaseInOut (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseOut (genType const &a)
GLM_FUNC_DECL genType backEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseOut (genType const &a, genType const &o)
GLM_FUNC_DECL genType backEaseOut (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseIn (genType const &a)
GLM_FUNC_DECL genType bounceEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseInOut (genType const &a)
GLM_FUNC_DECL genType bounceEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseOut (genType const &a)
GLM_FUNC_DECL genType bounceEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseIn (genType const &a)
 Modelled after shifted quadrant IV of unit circle. More...
GLM_FUNC_DECL genType circularEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseInOut (genType const &a)
 Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1]. More...
GLM_FUNC_DECL genType circularEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseOut (genType const &a)
 Modelled after shifted quadrant II of unit circle. More...
GLM_FUNC_DECL genType circularEaseOut (genType const &a)
 
+
template<typename genType >
GLM_FUNC_DECL genType cubicEaseIn (genType const &a)
 Modelled after the cubic y = x^3.
GLM_FUNC_DECL genType cubicEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType cubicEaseInOut (genType const &a)
 Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0.5, 1]. More...
GLM_FUNC_DECL genType cubicEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType cubicEaseOut (genType const &a)
 Modelled after the cubic y = (x - 1)^3 + 1. More...
GLM_FUNC_DECL genType cubicEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseIn (genType const &a)
 Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1)) More...
GLM_FUNC_DECL genType elasticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseInOut (genType const &a)
 Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1]. More...
GLM_FUNC_DECL genType elasticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseOut (genType const &a)
 Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1. More...
GLM_FUNC_DECL genType elasticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseIn (genType const &a)
 Modelled after the exponential function y = 2^(10(x - 1)) More...
GLM_FUNC_DECL genType exponentialEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseInOut (genType const &a)
 Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))) + 1 ; [0.5,1]. More...
GLM_FUNC_DECL genType exponentialEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseOut (genType const &a)
 Modelled after the exponential function y = -2^(-10x) + 1. More...
GLM_FUNC_DECL genType exponentialEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType linearInterpolation (genType const &a)
 Modelled after the line y = x. More...
GLM_FUNC_DECL genType linearInterpolation (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseIn (genType const &a)
 Modelled after the parabola y = x^2. More...
GLM_FUNC_DECL genType quadraticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseInOut (genType const &a)
 Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1]. More...
GLM_FUNC_DECL genType quadraticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseOut (genType const &a)
 Modelled after the parabola y = -x^2 + 2x. More...
GLM_FUNC_DECL genType quadraticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseIn (genType const &a)
 Modelled after the quartic x^4. More...
GLM_FUNC_DECL genType quarticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseInOut (genType const &a)
 Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1]. More...
GLM_FUNC_DECL genType quarticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseOut (genType const &a)
 Modelled after the quartic y = 1 - (x - 1)^4. More...
GLM_FUNC_DECL genType quarticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseIn (genType const &a)
 Modelled after the quintic y = x^5. More...
GLM_FUNC_DECL genType quinticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseInOut (genType const &a)
 Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0.5, 1]. More...
GLM_FUNC_DECL genType quinticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseOut (genType const &a)
 Modelled after the quintic y = (x - 1)^5 + 1. More...
GLM_FUNC_DECL genType quinticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseIn (genType const &a)
 Modelled after quarter-cycle of sine wave. More...
GLM_FUNC_DECL genType sineEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseInOut (genType const &a)
 Modelled after half sine wave. More...
GLM_FUNC_DECL genType sineEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseOut (genType const &a)
 Modelled after quarter-cycle of sine wave (different phase) More...
GLM_FUNC_DECL genType sineEaseOut (genType const &a)
 

Detailed Description

-

GLM_GTX_easing

+

GLM_GTX_easing

Author
Robert Chisholm
-
See also
Core features (dependence)
+
See also
Core features (dependence)
-

Definition in file easing.hpp.

+

Definition in file easing.hpp.

diff --git a/doc/api/a00470_source.html b/doc/api/a00470_source.html new file mode 100644 index 00000000..24a88d40 --- /dev/null +++ b/doc/api/a00470_source.html @@ -0,0 +1,113 @@ + + + + + + + +0.9.9 API documenation: easing.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
easing.hpp
+
+
+Go to the documentation of this file.
1 
17 #pragma once
18 
19 // Dependency:
20 #include "../glm.hpp"
21 #include "../gtc/constants.hpp"
22 #include "../detail/qualifier.hpp"
23 
24 #ifndef GLM_ENABLE_EXPERIMENTAL
25 # error "GLM: GLM_GTX_easing is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
26 #endif
27 
28 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
29 # pragma message("GLM: GLM_GTX_easing extension included")
30 #endif
31 
32 namespace glm{
35 
38  template <typename genType>
39  GLM_FUNC_DECL genType linearInterpolation(genType const & a);
40 
43  template <typename genType>
44  GLM_FUNC_DECL genType quadraticEaseIn(genType const & a);
45 
48  template <typename genType>
49  GLM_FUNC_DECL genType quadraticEaseOut(genType const & a);
50 
55  template <typename genType>
56  GLM_FUNC_DECL genType quadraticEaseInOut(genType const & a);
57 
59  template <typename genType>
60  GLM_FUNC_DECL genType cubicEaseIn(genType const & a);
61 
64  template <typename genType>
65  GLM_FUNC_DECL genType cubicEaseOut(genType const & a);
66 
71  template <typename genType>
72  GLM_FUNC_DECL genType cubicEaseInOut(genType const & a);
73 
76  template <typename genType>
77  GLM_FUNC_DECL genType quarticEaseIn(genType const & a);
78 
81  template <typename genType>
82  GLM_FUNC_DECL genType quarticEaseOut(genType const & a);
83 
88  template <typename genType>
89  GLM_FUNC_DECL genType quarticEaseInOut(genType const & a);
90 
93  template <typename genType>
94  GLM_FUNC_DECL genType quinticEaseIn(genType const & a);
95 
98  template <typename genType>
99  GLM_FUNC_DECL genType quinticEaseOut(genType const & a);
100 
105  template <typename genType>
106  GLM_FUNC_DECL genType quinticEaseInOut(genType const & a);
107 
110  template <typename genType>
111  GLM_FUNC_DECL genType sineEaseIn(genType const & a);
112 
115  template <typename genType>
116  GLM_FUNC_DECL genType sineEaseOut(genType const & a);
117 
120  template <typename genType>
121  GLM_FUNC_DECL genType sineEaseInOut(genType const & a);
122 
125  template <typename genType>
126  GLM_FUNC_DECL genType circularEaseIn(genType const & a);
127 
130  template <typename genType>
131  GLM_FUNC_DECL genType circularEaseOut(genType const & a);
132 
137  template <typename genType>
138  GLM_FUNC_DECL genType circularEaseInOut(genType const & a);
139 
142  template <typename genType>
143  GLM_FUNC_DECL genType exponentialEaseIn(genType const & a);
144 
147  template <typename genType>
148  GLM_FUNC_DECL genType exponentialEaseOut(genType const & a);
149 
154  template <typename genType>
155  GLM_FUNC_DECL genType exponentialEaseInOut(genType const & a);
156 
159  template <typename genType>
160  GLM_FUNC_DECL genType elasticEaseIn(genType const & a);
161 
164  template <typename genType>
165  GLM_FUNC_DECL genType elasticEaseOut(genType const & a);
166 
171  template <typename genType>
172  GLM_FUNC_DECL genType elasticEaseInOut(genType const & a);
173 
175  template <typename genType>
176  GLM_FUNC_DECL genType backEaseIn(genType const& a);
177 
179  template <typename genType>
180  GLM_FUNC_DECL genType backEaseOut(genType const& a);
181 
183  template <typename genType>
184  GLM_FUNC_DECL genType backEaseInOut(genType const& a);
185 
189  template <typename genType>
190  GLM_FUNC_DECL genType backEaseIn(genType const& a, genType const& o);
191 
195  template <typename genType>
196  GLM_FUNC_DECL genType backEaseOut(genType const& a, genType const& o);
197 
201  template <typename genType>
202  GLM_FUNC_DECL genType backEaseInOut(genType const& a, genType const& o);
203 
205  template <typename genType>
206  GLM_FUNC_DECL genType bounceEaseIn(genType const& a);
207 
209  template <typename genType>
210  GLM_FUNC_DECL genType bounceEaseOut(genType const& a);
211 
213  template <typename genType>
214  GLM_FUNC_DECL genType bounceEaseInOut(genType const& a);
215 
217 }//namespace glm
218 
219 #include "easing.inl"
GLM_FUNC_DECL genType backEaseIn(genType const &a, genType const &o)
+
GLM_FUNC_DECL genType exponentialEaseOut(genType const &a)
Modelled after the exponential function y = -2^(-10x) + 1.
+
GLM_FUNC_DECL genType bounceEaseInOut(genType const &a)
+
GLM_FUNC_DECL genType quarticEaseIn(genType const &a)
Modelled after the quartic x^4.
+
GLM_FUNC_DECL genType quinticEaseIn(genType const &a)
Modelled after the quintic y = x^5.
+
GLM_FUNC_DECL genType circularEaseOut(genType const &a)
Modelled after shifted quadrant II of unit circle.
+
GLM_FUNC_DECL genType quinticEaseOut(genType const &a)
Modelled after the quintic y = (x - 1)^5 + 1.
+
GLM_FUNC_DECL genType sineEaseOut(genType const &a)
Modelled after quarter-cycle of sine wave (different phase)
+
GLM_FUNC_DECL genType circularEaseIn(genType const &a)
Modelled after shifted quadrant IV of unit circle.
+
GLM_FUNC_DECL genType bounceEaseOut(genType const &a)
+
GLM_FUNC_DECL genType bounceEaseIn(genType const &a)
+
GLM_FUNC_DECL genType sineEaseIn(genType const &a)
Modelled after quarter-cycle of sine wave.
+
GLM_FUNC_DECL genType quinticEaseInOut(genType const &a)
Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0...
+
GLM_FUNC_DECL genType quadraticEaseOut(genType const &a)
Modelled after the parabola y = -x^2 + 2x.
+
GLM_FUNC_DECL genType quarticEaseInOut(genType const &a)
Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0...
+
GLM_FUNC_DECL genType linearInterpolation(genType const &a)
Modelled after the line y = x.
+
GLM_FUNC_DECL genType elasticEaseIn(genType const &a)
Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))
+
GLM_FUNC_DECL genType quadraticEaseInOut(genType const &a)
Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [...
+
GLM_FUNC_DECL genType quadraticEaseIn(genType const &a)
Modelled after the parabola y = x^2.
+
GLM_FUNC_DECL genType cubicEaseInOut(genType const &a)
Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0...
+
GLM_FUNC_DECL genType cubicEaseIn(genType const &a)
Modelled after the cubic y = x^3.
+
GLM_FUNC_DECL genType elasticEaseInOut(genType const &a)
Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1].
+
GLM_FUNC_DECL genType exponentialEaseIn(genType const &a)
Modelled after the exponential function y = 2^(10(x - 1))
+
GLM_FUNC_DECL genType quarticEaseOut(genType const &a)
Modelled after the quartic y = 1 - (x - 1)^4.
+
GLM_FUNC_DECL genType sineEaseInOut(genType const &a)
Modelled after half sine wave.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL genType backEaseOut(genType const &a, genType const &o)
+
GLM_FUNC_DECL genType elasticEaseOut(genType const &a)
Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.
+
GLM_FUNC_DECL genType exponentialEaseInOut(genType const &a)
Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))...
+
GLM_FUNC_DECL genType circularEaseInOut(genType const &a)
Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1].
+
GLM_FUNC_DECL genType backEaseInOut(genType const &a, genType const &o)
+
GLM_FUNC_DECL genType cubicEaseOut(genType const &a)
Modelled after the cubic y = (x - 1)^3 + 1.
+
+ + + + diff --git a/doc/api/a00024.html b/doc/api/a00473.html similarity index 60% rename from doc/api/a00024.html rename to doc/api/a00473.html index bfb27b88..68257e1c 100644 --- a/doc/api/a00024.html +++ b/doc/api/a00473.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: euler_angles.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,189 +73,145 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_euler_angles -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleX (T const &angleX, T const &angularVelocityX)
 Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about X-axis. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleX (T const &angleX, T const &angularVelocityX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleY (T const &angleY, T const &angularVelocityY)
 Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Y-axis. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleY (T const &angleY, T const &angularVelocityY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleZ (T const &angleZ, T const &angularVelocityZ)
 Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Z-axis. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleZ (T const &angleZ, T const &angularVelocityZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleX (T const &angleX)
 Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle X. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleX (T const &angleX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXY (T const &angleX, T const &angleY)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXY (T const &angleX, T const &angleY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYZ (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYZ (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZ (T const &angleX, T const &angleZ)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZ (T const &angleX, T const &angleZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleY (T const &angleY)
 Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Y. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleY (T const &angleY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYX (T const &angleY, T const &angleX)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYX (T const &angleY, T const &angleX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXZ (T const &yaw, T const &pitch, T const &roll)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXZ (T const &yaw, T const &pitch, T const &roll)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZ (T const &angleY, T const &angleZ)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZ (T const &angleY, T const &angleZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZ (T const &angleZ)
 Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Z. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZ (T const &angleZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZX (T const &angle, T const &angleX)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZX (T const &angle, T const &angleX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXZ (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXZ (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZY (T const &angleZ, T const &angleY)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZY (T const &angleZ, T const &angleY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYZ (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYZ (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Y * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Y * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Z * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Z * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * X * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * X * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * Z * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * Z * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * X * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * X * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * Y * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * Y * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > orientate2 (T const &angle)
 Creates a 2D 2 * 2 rotation matrix from an euler angle. More...
GLM_FUNC_DECL mat< 2, 2, T, defaultp > orientate2 (T const &angle)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > orientate3 (T const &angle)
 Creates a 2D 4 * 4 homogeneous rotation matrix from an euler angle. More...
GLM_FUNC_DECL mat< 3, 3, T, defaultp > orientate3 (T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > orientate3 (vec< 3, T, Q > const &angles)
 Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 3, 3, T, Q > orientate3 (vec< 3, T, Q > const &angles)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > orientate4 (vec< 3, T, Q > const &angles)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, Q > orientate4 (vec< 3, T, Q > const &angles)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > yawPitchRoll (T const &yaw, T const &pitch, T const &roll)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > yawPitchRoll (T const &yaw, T const &pitch, T const &roll)
 

Detailed Description

-

GLM_GTX_euler_angles

-
See also
Core features (dependence)
+

GLM_GTX_euler_angles

+
See also
Core features (dependence)
-

Definition in file euler_angles.hpp.

+

Definition in file euler_angles.hpp.

diff --git a/doc/api/a00473_source.html b/doc/api/a00473_source.html new file mode 100644 index 00000000..b10d1849 --- /dev/null +++ b/doc/api/a00473_source.html @@ -0,0 +1,126 @@ + + + + + + + +0.9.9 API documenation: euler_angles.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
euler_angles.hpp
+
+
+Go to the documentation of this file.
1 
16 #pragma once
17 
18 // Dependency:
19 #include "../glm.hpp"
20 
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_euler_angles is an experimental 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_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_euler_angles extension included")
27 #endif
28 
29 namespace glm
30 {
33 
36  template<typename T>
37  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleX(
38  T const& angleX);
39 
42  template<typename T>
43  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleY(
44  T const& angleY);
45 
48  template<typename T>
49  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZ(
50  T const& angleZ);
51 
54  template <typename T>
55  GLM_FUNC_DECL mat<4, 4, T, defaultp> derivedEulerAngleX(
56  T const & angleX, T const & angularVelocityX);
57 
60  template <typename T>
61  GLM_FUNC_DECL mat<4, 4, T, defaultp> derivedEulerAngleY(
62  T const & angleY, T const & angularVelocityY);
63 
66  template <typename T>
67  GLM_FUNC_DECL mat<4, 4, T, defaultp> derivedEulerAngleZ(
68  T const & angleZ, T const & angularVelocityZ);
69 
72  template<typename T>
73  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXY(
74  T const& angleX,
75  T const& angleY);
76 
79  template<typename T>
80  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYX(
81  T const& angleY,
82  T const& angleX);
83 
86  template<typename T>
87  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXZ(
88  T const& angleX,
89  T const& angleZ);
90 
93  template<typename T>
94  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZX(
95  T const& angle,
96  T const& angleX);
97 
100  template<typename T>
101  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYZ(
102  T const& angleY,
103  T const& angleZ);
104 
107  template<typename T>
108  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZY(
109  T const& angleZ,
110  T const& angleY);
111 
114  template<typename T>
115  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXYZ(
116  T const& t1,
117  T const& t2,
118  T const& t3);
119 
122  template<typename T>
123  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYXZ(
124  T const& yaw,
125  T const& pitch,
126  T const& roll);
127 
130  template <typename T>
131  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXZX(
132  T const & t1,
133  T const & t2,
134  T const & t3);
135 
138  template <typename T>
139  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXYX(
140  T const & t1,
141  T const & t2,
142  T const & t3);
143 
146  template <typename T>
147  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYXY(
148  T const & t1,
149  T const & t2,
150  T const & t3);
151 
154  template <typename T>
155  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYZY(
156  T const & t1,
157  T const & t2,
158  T const & t3);
159 
162  template <typename T>
163  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZYZ(
164  T const & t1,
165  T const & t2,
166  T const & t3);
167 
170  template <typename T>
171  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZXZ(
172  T const & t1,
173  T const & t2,
174  T const & t3);
175 
178  template <typename T>
179  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleXZY(
180  T const & t1,
181  T const & t2,
182  T const & t3);
183 
186  template <typename T>
187  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleYZX(
188  T const & t1,
189  T const & t2,
190  T const & t3);
191 
194  template <typename T>
195  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZYX(
196  T const & t1,
197  T const & t2,
198  T const & t3);
199 
202  template <typename T>
203  GLM_FUNC_DECL mat<4, 4, T, defaultp> eulerAngleZXY(
204  T const & t1,
205  T const & t2,
206  T const & t3);
207 
210  template<typename T>
211  GLM_FUNC_DECL mat<4, 4, T, defaultp> yawPitchRoll(
212  T const& yaw,
213  T const& pitch,
214  T const& roll);
215 
218  template<typename T>
219  GLM_FUNC_DECL mat<2, 2, T, defaultp> orientate2(T const& angle);
220 
223  template<typename T>
224  GLM_FUNC_DECL mat<3, 3, T, defaultp> orientate3(T const& angle);
225 
228  template<typename T, qualifier Q>
229  GLM_FUNC_DECL mat<3, 3, T, Q> orientate3(vec<3, T, Q> const& angles);
230 
233  template<typename T, qualifier Q>
234  GLM_FUNC_DECL mat<4, 4, T, Q> orientate4(vec<3, T, Q> const& angles);
235 
238  template<typename T>
239  GLM_FUNC_DECL void extractEulerAngleXYZ(mat<4, 4, T, defaultp> const& M,
240  T & t1,
241  T & t2,
242  T & t3);
243 
246  template <typename T>
247  GLM_FUNC_DECL void extractEulerAngleYXZ(mat<4, 4, T, defaultp> const & M,
248  T & t1,
249  T & t2,
250  T & t3);
251 
254  template <typename T>
255  GLM_FUNC_DECL void extractEulerAngleXZX(mat<4, 4, T, defaultp> const & M,
256  T & t1,
257  T & t2,
258  T & t3);
259 
262  template <typename T>
263  GLM_FUNC_DECL void extractEulerAngleXYX(mat<4, 4, T, defaultp> const & M,
264  T & t1,
265  T & t2,
266  T & t3);
267 
270  template <typename T>
271  GLM_FUNC_DECL void extractEulerAngleYXY(mat<4, 4, T, defaultp> const & M,
272  T & t1,
273  T & t2,
274  T & t3);
275 
278  template <typename T>
279  GLM_FUNC_DECL void extractEulerAngleYZY(mat<4, 4, T, defaultp> const & M,
280  T & t1,
281  T & t2,
282  T & t3);
283 
286  template <typename T>
287  GLM_FUNC_DECL void extractEulerAngleZYZ(mat<4, 4, T, defaultp> const & M,
288  T & t1,
289  T & t2,
290  T & t3);
291 
294  template <typename T>
295  GLM_FUNC_DECL void extractEulerAngleZXZ(mat<4, 4, T, defaultp> const & M,
296  T & t1,
297  T & t2,
298  T & t3);
299 
302  template <typename T>
303  GLM_FUNC_DECL void extractEulerAngleXZY(mat<4, 4, T, defaultp> const & M,
304  T & t1,
305  T & t2,
306  T & t3);
307 
310  template <typename T>
311  GLM_FUNC_DECL void extractEulerAngleYZX(mat<4, 4, T, defaultp> const & M,
312  T & t1,
313  T & t2,
314  T & t3);
315 
318  template <typename T>
319  GLM_FUNC_DECL void extractEulerAngleZYX(mat<4, 4, T, defaultp> const & M,
320  T & t1,
321  T & t2,
322  T & t3);
323 
326  template <typename T>
327  GLM_FUNC_DECL void extractEulerAngleZXY(mat<4, 4, T, defaultp> const & M,
328  T & t1,
329  T & t2,
330  T & t3);
331 
333 }//namespace glm
334 
335 #include "euler_angles.inl"
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * X).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYZ(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * Z).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * X).
+
GLM_FUNC_DECL mat< 2, 2, T, defaultp > orientate2(T const &angle)
Creates a 2D 2 * 2 rotation matrix from an euler angle.
+
GLM_FUNC_DECL void extractEulerAngleYZY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * Z * Y) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXY(T const &angleX, T const &angleY)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > yawPitchRoll(T const &yaw, T const &pitch, T const &roll)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).
+
GLM_FUNC_DECL void extractEulerAngleXZX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Z * X) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL void extractEulerAngleXYX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Y * X) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleY(T const &angleY)
Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Y.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Y).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleY(T const &angleY, T const &angularVelocityY)
Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Y-axis.
+
GLM_FUNC_DECL void extractEulerAngleZYX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * Y * X) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZ(T const &angleY, T const &angleZ)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * X).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleX(T const &angleX)
Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle X.
+
GLM_FUNC_DECL void extractEulerAngleZXY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * X * Y) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * Y).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXZ(T const &yaw, T const &pitch, T const &roll)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).
+
GLM_FUNC_DECL void extractEulerAngleZYZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * Y * Z) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZX(T const &angle, T const &angleX)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZX(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * X).
+
GLM_FUNC_DECL void extractEulerAngleYZX(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * Z * X) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYX(T const &angleY, T const &angleX)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZY(T const &angleZ, T const &angleY)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y).
+
GLM_FUNC_DECL mat< 3, 3, T, Q > orientate3(vec< 3, T, Q > const &angles)
Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * Y).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZ(T const &angleZ)
Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Z.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZ(T const &angleX, T const &angleZ)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z).
+
GLM_FUNC_DECL mat< 4, 4, T, Q > orientate4(vec< 3, T, Q > const &angles)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).
+
GLM_FUNC_DECL void extractEulerAngleYXZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * X * Z) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleX(T const &angleX, T const &angularVelocityX)
Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about X-axis.
+
GLM_FUNC_DECL void extractEulerAngleXZY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Z * Y) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXY(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Y).
+
GLM_FUNC_DECL T pitch(qua< T, Q > const &x)
Returns pitch value of euler angles expressed in radians.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYZ(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * Z).
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXZ(T const &t1, T const &t2, T const &t3)
Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Z).
+
GLM_FUNC_DECL T roll(qua< T, Q > const &x)
Returns roll value of euler angles expressed in radians.
+
GLM_FUNC_DECL void extractEulerAngleYXY(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Y * X * Y) Euler angles from the rotation matrix M.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL void extractEulerAngleXYZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (X * Y * Z) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleZ(T const &angleZ, T const &angularVelocityZ)
Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Z-axis.
+
GLM_FUNC_DECL void extractEulerAngleZXZ(mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
Extracts the (Z * X * Z) Euler angles from the rotation matrix M.
+
GLM_FUNC_DECL T yaw(qua< T, Q > const &x)
Returns yaw value of euler angles expressed in radians.
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00027.html b/doc/api/a00476.html similarity index 56% rename from doc/api/a00027.html rename to doc/api/a00476.html index 6326c9c8..6915ddd9 100644 --- a/doc/api/a00027.html +++ b/doc/api/a00476.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: extend.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,29 +73,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_extend -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - +

Functions

template<typename genType >
GLM_FUNC_DECL genType extend (genType const &Origin, genType const &Source, typename genType::value_type const Length)
 Extends of Length the Origin position using the (Source - Origin) direction. More...
GLM_FUNC_DECL genType extend (genType const &Origin, genType const &Source, typename genType::value_type const Length)
 

Detailed Description

-

GLM_GTX_extend

-
See also
Core features (dependence)
+

GLM_GTX_extend

+
See also
Core features (dependence)
-

Definition in file extend.hpp.

+

Definition in file extend.hpp.

diff --git a/doc/api/a00476_source.html b/doc/api/a00476_source.html new file mode 100644 index 00000000..cbc3f80c --- /dev/null +++ b/doc/api/a00476_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: extend.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
extend.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_extend is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_extend extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename genType>
34  GLM_FUNC_DECL genType extend(
35  genType const& Origin,
36  genType const& Source,
37  typename genType::value_type const Length);
38 
40 }//namespace glm
41 
42 #include "extend.inl"
GLM_FUNC_DECL genType extend(genType const &Origin, genType const &Source, typename genType::value_type const Length)
Extends of Length the Origin position using the (Source - Origin) direction.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00028.html b/doc/api/a00479.html similarity index 52% rename from doc/api/a00028.html rename to doc/api/a00479.html index c2145203..06d663e3 100644 --- a/doc/api/a00028.html +++ b/doc/api/a00479.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: extended_min_max.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,109 +73,73 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_extented_min_max -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - - - - - - - - - + - - - - - - - - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType fclamp (genType x, genType minVal, genType maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x. More...
GLM_FUNC_DECL genType fclamp (genType x, genType minVal, genType maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x. More...
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 Returns min(max(x, minVal), maxVal) for each component in x. More...
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 
template<typename genType >
GLM_FUNC_DECL genType fmax (genType x, genType y)
 Returns y if x < y; otherwise, it returns x. More...
GLM_FUNC_DECL genType fmax (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &x, T y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if x < y; otherwise, it returns x. More...
 
template<typename genType >
GLM_FUNC_DECL genType fmin (genType x, genType y)
 Returns y if y < x; otherwise, it returns x. More...
GLM_FUNC_DECL genType fmin (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, T y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns y if y < x; otherwise, it returns x. More...
 
template<typename T >
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z)
 Return the maximum component-wise values of 3 inputs. More...
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 Return the maximum component-wise values of 3 inputs. More...
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z)
 Return the maximum component-wise values of 3 inputs. More...
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z)
 
template<typename T >
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z, T const &w)
 Return the maximum component-wise values of 4 inputs. More...
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z, T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 Return the maximum component-wise values of 4 inputs. More...
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 Return the maximum component-wise values of 4 inputs. More...
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 
template<typename T >
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z)
 Return the minimum component-wise values of 3 inputs. More...
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 Return the minimum component-wise values of 3 inputs. More...
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z)
 Return the minimum component-wise values of 3 inputs. More...
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z)
 
template<typename T >
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z, T const &w)
 Return the minimum component-wise values of 4 inputs. More...
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z, T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 Return the minimum component-wise values of 4 inputs. More...
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 Return the minimum component-wise values of 4 inputs. More...
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 

Detailed Description

-

GLM_GTX_extented_min_max

-
See also
Core features (dependence)
+

GLM_GTX_extented_min_max

+
See also
Core features (dependence)
-

Definition in file extended_min_max.hpp.

+

Definition in file extended_min_max.hpp.

diff --git a/doc/api/a00479_source.html b/doc/api/a00479_source.html new file mode 100644 index 00000000..72493bff --- /dev/null +++ b/doc/api/a00479_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: extended_min_max.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
extended_min_max.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_extented_min_max is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_extented_min_max extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T>
34  GLM_FUNC_DECL T min(
35  T const& x,
36  T const& y,
37  T const& z);
38 
41  template<typename T, template<typename> class C>
42  GLM_FUNC_DECL C<T> min(
43  C<T> const& x,
44  typename C<T>::T const& y,
45  typename C<T>::T const& z);
46 
49  template<typename T, template<typename> class C>
50  GLM_FUNC_DECL C<T> min(
51  C<T> const& x,
52  C<T> const& y,
53  C<T> const& z);
54 
57  template<typename T>
58  GLM_FUNC_DECL T min(
59  T const& x,
60  T const& y,
61  T const& z,
62  T const& w);
63 
66  template<typename T, template<typename> class C>
67  GLM_FUNC_DECL C<T> min(
68  C<T> const& x,
69  typename C<T>::T const& y,
70  typename C<T>::T const& z,
71  typename C<T>::T const& w);
72 
75  template<typename T, template<typename> class C>
76  GLM_FUNC_DECL C<T> min(
77  C<T> const& x,
78  C<T> const& y,
79  C<T> const& z,
80  C<T> const& w);
81 
84  template<typename T>
85  GLM_FUNC_DECL T max(
86  T const& x,
87  T const& y,
88  T const& z);
89 
92  template<typename T, template<typename> class C>
93  GLM_FUNC_DECL C<T> max(
94  C<T> const& x,
95  typename C<T>::T const& y,
96  typename C<T>::T const& z);
97 
100  template<typename T, template<typename> class C>
101  GLM_FUNC_DECL C<T> max(
102  C<T> const& x,
103  C<T> const& y,
104  C<T> const& z);
105 
108  template<typename T>
109  GLM_FUNC_DECL T max(
110  T const& x,
111  T const& y,
112  T const& z,
113  T const& w);
114 
117  template<typename T, template<typename> class C>
118  GLM_FUNC_DECL C<T> max(
119  C<T> const& x,
120  typename C<T>::T const& y,
121  typename C<T>::T const& z,
122  typename C<T>::T const& w);
123 
126  template<typename T, template<typename> class C>
127  GLM_FUNC_DECL C<T> max(
128  C<T> const& x,
129  C<T> const& y,
130  C<T> const& z,
131  C<T> const& w);
132 
138  template<typename genType>
139  GLM_FUNC_DECL genType fmin(genType x, genType y);
140 
147  template<typename genType>
148  GLM_FUNC_DECL genType fmax(genType x, genType y);
149 
155  template<typename genType>
156  GLM_FUNC_DECL genType fclamp(genType x, genType minVal, genType maxVal);
157 
165  template<length_t L, typename T, qualifier Q>
166  GLM_FUNC_DECL vec<L, T, Q> fclamp(vec<L, T, Q> const& x, T minVal, T maxVal);
167 
175  template<length_t L, typename T, qualifier Q>
176  GLM_FUNC_DECL vec<L, T, Q> fclamp(vec<L, T, Q> const& x, vec<L, T, Q> const& minVal, vec<L, T, Q> const& maxVal);
177 
178 
180 }//namespace glm
181 
182 #include "extended_min_max.inl"
GLM_FUNC_DECL genType fmin(genType x, genType y)
Returns y if y < x; otherwise, it returns x.
+
GLM_FUNC_DECL C< T > min(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the minimum component-wise values of 4 inputs.
+
GLM_FUNC_DECL vec< L, T, Q > fclamp(vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
Returns min(max(x, minVal), maxVal) for each component in x.
+
GLM_FUNC_DECL genType fmax(genType x, genType y)
Returns y if x < y; otherwise, it returns x.
+
GLM_FUNC_DECL C< T > max(C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
Return the maximum component-wise values of 4 inputs.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00029.html b/doc/api/a00482.html similarity index 54% rename from doc/api/a00029.html rename to doc/api/a00482.html index e692f740..7888e791 100644 --- a/doc/api/a00029.html +++ b/doc/api/a00482.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: exterior_product.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,31 +73,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_exterior_product -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T cross (vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
 Returns the cross product of x and y. More...
GLM_FUNC_DECL T cross (vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
 

Detailed Description

-

GLM_GTX_exterior_product

-
See also
Core features (dependence)
+
-

Definition in file exterior_product.hpp.

+

Definition in file exterior_product.hpp.

diff --git a/doc/api/a00482_source.html b/doc/api/a00482_source.html new file mode 100644 index 00000000..eb8fbdeb --- /dev/null +++ b/doc/api/a00482_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: exterior_product.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
exterior_product.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_GTX_exterior_product extension included")
22 #endif
23 
24 namespace glm
25 {
28 
35  template<typename T, qualifier Q>
36  GLM_FUNC_DECL T cross(vec<2, T, Q> const& v, vec<2, T, Q> const& u);
37 
39 } //namespace glm
40 
41 #include "exterior_product.inl"
GLM_FUNC_DECL T cross(vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
Returns the cross product of x and y.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00030.html b/doc/api/a00485.html similarity index 59% rename from doc/api/a00030.html rename to doc/api/a00485.html index 3cbcfb59..69791adf 100644 --- a/doc/api/a00030.html +++ b/doc/api/a00485.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: fast_exponential.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,75 +73,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_fast_exponential -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL T fastExp (T x)
 Faster than the common exp function but less accurate. More...
GLM_FUNC_DECL T fastExp (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastExp (vec< L, T, Q > const &x)
 Faster than the common exp function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastExp (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T fastExp2 (T x)
 Faster than the common exp2 function but less accurate. More...
GLM_FUNC_DECL T fastExp2 (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastExp2 (vec< L, T, Q > const &x)
 Faster than the common exp2 function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastExp2 (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T fastLog (T x)
 Faster than the common log function but less accurate. More...
GLM_FUNC_DECL T fastLog (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastLog (vec< L, T, Q > const &x)
 Faster than the common exp2 function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastLog (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T fastLog2 (T x)
 Faster than the common log2 function but less accurate. More...
GLM_FUNC_DECL T fastLog2 (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastLog2 (vec< L, T, Q > const &x)
 Faster than the common log2 function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastLog2 (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastPow (genType x, genType y)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL genType fastPow (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT fastPow (genTypeT x, genTypeU y)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL genTypeT fastPow (genTypeT x, genTypeU y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x)
 

Detailed Description

-

GLM_GTX_fast_exponential

-
See also
Core features (dependence)
+

GLM_GTX_fast_exponential

+
See also
Core features (dependence)
gtx_half_float (dependence)
-

Definition in file fast_exponential.hpp.

+

Definition in file fast_exponential.hpp.

diff --git a/doc/api/a00485_source.html b/doc/api/a00485_source.html new file mode 100644 index 00000000..ea0e2f68 --- /dev/null +++ b/doc/api/a00485_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: fast_exponential.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
fast_exponential.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_fast_exponential is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_fast_exponential extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename genType>
35  GLM_FUNC_DECL genType fastPow(genType x, genType y);
36 
39  template<length_t L, typename T, qualifier Q>
40  GLM_FUNC_DECL vec<L, T, Q> fastPow(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
41 
44  template<typename genTypeT, typename genTypeU>
45  GLM_FUNC_DECL genTypeT fastPow(genTypeT x, genTypeU y);
46 
49  template<length_t L, typename T, qualifier Q>
50  GLM_FUNC_DECL vec<L, T, Q> fastPow(vec<L, T, Q> const& x);
51 
54  template<typename T>
55  GLM_FUNC_DECL T fastExp(T x);
56 
59  template<length_t L, typename T, qualifier Q>
60  GLM_FUNC_DECL vec<L, T, Q> fastExp(vec<L, T, Q> const& x);
61 
64  template<typename T>
65  GLM_FUNC_DECL T fastLog(T x);
66 
69  template<length_t L, typename T, qualifier Q>
70  GLM_FUNC_DECL vec<L, T, Q> fastLog(vec<L, T, Q> const& x);
71 
74  template<typename T>
75  GLM_FUNC_DECL T fastExp2(T x);
76 
79  template<length_t L, typename T, qualifier Q>
80  GLM_FUNC_DECL vec<L, T, Q> fastExp2(vec<L, T, Q> const& x);
81 
84  template<typename T>
85  GLM_FUNC_DECL T fastLog2(T x);
86 
89  template<length_t L, typename T, qualifier Q>
90  GLM_FUNC_DECL vec<L, T, Q> fastLog2(vec<L, T, Q> const& x);
91 
93 }//namespace glm
94 
95 #include "fast_exponential.inl"
GLM_FUNC_DECL vec< L, T, Q > fastPow(vec< L, T, Q > const &x)
Faster than the common pow function but less accurate.
+
GLM_FUNC_DECL vec< L, T, Q > fastLog2(vec< L, T, Q > const &x)
Faster than the common log2 function but less accurate.
+
GLM_FUNC_DECL vec< L, T, Q > fastExp(vec< L, T, Q > const &x)
Faster than the common exp function but less accurate.
+
GLM_FUNC_DECL vec< L, T, Q > fastLog(vec< L, T, Q > const &x)
Faster than the common exp2 function but less accurate.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, T, Q > fastExp2(vec< L, T, Q > const &x)
Faster than the common exp2 function but less accurate.
+
+ + + + diff --git a/doc/api/a00031.html b/doc/api/a00488.html similarity index 58% rename from doc/api/a00031.html rename to doc/api/a00488.html index 73cf673a..88dd6328 100644 --- a/doc/api/a00031.html +++ b/doc/api/a00488.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: fast_square_root.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,61 +73,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_fast_square_root -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType fastDistance (genType x, genType y)
 Faster than the common distance function but less accurate. More...
GLM_FUNC_DECL genType fastDistance (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastDistance (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Faster than the common distance function but less accurate. More...
GLM_FUNC_DECL T fastDistance (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL genType fastInverseSqrt (genType x)
 Faster than the common inversesqrt function but less accurate. More...
GLM_FUNC_DECL genType fastInverseSqrt (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt (vec< L, T, Q > const &x)
 Faster than the common inversesqrt function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastLength (genType x)
 Faster than the common length function but less accurate. More...
GLM_FUNC_DECL genType fastLength (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastLength (vec< L, T, Q > const &x)
 Faster than the common length function but less accurate. More...
GLM_FUNC_DECL T fastLength (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastNormalize (genType const &x)
 Faster than the common normalize function but less accurate. More...
GLM_FUNC_DECL genType fastNormalize (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastSqrt (genType x)
 Faster than the common sqrt function but less accurate. More...
GLM_FUNC_DECL genType fastSqrt (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastSqrt (vec< L, T, Q > const &x)
 Faster than the common sqrt function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastSqrt (vec< L, T, Q > const &x)
 

Detailed Description

-

GLM_GTX_fast_square_root

-
See also
Core features (dependence)
+

GLM_GTX_fast_square_root

+
See also
Core features (dependence)
-

Definition in file fast_square_root.hpp.

+

Definition in file fast_square_root.hpp.

diff --git a/doc/api/a00488_source.html b/doc/api/a00488_source.html new file mode 100644 index 00000000..06106133 --- /dev/null +++ b/doc/api/a00488_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: fast_square_root.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
fast_square_root.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../common.hpp"
19 #include "../exponential.hpp"
20 #include "../geometric.hpp"
21 
22 #ifndef GLM_ENABLE_EXPERIMENTAL
23 # error "GLM: GLM_GTX_fast_square_root is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
24 #endif
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTX_fast_square_root extension included")
28 #endif
29 
30 namespace glm
31 {
34 
38  template<typename genType>
39  GLM_FUNC_DECL genType fastSqrt(genType x);
40 
44  template<length_t L, typename T, qualifier Q>
45  GLM_FUNC_DECL vec<L, T, Q> fastSqrt(vec<L, T, Q> const& x);
46 
50  template<typename genType>
51  GLM_FUNC_DECL genType fastInverseSqrt(genType x);
52 
56  template<length_t L, typename T, qualifier Q>
57  GLM_FUNC_DECL vec<L, T, Q> fastInverseSqrt(vec<L, T, Q> const& x);
58 
62  template<typename genType>
63  GLM_FUNC_DECL genType fastLength(genType x);
64 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL T fastLength(vec<L, T, Q> const& x);
70 
74  template<typename genType>
75  GLM_FUNC_DECL genType fastDistance(genType x, genType y);
76 
80  template<length_t L, typename T, qualifier Q>
81  GLM_FUNC_DECL T fastDistance(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
82 
86  template<typename genType>
87  GLM_FUNC_DECL genType fastNormalize(genType const& x);
88 
90 }// namespace glm
91 
92 #include "fast_square_root.inl"
GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt(vec< L, T, Q > const &x)
Faster than the common inversesqrt function but less accurate.
+
GLM_FUNC_DECL vec< L, T, Q > fastSqrt(vec< L, T, Q > const &x)
Faster than the common sqrt function but less accurate.
+
GLM_FUNC_DECL T fastLength(vec< L, T, Q > const &x)
Faster than the common length function but less accurate.
+
GLM_FUNC_DECL genType fastNormalize(genType const &x)
Faster than the common normalize function but less accurate.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T fastDistance(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Faster than the common distance function but less accurate.
+
+ + + + diff --git a/doc/api/a00032.html b/doc/api/a00491.html similarity index 57% rename from doc/api/a00032.html rename to doc/api/a00491.html index 25419add..cc7622d6 100644 --- a/doc/api/a00032.html +++ b/doc/api/a00491.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: fast_trigonometry.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,57 +73,46 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_fast_trigonometry -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL T fastAcos (T angle)
 Faster than the common acos function but less accurate. More...
GLM_FUNC_DECL T fastAcos (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastAsin (T angle)
 Faster than the common asin function but less accurate. More...
GLM_FUNC_DECL T fastAsin (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastAtan (T y, T x)
 Faster than the common atan function but less accurate. More...
GLM_FUNC_DECL T fastAtan (T y, T x)
 
template<typename T >
GLM_FUNC_DECL T fastAtan (T angle)
 Faster than the common atan function but less accurate. More...
GLM_FUNC_DECL T fastAtan (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastCos (T angle)
 Faster than the common cos function but less accurate. More...
GLM_FUNC_DECL T fastCos (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastSin (T angle)
 Faster than the common sin function but less accurate. More...
GLM_FUNC_DECL T fastSin (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastTan (T angle)
 Faster than the common tan function but less accurate. More...
GLM_FUNC_DECL T fastTan (T angle)
 
template<typename T >
GLM_FUNC_DECL T wrapAngle (T angle)
 Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. More...
GLM_FUNC_DECL T wrapAngle (T angle)
 

Detailed Description

-

GLM_GTX_fast_trigonometry

-
See also
Core features (dependence)
+

GLM_GTX_fast_trigonometry

+
See also
Core features (dependence)
-

Definition in file fast_trigonometry.hpp.

+

Definition in file fast_trigonometry.hpp.

diff --git a/doc/api/a00491_source.html b/doc/api/a00491_source.html new file mode 100644 index 00000000..fd0d5ea0 --- /dev/null +++ b/doc/api/a00491_source.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: fast_trigonometry.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
fast_trigonometry.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../gtc/constants.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_fast_trigonometry is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_fast_trigonometry extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T>
34  GLM_FUNC_DECL T wrapAngle(T angle);
35 
38  template<typename T>
39  GLM_FUNC_DECL T fastSin(T angle);
40 
43  template<typename T>
44  GLM_FUNC_DECL T fastCos(T angle);
45 
49  template<typename T>
50  GLM_FUNC_DECL T fastTan(T angle);
51 
55  template<typename T>
56  GLM_FUNC_DECL T fastAsin(T angle);
57 
61  template<typename T>
62  GLM_FUNC_DECL T fastAcos(T angle);
63 
67  template<typename T>
68  GLM_FUNC_DECL T fastAtan(T y, T x);
69 
73  template<typename T>
74  GLM_FUNC_DECL T fastAtan(T angle);
75 
77 }//namespace glm
78 
79 #include "fast_trigonometry.inl"
GLM_FUNC_DECL T fastAsin(T angle)
Faster than the common asin function but less accurate.
+
GLM_FUNC_DECL T fastAtan(T angle)
Faster than the common atan function but less accurate.
+
GLM_FUNC_DECL T fastTan(T angle)
Faster than the common tan function but less accurate.
+
GLM_FUNC_DECL T fastCos(T angle)
Faster than the common cos function but less accurate.
+
GLM_FUNC_DECL T wrapAngle(T angle)
Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension.
+
GLM_FUNC_DECL T fastAcos(T angle)
Faster than the common acos function but less accurate.
+
GLM_FUNC_DECL T fastSin(T angle)
Faster than the common sin function but less accurate.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00033.html b/doc/api/a00494.html similarity index 56% rename from doc/api/a00033.html rename to doc/api/a00494.html index 15b0b540..fcfe01e5 100644 --- a/doc/api/a00033.html +++ b/doc/api/a00494.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: functions.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,35 +73,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_functions -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<typename T >
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 1D gauss function More...
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T gauss (vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
 2D gauss function More...
GLM_FUNC_DECL T gauss (vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
 

Detailed Description

-

GLM_GTX_functions

-
See also
Core features (dependence)
+

GLM_GTX_functions

+
See also
Core features (dependence)
-GLM_GTC_quaternion (dependence)
+GLM_GTC_quaternion (dependence)
-

Definition in file functions.hpp.

+

Definition in file functions.hpp.

diff --git a/doc/api/a00494_source.html b/doc/api/a00494_source.html new file mode 100644 index 00000000..3f127e3c --- /dev/null +++ b/doc/api/a00494_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: functions.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
functions.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../detail/type_vec2.hpp"
20 
21 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
22 # pragma message("GLM: GLM_GTX_functions extension included")
23 #endif
24 
25 namespace glm
26 {
29 
33  template<typename T>
34  GLM_FUNC_DECL T gauss(
35  T x,
36  T ExpectedValue,
37  T StandardDeviation);
38 
42  template<typename T, qualifier Q>
43  GLM_FUNC_DECL T gauss(
44  vec<2, T, Q> const& Coord,
45  vec<2, T, Q> const& ExpectedValue,
46  vec<2, T, Q> const& StandardDeviation);
47 
49 }//namespace glm
50 
51 #include "functions.inl"
52 
GLM_FUNC_DECL T gauss(vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
2D gauss function
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00037.html b/doc/api/a00497.html similarity index 57% rename from doc/api/a00037.html rename to doc/api/a00497.html index eaaee0ab..65a5ae12 100644 --- a/doc/api/a00037.html +++ b/doc/api/a00497.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: gradient_paint.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,35 +73,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_gradient_paint -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T linearGradient (vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)
 Return a color from a linear gradient. More...
GLM_FUNC_DECL T linearGradient (vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T radialGradient (vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)
 Return a color from a radial gradient. More...
GLM_FUNC_DECL T radialGradient (vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)
 

Detailed Description

-

GLM_GTX_gradient_paint

-
See also
Core features (dependence)
+

GLM_GTX_gradient_paint

+
See also
Core features (dependence)
-GLM_GTX_optimum_pow (dependence)
+GLM_GTX_optimum_pow (dependence)
-

Definition in file gradient_paint.hpp.

+

Definition in file gradient_paint.hpp.

diff --git a/doc/api/a00497_source.html b/doc/api/a00497_source.html new file mode 100644 index 00000000..3e67947b --- /dev/null +++ b/doc/api/a00497_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: gradient_paint.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gradient_paint.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtx/optimum_pow.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_gradient_paint is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_gradient_paint extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<typename T, qualifier Q>
36  GLM_FUNC_DECL T radialGradient(
37  vec<2, T, Q> const& Center,
38  T const& Radius,
39  vec<2, T, Q> const& Focal,
40  vec<2, T, Q> const& Position);
41 
44  template<typename T, qualifier Q>
45  GLM_FUNC_DECL T linearGradient(
46  vec<2, T, Q> const& Point0,
47  vec<2, T, Q> const& Point1,
48  vec<2, T, Q> const& Position);
49 
51 }// namespace glm
52 
53 #include "gradient_paint.inl"
GLM_FUNC_DECL T linearGradient(vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)
Return a color from a linear gradient.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T radialGradient(vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)
Return a color from a radial gradient.
+
+ + + + diff --git a/doc/api/a00500.html b/doc/api/a00500.html new file mode 100644 index 00000000..079dbbb7 --- /dev/null +++ b/doc/api/a00500.html @@ -0,0 +1,100 @@ + + + + + + + +0.9.9 API documenation: handed_coordinate_space.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
handed_coordinate_space.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL bool leftHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool rightHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 
+

Detailed Description

+

GLM_GTX_handed_coordinate_space

+
See also
Core features (dependence)
+ +

Definition in file handed_coordinate_space.hpp.

+
+ + + + diff --git a/doc/api/a00500_source.html b/doc/api/a00500_source.html new file mode 100644 index 00000000..cea736c4 --- /dev/null +++ b/doc/api/a00500_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: handed_coordinate_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
handed_coordinate_space.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_handed_coordinate_space is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_handed_coordinate_space extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL bool rightHanded(
35  vec<3, T, Q> const& tangent,
36  vec<3, T, Q> const& binormal,
37  vec<3, T, Q> const& normal);
38 
41  template<typename T, qualifier Q>
42  GLM_FUNC_DECL bool leftHanded(
43  vec<3, T, Q> const& tangent,
44  vec<3, T, Q> const& binormal,
45  vec<3, T, Q> const& normal);
46 
48 }// namespace glm
49 
50 #include "handed_coordinate_space.inl"
GLM_FUNC_DECL bool leftHanded(vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
Return if a trihedron left handed or not.
+
GLM_FUNC_DECL bool rightHanded(vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
Return if a trihedron right handed or not.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00039.html b/doc/api/a00503.html similarity index 53% rename from doc/api/a00039.html rename to doc/api/a00503.html index 370dc39c..8205a5ab 100644 --- a/doc/api/a00039.html +++ b/doc/api/a00503.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: hash.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -89,21 +71,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_hash -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

GLM_GTX_hash

-
See also
Core features (dependence)
+

GLM_GTX_hash

+
See also
Core features (dependence)
-

Definition in file hash.hpp.

+

Definition in file hash.hpp.

diff --git a/doc/api/a00503_source.html b/doc/api/a00503_source.html new file mode 100644 index 00000000..2038eb1f --- /dev/null +++ b/doc/api/a00503_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: hash.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
hash.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #ifndef GLM_ENABLE_EXPERIMENTAL
16 # error "GLM: GLM_GTX_hash is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
17 #endif
18 
19 #include <functional>
20 
21 #include "../vec2.hpp"
22 #include "../vec3.hpp"
23 #include "../vec4.hpp"
24 #include "../gtc/vec1.hpp"
25 
26 #include "../gtc/quaternion.hpp"
27 #include "../gtx/dual_quaternion.hpp"
28 
29 #include "../mat2x2.hpp"
30 #include "../mat2x3.hpp"
31 #include "../mat2x4.hpp"
32 
33 #include "../mat3x2.hpp"
34 #include "../mat3x3.hpp"
35 #include "../mat3x4.hpp"
36 
37 #include "../mat4x2.hpp"
38 #include "../mat4x3.hpp"
39 #include "../mat4x4.hpp"
40 
41 #if !GLM_HAS_CXX11_STL
42 # error "GLM_GTX_hash requires C++11 standard library support"
43 #endif
44 
45 namespace std
46 {
47  template<typename T, glm::qualifier Q>
48  struct hash<glm::vec<1, T,Q> >
49  {
50  GLM_FUNC_DECL size_t operator()(glm::vec<1, T, Q> const& v) const;
51  };
52 
53  template<typename T, glm::qualifier Q>
54  struct hash<glm::vec<2, T,Q> >
55  {
56  GLM_FUNC_DECL size_t operator()(glm::vec<2, T, Q> const& v) const;
57  };
58 
59  template<typename T, glm::qualifier Q>
60  struct hash<glm::vec<3, T,Q> >
61  {
62  GLM_FUNC_DECL size_t operator()(glm::vec<3, T, Q> const& v) const;
63  };
64 
65  template<typename T, glm::qualifier Q>
66  struct hash<glm::vec<4, T,Q> >
67  {
68  GLM_FUNC_DECL size_t operator()(glm::vec<4, T, Q> const& v) const;
69  };
70 
71  template<typename T, glm::qualifier Q>
72  struct hash<glm::tquat<T,Q>>
73  {
74  GLM_FUNC_DECL size_t operator()(glm::tquat<T, Q> const& q) const;
75  };
76 
77  template<typename T, glm::qualifier Q>
78  struct hash<glm::tdualquat<T,Q> >
79  {
80  GLM_FUNC_DECL size_t operator()(glm::tdualquat<T,Q> const& q) const;
81  };
82 
83  template<typename T, glm::qualifier Q>
84  struct hash<glm::mat<2, 2, T,Q> >
85  {
86  GLM_FUNC_DECL size_t operator()(glm::mat<2, 2, T,Q> const& m) const;
87  };
88 
89  template<typename T, glm::qualifier Q>
90  struct hash<glm::mat<2, 3, T,Q> >
91  {
92  GLM_FUNC_DECL size_t operator()(glm::mat<2, 3, T,Q> const& m) const;
93  };
94 
95  template<typename T, glm::qualifier Q>
96  struct hash<glm::mat<2, 4, T,Q> >
97  {
98  GLM_FUNC_DECL size_t operator()(glm::mat<2, 4, T,Q> const& m) const;
99  };
100 
101  template<typename T, glm::qualifier Q>
102  struct hash<glm::mat<3, 2, T,Q> >
103  {
104  GLM_FUNC_DECL size_t operator()(glm::mat<3, 2, T,Q> const& m) const;
105  };
106 
107  template<typename T, glm::qualifier Q>
108  struct hash<glm::mat<3, 3, T,Q> >
109  {
110  GLM_FUNC_DECL size_t operator()(glm::mat<3, 3, T,Q> const& m) const;
111  };
112 
113  template<typename T, glm::qualifier Q>
114  struct hash<glm::mat<3, 4, T,Q> >
115  {
116  GLM_FUNC_DECL size_t operator()(glm::mat<3, 4, T,Q> const& m) const;
117  };
118 
119  template<typename T, glm::qualifier Q>
120  struct hash<glm::mat<4, 2, T,Q> >
121  {
122  GLM_FUNC_DECL size_t operator()(glm::mat<4, 2, T,Q> const& m) const;
123  };
124 
125  template<typename T, glm::qualifier Q>
126  struct hash<glm::mat<4, 3, T,Q> >
127  {
128  GLM_FUNC_DECL size_t operator()(glm::mat<4, 3, T,Q> const& m) const;
129  };
130 
131  template<typename T, glm::qualifier Q>
132  struct hash<glm::mat<4, 4, T,Q> >
133  {
134  GLM_FUNC_DECL size_t operator()(glm::mat<4, 4, T,Q> const& m) const;
135  };
136 } // namespace std
137 
138 #include "hash.inl"
Definition: hash.hpp:45
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00043.html b/doc/api/a00506.html similarity index 61% rename from doc/api/a00043.html rename to doc/api/a00506.html index b2871a2f..6328e440 100644 --- a/doc/api/a00043.html +++ b/doc/api/a00506.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: intersect.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,51 +73,42 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_intersect -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL bool intersectLineSphere (genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())
 Compute the intersection of a line and a sphere. More...
GLM_FUNC_DECL bool intersectLineSphere (genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())
 
template<typename genType >
GLM_FUNC_DECL bool intersectLineTriangle (genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)
 Compute the intersection of a line and a triangle. More...
GLM_FUNC_DECL bool intersectLineTriangle (genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)
 
template<typename genType >
GLM_FUNC_DECL bool intersectRayPlane (genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)
 Compute the intersection of a ray and a plane. More...
GLM_FUNC_DECL bool intersectRayPlane (genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)
 
template<typename genType >
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, typename genType::value_type const sphereRadiusSquered, typename genType::value_type &intersectionDistance)
 Compute the intersection distance of a ray and a sphere. More...
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, typename genType::value_type const sphereRadiusSquered, typename genType::value_type &intersectionDistance)
 
template<typename genType >
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)
 Compute the intersection of a ray and a sphere. More...
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool intersectRayTriangle (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dir, vec< 3, T, Q > const &v0, vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 2, T, Q > &baryPosition, T &distance)
 Compute the intersection of a ray and a triangle. More...
GLM_FUNC_DECL bool intersectRayTriangle (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dir, vec< 3, T, Q > const &v0, vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 2, T, Q > &baryPosition, T &distance)
 

Detailed Description

-

GLM_GTX_intersect

-
See also
Core features (dependence)
+

GLM_GTX_intersect

+
See also
Core features (dependence)
-GLM_GTX_closest_point (dependence)
+GLM_GTX_closest_point (dependence)
-

Definition in file intersect.hpp.

+

Definition in file intersect.hpp.

diff --git a/doc/api/a00506_source.html b/doc/api/a00506_source.html new file mode 100644 index 00000000..59d2ff87 --- /dev/null +++ b/doc/api/a00506_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: intersect.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
intersect.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include <cfloat>
18 #include <limits>
19 #include "../glm.hpp"
20 #include "../geometric.hpp"
21 #include "../gtx/closest_point.hpp"
22 #include "../gtx/vector_query.hpp"
23 
24 #ifndef GLM_ENABLE_EXPERIMENTAL
25 # error "GLM: GLM_GTX_closest_point is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
26 #endif
27 
28 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
29 # pragma message("GLM: GLM_GTX_closest_point extension included")
30 #endif
31 
32 namespace glm
33 {
36 
40  template<typename genType>
41  GLM_FUNC_DECL bool intersectRayPlane(
42  genType const& orig, genType const& dir,
43  genType const& planeOrig, genType const& planeNormal,
44  typename genType::value_type & intersectionDistance);
45 
49  template<typename T, qualifier Q>
50  GLM_FUNC_DECL bool intersectRayTriangle(
51  vec<3, T, Q> const& orig, vec<3, T, Q> const& dir,
52  vec<3, T, Q> const& v0, vec<3, T, Q> const& v1, vec<3, T, Q> const& v2,
53  vec<2, T, Q>& baryPosition, T& distance);
54 
57  template<typename genType>
58  GLM_FUNC_DECL bool intersectLineTriangle(
59  genType const& orig, genType const& dir,
60  genType const& vert0, genType const& vert1, genType const& vert2,
61  genType & position);
62 
66  template<typename genType>
67  GLM_FUNC_DECL bool intersectRaySphere(
68  genType const& rayStarting, genType const& rayNormalizedDirection,
69  genType const& sphereCenter, typename genType::value_type const sphereRadiusSquered,
70  typename genType::value_type & intersectionDistance);
71 
74  template<typename genType>
75  GLM_FUNC_DECL bool intersectRaySphere(
76  genType const& rayStarting, genType const& rayNormalizedDirection,
77  genType const& sphereCenter, const typename genType::value_type sphereRadius,
78  genType & intersectionPosition, genType & intersectionNormal);
79 
82  template<typename genType>
83  GLM_FUNC_DECL bool intersectLineSphere(
84  genType const& point0, genType const& point1,
85  genType const& sphereCenter, typename genType::value_type sphereRadius,
86  genType & intersectionPosition1, genType & intersectionNormal1,
87  genType & intersectionPosition2 = genType(), genType & intersectionNormal2 = genType());
88 
90 }//namespace glm
91 
92 #include "intersect.inl"
GLM_FUNC_DECL bool intersectLineSphere(genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())
Compute the intersection of a line and a sphere.
+
GLM_FUNC_DECL T distance(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
Returns the distance betwwen p0 and p1, i.e., length(p0 - p1).
+
GLM_FUNC_DECL bool intersectRaySphere(genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)
Compute the intersection of a ray and a sphere.
+
GLM_FUNC_DECL bool intersectRayPlane(genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)
Compute the intersection of a ray and a plane.
+
GLM_FUNC_DECL bool intersectLineTriangle(genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)
Compute the intersection of a line and a triangle.
+
GLM_FUNC_DECL bool intersectRayTriangle(vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dir, vec< 3, T, Q > const &v0, vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 2, T, Q > &baryPosition, T &distance)
Compute the intersection of a ray and a triangle.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00509.html b/doc/api/a00509.html new file mode 100644 index 00000000..497e2273 --- /dev/null +++ b/doc/api/a00509.html @@ -0,0 +1,93 @@ + + + + + + + +0.9.9 API documenation: io.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
io.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

GLM_GTX_io

+
Author
Jan P Springer (regni.nosp@m.rpsj.nosp@m.@gmai.nosp@m.l.co.nosp@m.m)
+
See also
Core features (dependence)
+
+GLM_GTC_matrix_access (dependence)
+
+GLM_GTC_quaternion (dependence)
+ +

Definition in file io.hpp.

+
+ + + + diff --git a/doc/api/a00509_source.html b/doc/api/a00509_source.html new file mode 100644 index 00000000..f263b6ab --- /dev/null +++ b/doc/api/a00509_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: io.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
io.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependency:
23 #include "../glm.hpp"
24 #include "../gtx/quaternion.hpp"
25 
26 #ifndef GLM_ENABLE_EXPERIMENTAL
27 # error "GLM: GLM_GTX_io is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
28 #endif
29 
30 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
31 # pragma message("GLM: GLM_GTX_io extension included")
32 #endif
33 
34 #include <iosfwd> // std::basic_ostream<> (fwd)
35 #include <locale> // std::locale, std::locale::facet, std::locale::id
36 #include <utility> // std::pair<>
37 
38 namespace glm
39 {
42 
43  namespace io
44  {
45  enum order_type { column_major, row_major};
46 
47  template<typename CTy>
48  class format_punct : public std::locale::facet
49  {
50  typedef CTy char_type;
51 
52  public:
53 
54  static std::locale::id id;
55 
56  bool formatted;
57  unsigned precision;
58  unsigned width;
59  char_type separator;
60  char_type delim_left;
61  char_type delim_right;
62  char_type space;
63  char_type newline;
64  order_type order;
65 
66  GLM_FUNC_DECL explicit format_punct(size_t a = 0);
67  GLM_FUNC_DECL explicit format_punct(format_punct const&);
68  };
69 
70  template<typename CTy, typename CTr = std::char_traits<CTy> >
71  class basic_state_saver {
72 
73  public:
74 
75  GLM_FUNC_DECL explicit basic_state_saver(std::basic_ios<CTy,CTr>&);
76  GLM_FUNC_DECL ~basic_state_saver();
77 
78  private:
79 
80  typedef ::std::basic_ios<CTy,CTr> state_type;
81  typedef typename state_type::char_type char_type;
82  typedef ::std::ios_base::fmtflags flags_type;
83  typedef ::std::streamsize streamsize_type;
84  typedef ::std::locale const locale_type;
85 
86  state_type& state_;
87  flags_type flags_;
88  streamsize_type precision_;
89  streamsize_type width_;
90  char_type fill_;
91  locale_type locale_;
92 
93  GLM_FUNC_DECL basic_state_saver& operator=(basic_state_saver const&);
94  };
95 
96  typedef basic_state_saver<char> state_saver;
97  typedef basic_state_saver<wchar_t> wstate_saver;
98 
99  template<typename CTy, typename CTr = std::char_traits<CTy> >
100  class basic_format_saver
101  {
102  public:
103 
104  GLM_FUNC_DECL explicit basic_format_saver(std::basic_ios<CTy,CTr>&);
105  GLM_FUNC_DECL ~basic_format_saver();
106 
107  private:
108 
109  basic_state_saver<CTy> const bss_;
110 
111  GLM_FUNC_DECL basic_format_saver& operator=(basic_format_saver const&);
112  };
113 
114  typedef basic_format_saver<char> format_saver;
115  typedef basic_format_saver<wchar_t> wformat_saver;
116 
117  struct precision
118  {
119  unsigned value;
120 
121  GLM_FUNC_DECL explicit precision(unsigned);
122  };
123 
124  struct width
125  {
126  unsigned value;
127 
128  GLM_FUNC_DECL explicit width(unsigned);
129  };
130 
131  template<typename CTy>
132  struct delimeter
133  {
134  CTy value[3];
135 
136  GLM_FUNC_DECL explicit delimeter(CTy /* left */, CTy /* right */, CTy /* separator */ = ',');
137  };
138 
139  struct order
140  {
141  order_type value;
142 
143  GLM_FUNC_DECL explicit order(order_type);
144  };
145 
146  // functions, inlined (inline)
147 
148  template<typename FTy, typename CTy, typename CTr>
149  FTy const& get_facet(std::basic_ios<CTy,CTr>&);
150  template<typename FTy, typename CTy, typename CTr>
151  std::basic_ios<CTy,CTr>& formatted(std::basic_ios<CTy,CTr>&);
152  template<typename FTy, typename CTy, typename CTr>
153  std::basic_ios<CTy,CTr>& unformattet(std::basic_ios<CTy,CTr>&);
154 
155  template<typename CTy, typename CTr>
156  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, precision const&);
157  template<typename CTy, typename CTr>
158  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, width const&);
159  template<typename CTy, typename CTr>
160  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, delimeter<CTy> const&);
161  template<typename CTy, typename CTr>
162  std::basic_ostream<CTy, CTr>& operator<<(std::basic_ostream<CTy, CTr>&, order const&);
163  }//namespace io
164 
165  template<typename CTy, typename CTr, typename T, qualifier Q>
166  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, qua<T, Q> const&);
167  template<typename CTy, typename CTr, typename T, qualifier Q>
168  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<1, T, Q> const&);
169  template<typename CTy, typename CTr, typename T, qualifier Q>
170  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<2, T, Q> const&);
171  template<typename CTy, typename CTr, typename T, qualifier Q>
172  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<3, T, Q> const&);
173  template<typename CTy, typename CTr, typename T, qualifier Q>
174  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, vec<4, T, Q> const&);
175  template<typename CTy, typename CTr, typename T, qualifier Q>
176  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<2, 2, T, Q> const&);
177  template<typename CTy, typename CTr, typename T, qualifier Q>
178  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<2, 3, T, Q> const&);
179  template<typename CTy, typename CTr, typename T, qualifier Q>
180  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<2, 4, T, Q> const&);
181  template<typename CTy, typename CTr, typename T, qualifier Q>
182  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<3, 2, T, Q> const&);
183  template<typename CTy, typename CTr, typename T, qualifier Q>
184  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<3, 3, T, Q> const&);
185  template<typename CTy, typename CTr, typename T, qualifier Q>
186  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<3, 4, T, Q> const&);
187  template<typename CTy, typename CTr, typename T, qualifier Q>
188  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<4, 2, T, Q> const&);
189  template<typename CTy, typename CTr, typename T, qualifier Q>
190  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<4, 3, T, Q> const&);
191  template<typename CTy, typename CTr, typename T, qualifier Q>
192  GLM_FUNC_DECL std::basic_ostream<CTy,CTr>& operator<<(std::basic_ostream<CTy,CTr>&, mat<4, 4, T, Q> const&);
193 
194  template<typename CTy, typename CTr, typename T, qualifier Q>
195  GLM_FUNC_DECL std::basic_ostream<CTy,CTr> & operator<<(std::basic_ostream<CTy,CTr> &,
196  std::pair<mat<4, 4, T, Q> const, mat<4, 4, T, Q> const> const&);
197 
199 }//namespace glm
200 
201 #include "io.inl"
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00045.html b/doc/api/a00512.html similarity index 57% rename from doc/api/a00045.html rename to doc/api/a00512.html index 503ce408..d0df9560 100644 --- a/doc/api/a00045.html +++ b/doc/api/a00512.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: log_base.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,33 +73,28 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_log_base -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType log (genType const &x, genType const &base)
 Logarithm for any base. More...
GLM_FUNC_DECL genType log (genType const &x, genType const &base)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x, vec< L, T, Q > const &base)
 Logarithm for any base. More...
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x, vec< L, T, Q > const &base)
 

Detailed Description

-

GLM_GTX_log_base

-
See also
Core features (dependence)
+

GLM_GTX_log_base

+
See also
Core features (dependence)
-

Definition in file log_base.hpp.

+

Definition in file log_base.hpp.

diff --git a/doc/api/a00512_source.html b/doc/api/a00512_source.html new file mode 100644 index 00000000..a15b0bfd --- /dev/null +++ b/doc/api/a00512_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: log_base.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
log_base.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_log_base is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_log_base extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename genType>
34  GLM_FUNC_DECL genType log(
35  genType const& x,
36  genType const& base);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL vec<L, T, Q> sign(
42  vec<L, T, Q> const& x,
43  vec<L, T, Q> const& base);
44 
46 }//namespace glm
47 
48 #include "log_base.inl"
GLM_FUNC_DECL vec< L, T, Q > sign(vec< L, T, Q > const &x, vec< L, T, Q > const &base)
Logarithm for any base.
+
GLM_FUNC_DECL genType log(genType const &x, genType const &base)
Logarithm for any base.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00058.html b/doc/api/a00515.html similarity index 57% rename from doc/api/a00058.html rename to doc/api/a00515.html index 9e4229ed..be4bffcd 100644 --- a/doc/api/a00058.html +++ b/doc/api/a00515.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_cross_product.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,35 +73,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_matrix_cross_product -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3 (vec< 3, T, Q > const &x)
 Build a cross product matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3 (vec< 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4 (vec< 3, T, Q > const &x)
 Build a cross product matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4 (vec< 3, T, Q > const &x)
 

Detailed Description

-

GLM_GTX_matrix_cross_product

-
See also
Core features (dependence)
+

GLM_GTX_matrix_cross_product

+
See also
Core features (dependence)
gtx_extented_min_max (dependence)
-

Definition in file matrix_cross_product.hpp.

+

Definition in file matrix_cross_product.hpp.

diff --git a/doc/api/a00515_source.html b/doc/api/a00515_source.html new file mode 100644 index 00000000..5c0a4a53 --- /dev/null +++ b/doc/api/a00515_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: matrix_cross_product.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_cross_product.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_matrix_cross_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_matrix_cross_product extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename T, qualifier Q>
35  GLM_FUNC_DECL mat<3, 3, T, Q> matrixCross3(
36  vec<3, T, Q> const& x);
37 
40  template<typename T, qualifier Q>
41  GLM_FUNC_DECL mat<4, 4, T, Q> matrixCross4(
42  vec<3, T, Q> const& x);
43 
45 }//namespace glm
46 
47 #include "matrix_cross_product.inl"
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3(vec< 3, T, Q > const &x)
Build a cross product matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4(vec< 3, T, Q > const &x)
Build a cross product matrix.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00518.html b/doc/api/a00518.html new file mode 100644 index 00000000..a1010a9c --- /dev/null +++ b/doc/api/a00518.html @@ -0,0 +1,97 @@ + + + + + + + +0.9.9 API documenation: matrix_decompose.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
matrix_decompose.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL bool decompose (mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, qua< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective)
 
+

Detailed Description

+

GLM_GTX_matrix_decompose

+
See also
Core features (dependence)
+ +

Definition in file matrix_decompose.hpp.

+
+ + + + diff --git a/doc/api/a00518_source.html b/doc/api/a00518_source.html new file mode 100644 index 00000000..f1bcbd77 --- /dev/null +++ b/doc/api/a00518_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: matrix_decompose.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_decompose.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../mat4x4.hpp"
17 #include "../vec3.hpp"
18 #include "../vec4.hpp"
19 #include "../geometric.hpp"
20 #include "../gtc/quaternion.hpp"
21 #include "../gtc/matrix_transform.hpp"
22 
23 #ifndef GLM_ENABLE_EXPERIMENTAL
24 # error "GLM: GLM_GTX_matrix_decompose is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
25 #endif
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTX_matrix_decompose extension included")
29 #endif
30 
31 namespace glm
32 {
35 
38  template<typename T, qualifier Q>
39  GLM_FUNC_DECL bool decompose(
40  mat<4, 4, T, Q> const& modelMatrix,
41  vec<3, T, Q> & scale, qua<T, Q> & orientation, vec<3, T, Q> & translation, vec<3, T, Q> & skew, vec<4, T, Q> & perspective);
42 
44 }//namespace glm
45 
46 #include "matrix_decompose.inl"
GLM_FUNC_DECL bool decompose(mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, qua< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective)
Decomposes a model matrix to translations, rotation and scale components.
+
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective(T fovy, T aspect, T near, T far)
Creates a matrix for a symetric perspective-view frustum based on the default handedness and default ...
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
Build a rotation matrix from a normal and a up vector.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00060.html b/doc/api/a00521.html similarity index 53% rename from doc/api/a00060.html rename to doc/api/a00521.html index f40d7cb1..437e655f 100644 --- a/doc/api/a00060.html +++ b/doc/api/a00521.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_factorisation.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,41 +73,34 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_matrix_factorisation -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - - - - - - - + + + + + +

Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > fliplr (mat< C, R, T, Q > const &in)
 Flips the matrix columns right and left. More...
GLM_FUNC_DECL mat< C, R, T, Q > fliplr (mat< C, R, T, Q > const &in)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > flipud (mat< C, R, T, Q > const &in)
 Flips the matrix rows up and down. More...
GLM_FUNC_DECL mat< C, R, T, Q > flipud (mat< C, R, T, Q > const &in)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void qr_decompose (mat< C, R, T, Q > const &in, mat<(C< R?C:R), R, T, Q > &q, mat< C,(C< R?C:R), T, Q > &r)
 Performs QR factorisation of a matrix. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void rq_decompose (mat< C, R, T, Q > const &in, mat<(C< R?C:R), R, T, Q > &r, mat< C,(C< R?C:R), T, Q > &q)
 Performs RQ factorisation of a matrix. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void qr_decompose (mat< C, R, T, Q > const &in, mat<(C< R ? C :R), R, T, Q > &q, mat< C,(C< R ? C :R), T, Q > &r)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void rq_decompose (mat< C, R, T, Q > const &in, mat<(C< R ? C :R), R, T, Q > &r, mat< C,(C< R ? C :R), T, Q > &q)
 

Detailed Description

-

GLM_GTX_matrix_factorisation

-
See also
Core features (dependence)
+

GLM_GTX_matrix_factorisation

+
See also
Core features (dependence)
-

Definition in file matrix_factorisation.hpp.

+

Definition in file matrix_factorisation.hpp.

diff --git a/doc/api/a00521_source.html b/doc/api/a00521_source.html new file mode 100644 index 00000000..f486c3bf --- /dev/null +++ b/doc/api/a00521_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: matrix_factorisation.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_factorisation.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_matrix_factorisation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_matrix_factorisation extension included")
24 #endif
25 
26 /*
27 Suggestions:
28  - Move helper functions flipud and fliplr to another file: They may be helpful in more general circumstances.
29  - Implement other types of matrix factorisation, such as: QL and LQ, L(D)U, eigendecompositions, etc...
30 */
31 
32 namespace glm
33 {
36 
40  template <length_t C, length_t R, typename T, qualifier Q>
41  GLM_FUNC_DECL mat<C, R, T, Q> flipud(mat<C, R, T, Q> const& in);
42 
46  template <length_t C, length_t R, typename T, qualifier Q>
47  GLM_FUNC_DECL mat<C, R, T, Q> fliplr(mat<C, R, T, Q> const& in);
48 
54  template <length_t C, length_t R, typename T, qualifier Q>
55  GLM_FUNC_DECL void qr_decompose(mat<C, R, T, Q> const& in, mat<(C < R ? C : R), R, T, Q>& q, mat<C, (C < R ? C : R), T, Q>& r);
56 
63  template <length_t C, length_t R, typename T, qualifier Q>
64  GLM_FUNC_DECL void rq_decompose(mat<C, R, T, Q> const& in, mat<(C < R ? C : R), R, T, Q>& r, mat<C, (C < R ? C : R), T, Q>& q);
65 
67 }
68 
69 #include "matrix_factorisation.inl"
GLM_FUNC_DECL void rq_decompose(mat< C, R, T, Q > const &in, mat<(C< R ? C :R), R, T, Q > &r, mat< C,(C< R ? C :R), T, Q > &q)
Performs RQ factorisation of a matrix.
+
GLM_FUNC_DECL void qr_decompose(mat< C, R, T, Q > const &in, mat<(C< R ? C :R), R, T, Q > &q, mat< C,(C< R ? C :R), T, Q > &r)
Performs QR factorisation of a matrix.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL mat< C, R, T, Q > fliplr(mat< C, R, T, Q > const &in)
Flips the matrix columns right and left.
+
GLM_FUNC_DECL mat< C, R, T, Q > flipud(mat< C, R, T, Q > const &in)
Flips the matrix rows up and down.
+
+ + + + diff --git a/doc/api/a00524.html b/doc/api/a00524.html new file mode 100644 index 00000000..ccba42df --- /dev/null +++ b/doc/api/a00524.html @@ -0,0 +1,107 @@ + + + + + + + +0.9.9 API documenation: matrix_interpolation.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
matrix_interpolation.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL void axisAngle (mat< 4, 4, T, Q > const &Mat, vec< 3, T, Q > &Axis, T &Angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix (vec< 3, T, Q > const &Axis, T const Angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation (mat< 4, 4, T, Q > const &Mat)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate (mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const Delta)
 
+

Detailed Description

+
+ + + + diff --git a/doc/api/a00524_source.html b/doc/api/a00524_source.html new file mode 100644 index 00000000..3c553339 --- /dev/null +++ b/doc/api/a00524_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: matrix_interpolation.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_interpolation.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_matrix_interpolation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_matrix_interpolation extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename T, qualifier Q>
35  GLM_FUNC_DECL void axisAngle(
36  mat<4, 4, T, Q> const& Mat, vec<3, T, Q> & Axis, T & Angle);
37 
40  template<typename T, qualifier Q>
41  GLM_FUNC_DECL mat<4, 4, T, Q> axisAngleMatrix(
42  vec<3, T, Q> const& Axis, T const Angle);
43 
46  template<typename T, qualifier Q>
47  GLM_FUNC_DECL mat<4, 4, T, Q> extractMatrixRotation(
48  mat<4, 4, T, Q> const& Mat);
49 
53  template<typename T, qualifier Q>
54  GLM_FUNC_DECL mat<4, 4, T, Q> interpolate(
55  mat<4, 4, T, Q> const& m1, mat<4, 4, T, Q> const& m2, T const Delta);
56 
58 }//namespace glm
59 
60 #include "matrix_interpolation.inl"
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate(mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const Delta)
Build a interpolation of 4 * 4 matrixes.
+
GLM_FUNC_DECL void axisAngle(mat< 4, 4, T, Q > const &Mat, vec< 3, T, Q > &Axis, T &Angle)
Get the axis and angle of the rotation from a matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation(mat< 4, 4, T, Q > const &Mat)
Extracts the rotation part of a matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix(vec< 3, T, Q > const &Axis, T const Angle)
Build a matrix from axis and angle.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00064.html b/doc/api/a00527.html similarity index 61% rename from doc/api/a00064.html rename to doc/api/a00527.html index 900d3b11..1a07eb2b 100644 --- a/doc/api/a00064.html +++ b/doc/api/a00527.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_major_storage.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,75 +73,60 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_matrix_major_storage -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 Build a column major matrix from column vectors. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (mat< 2, 2, T, Q > const &m)
 Build a column major matrix from other matrix. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (mat< 2, 2, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 Build a column major matrix from column vectors. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (mat< 3, 3, T, Q > const &m)
 Build a column major matrix from other matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (mat< 3, 3, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 Build a column major matrix from column vectors. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (mat< 4, 4, T, Q > const &m)
 Build a column major matrix from other matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (mat< 4, 4, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 Build a row major matrix from row vectors. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (mat< 2, 2, T, Q > const &m)
 Build a row major matrix from other matrix. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (mat< 2, 2, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 Build a row major matrix from row vectors. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (mat< 3, 3, T, Q > const &m)
 Build a row major matrix from other matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (mat< 3, 3, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 Build a row major matrix from row vectors. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (mat< 4, 4, T, Q > const &m)
 Build a row major matrix from other matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (mat< 4, 4, T, Q > const &m)
 

Detailed Description

-

GLM_GTX_matrix_major_storage

-
See also
Core features (dependence)
+

GLM_GTX_matrix_major_storage

+
See also
Core features (dependence)
gtx_extented_min_max (dependence)
-

Definition in file matrix_major_storage.hpp.

+

Definition in file matrix_major_storage.hpp.

diff --git a/doc/api/a00527_source.html b/doc/api/a00527_source.html new file mode 100644 index 00000000..e0c82f7a --- /dev/null +++ b/doc/api/a00527_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: matrix_major_storage.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_major_storage.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_matrix_major_storage is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_matrix_major_storage extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename T, qualifier Q>
35  GLM_FUNC_DECL mat<2, 2, T, Q> rowMajor2(
36  vec<2, T, Q> const& v1,
37  vec<2, T, Q> const& v2);
38 
41  template<typename T, qualifier Q>
42  GLM_FUNC_DECL mat<2, 2, T, Q> rowMajor2(
43  mat<2, 2, T, Q> const& m);
44 
47  template<typename T, qualifier Q>
48  GLM_FUNC_DECL mat<3, 3, T, Q> rowMajor3(
49  vec<3, T, Q> const& v1,
50  vec<3, T, Q> const& v2,
51  vec<3, T, Q> const& v3);
52 
55  template<typename T, qualifier Q>
56  GLM_FUNC_DECL mat<3, 3, T, Q> rowMajor3(
57  mat<3, 3, T, Q> const& m);
58 
61  template<typename T, qualifier Q>
62  GLM_FUNC_DECL mat<4, 4, T, Q> rowMajor4(
63  vec<4, T, Q> const& v1,
64  vec<4, T, Q> const& v2,
65  vec<4, T, Q> const& v3,
66  vec<4, T, Q> const& v4);
67 
70  template<typename T, qualifier Q>
71  GLM_FUNC_DECL mat<4, 4, T, Q> rowMajor4(
72  mat<4, 4, T, Q> const& m);
73 
76  template<typename T, qualifier Q>
77  GLM_FUNC_DECL mat<2, 2, T, Q> colMajor2(
78  vec<2, T, Q> const& v1,
79  vec<2, T, Q> const& v2);
80 
83  template<typename T, qualifier Q>
84  GLM_FUNC_DECL mat<2, 2, T, Q> colMajor2(
85  mat<2, 2, T, Q> const& m);
86 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL mat<3, 3, T, Q> colMajor3(
91  vec<3, T, Q> const& v1,
92  vec<3, T, Q> const& v2,
93  vec<3, T, Q> const& v3);
94 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL mat<3, 3, T, Q> colMajor3(
99  mat<3, 3, T, Q> const& m);
100 
103  template<typename T, qualifier Q>
104  GLM_FUNC_DECL mat<4, 4, T, Q> colMajor4(
105  vec<4, T, Q> const& v1,
106  vec<4, T, Q> const& v2,
107  vec<4, T, Q> const& v3,
108  vec<4, T, Q> const& v4);
109 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL mat<4, 4, T, Q> colMajor4(
114  mat<4, 4, T, Q> const& m);
115 
117 }//namespace glm
118 
119 #include "matrix_major_storage.inl"
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2(mat< 2, 2, T, Q > const &m)
Build a column major matrix from other matrix.
+
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2(mat< 2, 2, T, Q > const &m)
Build a row major matrix from other matrix.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3(mat< 3, 3, T, Q > const &m)
Build a row major matrix from other matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4(mat< 4, 4, T, Q > const &m)
Build a row major matrix from other matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4(mat< 4, 4, T, Q > const &m)
Build a column major matrix from other matrix.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3(mat< 3, 3, T, Q > const &m)
Build a column major matrix from other matrix.
+
+ + + + diff --git a/doc/api/a00065.html b/doc/api/a00530.html similarity index 60% rename from doc/api/a00065.html rename to doc/api/a00530.html index 293c504d..8c68c4f9 100644 --- a/doc/api/a00065.html +++ b/doc/api/a00530.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_operation.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,61 +73,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_matrix_operation -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > diagonal2x2 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > diagonal2x2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 3, T, Q > diagonal2x3 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 2, 3, T, Q > diagonal2x3 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 4, T, Q > diagonal2x4 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 2, 4, T, Q > diagonal2x4 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 2, T, Q > diagonal3x2 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 3, 2, T, Q > diagonal3x2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > diagonal3x3 (vec< 3, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > diagonal3x3 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 4, T, Q > diagonal3x4 (vec< 3, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 3, 4, T, Q > diagonal3x4 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 2, T, Q > diagonal4x2 (vec< 2, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 4, 2, T, Q > diagonal4x2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 3, T, Q > diagonal4x3 (vec< 3, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 4, 3, T, Q > diagonal4x3 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > diagonal4x4 (vec< 4, T, Q > const &v)
 Build a diagonal matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > diagonal4x4 (vec< 4, T, Q > const &v)
 

Detailed Description

-

GLM_GTX_matrix_operation

-
See also
Core features (dependence)
+

GLM_GTX_matrix_operation

+
See also
Core features (dependence)
-

Definition in file matrix_operation.hpp.

+

Definition in file matrix_operation.hpp.

diff --git a/doc/api/a00530_source.html b/doc/api/a00530_source.html new file mode 100644 index 00000000..3be1e343 --- /dev/null +++ b/doc/api/a00530_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: matrix_operation.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_operation.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_matrix_operation is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_matrix_operation extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL mat<2, 2, T, Q> diagonal2x2(
35  vec<2, T, Q> const& v);
36 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL mat<2, 3, T, Q> diagonal2x3(
41  vec<2, T, Q> const& v);
42 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL mat<2, 4, T, Q> diagonal2x4(
47  vec<2, T, Q> const& v);
48 
51  template<typename T, qualifier Q>
52  GLM_FUNC_DECL mat<3, 2, T, Q> diagonal3x2(
53  vec<2, T, Q> const& v);
54 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL mat<3, 3, T, Q> diagonal3x3(
59  vec<3, T, Q> const& v);
60 
63  template<typename T, qualifier Q>
64  GLM_FUNC_DECL mat<3, 4, T, Q> diagonal3x4(
65  vec<3, T, Q> const& v);
66 
69  template<typename T, qualifier Q>
70  GLM_FUNC_DECL mat<4, 2, T, Q> diagonal4x2(
71  vec<2, T, Q> const& v);
72 
75  template<typename T, qualifier Q>
76  GLM_FUNC_DECL mat<4, 3, T, Q> diagonal4x3(
77  vec<3, T, Q> const& v);
78 
81  template<typename T, qualifier Q>
82  GLM_FUNC_DECL mat<4, 4, T, Q> diagonal4x4(
83  vec<4, T, Q> const& v);
84 
86 }//namespace glm
87 
88 #include "matrix_operation.inl"
GLM_FUNC_DECL mat< 4, 2, T, Q > diagonal4x2(vec< 2, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > diagonal3x3(vec< 3, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 2, 4, T, Q > diagonal2x4(vec< 2, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 3, 2, T, Q > diagonal3x2(vec< 2, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 3, 4, T, Q > diagonal3x4(vec< 3, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 4, 3, T, Q > diagonal4x3(vec< 3, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > diagonal4x4(vec< 4, T, Q > const &v)
Build a diagonal matrix.
+
GLM_FUNC_DECL mat< 2, 3, T, Q > diagonal2x3(vec< 2, T, Q > const &v)
Build a diagonal matrix.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL mat< 2, 2, T, Q > diagonal2x2(vec< 2, T, Q > const &v)
Build a diagonal matrix.
+
+ + + + diff --git a/doc/api/a00066.html b/doc/api/a00533.html similarity index 59% rename from doc/api/a00066.html rename to doc/api/a00533.html index 715e1fe7..253bd22e 100644 --- a/doc/api/a00066.html +++ b/doc/api/a00533.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: matrix_query.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,59 +73,48 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_matrix_query -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<length_t C, length_t R, typename T , qualifier Q, template< length_t, length_t, typename, qualifier > class matType>
GLM_FUNC_DECL bool isIdentity (matType< C, R, T, Q > const &m, T const &epsilon)
 Return whether a matrix is an identity matrix. More...
GLM_FUNC_DECL bool isIdentity (matType< C, R, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (mat< 2, 2, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
GLM_FUNC_DECL bool isNormalized (mat< 2, 2, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (mat< 3, 3, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
GLM_FUNC_DECL bool isNormalized (mat< 3, 3, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (mat< 4, 4, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
GLM_FUNC_DECL bool isNormalized (mat< 4, 4, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (mat< 2, 2, T, Q > const &m, T const &epsilon)
 Return whether a matrix a null matrix. More...
GLM_FUNC_DECL bool isNull (mat< 2, 2, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (mat< 3, 3, T, Q > const &m, T const &epsilon)
 Return whether a matrix a null matrix. More...
GLM_FUNC_DECL bool isNull (mat< 3, 3, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (mat< 4, 4, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a null matrix. More...
GLM_FUNC_DECL bool isNull (mat< 4, 4, T, Q > const &m, T const &epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q, template< length_t, length_t, typename, qualifier > class matType>
GLM_FUNC_DECL bool isOrthogonal (matType< C, R, T, Q > const &m, T const &epsilon)
 Return whether a matrix is an orthonormalized matrix. More...
GLM_FUNC_DECL bool isOrthogonal (matType< C, R, T, Q > const &m, T const &epsilon)
 

Detailed Description

-

GLM_GTX_matrix_query

-
See also
Core features (dependence)
+

GLM_GTX_matrix_query

+
See also
Core features (dependence)
-GLM_GTX_vector_query (dependence)
+GLM_GTX_vector_query (dependence)
-

Definition in file matrix_query.hpp.

+

Definition in file matrix_query.hpp.

diff --git a/doc/api/a00533_source.html b/doc/api/a00533_source.html new file mode 100644 index 00000000..b5be72bd --- /dev/null +++ b/doc/api/a00533_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: matrix_query.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_query.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtx/vector_query.hpp"
19 #include <limits>
20 
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_matrix_query is an experimental 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_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_matrix_query extension included")
27 #endif
28 
29 namespace glm
30 {
33 
36  template<typename T, qualifier Q>
37  GLM_FUNC_DECL bool isNull(mat<2, 2, T, Q> const& m, T const& epsilon);
38 
41  template<typename T, qualifier Q>
42  GLM_FUNC_DECL bool isNull(mat<3, 3, T, Q> const& m, T const& epsilon);
43 
46  template<typename T, qualifier Q>
47  GLM_FUNC_DECL bool isNull(mat<4, 4, T, Q> const& m, T const& epsilon);
48 
51  template<length_t C, length_t R, typename T, qualifier Q, template<length_t, length_t, typename, qualifier> class matType>
52  GLM_FUNC_DECL bool isIdentity(matType<C, R, T, Q> const& m, T const& epsilon);
53 
56  template<typename T, qualifier Q>
57  GLM_FUNC_DECL bool isNormalized(mat<2, 2, T, Q> const& m, T const& epsilon);
58 
61  template<typename T, qualifier Q>
62  GLM_FUNC_DECL bool isNormalized(mat<3, 3, T, Q> const& m, T const& epsilon);
63 
66  template<typename T, qualifier Q>
67  GLM_FUNC_DECL bool isNormalized(mat<4, 4, T, Q> const& m, T const& epsilon);
68 
71  template<length_t C, length_t R, typename T, qualifier Q, template<length_t, length_t, typename, qualifier> class matType>
72  GLM_FUNC_DECL bool isOrthogonal(matType<C, R, T, Q> const& m, T const& epsilon);
73 
75 }//namespace glm
76 
77 #include "matrix_query.inl"
GLM_FUNC_DECL bool isNull(mat< 4, 4, T, Q > const &m, T const &epsilon)
Return whether a matrix is a null matrix.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL bool isNormalized(mat< 4, 4, T, Q > const &m, T const &epsilon)
Return whether a matrix is a normalized matrix.
+
GLM_FUNC_DECL bool isOrthogonal(matType< C, R, T, Q > const &m, T const &epsilon)
Return whether a matrix is an orthonormalized matrix.
+
GLM_FUNC_DECL bool isIdentity(matType< C, R, T, Q > const &m, T const &epsilon)
Return whether a matrix is an identity matrix.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00536.html b/doc/api/a00536.html new file mode 100644 index 00000000..3050c568 --- /dev/null +++ b/doc/api/a00536.html @@ -0,0 +1,110 @@ + + + + + + + +0.9.9 API documenation: matrix_transform_2d.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
matrix_transform_2d.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > rotate (mat< 3, 3, T, Q > const &m, T angle)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > scale (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearX (mat< 3, 3, T, Q > const &m, T y)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearY (mat< 3, 3, T, Q > const &m, T x)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > translate (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 
+

Detailed Description

+

GLM_GTX_matrix_transform_2d

+
Author
Miguel Ángel Pérez Martínez
+
See also
Core features (dependence)
+ +

Definition in file matrix_transform_2d.hpp.

+
+ + + + diff --git a/doc/api/a00536_source.html b/doc/api/a00536_source.html new file mode 100644 index 00000000..834fb4e4 --- /dev/null +++ b/doc/api/a00536_source.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: matrix_transform_2d.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix_transform_2d.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../mat3x3.hpp"
18 #include "../vec2.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_matrix_transform_2d is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_matrix_transform_2d extension included")
26 #endif
27 
28 namespace glm
29 {
32 
37  template<typename T, qualifier Q>
38  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> translate(
39  mat<3, 3, T, Q> const& m,
40  vec<2, T, Q> const& v);
41 
46  template<typename T, qualifier Q>
47  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> rotate(
48  mat<3, 3, T, Q> const& m,
49  T angle);
50 
55  template<typename T, qualifier Q>
56  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> scale(
57  mat<3, 3, T, Q> const& m,
58  vec<2, T, Q> const& v);
59 
64  template<typename T, qualifier Q>
65  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> shearX(
66  mat<3, 3, T, Q> const& m,
67  T y);
68 
73  template<typename T, qualifier Q>
74  GLM_FUNC_QUALIFIER mat<3, 3, T, Q> shearY(
75  mat<3, 3, T, Q> const& m,
76  T x);
77 
79 }//namespace glm
80 
81 #include "matrix_transform_2d.inl"
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > scale(mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
Builds a scale 3 * 3 matrix created from a vector of 2 components.
+
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > rotate(mat< 3, 3, T, Q > const &m, T angle)
Builds a rotation 3 * 3 matrix created from an angle.
+
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > translate(mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
Builds a translation 3 * 3 matrix created from a vector of 2 components.
+
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearY(mat< 3, 3, T, Q > const &m, T x)
Builds a vertical (parallel to the y axis) shear 3 * 3 matrix.
+
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearX(mat< 3, 3, T, Q > const &m, T y)
Builds an horizontal (parallel to the x axis) shear 3 * 3 matrix.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00069.html b/doc/api/a00539.html similarity index 56% rename from doc/api/a00069.html rename to doc/api/a00539.html index 912a1d7c..da3b2bfa 100644 --- a/doc/api/a00069.html +++ b/doc/api/a00539.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mixed_product.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,30 +73,26 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_mixed_producte -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - - +

Functions

+
template<typename T , qualifier Q>
GLM_FUNC_DECL T mixedProduct (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
GLM_FUNC_DECL T mixedProduct (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 

Detailed Description

-

GLM_GTX_mixed_producte

-
See also
Core features (dependence)
+

GLM_GTX_mixed_producte

+
See also
Core features (dependence)
-

Definition in file mixed_product.hpp.

+

Definition in file mixed_product.hpp.

diff --git a/doc/api/a00539_source.html b/doc/api/a00539_source.html new file mode 100644 index 00000000..dbf1478c --- /dev/null +++ b/doc/api/a00539_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: mixed_product.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mixed_product.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_mixed_product is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_mixed_product extension included")
24 #endif
25 
26 namespace glm
27 {
30 
32  template<typename T, qualifier Q>
33  GLM_FUNC_DECL T mixedProduct(
34  vec<3, T, Q> const& v1,
35  vec<3, T, Q> const& v2,
36  vec<3, T, Q> const& v3);
37 
39 }// namespace glm
40 
41 #include "mixed_product.inl"
GLM_FUNC_DECL T mixedProduct(vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
Mixed product of 3 vectors (from GLM_GTX_mixed_product extension)
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00542.html b/doc/api/a00542.html new file mode 100644 index 00000000..5ae516bb --- /dev/null +++ b/doc/api/a00542.html @@ -0,0 +1,120 @@ + + + + + + + +0.9.9 API documenation: norm.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
norm.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T distance2 (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T length2 (vec< L, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, unsigned int Depth)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, unsigned int Depth)
 
+

Detailed Description

+

GLM_GTX_norm

+
See also
Core features (dependence)
+
+GLM_GTX_quaternion (dependence)
+ +

Definition in file norm.hpp.

+
+ + + + diff --git a/doc/api/a00542_source.html b/doc/api/a00542_source.html new file mode 100644 index 00000000..f4e1b92c --- /dev/null +++ b/doc/api/a00542_source.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: norm.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
norm.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../geometric.hpp"
18 #include "../gtx/quaternion.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_norm is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_norm extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL T length2(vec<L, T, Q> const& x);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL T distance2(vec<L, T, Q> const& p0, vec<L, T, Q> const& p1);
42 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL T l1Norm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
47 
50  template<typename T, qualifier Q>
51  GLM_FUNC_DECL T l1Norm(vec<3, T, Q> const& v);
52 
55  template<typename T, qualifier Q>
56  GLM_FUNC_DECL T l2Norm(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
57 
60  template<typename T, qualifier Q>
61  GLM_FUNC_DECL T l2Norm(vec<3, T, Q> const& x);
62 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, vec<3, T, Q> const& y, unsigned int Depth);
67 
70  template<typename T, qualifier Q>
71  GLM_FUNC_DECL T lxNorm(vec<3, T, Q> const& x, unsigned int Depth);
72 
74 }//namespace glm
75 
76 #include "norm.inl"
GLM_FUNC_DECL T l2Norm(vec< 3, T, Q > const &x)
Returns the L2 norm of v.
+
GLM_FUNC_DECL T l1Norm(vec< 3, T, Q > const &v)
Returns the L1 norm of v.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T length2(vec< L, T, Q > const &x)
Returns the squared length of x.
+
GLM_FUNC_DECL T lxNorm(vec< 3, T, Q > const &x, unsigned int Depth)
Returns the L norm of v.
+
GLM_FUNC_DECL T distance2(vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
Returns the squared distance between p0 and p1, i.e., length2(p0 - p1).
+
+ + + + diff --git a/doc/api/a00072.html b/doc/api/a00545.html similarity index 57% rename from doc/api/a00072.html rename to doc/api/a00545.html index 35fd27f0..5b5f4c0d 100644 --- a/doc/api/a00072.html +++ b/doc/api/a00545.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: normal.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,31 +73,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_normal -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal (vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
 Computes triangle normal from triangle points. More...
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal (vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
 

Detailed Description

-

GLM_GTX_normal

-
See also
Core features (dependence)
+

GLM_GTX_normal

+
See also
Core features (dependence)
gtx_extented_min_max (dependence)
-

Definition in file normal.hpp.

+

Definition in file normal.hpp.

diff --git a/doc/api/a00545_source.html b/doc/api/a00545_source.html new file mode 100644 index 00000000..d0975807 --- /dev/null +++ b/doc/api/a00545_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: normal.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
normal.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_normal is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_normal extension included")
25 #endif
26 
27 namespace glm
28 {
31 
35  template<typename T, qualifier Q>
36  GLM_FUNC_DECL vec<3, T, Q> triangleNormal(vec<3, T, Q> const& p1, vec<3, T, Q> const& p2, vec<3, T, Q> const& p3);
37 
39 }//namespace glm
40 
41 #include "normal.inl"
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal(vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
Computes triangle normal from triangle points.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00073.html b/doc/api/a00548.html similarity index 55% rename from doc/api/a00073.html rename to doc/api/a00548.html index 50228392..eacfae7d 100644 --- a/doc/api/a00073.html +++ b/doc/api/a00548.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: normalize_dot.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,35 +73,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_normalize_dot -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastNormalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Normalize parameters and returns the dot product of x and y. More...
GLM_FUNC_DECL T fastNormalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T normalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Normalize parameters and returns the dot product of x and y. More...
GLM_FUNC_DECL T normalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 

Detailed Description

-

GLM_GTX_normalize_dot

-
See also
Core features (dependence)
+
-

Definition in file normalize_dot.hpp.

+

Definition in file normalize_dot.hpp.

diff --git a/doc/api/a00548_source.html b/doc/api/a00548_source.html new file mode 100644 index 00000000..788d0b3b --- /dev/null +++ b/doc/api/a00548_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: normalize_dot.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
normalize_dot.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtx/fast_square_root.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_normalize_dot is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_normalize_dot extension included")
25 #endif
26 
27 namespace glm
28 {
31 
36  template<length_t L, typename T, qualifier Q>
37  GLM_FUNC_DECL T normalizeDot(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
38 
43  template<length_t L, typename T, qualifier Q>
44  GLM_FUNC_DECL T fastNormalizeDot(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
45 
47 }//namespace glm
48 
49 #include "normalize_dot.inl"
GLM_FUNC_DECL T normalizeDot(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Normalize parameters and returns the dot product of x and y.
+
GLM_FUNC_DECL T fastNormalizeDot(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Normalize parameters and returns the dot product of x and y.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00551.html b/doc/api/a00551.html new file mode 100644 index 00000000..eda466a7 --- /dev/null +++ b/doc/api/a00551.html @@ -0,0 +1,128 @@ + + + + + + + +0.9.9 API documenation: number_precision.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs
+
+
number_precision.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef f32 f32mat1
 
+typedef f32 f32mat1x1
 
+typedef f32 f32vec1
 
+typedef f64 f64mat1
 
+typedef f64 f64mat1x1
 
+typedef f64 f64vec1
 
+typedef u16 u16vec1
 
+typedef u32 u32vec1
 
+typedef u64 u64vec1
 
+typedef u8 u8vec1
 
+

Detailed Description

+

GLM_GTX_number_precision

+
See also
Core features (dependence)
+
+GLM_GTC_type_precision (dependence)
+
+GLM_GTC_quaternion (dependence)
+ +

Definition in file number_precision.hpp.

+
+ + + + diff --git a/doc/api/a00551_source.html b/doc/api/a00551_source.html new file mode 100644 index 00000000..d8e0ac73 --- /dev/null +++ b/doc/api/a00551_source.html @@ -0,0 +1,98 @@ + + + + + + + +0.9.9 API documenation: number_precision.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
number_precision.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../glm.hpp"
19 #include "../gtc/type_precision.hpp"
20 
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_number_precision is an experimental 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_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_number_precision extension included")
27 #endif
28 
29 namespace glm{
30 namespace gtx
31 {
33  // Unsigned int vector types
34 
37 
38  typedef u8 u8vec1;
39  typedef u16 u16vec1;
40  typedef u32 u32vec1;
41  typedef u64 u64vec1;
42 
44  // Float vector types
45 
46  typedef f32 f32vec1;
47  typedef f64 f64vec1;
48 
50  // Float matrix types
51 
52  typedef f32 f32mat1;
53  typedef f32 f32mat1x1;
54  typedef f64 f64mat1;
55  typedef f64 f64mat1x1;
56 
58 }//namespace gtx
59 }//namespace glm
60 
61 #include "number_precision.inl"
double f64
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:166
+
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
+
u8 u8vec1
8bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
+
f64 f64mat1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
+
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
+
float f32
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:150
+
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
+
u16 u16vec1
16bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
+
f64 f64vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
+
f32 f32vec1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
+
f32 f32mat1x1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
+
f32 f32mat1
Single-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
+
u64 u64vec1
64bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
+
u32 u32vec1
32bit unsigned integer scalar. (from GLM_GTX_number_precision extension)
+
Definition: common.hpp:20
+
f64 f64mat1x1
Double-qualifier floating-point scalar. (from GLM_GTX_number_precision extension) ...
+
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
+
+ + + + diff --git a/doc/api/a00075.html b/doc/api/a00554.html similarity index 57% rename from doc/api/a00075.html rename to doc/api/a00554.html index 4fd1e3eb..967c0de2 100644 --- a/doc/api/a00075.html +++ b/doc/api/a00554.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: optimum_pow.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,37 +73,31 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_optimum_pow -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType pow2 (genType const &x)
 Returns x raised to the power of 2. More...
GLM_FUNC_DECL genType pow2 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType pow3 (genType const &x)
 Returns x raised to the power of 3. More...
GLM_FUNC_DECL genType pow3 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType pow4 (genType const &x)
 Returns x raised to the power of 4. More...
GLM_FUNC_DECL genType pow4 (genType const &x)
 

Detailed Description

-

GLM_GTX_optimum_pow

-
See also
Core features (dependence)
+

GLM_GTX_optimum_pow

+
See also
Core features (dependence)
-

Definition in file optimum_pow.hpp.

+

Definition in file optimum_pow.hpp.

diff --git a/doc/api/a00554_source.html b/doc/api/a00554_source.html new file mode 100644 index 00000000..1df1fded --- /dev/null +++ b/doc/api/a00554_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: optimum_pow.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
optimum_pow.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_optimum_pow is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_optimum_pow extension included")
24 #endif
25 
26 namespace glm{
27 namespace gtx
28 {
31 
35  template<typename genType>
36  GLM_FUNC_DECL genType pow2(genType const& x);
37 
41  template<typename genType>
42  GLM_FUNC_DECL genType pow3(genType const& x);
43 
47  template<typename genType>
48  GLM_FUNC_DECL genType pow4(genType const& x);
49 
51 }//namespace gtx
52 }//namespace glm
53 
54 #include "optimum_pow.inl"
GLM_FUNC_DECL genType pow4(genType const &x)
Returns x raised to the power of 4.
+
GLM_FUNC_DECL genType pow3(genType const &x)
Returns x raised to the power of 3.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL genType pow2(genType const &x)
Returns x raised to the power of 2.
+
+ + + + diff --git a/doc/api/a00076.html b/doc/api/a00557.html similarity index 57% rename from doc/api/a00076.html rename to doc/api/a00557.html index 196579b2..365457f8 100644 --- a/doc/api/a00076.html +++ b/doc/api/a00557.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: orthonormalize.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,35 +73,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_orthonormalize -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > orthonormalize (mat< 3, 3, T, Q > const &m)
 Returns the orthonormalized matrix of m. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > orthonormalize (mat< 3, 3, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > orthonormalize (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Orthonormalizes x according y. More...
GLM_FUNC_DECL vec< 3, T, Q > orthonormalize (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 

Detailed Description

-

GLM_GTX_orthonormalize

-
See also
Core features (dependence)
+

GLM_GTX_orthonormalize

+
See also
Core features (dependence)
gtx_extented_min_max (dependence)
-

Definition in file orthonormalize.hpp.

+

Definition in file orthonormalize.hpp.

diff --git a/doc/api/a00557_source.html b/doc/api/a00557_source.html new file mode 100644 index 00000000..5d0875f9 --- /dev/null +++ b/doc/api/a00557_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: orthonormalize.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
orthonormalize.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../vec3.hpp"
18 #include "../mat3x3.hpp"
19 #include "../geometric.hpp"
20 
21 #ifndef GLM_ENABLE_EXPERIMENTAL
22 # error "GLM: GLM_GTX_orthonormalize is an experimental 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_ENABLE && !defined(GLM_EXT_INCLUDED)
26 # pragma message("GLM: GLM_GTX_orthonormalize extension included")
27 #endif
28 
29 namespace glm
30 {
33 
37  template<typename T, qualifier Q>
38  GLM_FUNC_DECL mat<3, 3, T, Q> orthonormalize(mat<3, 3, T, Q> const& m);
39 
43  template<typename T, qualifier Q>
44  GLM_FUNC_DECL vec<3, T, Q> orthonormalize(vec<3, T, Q> const& x, vec<3, T, Q> const& y);
45 
47 }//namespace glm
48 
49 #include "orthonormalize.inl"
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< 3, T, Q > orthonormalize(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
Orthonormalizes x according y.
+
+ + + + diff --git a/doc/api/a00079.html b/doc/api/a00560.html similarity index 54% rename from doc/api/a00079.html rename to doc/api/a00560.html index d8528007..a1bc2747 100644 --- a/doc/api/a00079.html +++ b/doc/api/a00560.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: perpendicular.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,31 +73,27 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_perpendicular -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - +

Functions

template<typename genType >
GLM_FUNC_DECL genType perp (genType const &x, genType const &Normal)
 Projects x a perpendicular axis of Normal. More...
GLM_FUNC_DECL genType perp (genType const &x, genType const &Normal)
 

Detailed Description

-

GLM_GTX_perpendicular

-
See also
Core features (dependence)
+

GLM_GTX_perpendicular

+
See also
Core features (dependence)
-GLM_GTX_projection (dependence)
+GLM_GTX_projection (dependence)
-

Definition in file perpendicular.hpp.

+

Definition in file perpendicular.hpp.

diff --git a/doc/api/a00560_source.html b/doc/api/a00560_source.html new file mode 100644 index 00000000..7d6cd2ad --- /dev/null +++ b/doc/api/a00560_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: perpendicular.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
perpendicular.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtx/projection.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_perpendicular is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_perpendicular extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<typename genType>
36  GLM_FUNC_DECL genType perp(genType const& x, genType const& Normal);
37 
39 }//namespace glm
40 
41 #include "perpendicular.inl"
GLM_FUNC_DECL genType perp(genType const &x, genType const &Normal)
Projects x a perpendicular axis of Normal.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00563.html b/doc/api/a00563.html new file mode 100644 index 00000000..9d8bebc8 --- /dev/null +++ b/doc/api/a00563.html @@ -0,0 +1,100 @@ + + + + + + + +0.9.9 API documenation: polar_coordinates.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
polar_coordinates.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > euclidean (vec< 2, T, Q > const &polar)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > polar (vec< 3, T, Q > const &euclidean)
 
+

Detailed Description

+

GLM_GTX_polar_coordinates

+
See also
Core features (dependence)
+ +

Definition in file polar_coordinates.hpp.

+
+ + + + diff --git a/doc/api/a00563_source.html b/doc/api/a00563_source.html new file mode 100644 index 00000000..ccf17243 --- /dev/null +++ b/doc/api/a00563_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: polar_coordinates.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
polar_coordinates.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_polar_coordinates is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_polar_coordinates extension included")
24 #endif
25 
26 namespace glm
27 {
30 
34  template<typename T, qualifier Q>
35  GLM_FUNC_DECL vec<3, T, Q> polar(
36  vec<3, T, Q> const& euclidean);
37 
41  template<typename T, qualifier Q>
42  GLM_FUNC_DECL vec<3, T, Q> euclidean(
43  vec<2, T, Q> const& polar);
44 
46 }//namespace glm
47 
48 #include "polar_coordinates.inl"
GLM_FUNC_DECL vec< 3, T, Q > euclidean(vec< 2, T, Q > const &polar)
Convert Polar to Euclidean coordinates.
+
GLM_FUNC_DECL vec< 3, T, Q > polar(vec< 3, T, Q > const &euclidean)
Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude...
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00081.html b/doc/api/a00566.html similarity index 56% rename from doc/api/a00081.html rename to doc/api/a00566.html index e1683a3b..90ea58f5 100644 --- a/doc/api/a00081.html +++ b/doc/api/a00566.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: projection.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,29 +73,25 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_projection -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - +

Functions

template<typename genType >
GLM_FUNC_DECL genType proj (genType const &x, genType const &Normal)
 Projects x on Normal. More...
GLM_FUNC_DECL genType proj (genType const &x, genType const &Normal)
 

Detailed Description

-

GLM_GTX_projection

-
See also
Core features (dependence)
+

GLM_GTX_projection

+
See also
Core features (dependence)
-

Definition in file projection.hpp.

+

Definition in file projection.hpp.

diff --git a/doc/api/a00566_source.html b/doc/api/a00566_source.html new file mode 100644 index 00000000..f4d8e3a9 --- /dev/null +++ b/doc/api/a00566_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: projection.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
projection.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../geometric.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_projection is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_projection extension included")
24 #endif
25 
26 namespace glm
27 {
30 
34  template<typename genType>
35  GLM_FUNC_DECL genType proj(genType const& x, genType const& Normal);
36 
38 }//namespace glm
39 
40 #include "projection.inl"
GLM_FUNC_DECL genType proj(genType const &x, genType const &Normal)
Projects x on Normal.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00569.html b/doc/api/a00569.html new file mode 100644 index 00000000..e4cdd6e0 --- /dev/null +++ b/doc/api/a00569.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: range.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
range.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

GLM_GTX_range

+
Author
Joshua Moerman
+ +

Definition in file range.hpp.

+
+ + + + diff --git a/doc/api/a00569_source.html b/doc/api/a00569_source.html new file mode 100644 index 00000000..387fafd3 --- /dev/null +++ b/doc/api/a00569_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: range.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
range.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/setup.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_range is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if !GLM_HAS_RANGE_FOR
23 # error "GLM_GTX_range requires C++11 suppport or 'range for'"
24 #endif
25 
26 #include "../gtc/type_ptr.hpp"
27 #include "../gtc/vec1.hpp"
28 
29 namespace glm
30 {
33 
34 # if GLM_COMPILER & GLM_COMPILER_VC
35 # pragma warning(push)
36 # pragma warning(disable : 4100) // unreferenced formal parameter
37 # endif
38 
39  template<typename T, qualifier Q>
40  inline length_t components(vec<1, T, Q> const& v)
41  {
42  return v.length();
43  }
44 
45  template<typename T, qualifier Q>
46  inline length_t components(vec<2, T, Q> const& v)
47  {
48  return v.length();
49  }
50 
51  template<typename T, qualifier Q>
52  inline length_t components(vec<3, T, Q> const& v)
53  {
54  return v.length();
55  }
56 
57  template<typename T, qualifier Q>
58  inline length_t components(vec<4, T, Q> const& v)
59  {
60  return v.length();
61  }
62 
63  template<typename genType>
64  inline length_t components(genType const& m)
65  {
66  return m.length() * m[0].length();
67  }
68 
69  template<typename genType>
70  inline typename genType::value_type const * begin(genType const& v)
71  {
72  return value_ptr(v);
73  }
74 
75  template<typename genType>
76  inline typename genType::value_type const * end(genType const& v)
77  {
78  return begin(v) + components(v);
79  }
80 
81  template<typename genType>
82  inline typename genType::value_type * begin(genType& v)
83  {
84  return value_ptr(v);
85  }
86 
87  template<typename genType>
88  inline typename genType::value_type * end(genType& v)
89  {
90  return begin(v) + components(v);
91  }
92 
93 # if GLM_COMPILER & GLM_COMPILER_VC
94 # pragma warning(pop)
95 # endif
96 
98 }//namespace glm
GLM_FUNC_DECL genType::value_type const * value_ptr(genType const &v)
Return the constant address to the data of the input parameter.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00087.html b/doc/api/a00572.html similarity index 54% rename from doc/api/a00087.html rename to doc/api/a00572.html index 4e717d6c..b44a8025 100644 --- a/doc/api/a00087.html +++ b/doc/api/a00572.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: raw_data.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,37 +73,30 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_raw_data -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - +

Typedefs

typedef detail::uint8 byte
 Type for byte numbers. More...
typedef detail::uint8 byte
 
typedef detail::uint32 dword
 Type for dword numbers. More...
typedef detail::uint32 dword
 
typedef detail::uint64 qword
 Type for qword numbers. More...
typedef detail::uint64 qword
 
typedef detail::uint16 word
 Type for word numbers. More...
typedef detail::uint16 word
 

Detailed Description

-

GLM_GTX_raw_data

-
See also
Core features (dependence)
+

GLM_GTX_raw_data

+
See also
Core features (dependence)
-

Definition in file raw_data.hpp.

+

Definition in file raw_data.hpp.

diff --git a/doc/api/a00572_source.html b/doc/api/a00572_source.html new file mode 100644 index 00000000..0f230c38 --- /dev/null +++ b/doc/api/a00572_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: raw_data.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
raw_data.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../ext/scalar_uint_sized.hpp"
17 #include "../detail/setup.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_raw_data is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_raw_data extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  typedef detail::uint8 byte;
35 
38  typedef detail::uint16 word;
39 
42  typedef detail::uint32 dword;
43 
46  typedef detail::uint64 qword;
47 
49 }// namespace glm
50 
51 #include "raw_data.inl"
detail::uint64 qword
Type for qword numbers.
Definition: raw_data.hpp:46
+
detail::uint32 dword
Type for dword numbers.
Definition: raw_data.hpp:42
+
detail::uint16 word
Type for word numbers.
Definition: raw_data.hpp:38
+
detail::uint8 byte
Type for byte numbers.
Definition: raw_data.hpp:34
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00575.html b/doc/api/a00575.html new file mode 100644 index 00000000..d81bd3f5 --- /dev/null +++ b/doc/api/a00575.html @@ -0,0 +1,104 @@ + + + + + + + +0.9.9 API documenation: rotate_normalized_axis.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
rotate_normalized_axis.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotateNormalizedAxis (mat< 4, 4, T, Q > const &m, T const &angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotateNormalizedAxis (qua< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 
+

Detailed Description

+
+ + + + diff --git a/doc/api/a00575_source.html b/doc/api/a00575_source.html new file mode 100644 index 00000000..f657d1a0 --- /dev/null +++ b/doc/api/a00575_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: rotate_normalized_axis.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
rotate_normalized_axis.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../glm.hpp"
19 #include "../gtc/epsilon.hpp"
20 #include "../gtc/quaternion.hpp"
21 
22 #ifndef GLM_ENABLE_EXPERIMENTAL
23 # error "GLM: GLM_GTX_rotate_normalized_axis is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
24 #endif
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTX_rotate_normalized_axis extension included")
28 #endif
29 
30 namespace glm
31 {
34 
46  template<typename T, qualifier Q>
47  GLM_FUNC_DECL mat<4, 4, T, Q> rotateNormalizedAxis(
48  mat<4, 4, T, Q> const& m,
49  T const& angle,
50  vec<3, T, Q> const& axis);
51 
59  template<typename T, qualifier Q>
60  GLM_FUNC_DECL qua<T, Q> rotateNormalizedAxis(
61  qua<T, Q> const& q,
62  T const& angle,
63  vec<3, T, Q> const& axis);
64 
66 }//namespace glm
67 
68 #include "rotate_normalized_axis.inl"
GLM_FUNC_DECL qua< T, Q > rotateNormalizedAxis(qua< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
Rotates a quaternion from a vector of 3 components normalized axis and an angle.
+
GLM_FUNC_DECL vec< 3, T, Q > axis(qua< T, Q > const &x)
Returns the q rotation axis.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00090.html b/doc/api/a00578.html similarity index 60% rename from doc/api/a00090.html rename to doc/api/a00578.html index c7fc80fe..9a13ef1b 100644 --- a/doc/api/a00090.html +++ b/doc/api/a00578.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: rotate_vector.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,71 +73,57 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_rotate_vector -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation (vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
 Build a rotation matrix from a normal and a up vector. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation (vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > rotate (vec< 2, T, Q > const &v, T const &angle)
 Rotate a two dimensional vector. More...
GLM_FUNC_DECL vec< 2, T, Q > rotate (vec< 2, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (vec< 3, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 Rotate a three dimensional vector around an axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotate (vec< 3, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (vec< 4, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 Rotate a four dimensional vector around an axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotate (vec< 4, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotateX (vec< 3, T, Q > const &v, T const &angle)
 Rotate a three dimensional vector around the X axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotateX (vec< 3, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotateX (vec< 4, T, Q > const &v, T const &angle)
 Rotate a four dimensional vector around the X axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotateX (vec< 4, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotateY (vec< 3, T, Q > const &v, T const &angle)
 Rotate a three dimensional vector around the Y axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotateY (vec< 3, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotateY (vec< 4, T, Q > const &v, T const &angle)
 Rotate a four dimensional vector around the Y axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotateY (vec< 4, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotateZ (vec< 3, T, Q > const &v, T const &angle)
 Rotate a three dimensional vector around the Z axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotateZ (vec< 3, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotateZ (vec< 4, T, Q > const &v, T const &angle)
 Rotate a four dimensional vector around the Z axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotateZ (vec< 4, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > slerp (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)
 Returns Spherical interpolation between two vectors. More...
GLM_FUNC_DECL vec< 3, T, Q > slerp (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)
 

Detailed Description

-

GLM_GTX_rotate_vector

-
See also
Core features (dependence)
+

GLM_GTX_rotate_vector

+
See also
Core features (dependence)
-GLM_GTX_transform (dependence)
+GLM_GTX_transform (dependence)
-

Definition in file rotate_vector.hpp.

+

Definition in file rotate_vector.hpp.

diff --git a/doc/api/a00578_source.html b/doc/api/a00578_source.html new file mode 100644 index 00000000..7808aeac --- /dev/null +++ b/doc/api/a00578_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: rotate_vector.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
rotate_vector.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtx/transform.hpp"
18 #include "../gtc/epsilon.hpp"
19 #include "../ext/vector_relational.hpp"
20 #include "../glm.hpp"
21 
22 #ifndef GLM_ENABLE_EXPERIMENTAL
23 # error "GLM: GLM_GTX_rotate_vector is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
24 #endif
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTX_rotate_vector extension included")
28 #endif
29 
30 namespace glm
31 {
34 
42  template<typename T, qualifier Q>
43  GLM_FUNC_DECL vec<3, T, Q> slerp(
44  vec<3, T, Q> const& x,
45  vec<3, T, Q> const& y,
46  T const& a);
47 
50  template<typename T, qualifier Q>
51  GLM_FUNC_DECL vec<2, T, Q> rotate(
52  vec<2, T, Q> const& v,
53  T const& angle);
54 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL vec<3, T, Q> rotate(
59  vec<3, T, Q> const& v,
60  T const& angle,
61  vec<3, T, Q> const& normal);
62 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL vec<4, T, Q> rotate(
67  vec<4, T, Q> const& v,
68  T const& angle,
69  vec<3, T, Q> const& normal);
70 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL vec<3, T, Q> rotateX(
75  vec<3, T, Q> const& v,
76  T const& angle);
77 
80  template<typename T, qualifier Q>
81  GLM_FUNC_DECL vec<3, T, Q> rotateY(
82  vec<3, T, Q> const& v,
83  T const& angle);
84 
87  template<typename T, qualifier Q>
88  GLM_FUNC_DECL vec<3, T, Q> rotateZ(
89  vec<3, T, Q> const& v,
90  T const& angle);
91 
94  template<typename T, qualifier Q>
95  GLM_FUNC_DECL vec<4, T, Q> rotateX(
96  vec<4, T, Q> const& v,
97  T const& angle);
98 
101  template<typename T, qualifier Q>
102  GLM_FUNC_DECL vec<4, T, Q> rotateY(
103  vec<4, T, Q> const& v,
104  T const& angle);
105 
108  template<typename T, qualifier Q>
109  GLM_FUNC_DECL vec<4, T, Q> rotateZ(
110  vec<4, T, Q> const& v,
111  T const& angle);
112 
115  template<typename T, qualifier Q>
116  GLM_FUNC_DECL mat<4, 4, T, Q> orientation(
117  vec<3, T, Q> const& Normal,
118  vec<3, T, Q> const& Up);
119 
121 }//namespace glm
122 
123 #include "rotate_vector.inl"
GLM_FUNC_DECL vec< 4, T, Q > rotateX(vec< 4, T, Q > const &v, T const &angle)
Rotate a four dimensional vector around the X axis.
+
GLM_FUNC_DECL vec< 4, T, Q > rotateY(vec< 4, T, Q > const &v, T const &angle)
Rotate a four dimensional vector around the Y axis.
+
GLM_FUNC_DECL vec< 4, T, Q > rotateZ(vec< 4, T, Q > const &v, T const &angle)
Rotate a four dimensional vector around the Z axis.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation(vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
Build a rotation matrix from a normal and a up vector.
+
GLM_FUNC_DECL vec< 3, T, Q > slerp(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)
Returns Spherical interpolation between two vectors.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< 4, T, Q > rotate(vec< 4, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
Rotate a four dimensional vector around an axis.
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00581.html b/doc/api/a00581.html new file mode 100644 index 00000000..5dad4468 --- /dev/null +++ b/doc/api/a00581.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: scalar_multiplication.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_multiplication.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

Experimental extensions

+
Author
Joshua Moerman
+

Include <glm/gtx/scalar_multiplication.hpp> to use the features of this extension.

+

Enables scalar multiplication for all types

+

Since GLSL is very strict about types, the following (often used) combinations do not work: double * vec4 int * vec4 vec4 / int So we'll fix that! Of course "float * vec4" should remain the same (hence the enable_if magic)

+ +

Definition in file scalar_multiplication.hpp.

+
+ + + + diff --git a/doc/api/a00581_source.html b/doc/api/a00581_source.html new file mode 100644 index 00000000..f1cd8b8f --- /dev/null +++ b/doc/api/a00581_source.html @@ -0,0 +1,94 @@ + + + + + + + +0.9.9 API documenation: scalar_multiplication.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
scalar_multiplication.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 #include "../detail/setup.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_scalar_multiplication is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if !GLM_HAS_TEMPLATE_ALIASES && !(GLM_COMPILER & GLM_COMPILER_GCC)
24 # error "GLM_GTX_scalar_multiplication requires C++11 support or alias templates and if not support for GCC"
25 #endif
26 
27 #include "../vec2.hpp"
28 #include "../vec3.hpp"
29 #include "../vec4.hpp"
30 #include "../mat2x2.hpp"
31 #include <type_traits>
32 
33 namespace glm
34 {
35  template<typename T, typename Vec>
36  using return_type_scalar_multiplication = typename std::enable_if<
37  !std::is_same<T, float>::value // T may not be a float
38  && std::is_arithmetic<T>::value, Vec // But it may be an int or double (no vec3 or mat3, ...)
39  >::type;
40 
41 #define GLM_IMPLEMENT_SCAL_MULT(Vec) \
42  template<typename T> \
43  return_type_scalar_multiplication<T, Vec> \
44  operator*(T const& s, Vec rh){ \
45  return rh *= static_cast<float>(s); \
46  } \
47  \
48  template<typename T> \
49  return_type_scalar_multiplication<T, Vec> \
50  operator*(Vec lh, T const& s){ \
51  return lh *= static_cast<float>(s); \
52  } \
53  \
54  template<typename T> \
55  return_type_scalar_multiplication<T, Vec> \
56  operator/(Vec lh, T const& s){ \
57  return lh *= 1.0f / s; \
58  }
59 
60 GLM_IMPLEMENT_SCAL_MULT(vec2)
61 GLM_IMPLEMENT_SCAL_MULT(vec3)
62 GLM_IMPLEMENT_SCAL_MULT(vec4)
63 
64 GLM_IMPLEMENT_SCAL_MULT(mat2)
65 GLM_IMPLEMENT_SCAL_MULT(mat2x3)
66 GLM_IMPLEMENT_SCAL_MULT(mat2x4)
67 GLM_IMPLEMENT_SCAL_MULT(mat3x2)
68 GLM_IMPLEMENT_SCAL_MULT(mat3)
69 GLM_IMPLEMENT_SCAL_MULT(mat3x4)
70 GLM_IMPLEMENT_SCAL_MULT(mat4x2)
71 GLM_IMPLEMENT_SCAL_MULT(mat4x3)
72 GLM_IMPLEMENT_SCAL_MULT(mat4)
73 
74 #undef GLM_IMPLEMENT_SCAL_MULT
75 } // namespace glm
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 2, 4, float, defaultp > mat2x4
2 columns of 4 components matrix of single-precision floating-point numbers.
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
mat< 4, 2, float, defaultp > mat4x2
4 columns of 2 components matrix of single-precision floating-point numbers.
+
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
mat< 4, 3, float, defaultp > mat4x3
4 columns of 3 components matrix of single-precision floating-point numbers.
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
mat< 2, 3, float, defaultp > mat2x3
2 columns of 3 components matrix of single-precision floating-point numbers.
+
mat< 3, 4, float, defaultp > mat3x4
3 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 3, 2, float, defaultp > mat3x2
3 columns of 2 components matrix of single-precision floating-point numbers.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00584.html b/doc/api/a00584.html new file mode 100644 index 00000000..9e44ed9b --- /dev/null +++ b/doc/api/a00584.html @@ -0,0 +1,103 @@ + + + + + + + +0.9.9 API documenation: spline.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
spline.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType catmullRom (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 
template<typename genType >
GLM_FUNC_DECL genType cubic (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 
template<typename genType >
GLM_FUNC_DECL genType hermite (genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
 
+

Detailed Description

+

GLM_GTX_spline

+
See also
Core features (dependence)
+ +

Definition in file spline.hpp.

+
+ + + + diff --git a/doc/api/a00584_source.html b/doc/api/a00584_source.html new file mode 100644 index 00000000..47c8f522 --- /dev/null +++ b/doc/api/a00584_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: spline.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
spline.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtx/optimum_pow.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_spline is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_spline extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename genType>
35  GLM_FUNC_DECL genType catmullRom(
36  genType const& v1,
37  genType const& v2,
38  genType const& v3,
39  genType const& v4,
40  typename genType::value_type const& s);
41 
44  template<typename genType>
45  GLM_FUNC_DECL genType hermite(
46  genType const& v1,
47  genType const& t1,
48  genType const& v2,
49  genType const& t2,
50  typename genType::value_type const& s);
51 
54  template<typename genType>
55  GLM_FUNC_DECL genType cubic(
56  genType const& v1,
57  genType const& v2,
58  genType const& v3,
59  genType const& v4,
60  typename genType::value_type const& s);
61 
63 }//namespace glm
64 
65 #include "spline.inl"
GLM_FUNC_DECL genType hermite(genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
Return a point from a hermite curve.
+
GLM_FUNC_DECL genType catmullRom(genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
Return a point from a catmull rom curve.
+
GLM_FUNC_DECL genType cubic(genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
Return a point from a cubic curve.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00096.html b/doc/api/a00587.html similarity index 53% rename from doc/api/a00096.html rename to doc/api/a00587.html index b9b51df7..15713fc6 100644 --- a/doc/api/a00096.html +++ b/doc/api/a00587.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: std_based_type.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,51 +73,40 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_std_based_type -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - +

Typedefs

typedef vec< 1, std::size_t, defaultp > size1
 Vector type based of one std::size_t component. More...
typedef vec< 1, std::size_t, defaultp > size1
 
typedef vec< 1, std::size_t, defaultp > size1_t
 Vector type based of one std::size_t component. More...
typedef vec< 1, std::size_t, defaultp > size1_t
 
typedef vec< 2, std::size_t, defaultp > size2
 Vector type based of two std::size_t components. More...
typedef vec< 2, std::size_t, defaultp > size2
 
typedef vec< 2, std::size_t, defaultp > size2_t
 Vector type based of two std::size_t components. More...
typedef vec< 2, std::size_t, defaultp > size2_t
 
typedef vec< 3, std::size_t, defaultp > size3
 Vector type based of three std::size_t components. More...
typedef vec< 3, std::size_t, defaultp > size3
 
typedef vec< 3, std::size_t, defaultp > size3_t
 Vector type based of three std::size_t components. More...
typedef vec< 3, std::size_t, defaultp > size3_t
 
typedef vec< 4, std::size_t, defaultp > size4
 Vector type based of four std::size_t components. More...
typedef vec< 4, std::size_t, defaultp > size4
 
typedef vec< 4, std::size_t, defaultp > size4_t
 Vector type based of four std::size_t components. More...
typedef vec< 4, std::size_t, defaultp > size4_t
 

Detailed Description

-

GLM_GTX_std_based_type

-
See also
Core features (dependence)
+

GLM_GTX_std_based_type

+
See also
Core features (dependence)
gtx_extented_min_max (dependence)
-

Definition in file std_based_type.hpp.

+

Definition in file std_based_type.hpp.

diff --git a/doc/api/a00587_source.html b/doc/api/a00587_source.html new file mode 100644 index 00000000..62ae8d82 --- /dev/null +++ b/doc/api/a00587_source.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: std_based_type.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
std_based_type.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include <cstdlib>
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_std_based_type is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_std_based_type extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  typedef vec<1, std::size_t, defaultp> size1;
36 
39  typedef vec<2, std::size_t, defaultp> size2;
40 
43  typedef vec<3, std::size_t, defaultp> size3;
44 
47  typedef vec<4, std::size_t, defaultp> size4;
48 
51  typedef vec<1, std::size_t, defaultp> size1_t;
52 
55  typedef vec<2, std::size_t, defaultp> size2_t;
56 
59  typedef vec<3, std::size_t, defaultp> size3_t;
60 
63  typedef vec<4, std::size_t, defaultp> size4_t;
64 
66 }//namespace glm
67 
68 #include "std_based_type.inl"
vec< 1, std::size_t, defaultp > size1
Vector type based of one std::size_t component.
+
vec< 1, std::size_t, defaultp > size1_t
Vector type based of one std::size_t component.
+
vec< 4, std::size_t, defaultp > size4_t
Vector type based of four std::size_t components.
+
vec< 3, std::size_t, defaultp > size3_t
Vector type based of three std::size_t components.
+
vec< 2, std::size_t, defaultp > size2
Vector type based of two std::size_t components.
+
vec< 3, std::size_t, defaultp > size3
Vector type based of three std::size_t components.
+
vec< 2, std::size_t, defaultp > size2_t
Vector type based of two std::size_t components.
+
vec< 4, std::size_t, defaultp > size4
Vector type based of four std::size_t components.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00097.html b/doc/api/a00590.html similarity index 53% rename from doc/api/a00097.html rename to doc/api/a00590.html index 7b9e9dc8..0124acc2 100644 --- a/doc/api/a00097.html +++ b/doc/api/a00590.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: string_cast.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,33 +73,29 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_string_cast -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - +

Functions

template<typename genType >
GLM_FUNC_DECL std::string to_string (genType const &x)
 Create a string from a GLM vector or matrix typed variable. More...
GLM_FUNC_DECL std::string to_string (genType const &x)
 

Detailed Description

-

GLM_GTX_string_cast

-
See also
Core features (dependence)
+

GLM_GTX_string_cast

+
See also
Core features (dependence)
-GLM_GTX_integer (dependence)
+GLM_GTX_integer (dependence)
-GLM_GTX_quaternion (dependence)
+GLM_GTX_quaternion (dependence)
-

Definition in file string_cast.hpp.

+

Definition in file string_cast.hpp.

diff --git a/doc/api/a00590_source.html b/doc/api/a00590_source.html new file mode 100644 index 00000000..b120461e --- /dev/null +++ b/doc/api/a00590_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: string_cast.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
string_cast.hpp
+
+
+Go to the documentation of this file.
1 
17 #pragma once
18 
19 // Dependency:
20 #include "../glm.hpp"
21 #include "../gtc/type_precision.hpp"
22 #include "../gtc/quaternion.hpp"
23 #include "../gtx/dual_quaternion.hpp"
24 #include <string>
25 #include <cmath>
26 
27 #ifndef GLM_ENABLE_EXPERIMENTAL
28 # error "GLM: GLM_GTX_string_cast is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
29 #endif
30 
31 #if(GLM_COMPILER & GLM_COMPILER_CUDA)
32 # error "GLM_GTX_string_cast is not supported on CUDA compiler"
33 #endif
34 
35 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
36 # pragma message("GLM: GLM_GTX_string_cast extension included")
37 #endif
38 
39 namespace glm
40 {
43 
46  template<typename genType>
47  GLM_FUNC_DECL std::string to_string(genType const& x);
48 
50 }//namespace glm
51 
52 #include "string_cast.inl"
GLM_FUNC_DECL std::string to_string(genType const &x)
Create a string from a GLM vector or matrix typed variable.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00593.html b/doc/api/a00593.html new file mode 100644 index 00000000..73d5500e --- /dev/null +++ b/doc/api/a00593.html @@ -0,0 +1,97 @@ + + + + + + + +0.9.9 API documenation: texture.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
texture.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
levels (vec< L, T, Q > const &Extent)
 
+

Detailed Description

+

GLM_GTX_texture

+
See also
Core features (dependence)
+ +

Definition in file texture.hpp.

+
+ + + + diff --git a/doc/api/a00593_source.html b/doc/api/a00593_source.html new file mode 100644 index 00000000..38e15b66 --- /dev/null +++ b/doc/api/a00593_source.html @@ -0,0 +1,83 @@ + + + + + + + +0.9.9 API documenation: texture.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
texture.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/integer.hpp"
18 #include "../gtx/component_wise.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_texture is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_texture extension included")
26 #endif
27 
28 namespace glm
29 {
32 
39  template <length_t L, typename T, qualifier Q>
40  T levels(vec<L, T, Q> const& Extent);
41 
43 }// namespace glm
44 
45 #include "texture.inl"
46 
T levels(vec< L, T, Q > const &Extent)
Compute the number of mipmaps levels necessary to create a mipmap complete texture.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00099.html b/doc/api/a00596.html similarity index 53% rename from doc/api/a00099.html rename to doc/api/a00596.html index 0062d431..432fabea 100644 --- a/doc/api/a00099.html +++ b/doc/api/a00596.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: transform.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,43 +73,37 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_transform -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (T angle, vec< 3, T, Q > const &v)
 Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (T angle, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (vec< 3, T, Q > const &v)
 Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (vec< 3, T, Q > const &v)
 Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (vec< 3, T, Q > const &v)
 

Detailed Description

-

GLM_GTX_transform

-
See also
Core features (dependence)
+
-

Definition in file transform.hpp.

+

Definition in file transform.hpp.

diff --git a/doc/api/a00596_source.html b/doc/api/a00596_source.html new file mode 100644 index 00000000..36b617b0 --- /dev/null +++ b/doc/api/a00596_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
transform.hpp
+
+
+Go to the documentation of this file.
1 
16 #pragma once
17 
18 // Dependency:
19 #include "../glm.hpp"
20 #include "../gtc/matrix_transform.hpp"
21 
22 #ifndef GLM_ENABLE_EXPERIMENTAL
23 # error "GLM: GLM_GTX_transform is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
24 #endif
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTX_transform extension included")
28 #endif
29 
30 namespace glm
31 {
34 
38  template<typename T, qualifier Q>
39  GLM_FUNC_DECL mat<4, 4, T, Q> translate(
40  vec<3, T, Q> const& v);
41 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL mat<4, 4, T, Q> rotate(
47  T angle,
48  vec<3, T, Q> const& v);
49 
53  template<typename T, qualifier Q>
54  GLM_FUNC_DECL mat<4, 4, T, Q> scale(
55  vec<3, T, Q> const& v);
56 
58 }// namespace glm
59 
60 #include "transform.inl"
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate(T angle, vec< 3, T, Q > const &v)
Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians...
+
GLM_FUNC_DECL mat< 4, 4, T, Q > translate(vec< 3, T, Q > const &v)
Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(vec< 3, T, Q > const &v)
Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
+ + + + diff --git a/doc/api/a00100.html b/doc/api/a00599.html similarity index 59% rename from doc/api/a00100.html rename to doc/api/a00599.html index 94106018..a571a8d1 100644 --- a/doc/api/a00100.html +++ b/doc/api/a00599.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: transform2.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,63 +73,51 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_transform2 -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > proj2D (mat< 3, 3, T, Q > const &m, vec< 3, T, Q > const &normal)
 Build planar projection matrix along normal axis. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > proj2D (mat< 3, 3, T, Q > const &m, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > proj3D (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &normal)
 Build planar projection matrix along normal axis. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > proj3D (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (T scale, T bias)
 Build a scale bias matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (T scale, T bias)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (mat< 4, 4, T, Q > const &m, T scale, T bias)
 Build a scale bias matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (mat< 4, 4, T, Q > const &m, T scale, T bias)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > shearX2D (mat< 3, 3, T, Q > const &m, T y)
 Transforms a matrix with a shearing on X axis. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > shearX2D (mat< 3, 3, T, Q > const &m, T y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearX3D (mat< 4, 4, T, Q > const &m, T y, T z)
 Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > shearX3D (mat< 4, 4, T, Q > const &m, T y, T z)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > shearY2D (mat< 3, 3, T, Q > const &m, T x)
 Transforms a matrix with a shearing on Y axis. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > shearY2D (mat< 3, 3, T, Q > const &m, T x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearY3D (mat< 4, 4, T, Q > const &m, T x, T z)
 Transforms a matrix with a shearing on Y axis. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > shearY3D (mat< 4, 4, T, Q > const &m, T x, T z)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearZ3D (mat< 4, 4, T, Q > const &m, T x, T y)
 Transforms a matrix with a shearing on Z axis. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > shearZ3D (mat< 4, 4, T, Q > const &m, T x, T y)
 

Detailed Description

-

GLM_GTX_transform2

-
See also
Core features (dependence)
+

GLM_GTX_transform2

+
See also
Core features (dependence)
-GLM_GTX_transform (dependence)
+GLM_GTX_transform (dependence)
-

Definition in file transform2.hpp.

+

Definition in file transform2.hpp.

diff --git a/doc/api/a00599_source.html b/doc/api/a00599_source.html new file mode 100644 index 00000000..81bf3336 --- /dev/null +++ b/doc/api/a00599_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: transform2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
transform2.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtx/transform.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_transform2 is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_transform2 extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<typename T, qualifier Q>
36  GLM_FUNC_DECL mat<3, 3, T, Q> shearX2D(mat<3, 3, T, Q> const& m, T y);
37 
40  template<typename T, qualifier Q>
41  GLM_FUNC_DECL mat<3, 3, T, Q> shearY2D(mat<3, 3, T, Q> const& m, T x);
42 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL mat<4, 4, T, Q> shearX3D(mat<4, 4, T, Q> const& m, T y, T z);
47 
50  template<typename T, qualifier Q>
51  GLM_FUNC_DECL mat<4, 4, T, Q> shearY3D(mat<4, 4, T, Q> const& m, T x, T z);
52 
55  template<typename T, qualifier Q>
56  GLM_FUNC_DECL mat<4, 4, T, Q> shearZ3D(mat<4, 4, T, Q> const& m, T x, T y);
57 
58  //template<typename T> GLM_FUNC_QUALIFIER mat<4, 4, T, Q> shear(const mat<4, 4, T, Q> & m, shearPlane, planePoint, angle)
59  // Identity + tan(angle) * cross(Normal, OnPlaneVector) 0
60  // - dot(PointOnPlane, normal) * OnPlaneVector 1
61 
62  // Reflect functions seem to don't work
63  //template<typename T> mat<3, 3, T, Q> reflect2D(const mat<3, 3, T, Q> & m, const vec<3, T, Q>& normal){return reflect2DGTX(m, normal);} //!< \brief Build a reflection matrix (from GLM_GTX_transform2 extension)
64  //template<typename T> mat<4, 4, T, Q> reflect3D(const mat<4, 4, T, Q> & m, const vec<3, T, Q>& normal){return reflect3DGTX(m, normal);} //!< \brief Build a reflection matrix (from GLM_GTX_transform2 extension)
65 
68  template<typename T, qualifier Q>
69  GLM_FUNC_DECL mat<3, 3, T, Q> proj2D(mat<3, 3, T, Q> const& m, vec<3, T, Q> const& normal);
70 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL mat<4, 4, T, Q> proj3D(mat<4, 4, T, Q> const & m, vec<3, T, Q> const& normal);
75 
78  template<typename T, qualifier Q>
79  GLM_FUNC_DECL mat<4, 4, T, Q> scaleBias(T scale, T bias);
80 
83  template<typename T, qualifier Q>
84  GLM_FUNC_DECL mat<4, 4, T, Q> scaleBias(mat<4, 4, T, Q> const& m, T scale, T bias);
85 
87 }// namespace glm
88 
89 #include "transform2.inl"
GLM_FUNC_DECL mat< 3, 3, T, Q > shearX2D(mat< 3, 3, T, Q > const &m, T y)
Transforms a matrix with a shearing on X axis.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > shearX3D(mat< 4, 4, T, Q > const &m, T y, T z)
Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > shearY3D(mat< 4, 4, T, Q > const &m, T x, T z)
Transforms a matrix with a shearing on Y axis.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > proj3D(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &normal)
Build planar projection matrix along normal axis.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > proj2D(mat< 3, 3, T, Q > const &m, vec< 3, T, Q > const &normal)
Build planar projection matrix along normal axis.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias(mat< 4, 4, T, Q > const &m, T scale, T bias)
Build a scale bias matrix.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > shearY2D(mat< 3, 3, T, Q > const &m, T x)
Transforms a matrix with a shearing on Y axis.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL mat< 4, 4, T, Q > shearZ3D(mat< 4, 4, T, Q > const &m, T x, T y)
Transforms a matrix with a shearing on Z axis.
+
+ + + + diff --git a/doc/api/a00120.html b/doc/api/a00602.html similarity index 53% rename from doc/api/a00120.html rename to doc/api/a00602.html index 055156ed..c132a320 100644 --- a/doc/api/a00120.html +++ b/doc/api/a00602.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: type_trait.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -89,21 +71,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_type_trait -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

GLM_GTX_type_trait

-
See also
Core features (dependence)
+

GLM_GTX_type_trait

+
See also
Core features (dependence)
-

Definition in file type_trait.hpp.

+

Definition in file type_trait.hpp.

diff --git a/doc/api/a00602_source.html b/doc/api/a00602_source.html new file mode 100644 index 00000000..d89979a9 --- /dev/null +++ b/doc/api/a00602_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: type_trait.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
type_trait.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #ifndef GLM_ENABLE_EXPERIMENTAL
16 # error "GLM: GLM_GTX_type_trait is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
17 #endif
18 
19 // Dependency:
20 #include "../detail/qualifier.hpp"
21 #include "../gtc/quaternion.hpp"
22 #include "../gtx/dual_quaternion.hpp"
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_type_trait extension included")
26 #endif
27 
28 namespace glm
29 {
32 
33  template<typename T>
34  struct type
35  {
36  static bool const is_vec = false;
37  static bool const is_mat = false;
38  static bool const is_quat = false;
39  static length_t const components = 0;
40  static length_t const cols = 0;
41  static length_t const rows = 0;
42  };
43 
44  template<length_t L, typename T, qualifier Q>
45  struct type<vec<L, T, Q> >
46  {
47  static bool const is_vec = true;
48  static bool const is_mat = false;
49  static bool const is_quat = false;
50  static length_t const components = L;
51  };
52 
53  template<length_t C, length_t R, typename T, qualifier Q>
54  struct type<mat<C, R, T, Q> >
55  {
56  static bool const is_vec = false;
57  static bool const is_mat = true;
58  static bool const is_quat = false;
59  static length_t const components = C;
60  static length_t const cols = C;
61  static length_t const rows = R;
62  };
63 
64  template<typename T, qualifier Q>
65  struct type<qua<T, Q> >
66  {
67  static bool const is_vec = false;
68  static bool const is_mat = false;
69  static bool const is_quat = true;
70  static length_t const components = 4;
71  };
72 
73  template<typename T, qualifier Q>
74  struct type<tdualquat<T, Q> >
75  {
76  static bool const is_vec = false;
77  static bool const is_mat = false;
78  static bool const is_quat = true;
79  static length_t const components = 8;
80  };
81 
83 }//namespace glm
84 
85 #include "type_trait.inl"
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00132.html b/doc/api/a00605.html similarity index 53% rename from doc/api/a00132.html rename to doc/api/a00605.html index bd64189f..dc0998a5 100644 --- a/doc/api/a00132.html +++ b/doc/api/a00605.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: vec_swizzle.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,21 +71,18 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_vec_swizzle -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

GLM_GTX_vec_swizzle

-
See also
Core features (dependence)
+

GLM_GTX_vec_swizzle

+
See also
Core features (dependence)
-

Definition in file vec_swizzle.hpp.

+

Definition in file vec_swizzle.hpp.

diff --git a/doc/api/a00605_source.html b/doc/api/a00605_source.html new file mode 100644 index 00000000..62680437 --- /dev/null +++ b/doc/api/a00605_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: vec_swizzle.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec_swizzle.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #include "../glm.hpp"
16 
17 #ifndef GLM_ENABLE_EXPERIMENTAL
18 # error "GLM: GLM_GTX_vec_swizzle is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
19 #endif
20 
21 namespace glm {
22  // xx
23  template<typename T, qualifier Q>
24  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<1, T, Q> &v) {
25  return glm::vec<2, T, Q>(v.x, v.x);
26  }
27 
28  template<typename T, qualifier Q>
29  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<2, T, Q> &v) {
30  return glm::vec<2, T, Q>(v.x, v.x);
31  }
32 
33  template<typename T, qualifier Q>
34  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<3, T, Q> &v) {
35  return glm::vec<2, T, Q>(v.x, v.x);
36  }
37 
38  template<typename T, qualifier Q>
39  GLM_INLINE glm::vec<2, T, Q> xx(const glm::vec<4, T, Q> &v) {
40  return glm::vec<2, T, Q>(v.x, v.x);
41  }
42 
43  // xy
44  template<typename T, qualifier Q>
45  GLM_INLINE glm::vec<2, T, Q> xy(const glm::vec<2, T, Q> &v) {
46  return glm::vec<2, T, Q>(v.x, v.y);
47  }
48 
49  template<typename T, qualifier Q>
50  GLM_INLINE glm::vec<2, T, Q> xy(const glm::vec<3, T, Q> &v) {
51  return glm::vec<2, T, Q>(v.x, v.y);
52  }
53 
54  template<typename T, qualifier Q>
55  GLM_INLINE glm::vec<2, T, Q> xy(const glm::vec<4, T, Q> &v) {
56  return glm::vec<2, T, Q>(v.x, v.y);
57  }
58 
59  // xz
60  template<typename T, qualifier Q>
61  GLM_INLINE glm::vec<2, T, Q> xz(const glm::vec<3, T, Q> &v) {
62  return glm::vec<2, T, Q>(v.x, v.z);
63  }
64 
65  template<typename T, qualifier Q>
66  GLM_INLINE glm::vec<2, T, Q> xz(const glm::vec<4, T, Q> &v) {
67  return glm::vec<2, T, Q>(v.x, v.z);
68  }
69 
70  // xw
71  template<typename T, qualifier Q>
72  GLM_INLINE glm::vec<2, T, Q> xw(const glm::vec<4, T, Q> &v) {
73  return glm::vec<2, T, Q>(v.x, v.w);
74  }
75 
76  // yx
77  template<typename T, qualifier Q>
78  GLM_INLINE glm::vec<2, T, Q> yx(const glm::vec<2, T, Q> &v) {
79  return glm::vec<2, T, Q>(v.y, v.x);
80  }
81 
82  template<typename T, qualifier Q>
83  GLM_INLINE glm::vec<2, T, Q> yx(const glm::vec<3, T, Q> &v) {
84  return glm::vec<2, T, Q>(v.y, v.x);
85  }
86 
87  template<typename T, qualifier Q>
88  GLM_INLINE glm::vec<2, T, Q> yx(const glm::vec<4, T, Q> &v) {
89  return glm::vec<2, T, Q>(v.y, v.x);
90  }
91 
92  // yy
93  template<typename T, qualifier Q>
94  GLM_INLINE glm::vec<2, T, Q> yy(const glm::vec<2, T, Q> &v) {
95  return glm::vec<2, T, Q>(v.y, v.y);
96  }
97 
98  template<typename T, qualifier Q>
99  GLM_INLINE glm::vec<2, T, Q> yy(const glm::vec<3, T, Q> &v) {
100  return glm::vec<2, T, Q>(v.y, v.y);
101  }
102 
103  template<typename T, qualifier Q>
104  GLM_INLINE glm::vec<2, T, Q> yy(const glm::vec<4, T, Q> &v) {
105  return glm::vec<2, T, Q>(v.y, v.y);
106  }
107 
108  // yz
109  template<typename T, qualifier Q>
110  GLM_INLINE glm::vec<2, T, Q> yz(const glm::vec<3, T, Q> &v) {
111  return glm::vec<2, T, Q>(v.y, v.z);
112  }
113 
114  template<typename T, qualifier Q>
115  GLM_INLINE glm::vec<2, T, Q> yz(const glm::vec<4, T, Q> &v) {
116  return glm::vec<2, T, Q>(v.y, v.z);
117  }
118 
119  // yw
120  template<typename T, qualifier Q>
121  GLM_INLINE glm::vec<2, T, Q> yw(const glm::vec<4, T, Q> &v) {
122  return glm::vec<2, T, Q>(v.y, v.w);
123  }
124 
125  // zx
126  template<typename T, qualifier Q>
127  GLM_INLINE glm::vec<2, T, Q> zx(const glm::vec<3, T, Q> &v) {
128  return glm::vec<2, T, Q>(v.z, v.x);
129  }
130 
131  template<typename T, qualifier Q>
132  GLM_INLINE glm::vec<2, T, Q> zx(const glm::vec<4, T, Q> &v) {
133  return glm::vec<2, T, Q>(v.z, v.x);
134  }
135 
136  // zy
137  template<typename T, qualifier Q>
138  GLM_INLINE glm::vec<2, T, Q> zy(const glm::vec<3, T, Q> &v) {
139  return glm::vec<2, T, Q>(v.z, v.y);
140  }
141 
142  template<typename T, qualifier Q>
143  GLM_INLINE glm::vec<2, T, Q> zy(const glm::vec<4, T, Q> &v) {
144  return glm::vec<2, T, Q>(v.z, v.y);
145  }
146 
147  // zz
148  template<typename T, qualifier Q>
149  GLM_INLINE glm::vec<2, T, Q> zz(const glm::vec<3, T, Q> &v) {
150  return glm::vec<2, T, Q>(v.z, v.z);
151  }
152 
153  template<typename T, qualifier Q>
154  GLM_INLINE glm::vec<2, T, Q> zz(const glm::vec<4, T, Q> &v) {
155  return glm::vec<2, T, Q>(v.z, v.z);
156  }
157 
158  // zw
159  template<typename T, qualifier Q>
160  GLM_INLINE glm::vec<2, T, Q> zw(const glm::vec<4, T, Q> &v) {
161  return glm::vec<2, T, Q>(v.z, v.w);
162  }
163 
164  // wx
165  template<typename T, qualifier Q>
166  GLM_INLINE glm::vec<2, T, Q> wx(const glm::vec<4, T, Q> &v) {
167  return glm::vec<2, T, Q>(v.w, v.x);
168  }
169 
170  // wy
171  template<typename T, qualifier Q>
172  GLM_INLINE glm::vec<2, T, Q> wy(const glm::vec<4, T, Q> &v) {
173  return glm::vec<2, T, Q>(v.w, v.y);
174  }
175 
176  // wz
177  template<typename T, qualifier Q>
178  GLM_INLINE glm::vec<2, T, Q> wz(const glm::vec<4, T, Q> &v) {
179  return glm::vec<2, T, Q>(v.w, v.z);
180  }
181 
182  // ww
183  template<typename T, qualifier Q>
184  GLM_INLINE glm::vec<2, T, Q> ww(const glm::vec<4, T, Q> &v) {
185  return glm::vec<2, T, Q>(v.w, v.w);
186  }
187 
188  // xxx
189  template<typename T, qualifier Q>
190  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<1, T, Q> &v) {
191  return glm::vec<3, T, Q>(v.x, v.x, v.x);
192  }
193 
194  template<typename T, qualifier Q>
195  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<2, T, Q> &v) {
196  return glm::vec<3, T, Q>(v.x, v.x, v.x);
197  }
198 
199  template<typename T, qualifier Q>
200  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<3, T, Q> &v) {
201  return glm::vec<3, T, Q>(v.x, v.x, v.x);
202  }
203 
204  template<typename T, qualifier Q>
205  GLM_INLINE glm::vec<3, T, Q> xxx(const glm::vec<4, T, Q> &v) {
206  return glm::vec<3, T, Q>(v.x, v.x, v.x);
207  }
208 
209  // xxy
210  template<typename T, qualifier Q>
211  GLM_INLINE glm::vec<3, T, Q> xxy(const glm::vec<2, T, Q> &v) {
212  return glm::vec<3, T, Q>(v.x, v.x, v.y);
213  }
214 
215  template<typename T, qualifier Q>
216  GLM_INLINE glm::vec<3, T, Q> xxy(const glm::vec<3, T, Q> &v) {
217  return glm::vec<3, T, Q>(v.x, v.x, v.y);
218  }
219 
220  template<typename T, qualifier Q>
221  GLM_INLINE glm::vec<3, T, Q> xxy(const glm::vec<4, T, Q> &v) {
222  return glm::vec<3, T, Q>(v.x, v.x, v.y);
223  }
224 
225  // xxz
226  template<typename T, qualifier Q>
227  GLM_INLINE glm::vec<3, T, Q> xxz(const glm::vec<3, T, Q> &v) {
228  return glm::vec<3, T, Q>(v.x, v.x, v.z);
229  }
230 
231  template<typename T, qualifier Q>
232  GLM_INLINE glm::vec<3, T, Q> xxz(const glm::vec<4, T, Q> &v) {
233  return glm::vec<3, T, Q>(v.x, v.x, v.z);
234  }
235 
236  // xxw
237  template<typename T, qualifier Q>
238  GLM_INLINE glm::vec<3, T, Q> xxw(const glm::vec<4, T, Q> &v) {
239  return glm::vec<3, T, Q>(v.x, v.x, v.w);
240  }
241 
242  // xyx
243  template<typename T, qualifier Q>
244  GLM_INLINE glm::vec<3, T, Q> xyx(const glm::vec<2, T, Q> &v) {
245  return glm::vec<3, T, Q>(v.x, v.y, v.x);
246  }
247 
248  template<typename T, qualifier Q>
249  GLM_INLINE glm::vec<3, T, Q> xyx(const glm::vec<3, T, Q> &v) {
250  return glm::vec<3, T, Q>(v.x, v.y, v.x);
251  }
252 
253  template<typename T, qualifier Q>
254  GLM_INLINE glm::vec<3, T, Q> xyx(const glm::vec<4, T, Q> &v) {
255  return glm::vec<3, T, Q>(v.x, v.y, v.x);
256  }
257 
258  // xyy
259  template<typename T, qualifier Q>
260  GLM_INLINE glm::vec<3, T, Q> xyy(const glm::vec<2, T, Q> &v) {
261  return glm::vec<3, T, Q>(v.x, v.y, v.y);
262  }
263 
264  template<typename T, qualifier Q>
265  GLM_INLINE glm::vec<3, T, Q> xyy(const glm::vec<3, T, Q> &v) {
266  return glm::vec<3, T, Q>(v.x, v.y, v.y);
267  }
268 
269  template<typename T, qualifier Q>
270  GLM_INLINE glm::vec<3, T, Q> xyy(const glm::vec<4, T, Q> &v) {
271  return glm::vec<3, T, Q>(v.x, v.y, v.y);
272  }
273 
274  // xyz
275  template<typename T, qualifier Q>
276  GLM_INLINE glm::vec<3, T, Q> xyz(const glm::vec<3, T, Q> &v) {
277  return glm::vec<3, T, Q>(v.x, v.y, v.z);
278  }
279 
280  template<typename T, qualifier Q>
281  GLM_INLINE glm::vec<3, T, Q> xyz(const glm::vec<4, T, Q> &v) {
282  return glm::vec<3, T, Q>(v.x, v.y, v.z);
283  }
284 
285  // xyw
286  template<typename T, qualifier Q>
287  GLM_INLINE glm::vec<3, T, Q> xyw(const glm::vec<4, T, Q> &v) {
288  return glm::vec<3, T, Q>(v.x, v.y, v.w);
289  }
290 
291  // xzx
292  template<typename T, qualifier Q>
293  GLM_INLINE glm::vec<3, T, Q> xzx(const glm::vec<3, T, Q> &v) {
294  return glm::vec<3, T, Q>(v.x, v.z, v.x);
295  }
296 
297  template<typename T, qualifier Q>
298  GLM_INLINE glm::vec<3, T, Q> xzx(const glm::vec<4, T, Q> &v) {
299  return glm::vec<3, T, Q>(v.x, v.z, v.x);
300  }
301 
302  // xzy
303  template<typename T, qualifier Q>
304  GLM_INLINE glm::vec<3, T, Q> xzy(const glm::vec<3, T, Q> &v) {
305  return glm::vec<3, T, Q>(v.x, v.z, v.y);
306  }
307 
308  template<typename T, qualifier Q>
309  GLM_INLINE glm::vec<3, T, Q> xzy(const glm::vec<4, T, Q> &v) {
310  return glm::vec<3, T, Q>(v.x, v.z, v.y);
311  }
312 
313  // xzz
314  template<typename T, qualifier Q>
315  GLM_INLINE glm::vec<3, T, Q> xzz(const glm::vec<3, T, Q> &v) {
316  return glm::vec<3, T, Q>(v.x, v.z, v.z);
317  }
318 
319  template<typename T, qualifier Q>
320  GLM_INLINE glm::vec<3, T, Q> xzz(const glm::vec<4, T, Q> &v) {
321  return glm::vec<3, T, Q>(v.x, v.z, v.z);
322  }
323 
324  // xzw
325  template<typename T, qualifier Q>
326  GLM_INLINE glm::vec<3, T, Q> xzw(const glm::vec<4, T, Q> &v) {
327  return glm::vec<3, T, Q>(v.x, v.z, v.w);
328  }
329 
330  // xwx
331  template<typename T, qualifier Q>
332  GLM_INLINE glm::vec<3, T, Q> xwx(const glm::vec<4, T, Q> &v) {
333  return glm::vec<3, T, Q>(v.x, v.w, v.x);
334  }
335 
336  // xwy
337  template<typename T, qualifier Q>
338  GLM_INLINE glm::vec<3, T, Q> xwy(const glm::vec<4, T, Q> &v) {
339  return glm::vec<3, T, Q>(v.x, v.w, v.y);
340  }
341 
342  // xwz
343  template<typename T, qualifier Q>
344  GLM_INLINE glm::vec<3, T, Q> xwz(const glm::vec<4, T, Q> &v) {
345  return glm::vec<3, T, Q>(v.x, v.w, v.z);
346  }
347 
348  // xww
349  template<typename T, qualifier Q>
350  GLM_INLINE glm::vec<3, T, Q> xww(const glm::vec<4, T, Q> &v) {
351  return glm::vec<3, T, Q>(v.x, v.w, v.w);
352  }
353 
354  // yxx
355  template<typename T, qualifier Q>
356  GLM_INLINE glm::vec<3, T, Q> yxx(const glm::vec<2, T, Q> &v) {
357  return glm::vec<3, T, Q>(v.y, v.x, v.x);
358  }
359 
360  template<typename T, qualifier Q>
361  GLM_INLINE glm::vec<3, T, Q> yxx(const glm::vec<3, T, Q> &v) {
362  return glm::vec<3, T, Q>(v.y, v.x, v.x);
363  }
364 
365  template<typename T, qualifier Q>
366  GLM_INLINE glm::vec<3, T, Q> yxx(const glm::vec<4, T, Q> &v) {
367  return glm::vec<3, T, Q>(v.y, v.x, v.x);
368  }
369 
370  // yxy
371  template<typename T, qualifier Q>
372  GLM_INLINE glm::vec<3, T, Q> yxy(const glm::vec<2, T, Q> &v) {
373  return glm::vec<3, T, Q>(v.y, v.x, v.y);
374  }
375 
376  template<typename T, qualifier Q>
377  GLM_INLINE glm::vec<3, T, Q> yxy(const glm::vec<3, T, Q> &v) {
378  return glm::vec<3, T, Q>(v.y, v.x, v.y);
379  }
380 
381  template<typename T, qualifier Q>
382  GLM_INLINE glm::vec<3, T, Q> yxy(const glm::vec<4, T, Q> &v) {
383  return glm::vec<3, T, Q>(v.y, v.x, v.y);
384  }
385 
386  // yxz
387  template<typename T, qualifier Q>
388  GLM_INLINE glm::vec<3, T, Q> yxz(const glm::vec<3, T, Q> &v) {
389  return glm::vec<3, T, Q>(v.y, v.x, v.z);
390  }
391 
392  template<typename T, qualifier Q>
393  GLM_INLINE glm::vec<3, T, Q> yxz(const glm::vec<4, T, Q> &v) {
394  return glm::vec<3, T, Q>(v.y, v.x, v.z);
395  }
396 
397  // yxw
398  template<typename T, qualifier Q>
399  GLM_INLINE glm::vec<3, T, Q> yxw(const glm::vec<4, T, Q> &v) {
400  return glm::vec<3, T, Q>(v.y, v.x, v.w);
401  }
402 
403  // yyx
404  template<typename T, qualifier Q>
405  GLM_INLINE glm::vec<3, T, Q> yyx(const glm::vec<2, T, Q> &v) {
406  return glm::vec<3, T, Q>(v.y, v.y, v.x);
407  }
408 
409  template<typename T, qualifier Q>
410  GLM_INLINE glm::vec<3, T, Q> yyx(const glm::vec<3, T, Q> &v) {
411  return glm::vec<3, T, Q>(v.y, v.y, v.x);
412  }
413 
414  template<typename T, qualifier Q>
415  GLM_INLINE glm::vec<3, T, Q> yyx(const glm::vec<4, T, Q> &v) {
416  return glm::vec<3, T, Q>(v.y, v.y, v.x);
417  }
418 
419  // yyy
420  template<typename T, qualifier Q>
421  GLM_INLINE glm::vec<3, T, Q> yyy(const glm::vec<2, T, Q> &v) {
422  return glm::vec<3, T, Q>(v.y, v.y, v.y);
423  }
424 
425  template<typename T, qualifier Q>
426  GLM_INLINE glm::vec<3, T, Q> yyy(const glm::vec<3, T, Q> &v) {
427  return glm::vec<3, T, Q>(v.y, v.y, v.y);
428  }
429 
430  template<typename T, qualifier Q>
431  GLM_INLINE glm::vec<3, T, Q> yyy(const glm::vec<4, T, Q> &v) {
432  return glm::vec<3, T, Q>(v.y, v.y, v.y);
433  }
434 
435  // yyz
436  template<typename T, qualifier Q>
437  GLM_INLINE glm::vec<3, T, Q> yyz(const glm::vec<3, T, Q> &v) {
438  return glm::vec<3, T, Q>(v.y, v.y, v.z);
439  }
440 
441  template<typename T, qualifier Q>
442  GLM_INLINE glm::vec<3, T, Q> yyz(const glm::vec<4, T, Q> &v) {
443  return glm::vec<3, T, Q>(v.y, v.y, v.z);
444  }
445 
446  // yyw
447  template<typename T, qualifier Q>
448  GLM_INLINE glm::vec<3, T, Q> yyw(const glm::vec<4, T, Q> &v) {
449  return glm::vec<3, T, Q>(v.y, v.y, v.w);
450  }
451 
452  // yzx
453  template<typename T, qualifier Q>
454  GLM_INLINE glm::vec<3, T, Q> yzx(const glm::vec<3, T, Q> &v) {
455  return glm::vec<3, T, Q>(v.y, v.z, v.x);
456  }
457 
458  template<typename T, qualifier Q>
459  GLM_INLINE glm::vec<3, T, Q> yzx(const glm::vec<4, T, Q> &v) {
460  return glm::vec<3, T, Q>(v.y, v.z, v.x);
461  }
462 
463  // yzy
464  template<typename T, qualifier Q>
465  GLM_INLINE glm::vec<3, T, Q> yzy(const glm::vec<3, T, Q> &v) {
466  return glm::vec<3, T, Q>(v.y, v.z, v.y);
467  }
468 
469  template<typename T, qualifier Q>
470  GLM_INLINE glm::vec<3, T, Q> yzy(const glm::vec<4, T, Q> &v) {
471  return glm::vec<3, T, Q>(v.y, v.z, v.y);
472  }
473 
474  // yzz
475  template<typename T, qualifier Q>
476  GLM_INLINE glm::vec<3, T, Q> yzz(const glm::vec<3, T, Q> &v) {
477  return glm::vec<3, T, Q>(v.y, v.z, v.z);
478  }
479 
480  template<typename T, qualifier Q>
481  GLM_INLINE glm::vec<3, T, Q> yzz(const glm::vec<4, T, Q> &v) {
482  return glm::vec<3, T, Q>(v.y, v.z, v.z);
483  }
484 
485  // yzw
486  template<typename T, qualifier Q>
487  GLM_INLINE glm::vec<3, T, Q> yzw(const glm::vec<4, T, Q> &v) {
488  return glm::vec<3, T, Q>(v.y, v.z, v.w);
489  }
490 
491  // ywx
492  template<typename T, qualifier Q>
493  GLM_INLINE glm::vec<3, T, Q> ywx(const glm::vec<4, T, Q> &v) {
494  return glm::vec<3, T, Q>(v.y, v.w, v.x);
495  }
496 
497  // ywy
498  template<typename T, qualifier Q>
499  GLM_INLINE glm::vec<3, T, Q> ywy(const glm::vec<4, T, Q> &v) {
500  return glm::vec<3, T, Q>(v.y, v.w, v.y);
501  }
502 
503  // ywz
504  template<typename T, qualifier Q>
505  GLM_INLINE glm::vec<3, T, Q> ywz(const glm::vec<4, T, Q> &v) {
506  return glm::vec<3, T, Q>(v.y, v.w, v.z);
507  }
508 
509  // yww
510  template<typename T, qualifier Q>
511  GLM_INLINE glm::vec<3, T, Q> yww(const glm::vec<4, T, Q> &v) {
512  return glm::vec<3, T, Q>(v.y, v.w, v.w);
513  }
514 
515  // zxx
516  template<typename T, qualifier Q>
517  GLM_INLINE glm::vec<3, T, Q> zxx(const glm::vec<3, T, Q> &v) {
518  return glm::vec<3, T, Q>(v.z, v.x, v.x);
519  }
520 
521  template<typename T, qualifier Q>
522  GLM_INLINE glm::vec<3, T, Q> zxx(const glm::vec<4, T, Q> &v) {
523  return glm::vec<3, T, Q>(v.z, v.x, v.x);
524  }
525 
526  // zxy
527  template<typename T, qualifier Q>
528  GLM_INLINE glm::vec<3, T, Q> zxy(const glm::vec<3, T, Q> &v) {
529  return glm::vec<3, T, Q>(v.z, v.x, v.y);
530  }
531 
532  template<typename T, qualifier Q>
533  GLM_INLINE glm::vec<3, T, Q> zxy(const glm::vec<4, T, Q> &v) {
534  return glm::vec<3, T, Q>(v.z, v.x, v.y);
535  }
536 
537  // zxz
538  template<typename T, qualifier Q>
539  GLM_INLINE glm::vec<3, T, Q> zxz(const glm::vec<3, T, Q> &v) {
540  return glm::vec<3, T, Q>(v.z, v.x, v.z);
541  }
542 
543  template<typename T, qualifier Q>
544  GLM_INLINE glm::vec<3, T, Q> zxz(const glm::vec<4, T, Q> &v) {
545  return glm::vec<3, T, Q>(v.z, v.x, v.z);
546  }
547 
548  // zxw
549  template<typename T, qualifier Q>
550  GLM_INLINE glm::vec<3, T, Q> zxw(const glm::vec<4, T, Q> &v) {
551  return glm::vec<3, T, Q>(v.z, v.x, v.w);
552  }
553 
554  // zyx
555  template<typename T, qualifier Q>
556  GLM_INLINE glm::vec<3, T, Q> zyx(const glm::vec<3, T, Q> &v) {
557  return glm::vec<3, T, Q>(v.z, v.y, v.x);
558  }
559 
560  template<typename T, qualifier Q>
561  GLM_INLINE glm::vec<3, T, Q> zyx(const glm::vec<4, T, Q> &v) {
562  return glm::vec<3, T, Q>(v.z, v.y, v.x);
563  }
564 
565  // zyy
566  template<typename T, qualifier Q>
567  GLM_INLINE glm::vec<3, T, Q> zyy(const glm::vec<3, T, Q> &v) {
568  return glm::vec<3, T, Q>(v.z, v.y, v.y);
569  }
570 
571  template<typename T, qualifier Q>
572  GLM_INLINE glm::vec<3, T, Q> zyy(const glm::vec<4, T, Q> &v) {
573  return glm::vec<3, T, Q>(v.z, v.y, v.y);
574  }
575 
576  // zyz
577  template<typename T, qualifier Q>
578  GLM_INLINE glm::vec<3, T, Q> zyz(const glm::vec<3, T, Q> &v) {
579  return glm::vec<3, T, Q>(v.z, v.y, v.z);
580  }
581 
582  template<typename T, qualifier Q>
583  GLM_INLINE glm::vec<3, T, Q> zyz(const glm::vec<4, T, Q> &v) {
584  return glm::vec<3, T, Q>(v.z, v.y, v.z);
585  }
586 
587  // zyw
588  template<typename T, qualifier Q>
589  GLM_INLINE glm::vec<3, T, Q> zyw(const glm::vec<4, T, Q> &v) {
590  return glm::vec<3, T, Q>(v.z, v.y, v.w);
591  }
592 
593  // zzx
594  template<typename T, qualifier Q>
595  GLM_INLINE glm::vec<3, T, Q> zzx(const glm::vec<3, T, Q> &v) {
596  return glm::vec<3, T, Q>(v.z, v.z, v.x);
597  }
598 
599  template<typename T, qualifier Q>
600  GLM_INLINE glm::vec<3, T, Q> zzx(const glm::vec<4, T, Q> &v) {
601  return glm::vec<3, T, Q>(v.z, v.z, v.x);
602  }
603 
604  // zzy
605  template<typename T, qualifier Q>
606  GLM_INLINE glm::vec<3, T, Q> zzy(const glm::vec<3, T, Q> &v) {
607  return glm::vec<3, T, Q>(v.z, v.z, v.y);
608  }
609 
610  template<typename T, qualifier Q>
611  GLM_INLINE glm::vec<3, T, Q> zzy(const glm::vec<4, T, Q> &v) {
612  return glm::vec<3, T, Q>(v.z, v.z, v.y);
613  }
614 
615  // zzz
616  template<typename T, qualifier Q>
617  GLM_INLINE glm::vec<3, T, Q> zzz(const glm::vec<3, T, Q> &v) {
618  return glm::vec<3, T, Q>(v.z, v.z, v.z);
619  }
620 
621  template<typename T, qualifier Q>
622  GLM_INLINE glm::vec<3, T, Q> zzz(const glm::vec<4, T, Q> &v) {
623  return glm::vec<3, T, Q>(v.z, v.z, v.z);
624  }
625 
626  // zzw
627  template<typename T, qualifier Q>
628  GLM_INLINE glm::vec<3, T, Q> zzw(const glm::vec<4, T, Q> &v) {
629  return glm::vec<3, T, Q>(v.z, v.z, v.w);
630  }
631 
632  // zwx
633  template<typename T, qualifier Q>
634  GLM_INLINE glm::vec<3, T, Q> zwx(const glm::vec<4, T, Q> &v) {
635  return glm::vec<3, T, Q>(v.z, v.w, v.x);
636  }
637 
638  // zwy
639  template<typename T, qualifier Q>
640  GLM_INLINE glm::vec<3, T, Q> zwy(const glm::vec<4, T, Q> &v) {
641  return glm::vec<3, T, Q>(v.z, v.w, v.y);
642  }
643 
644  // zwz
645  template<typename T, qualifier Q>
646  GLM_INLINE glm::vec<3, T, Q> zwz(const glm::vec<4, T, Q> &v) {
647  return glm::vec<3, T, Q>(v.z, v.w, v.z);
648  }
649 
650  // zww
651  template<typename T, qualifier Q>
652  GLM_INLINE glm::vec<3, T, Q> zww(const glm::vec<4, T, Q> &v) {
653  return glm::vec<3, T, Q>(v.z, v.w, v.w);
654  }
655 
656  // wxx
657  template<typename T, qualifier Q>
658  GLM_INLINE glm::vec<3, T, Q> wxx(const glm::vec<4, T, Q> &v) {
659  return glm::vec<3, T, Q>(v.w, v.x, v.x);
660  }
661 
662  // wxy
663  template<typename T, qualifier Q>
664  GLM_INLINE glm::vec<3, T, Q> wxy(const glm::vec<4, T, Q> &v) {
665  return glm::vec<3, T, Q>(v.w, v.x, v.y);
666  }
667 
668  // wxz
669  template<typename T, qualifier Q>
670  GLM_INLINE glm::vec<3, T, Q> wxz(const glm::vec<4, T, Q> &v) {
671  return glm::vec<3, T, Q>(v.w, v.x, v.z);
672  }
673 
674  // wxw
675  template<typename T, qualifier Q>
676  GLM_INLINE glm::vec<3, T, Q> wxw(const glm::vec<4, T, Q> &v) {
677  return glm::vec<3, T, Q>(v.w, v.x, v.w);
678  }
679 
680  // wyx
681  template<typename T, qualifier Q>
682  GLM_INLINE glm::vec<3, T, Q> wyx(const glm::vec<4, T, Q> &v) {
683  return glm::vec<3, T, Q>(v.w, v.y, v.x);
684  }
685 
686  // wyy
687  template<typename T, qualifier Q>
688  GLM_INLINE glm::vec<3, T, Q> wyy(const glm::vec<4, T, Q> &v) {
689  return glm::vec<3, T, Q>(v.w, v.y, v.y);
690  }
691 
692  // wyz
693  template<typename T, qualifier Q>
694  GLM_INLINE glm::vec<3, T, Q> wyz(const glm::vec<4, T, Q> &v) {
695  return glm::vec<3, T, Q>(v.w, v.y, v.z);
696  }
697 
698  // wyw
699  template<typename T, qualifier Q>
700  GLM_INLINE glm::vec<3, T, Q> wyw(const glm::vec<4, T, Q> &v) {
701  return glm::vec<3, T, Q>(v.w, v.y, v.w);
702  }
703 
704  // wzx
705  template<typename T, qualifier Q>
706  GLM_INLINE glm::vec<3, T, Q> wzx(const glm::vec<4, T, Q> &v) {
707  return glm::vec<3, T, Q>(v.w, v.z, v.x);
708  }
709 
710  // wzy
711  template<typename T, qualifier Q>
712  GLM_INLINE glm::vec<3, T, Q> wzy(const glm::vec<4, T, Q> &v) {
713  return glm::vec<3, T, Q>(v.w, v.z, v.y);
714  }
715 
716  // wzz
717  template<typename T, qualifier Q>
718  GLM_INLINE glm::vec<3, T, Q> wzz(const glm::vec<4, T, Q> &v) {
719  return glm::vec<3, T, Q>(v.w, v.z, v.z);
720  }
721 
722  // wzw
723  template<typename T, qualifier Q>
724  GLM_INLINE glm::vec<3, T, Q> wzw(const glm::vec<4, T, Q> &v) {
725  return glm::vec<3, T, Q>(v.w, v.z, v.w);
726  }
727 
728  // wwx
729  template<typename T, qualifier Q>
730  GLM_INLINE glm::vec<3, T, Q> wwx(const glm::vec<4, T, Q> &v) {
731  return glm::vec<3, T, Q>(v.w, v.w, v.x);
732  }
733 
734  // wwy
735  template<typename T, qualifier Q>
736  GLM_INLINE glm::vec<3, T, Q> wwy(const glm::vec<4, T, Q> &v) {
737  return glm::vec<3, T, Q>(v.w, v.w, v.y);
738  }
739 
740  // wwz
741  template<typename T, qualifier Q>
742  GLM_INLINE glm::vec<3, T, Q> wwz(const glm::vec<4, T, Q> &v) {
743  return glm::vec<3, T, Q>(v.w, v.w, v.z);
744  }
745 
746  // www
747  template<typename T, qualifier Q>
748  GLM_INLINE glm::vec<3, T, Q> www(const glm::vec<4, T, Q> &v) {
749  return glm::vec<3, T, Q>(v.w, v.w, v.w);
750  }
751 
752  // xxxx
753  template<typename T, qualifier Q>
754  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<1, T, Q> &v) {
755  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
756  }
757 
758  template<typename T, qualifier Q>
759  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<2, T, Q> &v) {
760  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
761  }
762 
763  template<typename T, qualifier Q>
764  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<3, T, Q> &v) {
765  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
766  }
767 
768  template<typename T, qualifier Q>
769  GLM_INLINE glm::vec<4, T, Q> xxxx(const glm::vec<4, T, Q> &v) {
770  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.x);
771  }
772 
773  // xxxy
774  template<typename T, qualifier Q>
775  GLM_INLINE glm::vec<4, T, Q> xxxy(const glm::vec<2, T, Q> &v) {
776  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.y);
777  }
778 
779  template<typename T, qualifier Q>
780  GLM_INLINE glm::vec<4, T, Q> xxxy(const glm::vec<3, T, Q> &v) {
781  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.y);
782  }
783 
784  template<typename T, qualifier Q>
785  GLM_INLINE glm::vec<4, T, Q> xxxy(const glm::vec<4, T, Q> &v) {
786  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.y);
787  }
788 
789  // xxxz
790  template<typename T, qualifier Q>
791  GLM_INLINE glm::vec<4, T, Q> xxxz(const glm::vec<3, T, Q> &v) {
792  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.z);
793  }
794 
795  template<typename T, qualifier Q>
796  GLM_INLINE glm::vec<4, T, Q> xxxz(const glm::vec<4, T, Q> &v) {
797  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.z);
798  }
799 
800  // xxxw
801  template<typename T, qualifier Q>
802  GLM_INLINE glm::vec<4, T, Q> xxxw(const glm::vec<4, T, Q> &v) {
803  return glm::vec<4, T, Q>(v.x, v.x, v.x, v.w);
804  }
805 
806  // xxyx
807  template<typename T, qualifier Q>
808  GLM_INLINE glm::vec<4, T, Q> xxyx(const glm::vec<2, T, Q> &v) {
809  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.x);
810  }
811 
812  template<typename T, qualifier Q>
813  GLM_INLINE glm::vec<4, T, Q> xxyx(const glm::vec<3, T, Q> &v) {
814  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.x);
815  }
816 
817  template<typename T, qualifier Q>
818  GLM_INLINE glm::vec<4, T, Q> xxyx(const glm::vec<4, T, Q> &v) {
819  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.x);
820  }
821 
822  // xxyy
823  template<typename T, qualifier Q>
824  GLM_INLINE glm::vec<4, T, Q> xxyy(const glm::vec<2, T, Q> &v) {
825  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.y);
826  }
827 
828  template<typename T, qualifier Q>
829  GLM_INLINE glm::vec<4, T, Q> xxyy(const glm::vec<3, T, Q> &v) {
830  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.y);
831  }
832 
833  template<typename T, qualifier Q>
834  GLM_INLINE glm::vec<4, T, Q> xxyy(const glm::vec<4, T, Q> &v) {
835  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.y);
836  }
837 
838  // xxyz
839  template<typename T, qualifier Q>
840  GLM_INLINE glm::vec<4, T, Q> xxyz(const glm::vec<3, T, Q> &v) {
841  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.z);
842  }
843 
844  template<typename T, qualifier Q>
845  GLM_INLINE glm::vec<4, T, Q> xxyz(const glm::vec<4, T, Q> &v) {
846  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.z);
847  }
848 
849  // xxyw
850  template<typename T, qualifier Q>
851  GLM_INLINE glm::vec<4, T, Q> xxyw(const glm::vec<4, T, Q> &v) {
852  return glm::vec<4, T, Q>(v.x, v.x, v.y, v.w);
853  }
854 
855  // xxzx
856  template<typename T, qualifier Q>
857  GLM_INLINE glm::vec<4, T, Q> xxzx(const glm::vec<3, T, Q> &v) {
858  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.x);
859  }
860 
861  template<typename T, qualifier Q>
862  GLM_INLINE glm::vec<4, T, Q> xxzx(const glm::vec<4, T, Q> &v) {
863  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.x);
864  }
865 
866  // xxzy
867  template<typename T, qualifier Q>
868  GLM_INLINE glm::vec<4, T, Q> xxzy(const glm::vec<3, T, Q> &v) {
869  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.y);
870  }
871 
872  template<typename T, qualifier Q>
873  GLM_INLINE glm::vec<4, T, Q> xxzy(const glm::vec<4, T, Q> &v) {
874  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.y);
875  }
876 
877  // xxzz
878  template<typename T, qualifier Q>
879  GLM_INLINE glm::vec<4, T, Q> xxzz(const glm::vec<3, T, Q> &v) {
880  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.z);
881  }
882 
883  template<typename T, qualifier Q>
884  GLM_INLINE glm::vec<4, T, Q> xxzz(const glm::vec<4, T, Q> &v) {
885  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.z);
886  }
887 
888  // xxzw
889  template<typename T, qualifier Q>
890  GLM_INLINE glm::vec<4, T, Q> xxzw(const glm::vec<4, T, Q> &v) {
891  return glm::vec<4, T, Q>(v.x, v.x, v.z, v.w);
892  }
893 
894  // xxwx
895  template<typename T, qualifier Q>
896  GLM_INLINE glm::vec<4, T, Q> xxwx(const glm::vec<4, T, Q> &v) {
897  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.x);
898  }
899 
900  // xxwy
901  template<typename T, qualifier Q>
902  GLM_INLINE glm::vec<4, T, Q> xxwy(const glm::vec<4, T, Q> &v) {
903  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.y);
904  }
905 
906  // xxwz
907  template<typename T, qualifier Q>
908  GLM_INLINE glm::vec<4, T, Q> xxwz(const glm::vec<4, T, Q> &v) {
909  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.z);
910  }
911 
912  // xxww
913  template<typename T, qualifier Q>
914  GLM_INLINE glm::vec<4, T, Q> xxww(const glm::vec<4, T, Q> &v) {
915  return glm::vec<4, T, Q>(v.x, v.x, v.w, v.w);
916  }
917 
918  // xyxx
919  template<typename T, qualifier Q>
920  GLM_INLINE glm::vec<4, T, Q> xyxx(const glm::vec<2, T, Q> &v) {
921  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.x);
922  }
923 
924  template<typename T, qualifier Q>
925  GLM_INLINE glm::vec<4, T, Q> xyxx(const glm::vec<3, T, Q> &v) {
926  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.x);
927  }
928 
929  template<typename T, qualifier Q>
930  GLM_INLINE glm::vec<4, T, Q> xyxx(const glm::vec<4, T, Q> &v) {
931  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.x);
932  }
933 
934  // xyxy
935  template<typename T, qualifier Q>
936  GLM_INLINE glm::vec<4, T, Q> xyxy(const glm::vec<2, T, Q> &v) {
937  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.y);
938  }
939 
940  template<typename T, qualifier Q>
941  GLM_INLINE glm::vec<4, T, Q> xyxy(const glm::vec<3, T, Q> &v) {
942  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.y);
943  }
944 
945  template<typename T, qualifier Q>
946  GLM_INLINE glm::vec<4, T, Q> xyxy(const glm::vec<4, T, Q> &v) {
947  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.y);
948  }
949 
950  // xyxz
951  template<typename T, qualifier Q>
952  GLM_INLINE glm::vec<4, T, Q> xyxz(const glm::vec<3, T, Q> &v) {
953  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.z);
954  }
955 
956  template<typename T, qualifier Q>
957  GLM_INLINE glm::vec<4, T, Q> xyxz(const glm::vec<4, T, Q> &v) {
958  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.z);
959  }
960 
961  // xyxw
962  template<typename T, qualifier Q>
963  GLM_INLINE glm::vec<4, T, Q> xyxw(const glm::vec<4, T, Q> &v) {
964  return glm::vec<4, T, Q>(v.x, v.y, v.x, v.w);
965  }
966 
967  // xyyx
968  template<typename T, qualifier Q>
969  GLM_INLINE glm::vec<4, T, Q> xyyx(const glm::vec<2, T, Q> &v) {
970  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.x);
971  }
972 
973  template<typename T, qualifier Q>
974  GLM_INLINE glm::vec<4, T, Q> xyyx(const glm::vec<3, T, Q> &v) {
975  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.x);
976  }
977 
978  template<typename T, qualifier Q>
979  GLM_INLINE glm::vec<4, T, Q> xyyx(const glm::vec<4, T, Q> &v) {
980  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.x);
981  }
982 
983  // xyyy
984  template<typename T, qualifier Q>
985  GLM_INLINE glm::vec<4, T, Q> xyyy(const glm::vec<2, T, Q> &v) {
986  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.y);
987  }
988 
989  template<typename T, qualifier Q>
990  GLM_INLINE glm::vec<4, T, Q> xyyy(const glm::vec<3, T, Q> &v) {
991  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.y);
992  }
993 
994  template<typename T, qualifier Q>
995  GLM_INLINE glm::vec<4, T, Q> xyyy(const glm::vec<4, T, Q> &v) {
996  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.y);
997  }
998 
999  // xyyz
1000  template<typename T, qualifier Q>
1001  GLM_INLINE glm::vec<4, T, Q> xyyz(const glm::vec<3, T, Q> &v) {
1002  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.z);
1003  }
1004 
1005  template<typename T, qualifier Q>
1006  GLM_INLINE glm::vec<4, T, Q> xyyz(const glm::vec<4, T, Q> &v) {
1007  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.z);
1008  }
1009 
1010  // xyyw
1011  template<typename T, qualifier Q>
1012  GLM_INLINE glm::vec<4, T, Q> xyyw(const glm::vec<4, T, Q> &v) {
1013  return glm::vec<4, T, Q>(v.x, v.y, v.y, v.w);
1014  }
1015 
1016  // xyzx
1017  template<typename T, qualifier Q>
1018  GLM_INLINE glm::vec<4, T, Q> xyzx(const glm::vec<3, T, Q> &v) {
1019  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.x);
1020  }
1021 
1022  template<typename T, qualifier Q>
1023  GLM_INLINE glm::vec<4, T, Q> xyzx(const glm::vec<4, T, Q> &v) {
1024  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.x);
1025  }
1026 
1027  // xyzy
1028  template<typename T, qualifier Q>
1029  GLM_INLINE glm::vec<4, T, Q> xyzy(const glm::vec<3, T, Q> &v) {
1030  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.y);
1031  }
1032 
1033  template<typename T, qualifier Q>
1034  GLM_INLINE glm::vec<4, T, Q> xyzy(const glm::vec<4, T, Q> &v) {
1035  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.y);
1036  }
1037 
1038  // xyzz
1039  template<typename T, qualifier Q>
1040  GLM_INLINE glm::vec<4, T, Q> xyzz(const glm::vec<3, T, Q> &v) {
1041  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.z);
1042  }
1043 
1044  template<typename T, qualifier Q>
1045  GLM_INLINE glm::vec<4, T, Q> xyzz(const glm::vec<4, T, Q> &v) {
1046  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.z);
1047  }
1048 
1049  // xyzw
1050  template<typename T, qualifier Q>
1051  GLM_INLINE glm::vec<4, T, Q> xyzw(const glm::vec<4, T, Q> &v) {
1052  return glm::vec<4, T, Q>(v.x, v.y, v.z, v.w);
1053  }
1054 
1055  // xywx
1056  template<typename T, qualifier Q>
1057  GLM_INLINE glm::vec<4, T, Q> xywx(const glm::vec<4, T, Q> &v) {
1058  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.x);
1059  }
1060 
1061  // xywy
1062  template<typename T, qualifier Q>
1063  GLM_INLINE glm::vec<4, T, Q> xywy(const glm::vec<4, T, Q> &v) {
1064  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.y);
1065  }
1066 
1067  // xywz
1068  template<typename T, qualifier Q>
1069  GLM_INLINE glm::vec<4, T, Q> xywz(const glm::vec<4, T, Q> &v) {
1070  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.z);
1071  }
1072 
1073  // xyww
1074  template<typename T, qualifier Q>
1075  GLM_INLINE glm::vec<4, T, Q> xyww(const glm::vec<4, T, Q> &v) {
1076  return glm::vec<4, T, Q>(v.x, v.y, v.w, v.w);
1077  }
1078 
1079  // xzxx
1080  template<typename T, qualifier Q>
1081  GLM_INLINE glm::vec<4, T, Q> xzxx(const glm::vec<3, T, Q> &v) {
1082  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.x);
1083  }
1084 
1085  template<typename T, qualifier Q>
1086  GLM_INLINE glm::vec<4, T, Q> xzxx(const glm::vec<4, T, Q> &v) {
1087  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.x);
1088  }
1089 
1090  // xzxy
1091  template<typename T, qualifier Q>
1092  GLM_INLINE glm::vec<4, T, Q> xzxy(const glm::vec<3, T, Q> &v) {
1093  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.y);
1094  }
1095 
1096  template<typename T, qualifier Q>
1097  GLM_INLINE glm::vec<4, T, Q> xzxy(const glm::vec<4, T, Q> &v) {
1098  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.y);
1099  }
1100 
1101  // xzxz
1102  template<typename T, qualifier Q>
1103  GLM_INLINE glm::vec<4, T, Q> xzxz(const glm::vec<3, T, Q> &v) {
1104  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.z);
1105  }
1106 
1107  template<typename T, qualifier Q>
1108  GLM_INLINE glm::vec<4, T, Q> xzxz(const glm::vec<4, T, Q> &v) {
1109  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.z);
1110  }
1111 
1112  // xzxw
1113  template<typename T, qualifier Q>
1114  GLM_INLINE glm::vec<4, T, Q> xzxw(const glm::vec<4, T, Q> &v) {
1115  return glm::vec<4, T, Q>(v.x, v.z, v.x, v.w);
1116  }
1117 
1118  // xzyx
1119  template<typename T, qualifier Q>
1120  GLM_INLINE glm::vec<4, T, Q> xzyx(const glm::vec<3, T, Q> &v) {
1121  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.x);
1122  }
1123 
1124  template<typename T, qualifier Q>
1125  GLM_INLINE glm::vec<4, T, Q> xzyx(const glm::vec<4, T, Q> &v) {
1126  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.x);
1127  }
1128 
1129  // xzyy
1130  template<typename T, qualifier Q>
1131  GLM_INLINE glm::vec<4, T, Q> xzyy(const glm::vec<3, T, Q> &v) {
1132  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.y);
1133  }
1134 
1135  template<typename T, qualifier Q>
1136  GLM_INLINE glm::vec<4, T, Q> xzyy(const glm::vec<4, T, Q> &v) {
1137  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.y);
1138  }
1139 
1140  // xzyz
1141  template<typename T, qualifier Q>
1142  GLM_INLINE glm::vec<4, T, Q> xzyz(const glm::vec<3, T, Q> &v) {
1143  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.z);
1144  }
1145 
1146  template<typename T, qualifier Q>
1147  GLM_INLINE glm::vec<4, T, Q> xzyz(const glm::vec<4, T, Q> &v) {
1148  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.z);
1149  }
1150 
1151  // xzyw
1152  template<typename T, qualifier Q>
1153  GLM_INLINE glm::vec<4, T, Q> xzyw(const glm::vec<4, T, Q> &v) {
1154  return glm::vec<4, T, Q>(v.x, v.z, v.y, v.w);
1155  }
1156 
1157  // xzzx
1158  template<typename T, qualifier Q>
1159  GLM_INLINE glm::vec<4, T, Q> xzzx(const glm::vec<3, T, Q> &v) {
1160  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.x);
1161  }
1162 
1163  template<typename T, qualifier Q>
1164  GLM_INLINE glm::vec<4, T, Q> xzzx(const glm::vec<4, T, Q> &v) {
1165  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.x);
1166  }
1167 
1168  // xzzy
1169  template<typename T, qualifier Q>
1170  GLM_INLINE glm::vec<4, T, Q> xzzy(const glm::vec<3, T, Q> &v) {
1171  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.y);
1172  }
1173 
1174  template<typename T, qualifier Q>
1175  GLM_INLINE glm::vec<4, T, Q> xzzy(const glm::vec<4, T, Q> &v) {
1176  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.y);
1177  }
1178 
1179  // xzzz
1180  template<typename T, qualifier Q>
1181  GLM_INLINE glm::vec<4, T, Q> xzzz(const glm::vec<3, T, Q> &v) {
1182  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.z);
1183  }
1184 
1185  template<typename T, qualifier Q>
1186  GLM_INLINE glm::vec<4, T, Q> xzzz(const glm::vec<4, T, Q> &v) {
1187  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.z);
1188  }
1189 
1190  // xzzw
1191  template<typename T, qualifier Q>
1192  GLM_INLINE glm::vec<4, T, Q> xzzw(const glm::vec<4, T, Q> &v) {
1193  return glm::vec<4, T, Q>(v.x, v.z, v.z, v.w);
1194  }
1195 
1196  // xzwx
1197  template<typename T, qualifier Q>
1198  GLM_INLINE glm::vec<4, T, Q> xzwx(const glm::vec<4, T, Q> &v) {
1199  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.x);
1200  }
1201 
1202  // xzwy
1203  template<typename T, qualifier Q>
1204  GLM_INLINE glm::vec<4, T, Q> xzwy(const glm::vec<4, T, Q> &v) {
1205  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.y);
1206  }
1207 
1208  // xzwz
1209  template<typename T, qualifier Q>
1210  GLM_INLINE glm::vec<4, T, Q> xzwz(const glm::vec<4, T, Q> &v) {
1211  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.z);
1212  }
1213 
1214  // xzww
1215  template<typename T, qualifier Q>
1216  GLM_INLINE glm::vec<4, T, Q> xzww(const glm::vec<4, T, Q> &v) {
1217  return glm::vec<4, T, Q>(v.x, v.z, v.w, v.w);
1218  }
1219 
1220  // xwxx
1221  template<typename T, qualifier Q>
1222  GLM_INLINE glm::vec<4, T, Q> xwxx(const glm::vec<4, T, Q> &v) {
1223  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.x);
1224  }
1225 
1226  // xwxy
1227  template<typename T, qualifier Q>
1228  GLM_INLINE glm::vec<4, T, Q> xwxy(const glm::vec<4, T, Q> &v) {
1229  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.y);
1230  }
1231 
1232  // xwxz
1233  template<typename T, qualifier Q>
1234  GLM_INLINE glm::vec<4, T, Q> xwxz(const glm::vec<4, T, Q> &v) {
1235  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.z);
1236  }
1237 
1238  // xwxw
1239  template<typename T, qualifier Q>
1240  GLM_INLINE glm::vec<4, T, Q> xwxw(const glm::vec<4, T, Q> &v) {
1241  return glm::vec<4, T, Q>(v.x, v.w, v.x, v.w);
1242  }
1243 
1244  // xwyx
1245  template<typename T, qualifier Q>
1246  GLM_INLINE glm::vec<4, T, Q> xwyx(const glm::vec<4, T, Q> &v) {
1247  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.x);
1248  }
1249 
1250  // xwyy
1251  template<typename T, qualifier Q>
1252  GLM_INLINE glm::vec<4, T, Q> xwyy(const glm::vec<4, T, Q> &v) {
1253  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.y);
1254  }
1255 
1256  // xwyz
1257  template<typename T, qualifier Q>
1258  GLM_INLINE glm::vec<4, T, Q> xwyz(const glm::vec<4, T, Q> &v) {
1259  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.z);
1260  }
1261 
1262  // xwyw
1263  template<typename T, qualifier Q>
1264  GLM_INLINE glm::vec<4, T, Q> xwyw(const glm::vec<4, T, Q> &v) {
1265  return glm::vec<4, T, Q>(v.x, v.w, v.y, v.w);
1266  }
1267 
1268  // xwzx
1269  template<typename T, qualifier Q>
1270  GLM_INLINE glm::vec<4, T, Q> xwzx(const glm::vec<4, T, Q> &v) {
1271  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.x);
1272  }
1273 
1274  // xwzy
1275  template<typename T, qualifier Q>
1276  GLM_INLINE glm::vec<4, T, Q> xwzy(const glm::vec<4, T, Q> &v) {
1277  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.y);
1278  }
1279 
1280  // xwzz
1281  template<typename T, qualifier Q>
1282  GLM_INLINE glm::vec<4, T, Q> xwzz(const glm::vec<4, T, Q> &v) {
1283  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.z);
1284  }
1285 
1286  // xwzw
1287  template<typename T, qualifier Q>
1288  GLM_INLINE glm::vec<4, T, Q> xwzw(const glm::vec<4, T, Q> &v) {
1289  return glm::vec<4, T, Q>(v.x, v.w, v.z, v.w);
1290  }
1291 
1292  // xwwx
1293  template<typename T, qualifier Q>
1294  GLM_INLINE glm::vec<4, T, Q> xwwx(const glm::vec<4, T, Q> &v) {
1295  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.x);
1296  }
1297 
1298  // xwwy
1299  template<typename T, qualifier Q>
1300  GLM_INLINE glm::vec<4, T, Q> xwwy(const glm::vec<4, T, Q> &v) {
1301  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.y);
1302  }
1303 
1304  // xwwz
1305  template<typename T, qualifier Q>
1306  GLM_INLINE glm::vec<4, T, Q> xwwz(const glm::vec<4, T, Q> &v) {
1307  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.z);
1308  }
1309 
1310  // xwww
1311  template<typename T, qualifier Q>
1312  GLM_INLINE glm::vec<4, T, Q> xwww(const glm::vec<4, T, Q> &v) {
1313  return glm::vec<4, T, Q>(v.x, v.w, v.w, v.w);
1314  }
1315 
1316  // yxxx
1317  template<typename T, qualifier Q>
1318  GLM_INLINE glm::vec<4, T, Q> yxxx(const glm::vec<2, T, Q> &v) {
1319  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.x);
1320  }
1321 
1322  template<typename T, qualifier Q>
1323  GLM_INLINE glm::vec<4, T, Q> yxxx(const glm::vec<3, T, Q> &v) {
1324  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.x);
1325  }
1326 
1327  template<typename T, qualifier Q>
1328  GLM_INLINE glm::vec<4, T, Q> yxxx(const glm::vec<4, T, Q> &v) {
1329  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.x);
1330  }
1331 
1332  // yxxy
1333  template<typename T, qualifier Q>
1334  GLM_INLINE glm::vec<4, T, Q> yxxy(const glm::vec<2, T, Q> &v) {
1335  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.y);
1336  }
1337 
1338  template<typename T, qualifier Q>
1339  GLM_INLINE glm::vec<4, T, Q> yxxy(const glm::vec<3, T, Q> &v) {
1340  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.y);
1341  }
1342 
1343  template<typename T, qualifier Q>
1344  GLM_INLINE glm::vec<4, T, Q> yxxy(const glm::vec<4, T, Q> &v) {
1345  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.y);
1346  }
1347 
1348  // yxxz
1349  template<typename T, qualifier Q>
1350  GLM_INLINE glm::vec<4, T, Q> yxxz(const glm::vec<3, T, Q> &v) {
1351  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.z);
1352  }
1353 
1354  template<typename T, qualifier Q>
1355  GLM_INLINE glm::vec<4, T, Q> yxxz(const glm::vec<4, T, Q> &v) {
1356  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.z);
1357  }
1358 
1359  // yxxw
1360  template<typename T, qualifier Q>
1361  GLM_INLINE glm::vec<4, T, Q> yxxw(const glm::vec<4, T, Q> &v) {
1362  return glm::vec<4, T, Q>(v.y, v.x, v.x, v.w);
1363  }
1364 
1365  // yxyx
1366  template<typename T, qualifier Q>
1367  GLM_INLINE glm::vec<4, T, Q> yxyx(const glm::vec<2, T, Q> &v) {
1368  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.x);
1369  }
1370 
1371  template<typename T, qualifier Q>
1372  GLM_INLINE glm::vec<4, T, Q> yxyx(const glm::vec<3, T, Q> &v) {
1373  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.x);
1374  }
1375 
1376  template<typename T, qualifier Q>
1377  GLM_INLINE glm::vec<4, T, Q> yxyx(const glm::vec<4, T, Q> &v) {
1378  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.x);
1379  }
1380 
1381  // yxyy
1382  template<typename T, qualifier Q>
1383  GLM_INLINE glm::vec<4, T, Q> yxyy(const glm::vec<2, T, Q> &v) {
1384  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.y);
1385  }
1386 
1387  template<typename T, qualifier Q>
1388  GLM_INLINE glm::vec<4, T, Q> yxyy(const glm::vec<3, T, Q> &v) {
1389  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.y);
1390  }
1391 
1392  template<typename T, qualifier Q>
1393  GLM_INLINE glm::vec<4, T, Q> yxyy(const glm::vec<4, T, Q> &v) {
1394  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.y);
1395  }
1396 
1397  // yxyz
1398  template<typename T, qualifier Q>
1399  GLM_INLINE glm::vec<4, T, Q> yxyz(const glm::vec<3, T, Q> &v) {
1400  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.z);
1401  }
1402 
1403  template<typename T, qualifier Q>
1404  GLM_INLINE glm::vec<4, T, Q> yxyz(const glm::vec<4, T, Q> &v) {
1405  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.z);
1406  }
1407 
1408  // yxyw
1409  template<typename T, qualifier Q>
1410  GLM_INLINE glm::vec<4, T, Q> yxyw(const glm::vec<4, T, Q> &v) {
1411  return glm::vec<4, T, Q>(v.y, v.x, v.y, v.w);
1412  }
1413 
1414  // yxzx
1415  template<typename T, qualifier Q>
1416  GLM_INLINE glm::vec<4, T, Q> yxzx(const glm::vec<3, T, Q> &v) {
1417  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.x);
1418  }
1419 
1420  template<typename T, qualifier Q>
1421  GLM_INLINE glm::vec<4, T, Q> yxzx(const glm::vec<4, T, Q> &v) {
1422  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.x);
1423  }
1424 
1425  // yxzy
1426  template<typename T, qualifier Q>
1427  GLM_INLINE glm::vec<4, T, Q> yxzy(const glm::vec<3, T, Q> &v) {
1428  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.y);
1429  }
1430 
1431  template<typename T, qualifier Q>
1432  GLM_INLINE glm::vec<4, T, Q> yxzy(const glm::vec<4, T, Q> &v) {
1433  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.y);
1434  }
1435 
1436  // yxzz
1437  template<typename T, qualifier Q>
1438  GLM_INLINE glm::vec<4, T, Q> yxzz(const glm::vec<3, T, Q> &v) {
1439  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.z);
1440  }
1441 
1442  template<typename T, qualifier Q>
1443  GLM_INLINE glm::vec<4, T, Q> yxzz(const glm::vec<4, T, Q> &v) {
1444  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.z);
1445  }
1446 
1447  // yxzw
1448  template<typename T, qualifier Q>
1449  GLM_INLINE glm::vec<4, T, Q> yxzw(const glm::vec<4, T, Q> &v) {
1450  return glm::vec<4, T, Q>(v.y, v.x, v.z, v.w);
1451  }
1452 
1453  // yxwx
1454  template<typename T, qualifier Q>
1455  GLM_INLINE glm::vec<4, T, Q> yxwx(const glm::vec<4, T, Q> &v) {
1456  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.x);
1457  }
1458 
1459  // yxwy
1460  template<typename T, qualifier Q>
1461  GLM_INLINE glm::vec<4, T, Q> yxwy(const glm::vec<4, T, Q> &v) {
1462  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.y);
1463  }
1464 
1465  // yxwz
1466  template<typename T, qualifier Q>
1467  GLM_INLINE glm::vec<4, T, Q> yxwz(const glm::vec<4, T, Q> &v) {
1468  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.z);
1469  }
1470 
1471  // yxww
1472  template<typename T, qualifier Q>
1473  GLM_INLINE glm::vec<4, T, Q> yxww(const glm::vec<4, T, Q> &v) {
1474  return glm::vec<4, T, Q>(v.y, v.x, v.w, v.w);
1475  }
1476 
1477  // yyxx
1478  template<typename T, qualifier Q>
1479  GLM_INLINE glm::vec<4, T, Q> yyxx(const glm::vec<2, T, Q> &v) {
1480  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.x);
1481  }
1482 
1483  template<typename T, qualifier Q>
1484  GLM_INLINE glm::vec<4, T, Q> yyxx(const glm::vec<3, T, Q> &v) {
1485  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.x);
1486  }
1487 
1488  template<typename T, qualifier Q>
1489  GLM_INLINE glm::vec<4, T, Q> yyxx(const glm::vec<4, T, Q> &v) {
1490  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.x);
1491  }
1492 
1493  // yyxy
1494  template<typename T, qualifier Q>
1495  GLM_INLINE glm::vec<4, T, Q> yyxy(const glm::vec<2, T, Q> &v) {
1496  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.y);
1497  }
1498 
1499  template<typename T, qualifier Q>
1500  GLM_INLINE glm::vec<4, T, Q> yyxy(const glm::vec<3, T, Q> &v) {
1501  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.y);
1502  }
1503 
1504  template<typename T, qualifier Q>
1505  GLM_INLINE glm::vec<4, T, Q> yyxy(const glm::vec<4, T, Q> &v) {
1506  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.y);
1507  }
1508 
1509  // yyxz
1510  template<typename T, qualifier Q>
1511  GLM_INLINE glm::vec<4, T, Q> yyxz(const glm::vec<3, T, Q> &v) {
1512  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.z);
1513  }
1514 
1515  template<typename T, qualifier Q>
1516  GLM_INLINE glm::vec<4, T, Q> yyxz(const glm::vec<4, T, Q> &v) {
1517  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.z);
1518  }
1519 
1520  // yyxw
1521  template<typename T, qualifier Q>
1522  GLM_INLINE glm::vec<4, T, Q> yyxw(const glm::vec<4, T, Q> &v) {
1523  return glm::vec<4, T, Q>(v.y, v.y, v.x, v.w);
1524  }
1525 
1526  // yyyx
1527  template<typename T, qualifier Q>
1528  GLM_INLINE glm::vec<4, T, Q> yyyx(const glm::vec<2, T, Q> &v) {
1529  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.x);
1530  }
1531 
1532  template<typename T, qualifier Q>
1533  GLM_INLINE glm::vec<4, T, Q> yyyx(const glm::vec<3, T, Q> &v) {
1534  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.x);
1535  }
1536 
1537  template<typename T, qualifier Q>
1538  GLM_INLINE glm::vec<4, T, Q> yyyx(const glm::vec<4, T, Q> &v) {
1539  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.x);
1540  }
1541 
1542  // yyyy
1543  template<typename T, qualifier Q>
1544  GLM_INLINE glm::vec<4, T, Q> yyyy(const glm::vec<2, T, Q> &v) {
1545  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.y);
1546  }
1547 
1548  template<typename T, qualifier Q>
1549  GLM_INLINE glm::vec<4, T, Q> yyyy(const glm::vec<3, T, Q> &v) {
1550  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.y);
1551  }
1552 
1553  template<typename T, qualifier Q>
1554  GLM_INLINE glm::vec<4, T, Q> yyyy(const glm::vec<4, T, Q> &v) {
1555  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.y);
1556  }
1557 
1558  // yyyz
1559  template<typename T, qualifier Q>
1560  GLM_INLINE glm::vec<4, T, Q> yyyz(const glm::vec<3, T, Q> &v) {
1561  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.z);
1562  }
1563 
1564  template<typename T, qualifier Q>
1565  GLM_INLINE glm::vec<4, T, Q> yyyz(const glm::vec<4, T, Q> &v) {
1566  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.z);
1567  }
1568 
1569  // yyyw
1570  template<typename T, qualifier Q>
1571  GLM_INLINE glm::vec<4, T, Q> yyyw(const glm::vec<4, T, Q> &v) {
1572  return glm::vec<4, T, Q>(v.y, v.y, v.y, v.w);
1573  }
1574 
1575  // yyzx
1576  template<typename T, qualifier Q>
1577  GLM_INLINE glm::vec<4, T, Q> yyzx(const glm::vec<3, T, Q> &v) {
1578  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.x);
1579  }
1580 
1581  template<typename T, qualifier Q>
1582  GLM_INLINE glm::vec<4, T, Q> yyzx(const glm::vec<4, T, Q> &v) {
1583  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.x);
1584  }
1585 
1586  // yyzy
1587  template<typename T, qualifier Q>
1588  GLM_INLINE glm::vec<4, T, Q> yyzy(const glm::vec<3, T, Q> &v) {
1589  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.y);
1590  }
1591 
1592  template<typename T, qualifier Q>
1593  GLM_INLINE glm::vec<4, T, Q> yyzy(const glm::vec<4, T, Q> &v) {
1594  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.y);
1595  }
1596 
1597  // yyzz
1598  template<typename T, qualifier Q>
1599  GLM_INLINE glm::vec<4, T, Q> yyzz(const glm::vec<3, T, Q> &v) {
1600  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.z);
1601  }
1602 
1603  template<typename T, qualifier Q>
1604  GLM_INLINE glm::vec<4, T, Q> yyzz(const glm::vec<4, T, Q> &v) {
1605  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.z);
1606  }
1607 
1608  // yyzw
1609  template<typename T, qualifier Q>
1610  GLM_INLINE glm::vec<4, T, Q> yyzw(const glm::vec<4, T, Q> &v) {
1611  return glm::vec<4, T, Q>(v.y, v.y, v.z, v.w);
1612  }
1613 
1614  // yywx
1615  template<typename T, qualifier Q>
1616  GLM_INLINE glm::vec<4, T, Q> yywx(const glm::vec<4, T, Q> &v) {
1617  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.x);
1618  }
1619 
1620  // yywy
1621  template<typename T, qualifier Q>
1622  GLM_INLINE glm::vec<4, T, Q> yywy(const glm::vec<4, T, Q> &v) {
1623  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.y);
1624  }
1625 
1626  // yywz
1627  template<typename T, qualifier Q>
1628  GLM_INLINE glm::vec<4, T, Q> yywz(const glm::vec<4, T, Q> &v) {
1629  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.z);
1630  }
1631 
1632  // yyww
1633  template<typename T, qualifier Q>
1634  GLM_INLINE glm::vec<4, T, Q> yyww(const glm::vec<4, T, Q> &v) {
1635  return glm::vec<4, T, Q>(v.y, v.y, v.w, v.w);
1636  }
1637 
1638  // yzxx
1639  template<typename T, qualifier Q>
1640  GLM_INLINE glm::vec<4, T, Q> yzxx(const glm::vec<3, T, Q> &v) {
1641  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.x);
1642  }
1643 
1644  template<typename T, qualifier Q>
1645  GLM_INLINE glm::vec<4, T, Q> yzxx(const glm::vec<4, T, Q> &v) {
1646  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.x);
1647  }
1648 
1649  // yzxy
1650  template<typename T, qualifier Q>
1651  GLM_INLINE glm::vec<4, T, Q> yzxy(const glm::vec<3, T, Q> &v) {
1652  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.y);
1653  }
1654 
1655  template<typename T, qualifier Q>
1656  GLM_INLINE glm::vec<4, T, Q> yzxy(const glm::vec<4, T, Q> &v) {
1657  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.y);
1658  }
1659 
1660  // yzxz
1661  template<typename T, qualifier Q>
1662  GLM_INLINE glm::vec<4, T, Q> yzxz(const glm::vec<3, T, Q> &v) {
1663  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.z);
1664  }
1665 
1666  template<typename T, qualifier Q>
1667  GLM_INLINE glm::vec<4, T, Q> yzxz(const glm::vec<4, T, Q> &v) {
1668  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.z);
1669  }
1670 
1671  // yzxw
1672  template<typename T, qualifier Q>
1673  GLM_INLINE glm::vec<4, T, Q> yzxw(const glm::vec<4, T, Q> &v) {
1674  return glm::vec<4, T, Q>(v.y, v.z, v.x, v.w);
1675  }
1676 
1677  // yzyx
1678  template<typename T, qualifier Q>
1679  GLM_INLINE glm::vec<4, T, Q> yzyx(const glm::vec<3, T, Q> &v) {
1680  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.x);
1681  }
1682 
1683  template<typename T, qualifier Q>
1684  GLM_INLINE glm::vec<4, T, Q> yzyx(const glm::vec<4, T, Q> &v) {
1685  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.x);
1686  }
1687 
1688  // yzyy
1689  template<typename T, qualifier Q>
1690  GLM_INLINE glm::vec<4, T, Q> yzyy(const glm::vec<3, T, Q> &v) {
1691  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.y);
1692  }
1693 
1694  template<typename T, qualifier Q>
1695  GLM_INLINE glm::vec<4, T, Q> yzyy(const glm::vec<4, T, Q> &v) {
1696  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.y);
1697  }
1698 
1699  // yzyz
1700  template<typename T, qualifier Q>
1701  GLM_INLINE glm::vec<4, T, Q> yzyz(const glm::vec<3, T, Q> &v) {
1702  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.z);
1703  }
1704 
1705  template<typename T, qualifier Q>
1706  GLM_INLINE glm::vec<4, T, Q> yzyz(const glm::vec<4, T, Q> &v) {
1707  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.z);
1708  }
1709 
1710  // yzyw
1711  template<typename T, qualifier Q>
1712  GLM_INLINE glm::vec<4, T, Q> yzyw(const glm::vec<4, T, Q> &v) {
1713  return glm::vec<4, T, Q>(v.y, v.z, v.y, v.w);
1714  }
1715 
1716  // yzzx
1717  template<typename T, qualifier Q>
1718  GLM_INLINE glm::vec<4, T, Q> yzzx(const glm::vec<3, T, Q> &v) {
1719  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.x);
1720  }
1721 
1722  template<typename T, qualifier Q>
1723  GLM_INLINE glm::vec<4, T, Q> yzzx(const glm::vec<4, T, Q> &v) {
1724  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.x);
1725  }
1726 
1727  // yzzy
1728  template<typename T, qualifier Q>
1729  GLM_INLINE glm::vec<4, T, Q> yzzy(const glm::vec<3, T, Q> &v) {
1730  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.y);
1731  }
1732 
1733  template<typename T, qualifier Q>
1734  GLM_INLINE glm::vec<4, T, Q> yzzy(const glm::vec<4, T, Q> &v) {
1735  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.y);
1736  }
1737 
1738  // yzzz
1739  template<typename T, qualifier Q>
1740  GLM_INLINE glm::vec<4, T, Q> yzzz(const glm::vec<3, T, Q> &v) {
1741  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.z);
1742  }
1743 
1744  template<typename T, qualifier Q>
1745  GLM_INLINE glm::vec<4, T, Q> yzzz(const glm::vec<4, T, Q> &v) {
1746  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.z);
1747  }
1748 
1749  // yzzw
1750  template<typename T, qualifier Q>
1751  GLM_INLINE glm::vec<4, T, Q> yzzw(const glm::vec<4, T, Q> &v) {
1752  return glm::vec<4, T, Q>(v.y, v.z, v.z, v.w);
1753  }
1754 
1755  // yzwx
1756  template<typename T, qualifier Q>
1757  GLM_INLINE glm::vec<4, T, Q> yzwx(const glm::vec<4, T, Q> &v) {
1758  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.x);
1759  }
1760 
1761  // yzwy
1762  template<typename T, qualifier Q>
1763  GLM_INLINE glm::vec<4, T, Q> yzwy(const glm::vec<4, T, Q> &v) {
1764  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.y);
1765  }
1766 
1767  // yzwz
1768  template<typename T, qualifier Q>
1769  GLM_INLINE glm::vec<4, T, Q> yzwz(const glm::vec<4, T, Q> &v) {
1770  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.z);
1771  }
1772 
1773  // yzww
1774  template<typename T, qualifier Q>
1775  GLM_INLINE glm::vec<4, T, Q> yzww(const glm::vec<4, T, Q> &v) {
1776  return glm::vec<4, T, Q>(v.y, v.z, v.w, v.w);
1777  }
1778 
1779  // ywxx
1780  template<typename T, qualifier Q>
1781  GLM_INLINE glm::vec<4, T, Q> ywxx(const glm::vec<4, T, Q> &v) {
1782  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.x);
1783  }
1784 
1785  // ywxy
1786  template<typename T, qualifier Q>
1787  GLM_INLINE glm::vec<4, T, Q> ywxy(const glm::vec<4, T, Q> &v) {
1788  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.y);
1789  }
1790 
1791  // ywxz
1792  template<typename T, qualifier Q>
1793  GLM_INLINE glm::vec<4, T, Q> ywxz(const glm::vec<4, T, Q> &v) {
1794  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.z);
1795  }
1796 
1797  // ywxw
1798  template<typename T, qualifier Q>
1799  GLM_INLINE glm::vec<4, T, Q> ywxw(const glm::vec<4, T, Q> &v) {
1800  return glm::vec<4, T, Q>(v.y, v.w, v.x, v.w);
1801  }
1802 
1803  // ywyx
1804  template<typename T, qualifier Q>
1805  GLM_INLINE glm::vec<4, T, Q> ywyx(const glm::vec<4, T, Q> &v) {
1806  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.x);
1807  }
1808 
1809  // ywyy
1810  template<typename T, qualifier Q>
1811  GLM_INLINE glm::vec<4, T, Q> ywyy(const glm::vec<4, T, Q> &v) {
1812  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.y);
1813  }
1814 
1815  // ywyz
1816  template<typename T, qualifier Q>
1817  GLM_INLINE glm::vec<4, T, Q> ywyz(const glm::vec<4, T, Q> &v) {
1818  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.z);
1819  }
1820 
1821  // ywyw
1822  template<typename T, qualifier Q>
1823  GLM_INLINE glm::vec<4, T, Q> ywyw(const glm::vec<4, T, Q> &v) {
1824  return glm::vec<4, T, Q>(v.y, v.w, v.y, v.w);
1825  }
1826 
1827  // ywzx
1828  template<typename T, qualifier Q>
1829  GLM_INLINE glm::vec<4, T, Q> ywzx(const glm::vec<4, T, Q> &v) {
1830  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.x);
1831  }
1832 
1833  // ywzy
1834  template<typename T, qualifier Q>
1835  GLM_INLINE glm::vec<4, T, Q> ywzy(const glm::vec<4, T, Q> &v) {
1836  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.y);
1837  }
1838 
1839  // ywzz
1840  template<typename T, qualifier Q>
1841  GLM_INLINE glm::vec<4, T, Q> ywzz(const glm::vec<4, T, Q> &v) {
1842  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.z);
1843  }
1844 
1845  // ywzw
1846  template<typename T, qualifier Q>
1847  GLM_INLINE glm::vec<4, T, Q> ywzw(const glm::vec<4, T, Q> &v) {
1848  return glm::vec<4, T, Q>(v.y, v.w, v.z, v.w);
1849  }
1850 
1851  // ywwx
1852  template<typename T, qualifier Q>
1853  GLM_INLINE glm::vec<4, T, Q> ywwx(const glm::vec<4, T, Q> &v) {
1854  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.x);
1855  }
1856 
1857  // ywwy
1858  template<typename T, qualifier Q>
1859  GLM_INLINE glm::vec<4, T, Q> ywwy(const glm::vec<4, T, Q> &v) {
1860  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.y);
1861  }
1862 
1863  // ywwz
1864  template<typename T, qualifier Q>
1865  GLM_INLINE glm::vec<4, T, Q> ywwz(const glm::vec<4, T, Q> &v) {
1866  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.z);
1867  }
1868 
1869  // ywww
1870  template<typename T, qualifier Q>
1871  GLM_INLINE glm::vec<4, T, Q> ywww(const glm::vec<4, T, Q> &v) {
1872  return glm::vec<4, T, Q>(v.y, v.w, v.w, v.w);
1873  }
1874 
1875  // zxxx
1876  template<typename T, qualifier Q>
1877  GLM_INLINE glm::vec<4, T, Q> zxxx(const glm::vec<3, T, Q> &v) {
1878  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.x);
1879  }
1880 
1881  template<typename T, qualifier Q>
1882  GLM_INLINE glm::vec<4, T, Q> zxxx(const glm::vec<4, T, Q> &v) {
1883  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.x);
1884  }
1885 
1886  // zxxy
1887  template<typename T, qualifier Q>
1888  GLM_INLINE glm::vec<4, T, Q> zxxy(const glm::vec<3, T, Q> &v) {
1889  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.y);
1890  }
1891 
1892  template<typename T, qualifier Q>
1893  GLM_INLINE glm::vec<4, T, Q> zxxy(const glm::vec<4, T, Q> &v) {
1894  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.y);
1895  }
1896 
1897  // zxxz
1898  template<typename T, qualifier Q>
1899  GLM_INLINE glm::vec<4, T, Q> zxxz(const glm::vec<3, T, Q> &v) {
1900  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.z);
1901  }
1902 
1903  template<typename T, qualifier Q>
1904  GLM_INLINE glm::vec<4, T, Q> zxxz(const glm::vec<4, T, Q> &v) {
1905  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.z);
1906  }
1907 
1908  // zxxw
1909  template<typename T, qualifier Q>
1910  GLM_INLINE glm::vec<4, T, Q> zxxw(const glm::vec<4, T, Q> &v) {
1911  return glm::vec<4, T, Q>(v.z, v.x, v.x, v.w);
1912  }
1913 
1914  // zxyx
1915  template<typename T, qualifier Q>
1916  GLM_INLINE glm::vec<4, T, Q> zxyx(const glm::vec<3, T, Q> &v) {
1917  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.x);
1918  }
1919 
1920  template<typename T, qualifier Q>
1921  GLM_INLINE glm::vec<4, T, Q> zxyx(const glm::vec<4, T, Q> &v) {
1922  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.x);
1923  }
1924 
1925  // zxyy
1926  template<typename T, qualifier Q>
1927  GLM_INLINE glm::vec<4, T, Q> zxyy(const glm::vec<3, T, Q> &v) {
1928  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.y);
1929  }
1930 
1931  template<typename T, qualifier Q>
1932  GLM_INLINE glm::vec<4, T, Q> zxyy(const glm::vec<4, T, Q> &v) {
1933  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.y);
1934  }
1935 
1936  // zxyz
1937  template<typename T, qualifier Q>
1938  GLM_INLINE glm::vec<4, T, Q> zxyz(const glm::vec<3, T, Q> &v) {
1939  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.z);
1940  }
1941 
1942  template<typename T, qualifier Q>
1943  GLM_INLINE glm::vec<4, T, Q> zxyz(const glm::vec<4, T, Q> &v) {
1944  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.z);
1945  }
1946 
1947  // zxyw
1948  template<typename T, qualifier Q>
1949  GLM_INLINE glm::vec<4, T, Q> zxyw(const glm::vec<4, T, Q> &v) {
1950  return glm::vec<4, T, Q>(v.z, v.x, v.y, v.w);
1951  }
1952 
1953  // zxzx
1954  template<typename T, qualifier Q>
1955  GLM_INLINE glm::vec<4, T, Q> zxzx(const glm::vec<3, T, Q> &v) {
1956  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.x);
1957  }
1958 
1959  template<typename T, qualifier Q>
1960  GLM_INLINE glm::vec<4, T, Q> zxzx(const glm::vec<4, T, Q> &v) {
1961  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.x);
1962  }
1963 
1964  // zxzy
1965  template<typename T, qualifier Q>
1966  GLM_INLINE glm::vec<4, T, Q> zxzy(const glm::vec<3, T, Q> &v) {
1967  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.y);
1968  }
1969 
1970  template<typename T, qualifier Q>
1971  GLM_INLINE glm::vec<4, T, Q> zxzy(const glm::vec<4, T, Q> &v) {
1972  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.y);
1973  }
1974 
1975  // zxzz
1976  template<typename T, qualifier Q>
1977  GLM_INLINE glm::vec<4, T, Q> zxzz(const glm::vec<3, T, Q> &v) {
1978  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.z);
1979  }
1980 
1981  template<typename T, qualifier Q>
1982  GLM_INLINE glm::vec<4, T, Q> zxzz(const glm::vec<4, T, Q> &v) {
1983  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.z);
1984  }
1985 
1986  // zxzw
1987  template<typename T, qualifier Q>
1988  GLM_INLINE glm::vec<4, T, Q> zxzw(const glm::vec<4, T, Q> &v) {
1989  return glm::vec<4, T, Q>(v.z, v.x, v.z, v.w);
1990  }
1991 
1992  // zxwx
1993  template<typename T, qualifier Q>
1994  GLM_INLINE glm::vec<4, T, Q> zxwx(const glm::vec<4, T, Q> &v) {
1995  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.x);
1996  }
1997 
1998  // zxwy
1999  template<typename T, qualifier Q>
2000  GLM_INLINE glm::vec<4, T, Q> zxwy(const glm::vec<4, T, Q> &v) {
2001  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.y);
2002  }
2003 
2004  // zxwz
2005  template<typename T, qualifier Q>
2006  GLM_INLINE glm::vec<4, T, Q> zxwz(const glm::vec<4, T, Q> &v) {
2007  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.z);
2008  }
2009 
2010  // zxww
2011  template<typename T, qualifier Q>
2012  GLM_INLINE glm::vec<4, T, Q> zxww(const glm::vec<4, T, Q> &v) {
2013  return glm::vec<4, T, Q>(v.z, v.x, v.w, v.w);
2014  }
2015 
2016  // zyxx
2017  template<typename T, qualifier Q>
2018  GLM_INLINE glm::vec<4, T, Q> zyxx(const glm::vec<3, T, Q> &v) {
2019  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.x);
2020  }
2021 
2022  template<typename T, qualifier Q>
2023  GLM_INLINE glm::vec<4, T, Q> zyxx(const glm::vec<4, T, Q> &v) {
2024  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.x);
2025  }
2026 
2027  // zyxy
2028  template<typename T, qualifier Q>
2029  GLM_INLINE glm::vec<4, T, Q> zyxy(const glm::vec<3, T, Q> &v) {
2030  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.y);
2031  }
2032 
2033  template<typename T, qualifier Q>
2034  GLM_INLINE glm::vec<4, T, Q> zyxy(const glm::vec<4, T, Q> &v) {
2035  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.y);
2036  }
2037 
2038  // zyxz
2039  template<typename T, qualifier Q>
2040  GLM_INLINE glm::vec<4, T, Q> zyxz(const glm::vec<3, T, Q> &v) {
2041  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.z);
2042  }
2043 
2044  template<typename T, qualifier Q>
2045  GLM_INLINE glm::vec<4, T, Q> zyxz(const glm::vec<4, T, Q> &v) {
2046  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.z);
2047  }
2048 
2049  // zyxw
2050  template<typename T, qualifier Q>
2051  GLM_INLINE glm::vec<4, T, Q> zyxw(const glm::vec<4, T, Q> &v) {
2052  return glm::vec<4, T, Q>(v.z, v.y, v.x, v.w);
2053  }
2054 
2055  // zyyx
2056  template<typename T, qualifier Q>
2057  GLM_INLINE glm::vec<4, T, Q> zyyx(const glm::vec<3, T, Q> &v) {
2058  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.x);
2059  }
2060 
2061  template<typename T, qualifier Q>
2062  GLM_INLINE glm::vec<4, T, Q> zyyx(const glm::vec<4, T, Q> &v) {
2063  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.x);
2064  }
2065 
2066  // zyyy
2067  template<typename T, qualifier Q>
2068  GLM_INLINE glm::vec<4, T, Q> zyyy(const glm::vec<3, T, Q> &v) {
2069  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.y);
2070  }
2071 
2072  template<typename T, qualifier Q>
2073  GLM_INLINE glm::vec<4, T, Q> zyyy(const glm::vec<4, T, Q> &v) {
2074  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.y);
2075  }
2076 
2077  // zyyz
2078  template<typename T, qualifier Q>
2079  GLM_INLINE glm::vec<4, T, Q> zyyz(const glm::vec<3, T, Q> &v) {
2080  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.z);
2081  }
2082 
2083  template<typename T, qualifier Q>
2084  GLM_INLINE glm::vec<4, T, Q> zyyz(const glm::vec<4, T, Q> &v) {
2085  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.z);
2086  }
2087 
2088  // zyyw
2089  template<typename T, qualifier Q>
2090  GLM_INLINE glm::vec<4, T, Q> zyyw(const glm::vec<4, T, Q> &v) {
2091  return glm::vec<4, T, Q>(v.z, v.y, v.y, v.w);
2092  }
2093 
2094  // zyzx
2095  template<typename T, qualifier Q>
2096  GLM_INLINE glm::vec<4, T, Q> zyzx(const glm::vec<3, T, Q> &v) {
2097  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.x);
2098  }
2099 
2100  template<typename T, qualifier Q>
2101  GLM_INLINE glm::vec<4, T, Q> zyzx(const glm::vec<4, T, Q> &v) {
2102  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.x);
2103  }
2104 
2105  // zyzy
2106  template<typename T, qualifier Q>
2107  GLM_INLINE glm::vec<4, T, Q> zyzy(const glm::vec<3, T, Q> &v) {
2108  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.y);
2109  }
2110 
2111  template<typename T, qualifier Q>
2112  GLM_INLINE glm::vec<4, T, Q> zyzy(const glm::vec<4, T, Q> &v) {
2113  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.y);
2114  }
2115 
2116  // zyzz
2117  template<typename T, qualifier Q>
2118  GLM_INLINE glm::vec<4, T, Q> zyzz(const glm::vec<3, T, Q> &v) {
2119  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.z);
2120  }
2121 
2122  template<typename T, qualifier Q>
2123  GLM_INLINE glm::vec<4, T, Q> zyzz(const glm::vec<4, T, Q> &v) {
2124  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.z);
2125  }
2126 
2127  // zyzw
2128  template<typename T, qualifier Q>
2129  GLM_INLINE glm::vec<4, T, Q> zyzw(const glm::vec<4, T, Q> &v) {
2130  return glm::vec<4, T, Q>(v.z, v.y, v.z, v.w);
2131  }
2132 
2133  // zywx
2134  template<typename T, qualifier Q>
2135  GLM_INLINE glm::vec<4, T, Q> zywx(const glm::vec<4, T, Q> &v) {
2136  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.x);
2137  }
2138 
2139  // zywy
2140  template<typename T, qualifier Q>
2141  GLM_INLINE glm::vec<4, T, Q> zywy(const glm::vec<4, T, Q> &v) {
2142  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.y);
2143  }
2144 
2145  // zywz
2146  template<typename T, qualifier Q>
2147  GLM_INLINE glm::vec<4, T, Q> zywz(const glm::vec<4, T, Q> &v) {
2148  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.z);
2149  }
2150 
2151  // zyww
2152  template<typename T, qualifier Q>
2153  GLM_INLINE glm::vec<4, T, Q> zyww(const glm::vec<4, T, Q> &v) {
2154  return glm::vec<4, T, Q>(v.z, v.y, v.w, v.w);
2155  }
2156 
2157  // zzxx
2158  template<typename T, qualifier Q>
2159  GLM_INLINE glm::vec<4, T, Q> zzxx(const glm::vec<3, T, Q> &v) {
2160  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.x);
2161  }
2162 
2163  template<typename T, qualifier Q>
2164  GLM_INLINE glm::vec<4, T, Q> zzxx(const glm::vec<4, T, Q> &v) {
2165  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.x);
2166  }
2167 
2168  // zzxy
2169  template<typename T, qualifier Q>
2170  GLM_INLINE glm::vec<4, T, Q> zzxy(const glm::vec<3, T, Q> &v) {
2171  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.y);
2172  }
2173 
2174  template<typename T, qualifier Q>
2175  GLM_INLINE glm::vec<4, T, Q> zzxy(const glm::vec<4, T, Q> &v) {
2176  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.y);
2177  }
2178 
2179  // zzxz
2180  template<typename T, qualifier Q>
2181  GLM_INLINE glm::vec<4, T, Q> zzxz(const glm::vec<3, T, Q> &v) {
2182  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.z);
2183  }
2184 
2185  template<typename T, qualifier Q>
2186  GLM_INLINE glm::vec<4, T, Q> zzxz(const glm::vec<4, T, Q> &v) {
2187  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.z);
2188  }
2189 
2190  // zzxw
2191  template<typename T, qualifier Q>
2192  GLM_INLINE glm::vec<4, T, Q> zzxw(const glm::vec<4, T, Q> &v) {
2193  return glm::vec<4, T, Q>(v.z, v.z, v.x, v.w);
2194  }
2195 
2196  // zzyx
2197  template<typename T, qualifier Q>
2198  GLM_INLINE glm::vec<4, T, Q> zzyx(const glm::vec<3, T, Q> &v) {
2199  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.x);
2200  }
2201 
2202  template<typename T, qualifier Q>
2203  GLM_INLINE glm::vec<4, T, Q> zzyx(const glm::vec<4, T, Q> &v) {
2204  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.x);
2205  }
2206 
2207  // zzyy
2208  template<typename T, qualifier Q>
2209  GLM_INLINE glm::vec<4, T, Q> zzyy(const glm::vec<3, T, Q> &v) {
2210  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.y);
2211  }
2212 
2213  template<typename T, qualifier Q>
2214  GLM_INLINE glm::vec<4, T, Q> zzyy(const glm::vec<4, T, Q> &v) {
2215  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.y);
2216  }
2217 
2218  // zzyz
2219  template<typename T, qualifier Q>
2220  GLM_INLINE glm::vec<4, T, Q> zzyz(const glm::vec<3, T, Q> &v) {
2221  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.z);
2222  }
2223 
2224  template<typename T, qualifier Q>
2225  GLM_INLINE glm::vec<4, T, Q> zzyz(const glm::vec<4, T, Q> &v) {
2226  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.z);
2227  }
2228 
2229  // zzyw
2230  template<typename T, qualifier Q>
2231  GLM_INLINE glm::vec<4, T, Q> zzyw(const glm::vec<4, T, Q> &v) {
2232  return glm::vec<4, T, Q>(v.z, v.z, v.y, v.w);
2233  }
2234 
2235  // zzzx
2236  template<typename T, qualifier Q>
2237  GLM_INLINE glm::vec<4, T, Q> zzzx(const glm::vec<3, T, Q> &v) {
2238  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.x);
2239  }
2240 
2241  template<typename T, qualifier Q>
2242  GLM_INLINE glm::vec<4, T, Q> zzzx(const glm::vec<4, T, Q> &v) {
2243  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.x);
2244  }
2245 
2246  // zzzy
2247  template<typename T, qualifier Q>
2248  GLM_INLINE glm::vec<4, T, Q> zzzy(const glm::vec<3, T, Q> &v) {
2249  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.y);
2250  }
2251 
2252  template<typename T, qualifier Q>
2253  GLM_INLINE glm::vec<4, T, Q> zzzy(const glm::vec<4, T, Q> &v) {
2254  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.y);
2255  }
2256 
2257  // zzzz
2258  template<typename T, qualifier Q>
2259  GLM_INLINE glm::vec<4, T, Q> zzzz(const glm::vec<3, T, Q> &v) {
2260  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.z);
2261  }
2262 
2263  template<typename T, qualifier Q>
2264  GLM_INLINE glm::vec<4, T, Q> zzzz(const glm::vec<4, T, Q> &v) {
2265  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.z);
2266  }
2267 
2268  // zzzw
2269  template<typename T, qualifier Q>
2270  GLM_INLINE glm::vec<4, T, Q> zzzw(const glm::vec<4, T, Q> &v) {
2271  return glm::vec<4, T, Q>(v.z, v.z, v.z, v.w);
2272  }
2273 
2274  // zzwx
2275  template<typename T, qualifier Q>
2276  GLM_INLINE glm::vec<4, T, Q> zzwx(const glm::vec<4, T, Q> &v) {
2277  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.x);
2278  }
2279 
2280  // zzwy
2281  template<typename T, qualifier Q>
2282  GLM_INLINE glm::vec<4, T, Q> zzwy(const glm::vec<4, T, Q> &v) {
2283  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.y);
2284  }
2285 
2286  // zzwz
2287  template<typename T, qualifier Q>
2288  GLM_INLINE glm::vec<4, T, Q> zzwz(const glm::vec<4, T, Q> &v) {
2289  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.z);
2290  }
2291 
2292  // zzww
2293  template<typename T, qualifier Q>
2294  GLM_INLINE glm::vec<4, T, Q> zzww(const glm::vec<4, T, Q> &v) {
2295  return glm::vec<4, T, Q>(v.z, v.z, v.w, v.w);
2296  }
2297 
2298  // zwxx
2299  template<typename T, qualifier Q>
2300  GLM_INLINE glm::vec<4, T, Q> zwxx(const glm::vec<4, T, Q> &v) {
2301  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.x);
2302  }
2303 
2304  // zwxy
2305  template<typename T, qualifier Q>
2306  GLM_INLINE glm::vec<4, T, Q> zwxy(const glm::vec<4, T, Q> &v) {
2307  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.y);
2308  }
2309 
2310  // zwxz
2311  template<typename T, qualifier Q>
2312  GLM_INLINE glm::vec<4, T, Q> zwxz(const glm::vec<4, T, Q> &v) {
2313  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.z);
2314  }
2315 
2316  // zwxw
2317  template<typename T, qualifier Q>
2318  GLM_INLINE glm::vec<4, T, Q> zwxw(const glm::vec<4, T, Q> &v) {
2319  return glm::vec<4, T, Q>(v.z, v.w, v.x, v.w);
2320  }
2321 
2322  // zwyx
2323  template<typename T, qualifier Q>
2324  GLM_INLINE glm::vec<4, T, Q> zwyx(const glm::vec<4, T, Q> &v) {
2325  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.x);
2326  }
2327 
2328  // zwyy
2329  template<typename T, qualifier Q>
2330  GLM_INLINE glm::vec<4, T, Q> zwyy(const glm::vec<4, T, Q> &v) {
2331  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.y);
2332  }
2333 
2334  // zwyz
2335  template<typename T, qualifier Q>
2336  GLM_INLINE glm::vec<4, T, Q> zwyz(const glm::vec<4, T, Q> &v) {
2337  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.z);
2338  }
2339 
2340  // zwyw
2341  template<typename T, qualifier Q>
2342  GLM_INLINE glm::vec<4, T, Q> zwyw(const glm::vec<4, T, Q> &v) {
2343  return glm::vec<4, T, Q>(v.z, v.w, v.y, v.w);
2344  }
2345 
2346  // zwzx
2347  template<typename T, qualifier Q>
2348  GLM_INLINE glm::vec<4, T, Q> zwzx(const glm::vec<4, T, Q> &v) {
2349  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.x);
2350  }
2351 
2352  // zwzy
2353  template<typename T, qualifier Q>
2354  GLM_INLINE glm::vec<4, T, Q> zwzy(const glm::vec<4, T, Q> &v) {
2355  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.y);
2356  }
2357 
2358  // zwzz
2359  template<typename T, qualifier Q>
2360  GLM_INLINE glm::vec<4, T, Q> zwzz(const glm::vec<4, T, Q> &v) {
2361  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.z);
2362  }
2363 
2364  // zwzw
2365  template<typename T, qualifier Q>
2366  GLM_INLINE glm::vec<4, T, Q> zwzw(const glm::vec<4, T, Q> &v) {
2367  return glm::vec<4, T, Q>(v.z, v.w, v.z, v.w);
2368  }
2369 
2370  // zwwx
2371  template<typename T, qualifier Q>
2372  GLM_INLINE glm::vec<4, T, Q> zwwx(const glm::vec<4, T, Q> &v) {
2373  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.x);
2374  }
2375 
2376  // zwwy
2377  template<typename T, qualifier Q>
2378  GLM_INLINE glm::vec<4, T, Q> zwwy(const glm::vec<4, T, Q> &v) {
2379  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.y);
2380  }
2381 
2382  // zwwz
2383  template<typename T, qualifier Q>
2384  GLM_INLINE glm::vec<4, T, Q> zwwz(const glm::vec<4, T, Q> &v) {
2385  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.z);
2386  }
2387 
2388  // zwww
2389  template<typename T, qualifier Q>
2390  GLM_INLINE glm::vec<4, T, Q> zwww(const glm::vec<4, T, Q> &v) {
2391  return glm::vec<4, T, Q>(v.z, v.w, v.w, v.w);
2392  }
2393 
2394  // wxxx
2395  template<typename T, qualifier Q>
2396  GLM_INLINE glm::vec<4, T, Q> wxxx(const glm::vec<4, T, Q> &v) {
2397  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.x);
2398  }
2399 
2400  // wxxy
2401  template<typename T, qualifier Q>
2402  GLM_INLINE glm::vec<4, T, Q> wxxy(const glm::vec<4, T, Q> &v) {
2403  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.y);
2404  }
2405 
2406  // wxxz
2407  template<typename T, qualifier Q>
2408  GLM_INLINE glm::vec<4, T, Q> wxxz(const glm::vec<4, T, Q> &v) {
2409  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.z);
2410  }
2411 
2412  // wxxw
2413  template<typename T, qualifier Q>
2414  GLM_INLINE glm::vec<4, T, Q> wxxw(const glm::vec<4, T, Q> &v) {
2415  return glm::vec<4, T, Q>(v.w, v.x, v.x, v.w);
2416  }
2417 
2418  // wxyx
2419  template<typename T, qualifier Q>
2420  GLM_INLINE glm::vec<4, T, Q> wxyx(const glm::vec<4, T, Q> &v) {
2421  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.x);
2422  }
2423 
2424  // wxyy
2425  template<typename T, qualifier Q>
2426  GLM_INLINE glm::vec<4, T, Q> wxyy(const glm::vec<4, T, Q> &v) {
2427  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.y);
2428  }
2429 
2430  // wxyz
2431  template<typename T, qualifier Q>
2432  GLM_INLINE glm::vec<4, T, Q> wxyz(const glm::vec<4, T, Q> &v) {
2433  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.z);
2434  }
2435 
2436  // wxyw
2437  template<typename T, qualifier Q>
2438  GLM_INLINE glm::vec<4, T, Q> wxyw(const glm::vec<4, T, Q> &v) {
2439  return glm::vec<4, T, Q>(v.w, v.x, v.y, v.w);
2440  }
2441 
2442  // wxzx
2443  template<typename T, qualifier Q>
2444  GLM_INLINE glm::vec<4, T, Q> wxzx(const glm::vec<4, T, Q> &v) {
2445  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.x);
2446  }
2447 
2448  // wxzy
2449  template<typename T, qualifier Q>
2450  GLM_INLINE glm::vec<4, T, Q> wxzy(const glm::vec<4, T, Q> &v) {
2451  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.y);
2452  }
2453 
2454  // wxzz
2455  template<typename T, qualifier Q>
2456  GLM_INLINE glm::vec<4, T, Q> wxzz(const glm::vec<4, T, Q> &v) {
2457  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.z);
2458  }
2459 
2460  // wxzw
2461  template<typename T, qualifier Q>
2462  GLM_INLINE glm::vec<4, T, Q> wxzw(const glm::vec<4, T, Q> &v) {
2463  return glm::vec<4, T, Q>(v.w, v.x, v.z, v.w);
2464  }
2465 
2466  // wxwx
2467  template<typename T, qualifier Q>
2468  GLM_INLINE glm::vec<4, T, Q> wxwx(const glm::vec<4, T, Q> &v) {
2469  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.x);
2470  }
2471 
2472  // wxwy
2473  template<typename T, qualifier Q>
2474  GLM_INLINE glm::vec<4, T, Q> wxwy(const glm::vec<4, T, Q> &v) {
2475  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.y);
2476  }
2477 
2478  // wxwz
2479  template<typename T, qualifier Q>
2480  GLM_INLINE glm::vec<4, T, Q> wxwz(const glm::vec<4, T, Q> &v) {
2481  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.z);
2482  }
2483 
2484  // wxww
2485  template<typename T, qualifier Q>
2486  GLM_INLINE glm::vec<4, T, Q> wxww(const glm::vec<4, T, Q> &v) {
2487  return glm::vec<4, T, Q>(v.w, v.x, v.w, v.w);
2488  }
2489 
2490  // wyxx
2491  template<typename T, qualifier Q>
2492  GLM_INLINE glm::vec<4, T, Q> wyxx(const glm::vec<4, T, Q> &v) {
2493  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.x);
2494  }
2495 
2496  // wyxy
2497  template<typename T, qualifier Q>
2498  GLM_INLINE glm::vec<4, T, Q> wyxy(const glm::vec<4, T, Q> &v) {
2499  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.y);
2500  }
2501 
2502  // wyxz
2503  template<typename T, qualifier Q>
2504  GLM_INLINE glm::vec<4, T, Q> wyxz(const glm::vec<4, T, Q> &v) {
2505  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.z);
2506  }
2507 
2508  // wyxw
2509  template<typename T, qualifier Q>
2510  GLM_INLINE glm::vec<4, T, Q> wyxw(const glm::vec<4, T, Q> &v) {
2511  return glm::vec<4, T, Q>(v.w, v.y, v.x, v.w);
2512  }
2513 
2514  // wyyx
2515  template<typename T, qualifier Q>
2516  GLM_INLINE glm::vec<4, T, Q> wyyx(const glm::vec<4, T, Q> &v) {
2517  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.x);
2518  }
2519 
2520  // wyyy
2521  template<typename T, qualifier Q>
2522  GLM_INLINE glm::vec<4, T, Q> wyyy(const glm::vec<4, T, Q> &v) {
2523  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.y);
2524  }
2525 
2526  // wyyz
2527  template<typename T, qualifier Q>
2528  GLM_INLINE glm::vec<4, T, Q> wyyz(const glm::vec<4, T, Q> &v) {
2529  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.z);
2530  }
2531 
2532  // wyyw
2533  template<typename T, qualifier Q>
2534  GLM_INLINE glm::vec<4, T, Q> wyyw(const glm::vec<4, T, Q> &v) {
2535  return glm::vec<4, T, Q>(v.w, v.y, v.y, v.w);
2536  }
2537 
2538  // wyzx
2539  template<typename T, qualifier Q>
2540  GLM_INLINE glm::vec<4, T, Q> wyzx(const glm::vec<4, T, Q> &v) {
2541  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.x);
2542  }
2543 
2544  // wyzy
2545  template<typename T, qualifier Q>
2546  GLM_INLINE glm::vec<4, T, Q> wyzy(const glm::vec<4, T, Q> &v) {
2547  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.y);
2548  }
2549 
2550  // wyzz
2551  template<typename T, qualifier Q>
2552  GLM_INLINE glm::vec<4, T, Q> wyzz(const glm::vec<4, T, Q> &v) {
2553  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.z);
2554  }
2555 
2556  // wyzw
2557  template<typename T, qualifier Q>
2558  GLM_INLINE glm::vec<4, T, Q> wyzw(const glm::vec<4, T, Q> &v) {
2559  return glm::vec<4, T, Q>(v.w, v.y, v.z, v.w);
2560  }
2561 
2562  // wywx
2563  template<typename T, qualifier Q>
2564  GLM_INLINE glm::vec<4, T, Q> wywx(const glm::vec<4, T, Q> &v) {
2565  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.x);
2566  }
2567 
2568  // wywy
2569  template<typename T, qualifier Q>
2570  GLM_INLINE glm::vec<4, T, Q> wywy(const glm::vec<4, T, Q> &v) {
2571  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.y);
2572  }
2573 
2574  // wywz
2575  template<typename T, qualifier Q>
2576  GLM_INLINE glm::vec<4, T, Q> wywz(const glm::vec<4, T, Q> &v) {
2577  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.z);
2578  }
2579 
2580  // wyww
2581  template<typename T, qualifier Q>
2582  GLM_INLINE glm::vec<4, T, Q> wyww(const glm::vec<4, T, Q> &v) {
2583  return glm::vec<4, T, Q>(v.w, v.y, v.w, v.w);
2584  }
2585 
2586  // wzxx
2587  template<typename T, qualifier Q>
2588  GLM_INLINE glm::vec<4, T, Q> wzxx(const glm::vec<4, T, Q> &v) {
2589  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.x);
2590  }
2591 
2592  // wzxy
2593  template<typename T, qualifier Q>
2594  GLM_INLINE glm::vec<4, T, Q> wzxy(const glm::vec<4, T, Q> &v) {
2595  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.y);
2596  }
2597 
2598  // wzxz
2599  template<typename T, qualifier Q>
2600  GLM_INLINE glm::vec<4, T, Q> wzxz(const glm::vec<4, T, Q> &v) {
2601  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.z);
2602  }
2603 
2604  // wzxw
2605  template<typename T, qualifier Q>
2606  GLM_INLINE glm::vec<4, T, Q> wzxw(const glm::vec<4, T, Q> &v) {
2607  return glm::vec<4, T, Q>(v.w, v.z, v.x, v.w);
2608  }
2609 
2610  // wzyx
2611  template<typename T, qualifier Q>
2612  GLM_INLINE glm::vec<4, T, Q> wzyx(const glm::vec<4, T, Q> &v) {
2613  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.x);
2614  }
2615 
2616  // wzyy
2617  template<typename T, qualifier Q>
2618  GLM_INLINE glm::vec<4, T, Q> wzyy(const glm::vec<4, T, Q> &v) {
2619  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.y);
2620  }
2621 
2622  // wzyz
2623  template<typename T, qualifier Q>
2624  GLM_INLINE glm::vec<4, T, Q> wzyz(const glm::vec<4, T, Q> &v) {
2625  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.z);
2626  }
2627 
2628  // wzyw
2629  template<typename T, qualifier Q>
2630  GLM_INLINE glm::vec<4, T, Q> wzyw(const glm::vec<4, T, Q> &v) {
2631  return glm::vec<4, T, Q>(v.w, v.z, v.y, v.w);
2632  }
2633 
2634  // wzzx
2635  template<typename T, qualifier Q>
2636  GLM_INLINE glm::vec<4, T, Q> wzzx(const glm::vec<4, T, Q> &v) {
2637  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.x);
2638  }
2639 
2640  // wzzy
2641  template<typename T, qualifier Q>
2642  GLM_INLINE glm::vec<4, T, Q> wzzy(const glm::vec<4, T, Q> &v) {
2643  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.y);
2644  }
2645 
2646  // wzzz
2647  template<typename T, qualifier Q>
2648  GLM_INLINE glm::vec<4, T, Q> wzzz(const glm::vec<4, T, Q> &v) {
2649  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.z);
2650  }
2651 
2652  // wzzw
2653  template<typename T, qualifier Q>
2654  GLM_INLINE glm::vec<4, T, Q> wzzw(const glm::vec<4, T, Q> &v) {
2655  return glm::vec<4, T, Q>(v.w, v.z, v.z, v.w);
2656  }
2657 
2658  // wzwx
2659  template<typename T, qualifier Q>
2660  GLM_INLINE glm::vec<4, T, Q> wzwx(const glm::vec<4, T, Q> &v) {
2661  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.x);
2662  }
2663 
2664  // wzwy
2665  template<typename T, qualifier Q>
2666  GLM_INLINE glm::vec<4, T, Q> wzwy(const glm::vec<4, T, Q> &v) {
2667  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.y);
2668  }
2669 
2670  // wzwz
2671  template<typename T, qualifier Q>
2672  GLM_INLINE glm::vec<4, T, Q> wzwz(const glm::vec<4, T, Q> &v) {
2673  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.z);
2674  }
2675 
2676  // wzww
2677  template<typename T, qualifier Q>
2678  GLM_INLINE glm::vec<4, T, Q> wzww(const glm::vec<4, T, Q> &v) {
2679  return glm::vec<4, T, Q>(v.w, v.z, v.w, v.w);
2680  }
2681 
2682  // wwxx
2683  template<typename T, qualifier Q>
2684  GLM_INLINE glm::vec<4, T, Q> wwxx(const glm::vec<4, T, Q> &v) {
2685  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.x);
2686  }
2687 
2688  // wwxy
2689  template<typename T, qualifier Q>
2690  GLM_INLINE glm::vec<4, T, Q> wwxy(const glm::vec<4, T, Q> &v) {
2691  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.y);
2692  }
2693 
2694  // wwxz
2695  template<typename T, qualifier Q>
2696  GLM_INLINE glm::vec<4, T, Q> wwxz(const glm::vec<4, T, Q> &v) {
2697  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.z);
2698  }
2699 
2700  // wwxw
2701  template<typename T, qualifier Q>
2702  GLM_INLINE glm::vec<4, T, Q> wwxw(const glm::vec<4, T, Q> &v) {
2703  return glm::vec<4, T, Q>(v.w, v.w, v.x, v.w);
2704  }
2705 
2706  // wwyx
2707  template<typename T, qualifier Q>
2708  GLM_INLINE glm::vec<4, T, Q> wwyx(const glm::vec<4, T, Q> &v) {
2709  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.x);
2710  }
2711 
2712  // wwyy
2713  template<typename T, qualifier Q>
2714  GLM_INLINE glm::vec<4, T, Q> wwyy(const glm::vec<4, T, Q> &v) {
2715  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.y);
2716  }
2717 
2718  // wwyz
2719  template<typename T, qualifier Q>
2720  GLM_INLINE glm::vec<4, T, Q> wwyz(const glm::vec<4, T, Q> &v) {
2721  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.z);
2722  }
2723 
2724  // wwyw
2725  template<typename T, qualifier Q>
2726  GLM_INLINE glm::vec<4, T, Q> wwyw(const glm::vec<4, T, Q> &v) {
2727  return glm::vec<4, T, Q>(v.w, v.w, v.y, v.w);
2728  }
2729 
2730  // wwzx
2731  template<typename T, qualifier Q>
2732  GLM_INLINE glm::vec<4, T, Q> wwzx(const glm::vec<4, T, Q> &v) {
2733  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.x);
2734  }
2735 
2736  // wwzy
2737  template<typename T, qualifier Q>
2738  GLM_INLINE glm::vec<4, T, Q> wwzy(const glm::vec<4, T, Q> &v) {
2739  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.y);
2740  }
2741 
2742  // wwzz
2743  template<typename T, qualifier Q>
2744  GLM_INLINE glm::vec<4, T, Q> wwzz(const glm::vec<4, T, Q> &v) {
2745  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.z);
2746  }
2747 
2748  // wwzw
2749  template<typename T, qualifier Q>
2750  GLM_INLINE glm::vec<4, T, Q> wwzw(const glm::vec<4, T, Q> &v) {
2751  return glm::vec<4, T, Q>(v.w, v.w, v.z, v.w);
2752  }
2753 
2754  // wwwx
2755  template<typename T, qualifier Q>
2756  GLM_INLINE glm::vec<4, T, Q> wwwx(const glm::vec<4, T, Q> &v) {
2757  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.x);
2758  }
2759 
2760  // wwwy
2761  template<typename T, qualifier Q>
2762  GLM_INLINE glm::vec<4, T, Q> wwwy(const glm::vec<4, T, Q> &v) {
2763  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.y);
2764  }
2765 
2766  // wwwz
2767  template<typename T, qualifier Q>
2768  GLM_INLINE glm::vec<4, T, Q> wwwz(const glm::vec<4, T, Q> &v) {
2769  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.z);
2770  }
2771 
2772  // wwww
2773  template<typename T, qualifier Q>
2774  GLM_INLINE glm::vec<4, T, Q> wwww(const glm::vec<4, T, Q> &v) {
2775  return glm::vec<4, T, Q>(v.w, v.w, v.w, v.w);
2776  }
2777 
2778 }
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00133.html b/doc/api/a00608.html similarity index 57% rename from doc/api/a00133.html rename to doc/api/a00608.html index 881c25f5..0c25d92b 100644 --- a/doc/api/a00133.html +++ b/doc/api/a00608.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: vector_angle.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,41 +73,35 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_vector_angle -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

- - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T angle (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the absolute angle between two vectors. More...
GLM_FUNC_DECL T angle (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T orientedAngle (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 Returns the oriented angle between two 2d vectors. More...
GLM_FUNC_DECL T orientedAngle (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T orientedAngle (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref)
 Returns the oriented angle between two 3d vectors based from a reference axis. More...
GLM_FUNC_DECL T orientedAngle (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref)
 

Detailed Description

-

GLM_GTX_vector_angle

-
See also
Core features (dependence)
+

GLM_GTX_vector_angle

+
See also
Core features (dependence)
-GLM_GTX_quaternion (dependence)
+GLM_GTX_quaternion (dependence)
gtx_epsilon (dependence)
-

Definition in file vector_angle.hpp.

+

Definition in file vector_angle.hpp.

diff --git a/doc/api/a00608_source.html b/doc/api/a00608_source.html new file mode 100644 index 00000000..eb16bf40 --- /dev/null +++ b/doc/api/a00608_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: vector_angle.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_angle.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependency:
18 #include "../glm.hpp"
19 #include "../gtc/epsilon.hpp"
20 #include "../gtx/quaternion.hpp"
21 #include "../gtx/rotate_vector.hpp"
22 
23 #ifndef GLM_ENABLE_EXPERIMENTAL
24 # error "GLM: GLM_GTX_vector_angle is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
25 #endif
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTX_vector_angle extension included")
29 #endif
30 
31 namespace glm
32 {
35 
39  template<length_t L, typename T, qualifier Q>
40  GLM_FUNC_DECL T angle(vec<L, T, Q> const& x, vec<L, T, Q> const& y);
41 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL T orientedAngle(vec<2, T, Q> const& x, vec<2, T, Q> const& y);
47 
51  template<typename T, qualifier Q>
52  GLM_FUNC_DECL T orientedAngle(vec<3, T, Q> const& x, vec<3, T, Q> const& y, vec<3, T, Q> const& ref);
53 
55 }// namespace glm
56 
57 #include "vector_angle.inl"
GLM_FUNC_DECL T orientedAngle(vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref)
Returns the oriented angle between two 3d vectors based from a reference axis.
+
GLM_FUNC_DECL T angle(vec< L, T, Q > const &x, vec< L, T, Q > const &y)
Returns the absolute angle between two vectors.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00611.html b/doc/api/a00611.html new file mode 100644 index 00000000..9e8aa6dc --- /dev/null +++ b/doc/api/a00611.html @@ -0,0 +1,112 @@ + + + + + + + +0.9.9 API documenation: vector_query.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
vector_query.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areCollinear (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areOrthogonal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areOrthonormal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isCompNull (vec< L, T, Q > const &v, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (vec< L, T, Q > const &v, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (vec< L, T, Q > const &v, T const &epsilon)
 
+

Detailed Description

+

GLM_GTX_vector_query

+
See also
Core features (dependence)
+ +

Definition in file vector_query.hpp.

+
+ + + + diff --git a/doc/api/a00611_source.html b/doc/api/a00611_source.html new file mode 100644 index 00000000..40c1264c --- /dev/null +++ b/doc/api/a00611_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: vector_query.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vector_query.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include <cfloat>
18 #include <limits>
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_vector_query is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_vector_query extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL bool areCollinear(vec<L, T, Q> const& v0, vec<L, T, Q> const& v1, T const& epsilon);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL bool areOrthogonal(vec<L, T, Q> const& v0, vec<L, T, Q> const& v1, T const& epsilon);
42 
45  template<length_t L, typename T, qualifier Q>
46  GLM_FUNC_DECL bool isNormalized(vec<L, T, Q> const& v, T const& epsilon);
47 
50  template<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL bool isNull(vec<L, T, Q> const& v, T const& epsilon);
52 
55  template<length_t L, typename T, qualifier Q>
56  GLM_FUNC_DECL vec<L, bool, Q> isCompNull(vec<L, T, Q> const& v, T const& epsilon);
57 
60  template<length_t L, typename T, qualifier Q>
61  GLM_FUNC_DECL bool areOrthonormal(vec<L, T, Q> const& v0, vec<L, T, Q> const& v1, T const& epsilon);
62 
64 }// namespace glm
65 
66 #include "vector_query.inl"
GLM_FUNC_DECL bool isNormalized(vec< L, T, Q > const &v, T const &epsilon)
Check whether a vector is normalized.
+
GLM_FUNC_DECL bool areOrthonormal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are orthonormal.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL bool areCollinear(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are collinears.
+
GLM_FUNC_DECL vec< L, bool, Q > isCompNull(vec< L, T, Q > const &v, T const &epsilon)
Check whether a each component of a vector is null.
+
GLM_FUNC_DECL bool areOrthogonal(vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
Check whether two vectors are orthogonals.
+
GLM_FUNC_DECL bool isNull(vec< L, T, Q > const &v, T const &epsilon)
Check whether a vector is null.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00614.html b/doc/api/a00614.html new file mode 100644 index 00000000..3f03b543 --- /dev/null +++ b/doc/api/a00614.html @@ -0,0 +1,106 @@ + + + + + + + +0.9.9 API documenation: wrap.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
wrap.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType clamp (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType mirrorClamp (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType mirrorRepeat (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType repeat (genType const &Texcoord)
 
+

Detailed Description

+

GLM_GTX_wrap

+
See also
Core features (dependence)
+ +

Definition in file wrap.hpp.

+
+ + + + diff --git a/doc/api/a00614_source.html b/doc/api/a00614_source.html new file mode 100644 index 00000000..052a22eb --- /dev/null +++ b/doc/api/a00614_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: wrap.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
wrap.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/vec1.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_wrap is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_wrap extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  template<typename genType>
35  GLM_FUNC_DECL genType clamp(genType const& Texcoord);
36 
39  template<typename genType>
40  GLM_FUNC_DECL genType repeat(genType const& Texcoord);
41 
44  template<typename genType>
45  GLM_FUNC_DECL genType mirrorClamp(genType const& Texcoord);
46 
49  template<typename genType>
50  GLM_FUNC_DECL genType mirrorRepeat(genType const& Texcoord);
51 
53 }// namespace glm
54 
55 #include "wrap.inl"
GLM_FUNC_DECL genType clamp(genType const &Texcoord)
Simulate GL_CLAMP OpenGL wrap mode.
+
GLM_FUNC_DECL genType repeat(genType const &Texcoord)
Simulate GL_REPEAT OpenGL wrap mode.
+
GLM_FUNC_DECL genType mirrorRepeat(genType const &Texcoord)
Simulate GL_MIRROR_REPEAT OpenGL wrap mode.
+
GLM_FUNC_DECL genType mirrorClamp(genType const &Texcoord)
Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00617.html b/doc/api/a00617.html new file mode 100644 index 00000000..96fa9f86 --- /dev/null +++ b/doc/api/a00617.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: mat2x2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat2x2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

Core features

+ +

Definition in file mat2x2.hpp.

+
+ + + + diff --git a/doc/api/a00617_source.html b/doc/api/a00617_source.html new file mode 100644 index 00000000..227db67a --- /dev/null +++ b/doc/api/a00617_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat2x2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat2x2.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00048.html b/doc/api/a00620.html similarity index 53% rename from doc/api/a00048.html rename to doc/api/a00620.html index 0423387d..f8ef08d3 100644 --- a/doc/api/a00048.html +++ b/doc/api/a00620.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mat2x3.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat2x3.hpp.

+

Definition in file mat2x3.hpp.

diff --git a/doc/api/a00620_source.html b/doc/api/a00620_source.html new file mode 100644 index 00000000..538708ec --- /dev/null +++ b/doc/api/a00620_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat2x3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat2x3.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00049.html b/doc/api/a00623.html similarity index 53% rename from doc/api/a00049.html rename to doc/api/a00623.html index 4d1a64e9..f4efc2a8 100644 --- a/doc/api/a00049.html +++ b/doc/api/a00623.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mat2x4.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat2x4.hpp.

+

Definition in file mat2x4.hpp.

diff --git a/doc/api/a00623_source.html b/doc/api/a00623_source.html new file mode 100644 index 00000000..d77c460f --- /dev/null +++ b/doc/api/a00623_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat2x4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat2x4.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00626.html b/doc/api/a00626.html new file mode 100644 index 00000000..60932d18 --- /dev/null +++ b/doc/api/a00626.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: mat3x2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat3x2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

Core features

+ +

Definition in file mat3x2.hpp.

+
+ + + + diff --git a/doc/api/a00626_source.html b/doc/api/a00626_source.html new file mode 100644 index 00000000..65914ea3 --- /dev/null +++ b/doc/api/a00626_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat3x2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat3x2.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00051.html b/doc/api/a00629.html similarity index 53% rename from doc/api/a00051.html rename to doc/api/a00629.html index a51576a3..fc760644 100644 --- a/doc/api/a00051.html +++ b/doc/api/a00629.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mat3x3.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat3x3.hpp.

+

Definition in file mat3x3.hpp.

diff --git a/doc/api/a00629_source.html b/doc/api/a00629_source.html new file mode 100644 index 00000000..4500b4f2 --- /dev/null +++ b/doc/api/a00629_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat3x3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat3x3.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00052.html b/doc/api/a00632.html similarity index 53% rename from doc/api/a00052.html rename to doc/api/a00632.html index 480f9eca..595553c7 100644 --- a/doc/api/a00052.html +++ b/doc/api/a00632.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mat3x4.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat3x4.hpp.

+

Definition in file mat3x4.hpp.

diff --git a/doc/api/a00632_source.html b/doc/api/a00632_source.html new file mode 100644 index 00000000..d5a719f8 --- /dev/null +++ b/doc/api/a00632_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat3x4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat3x4.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00635.html b/doc/api/a00635.html new file mode 100644 index 00000000..154580c4 --- /dev/null +++ b/doc/api/a00635.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: mat4x2.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat4x2.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

Core features

+ +

Definition in file mat4x2.hpp.

+
+ + + + diff --git a/doc/api/a00635_source.html b/doc/api/a00635_source.html new file mode 100644 index 00000000..c15032e7 --- /dev/null +++ b/doc/api/a00635_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: mat4x2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat4x2.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
8 #include "./ext/matrix_float4x2_precision.hpp"
9 
Core features
+
Core features
+ +
+ + + + diff --git a/doc/api/a00054.html b/doc/api/a00638.html similarity index 53% rename from doc/api/a00054.html rename to doc/api/a00638.html index 0c4b240a..308df77e 100644 --- a/doc/api/a00054.html +++ b/doc/api/a00638.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mat4x3.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat4x3.hpp.

+

Definition in file mat4x3.hpp.

diff --git a/doc/api/a00638_source.html b/doc/api/a00638_source.html new file mode 100644 index 00000000..a2e1773f --- /dev/null +++ b/doc/api/a00638_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat4x3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat4x3.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00055.html b/doc/api/a00641.html similarity index 53% rename from doc/api/a00055.html rename to doc/api/a00641.html index 5760e413..09b8991f 100644 --- a/doc/api/a00055.html +++ b/doc/api/a00641.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: mat4x4.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file mat4x4.hpp.

+

Definition in file mat4x4.hpp.

diff --git a/doc/api/a00641_source.html b/doc/api/a00641_source.html new file mode 100644 index 00000000..78677444 --- /dev/null +++ b/doc/api/a00641_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: mat4x4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
mat4x4.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00644.html b/doc/api/a00644.html new file mode 100644 index 00000000..28860ee3 --- /dev/null +++ b/doc/api/a00644.html @@ -0,0 +1,109 @@ + + + + + + + +0.9.9 API documenation: matrix.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
matrix.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + +

+Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL T determinant (mat< C, R, T, Q > const &m)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse (mat< C, R, T, Q > const &m)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > matrixCompMult (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::type outerProduct (vec< C, T, Q > const &c, vec< R, T, Q > const &r)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q >::transpose_type transpose (mat< C, R, T, Q > const &x)
 
+

Detailed Description

+
+ + + + diff --git a/doc/api/a00644_source.html b/doc/api/a00644_source.html new file mode 100644 index 00000000..ee709769 --- /dev/null +++ b/doc/api/a00644_source.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: matrix.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
matrix.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "detail/qualifier.hpp"
17 #include "detail/setup.hpp"
18 #include "vec2.hpp"
19 #include "vec3.hpp"
20 #include "vec4.hpp"
21 #include "mat2x2.hpp"
22 #include "mat2x3.hpp"
23 #include "mat2x4.hpp"
24 #include "mat3x2.hpp"
25 #include "mat3x3.hpp"
26 #include "mat3x4.hpp"
27 #include "mat4x2.hpp"
28 #include "mat4x3.hpp"
29 #include "mat4x4.hpp"
30 
31 namespace glm {
32 namespace detail
33 {
34  template<length_t C, length_t R, typename T, qualifier Q>
35  struct outerProduct_trait{};
36 
37  template<typename T, qualifier Q>
38  struct outerProduct_trait<2, 2, T, Q>
39  {
40  typedef mat<2, 2, T, Q> type;
41  };
42 
43  template<typename T, qualifier Q>
44  struct outerProduct_trait<2, 3, T, Q>
45  {
46  typedef mat<3, 2, T, Q> type;
47  };
48 
49  template<typename T, qualifier Q>
50  struct outerProduct_trait<2, 4, T, Q>
51  {
52  typedef mat<4, 2, T, Q> type;
53  };
54 
55  template<typename T, qualifier Q>
56  struct outerProduct_trait<3, 2, T, Q>
57  {
58  typedef mat<2, 3, T, Q> type;
59  };
60 
61  template<typename T, qualifier Q>
62  struct outerProduct_trait<3, 3, T, Q>
63  {
64  typedef mat<3, 3, T, Q> type;
65  };
66 
67  template<typename T, qualifier Q>
68  struct outerProduct_trait<3, 4, T, Q>
69  {
70  typedef mat<4, 3, T, Q> type;
71  };
72 
73  template<typename T, qualifier Q>
74  struct outerProduct_trait<4, 2, T, Q>
75  {
76  typedef mat<2, 4, T, Q> type;
77  };
78 
79  template<typename T, qualifier Q>
80  struct outerProduct_trait<4, 3, T, Q>
81  {
82  typedef mat<3, 4, T, Q> type;
83  };
84 
85  template<typename T, qualifier Q>
86  struct outerProduct_trait<4, 4, T, Q>
87  {
88  typedef mat<4, 4, T, Q> type;
89  };
90 }//namespace detail
91 
94 
105  template<length_t C, length_t R, typename T, qualifier Q>
106  GLM_FUNC_DECL mat<C, R, T, Q> matrixCompMult(mat<C, R, T, Q> const& x, mat<C, R, T, Q> const& y);
107 
119  template<length_t C, length_t R, typename T, qualifier Q>
120  GLM_FUNC_DECL typename detail::outerProduct_trait<C, R, T, Q>::type outerProduct(vec<C, T, Q> const& c, vec<R, T, Q> const& r);
121 
131  template<length_t C, length_t R, typename T, qualifier Q>
132  GLM_FUNC_DECL typename mat<C, R, T, Q>::transpose_type transpose(mat<C, R, T, Q> const& x);
133 
143  template<length_t C, length_t R, typename T, qualifier Q>
144  GLM_FUNC_DECL T determinant(mat<C, R, T, Q> const& m);
145 
155  template<length_t C, length_t R, typename T, qualifier Q>
156  GLM_FUNC_DECL mat<C, R, T, Q> inverse(mat<C, R, T, Q> const& m);
157 
159 }//namespace glm
160 
161 #include "detail/func_matrix.inl"
GLM_FUNC_DECL mat< C, R, T, Q > inverse(mat< C, R, T, Q > const &m)
Return the inverse of a squared matrix.
+
GLM_FUNC_DECL mat< C, R, T, Q > matrixCompMult(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and...
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::type outerProduct(vec< C, T, Q > const &c, vec< R, T, Q > const &r)
Treats the first parameter c as a column vector and the second parameter r as a row vector and does a...
+
Core features
+
Core features
+
Core features
+
Core features
+
Core features
+
Definition: common.hpp:20
+
Core features
+
GLM_FUNC_DECL T determinant(mat< C, R, T, Q > const &m)
Return the determinant of a squared matrix.
+
GLM_FUNC_DECL mat< C, R, T, Q >::transpose_type transpose(mat< C, R, T, Q > const &x)
Returns the transposed matrix of x.
+
+ + + + diff --git a/doc/api/a00647.html b/doc/api/a00647.html new file mode 100644 index 00000000..621e996c --- /dev/null +++ b/doc/api/a00647.html @@ -0,0 +1,139 @@ + + + + + + + +0.9.9 API documenation: trigonometric.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
trigonometric.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acos (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acosh (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asin (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asinh (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y, vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y_over_x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atanh (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cos (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cosh (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees (vec< L, T, Q > const &radians)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians (vec< L, T, Q > const &degrees)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sin (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sinh (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tan (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tanh (vec< L, T, Q > const &angle)
 
+

Detailed Description

+
+ + + + diff --git a/doc/api/a00647_source.html b/doc/api/a00647_source.html new file mode 100644 index 00000000..ebb785a0 --- /dev/null +++ b/doc/api/a00647_source.html @@ -0,0 +1,97 @@ + + + + + + + +0.9.9 API documenation: trigonometric.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
trigonometric.hpp
+
+
+Go to the documentation of this file.
1 
19 #pragma once
20 
21 #include "detail/setup.hpp"
22 #include "detail/qualifier.hpp"
23 
24 namespace glm
25 {
28 
37  template<length_t L, typename T, qualifier Q>
38  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> radians(vec<L, T, Q> const& degrees);
39 
48  template<length_t L, typename T, qualifier Q>
49  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> degrees(vec<L, T, Q> const& radians);
50 
60  template<length_t L, typename T, qualifier Q>
61  GLM_FUNC_DECL vec<L, T, Q> sin(vec<L, T, Q> const& angle);
62 
72  template<length_t L, typename T, qualifier Q>
73  GLM_FUNC_DECL vec<L, T, Q> cos(vec<L, T, Q> const& angle);
74 
83  template<length_t L, typename T, qualifier Q>
84  GLM_FUNC_DECL vec<L, T, Q> tan(vec<L, T, Q> const& angle);
85 
96  template<length_t L, typename T, qualifier Q>
97  GLM_FUNC_DECL vec<L, T, Q> asin(vec<L, T, Q> const& x);
98 
109  template<length_t L, typename T, qualifier Q>
110  GLM_FUNC_DECL vec<L, T, Q> acos(vec<L, T, Q> const& x);
111 
124  template<length_t L, typename T, qualifier Q>
125  GLM_FUNC_DECL vec<L, T, Q> atan(vec<L, T, Q> const& y, vec<L, T, Q> const& x);
126 
136  template<length_t L, typename T, qualifier Q>
137  GLM_FUNC_DECL vec<L, T, Q> atan(vec<L, T, Q> const& y_over_x);
138 
147  template<length_t L, typename T, qualifier Q>
148  GLM_FUNC_DECL vec<L, T, Q> sinh(vec<L, T, Q> const& angle);
149 
158  template<length_t L, typename T, qualifier Q>
159  GLM_FUNC_DECL vec<L, T, Q> cosh(vec<L, T, Q> const& angle);
160 
169  template<length_t L, typename T, qualifier Q>
170  GLM_FUNC_DECL vec<L, T, Q> tanh(vec<L, T, Q> const& angle);
171 
180  template<length_t L, typename T, qualifier Q>
181  GLM_FUNC_DECL vec<L, T, Q> asinh(vec<L, T, Q> const& x);
182 
192  template<length_t L, typename T, qualifier Q>
193  GLM_FUNC_DECL vec<L, T, Q> acosh(vec<L, T, Q> const& x);
194 
204  template<length_t L, typename T, qualifier Q>
205  GLM_FUNC_DECL vec<L, T, Q> atanh(vec<L, T, Q> const& x);
206 
208 }//namespace glm
209 
210 #include "detail/func_trigonometric.inl"
GLM_FUNC_DECL vec< L, T, Q > cosh(vec< L, T, Q > const &angle)
Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.
+
GLM_FUNC_DECL vec< L, T, Q > atan(vec< L, T, Q > const &y_over_x)
Arc tangent.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees(vec< L, T, Q > const &radians)
Converts radians to degrees and returns the result.
+
GLM_FUNC_DECL vec< L, T, Q > sinh(vec< L, T, Q > const &angle)
Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.
+
GLM_FUNC_DECL vec< L, T, Q > acos(vec< L, T, Q > const &x)
Arc cosine.
+
GLM_FUNC_DECL vec< L, T, Q > tanh(vec< L, T, Q > const &angle)
Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)
+
GLM_FUNC_DECL vec< L, T, Q > asin(vec< L, T, Q > const &x)
Arc sine.
+
GLM_FUNC_DECL vec< L, T, Q > sin(vec< L, T, Q > const &angle)
The standard trigonometric sine function.
+
GLM_FUNC_DECL vec< L, T, Q > atanh(vec< L, T, Q > const &x)
Arc hyperbolic tangent; returns the inverse of tanh.
+
GLM_FUNC_DECL vec< L, T, Q > cos(vec< L, T, Q > const &angle)
The standard trigonometric cosine function.
+
GLM_FUNC_DECL vec< L, T, Q > tan(vec< L, T, Q > const &angle)
The standard trigonometric tangent function.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians(vec< L, T, Q > const &degrees)
Converts degrees to radians and returns the result.
+
GLM_FUNC_DECL vec< L, T, Q > acosh(vec< L, T, Q > const &x)
Arc hyperbolic cosine; returns the non-negative inverse of cosh.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
GLM_FUNC_DECL vec< L, T, Q > asinh(vec< L, T, Q > const &x)
Arc hyperbolic sine; returns the inverse of sinh.
+
+ + + + diff --git a/doc/api/a00129.html b/doc/api/a00650.html similarity index 53% rename from doc/api/a00129.html rename to doc/api/a00650.html index b00a3a19..cf8ad03c 100644 --- a/doc/api/a00129.html +++ b/doc/api/a00650.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: vec2.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file vec2.hpp.

+

Definition in file vec2.hpp.

diff --git a/doc/api/a00650_source.html b/doc/api/a00650_source.html new file mode 100644 index 00000000..dafde1c7 --- /dev/null +++ b/doc/api/a00650_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: vec2.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec2.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00130.html b/doc/api/a00653.html similarity index 53% rename from doc/api/a00130.html rename to doc/api/a00653.html index 42a47320..9b3d0d98 100644 --- a/doc/api/a00130.html +++ b/doc/api/a00653.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: vec3.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -89,20 +71,17 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

Core features -More...

- -

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

Core features

-

Definition in file vec3.hpp.

+

Definition in file vec3.hpp.

diff --git a/doc/api/a00653_source.html b/doc/api/a00653_source.html new file mode 100644 index 00000000..bffb4c7f --- /dev/null +++ b/doc/api/a00653_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: vec3.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec3.hpp
+
+
+Go to the documentation of this file.
+ + + + diff --git a/doc/api/a00656.html b/doc/api/a00656.html new file mode 100644 index 00000000..a59c1f11 --- /dev/null +++ b/doc/api/a00656.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: vec4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec4.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

Core features

+ +

Definition in file vec4.hpp.

+
+ + + + diff --git a/doc/api/a00656_source.html b/doc/api/a00656_source.html new file mode 100644 index 00000000..73450950 --- /dev/null +++ b/doc/api/a00656_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: vec4.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec4.hpp
+
+
+Go to the documentation of this file.
1 
4 #pragma once
5 #include "./ext/vector_bool4.hpp"
11 #include "./ext/vector_int4.hpp"
13 #include "./ext/vector_uint4.hpp"
15 
Core features
+ + +
Core features
+ +
Core features
+
Core features
+ + +
Core features
+
+ + + + diff --git a/doc/api/a00659.html b/doc/api/a00659.html new file mode 100644 index 00000000..2b0bea76 --- /dev/null +++ b/doc/api/a00659.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: vec4.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
vec4.hpp File Reference
+
+
+ +

Core features +More...

+ +

Go to the source code of this file.

+

Detailed Description

+

Core features

+ +

Definition in file vec4.hpp.

+
+ + + + diff --git a/doc/api/a00659_source.html b/doc/api/a00659_source.html new file mode 100644 index 00000000..7c41e4c8 --- /dev/null +++ b/doc/api/a00659_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: man.doxy Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
man.doxy
+
+
+
1 # Doxyfile 1.8.10
2 
3 # This file describes the settings to be used by the documentation system
4 # doxygen (www.doxygen.org) for a project.
5 #
6 # All text after a double hash (##) is considered a comment and is placed in
7 # front of the TAG it is preceding.
8 #
9 # All text after a single hash (#) is considered a comment and will be ignored.
10 # The format is:
11 # TAG = value [value, ...]
12 # For lists, items can also be appended using:
13 # TAG += value [value, ...]
14 # Values that contain spaces should be placed between quotes (\" \").
15 
16 #---------------------------------------------------------------------------
17 # Project related configuration options
18 #---------------------------------------------------------------------------
19 
20 # This tag specifies the encoding used for all characters in the config file
21 # that follow. The default is UTF-8 which is also the encoding used for all text
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
23 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
24 # for the list of possible encodings.
25 # The default value is: UTF-8.
26 
27 DOXYFILE_ENCODING = UTF-8
28 
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
30 # double-quotes, unless you are using Doxywizard) that should identify the
31 # project for which the documentation is generated. This name is used in the
32 # title of most generated pages and in a few other places.
33 # The default value is: My Project.
34 
35 PROJECT_NAME = "0.9.9 API documenation"
36 
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
38 # could be handy for archiving the generated documentation or if some version
39 # control system is used.
40 
41 PROJECT_NUMBER =
42 
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
44 # for a project that appears at the top of each page and should give viewer a
45 # quick idea about the purpose of the project. Keep the description short.
46 
47 PROJECT_BRIEF =
48 
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
50 # in the documentation. The maximum height of the logo should not exceed 55
51 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
52 # the logo to the output directory.
53 
54 PROJECT_LOGO = G:/Source/G-Truc/glm/doc/manual/logo-mini.png
55 
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
57 # into which the generated documentation will be written. If a relative path is
58 # entered, it will be relative to the location where doxygen was started. If
59 # left blank the current directory will be used.
60 
61 OUTPUT_DIRECTORY = .
62 
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
64 # directories (in 2 levels) under the output directory of each output format and
65 # will distribute the generated files over these directories. Enabling this
66 # option can be useful when feeding doxygen a huge amount of source files, where
67 # putting all generated files in the same directory would otherwise causes
68 # performance problems for the file system.
69 # The default value is: NO.
70 
71 CREATE_SUBDIRS = NO
72 
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
74 # characters to appear in the names of generated files. If set to NO, non-ASCII
75 # characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
76 # U+3044.
77 # The default value is: NO.
78 
79 ALLOW_UNICODE_NAMES = NO
80 
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
82 # documentation generated by doxygen is written. Doxygen will use this
83 # information to generate all constant output in the proper language.
84 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
85 # Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
86 # Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
87 # Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
88 # Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
89 # Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
90 # Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
91 # Ukrainian and Vietnamese.
92 # The default value is: English.
93 
94 OUTPUT_LANGUAGE = English
95 
96 # If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
97 # descriptions after the members that are listed in the file and class
98 # documentation (similar to Javadoc). Set to NO to disable this.
99 # The default value is: YES.
100 
101 BRIEF_MEMBER_DESC = YES
102 
103 # If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
104 # description of a member or function before the detailed description
105 #
106 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
107 # brief descriptions will be completely suppressed.
108 # The default value is: YES.
109 
110 REPEAT_BRIEF = YES
111 
112 # This tag implements a quasi-intelligent brief description abbreviator that is
113 # used to form the text in various listings. Each string in this list, if found
114 # as the leading text of the brief description, will be stripped from the text
115 # and the result, after processing the whole list, is used as the annotated
116 # text. Otherwise, the brief description is used as-is. If left blank, the
117 # following values are used ($name is automatically replaced with the name of
118 # the entity):The $name class, The $name widget, The $name file, is, provides,
119 # specifies, contains, represents, a, an and the.
120 
121 ABBREVIATE_BRIEF = "The $name class " \
122  "The $name widget " \
123  "The $name file " \
124  is \
125  provides \
126  specifies \
127  contains \
128  represents \
129  a \
130  an \
131  the
132 
133 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
134 # doxygen will generate a detailed section even if there is only a brief
135 # description.
136 # The default value is: NO.
137 
138 ALWAYS_DETAILED_SEC = NO
139 
140 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
141 # inherited members of a class in the documentation of that class as if those
142 # members were ordinary class members. Constructors, destructors and assignment
143 # operators of the base classes will not be shown.
144 # The default value is: NO.
145 
146 INLINE_INHERITED_MEMB = NO
147 
148 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
149 # before files name in the file list and in the header files. If set to NO the
150 # shortest path that makes the file name unique will be used
151 # The default value is: YES.
152 
153 FULL_PATH_NAMES = NO
154 
155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
156 # Stripping is only done if one of the specified strings matches the left-hand
157 # part of the path. The tag can be used to show relative paths in the file list.
158 # If left blank the directory from which doxygen is run is used as the path to
159 # strip.
160 #
161 # Note that you can specify absolute paths here, but also relative paths, which
162 # will be relative from the directory where doxygen is started.
163 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
164 
165 STRIP_FROM_PATH = "C:/Documents and Settings/Groove/ "
166 
167 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
168 # path mentioned in the documentation of a class, which tells the reader which
169 # header file to include in order to use a class. If left blank only the name of
170 # the header file containing the class definition is used. Otherwise one should
171 # specify the list of include paths that are normally passed to the compiler
172 # using the -I flag.
173 
174 STRIP_FROM_INC_PATH =
175 
176 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
177 # less readable) file names. This can be useful is your file systems doesn't
178 # support long names like on DOS, Mac, or CD-ROM.
179 # The default value is: NO.
180 
181 SHORT_NAMES = YES
182 
183 # If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
184 # first line (until the first dot) of a Javadoc-style comment as the brief
185 # description. If set to NO, the Javadoc-style will behave just like regular Qt-
186 # style comments (thus requiring an explicit @brief command for a brief
187 # description.)
188 # The default value is: NO.
189 
190 JAVADOC_AUTOBRIEF = YES
191 
192 # If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
193 # line (until the first dot) of a Qt-style comment as the brief description. If
194 # set to NO, the Qt-style will behave just like regular Qt-style comments (thus
195 # requiring an explicit \brief command for a brief description.)
196 # The default value is: NO.
197 
198 QT_AUTOBRIEF = NO
199 
200 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
201 # multi-line C++ special comment block (i.e. a block of
202 # a brief description. This used to be the default behavior. The new default is
203 # to treat a multi-line C++ comment block as a detailed description. Set this
204 # tag to YES if you prefer the old behavior instead.
205 #
206 # Note that setting this tag to YES also means that rational rose comments are
207 # not recognized any more.
208 # The default value is: NO.
209 
210 MULTILINE_CPP_IS_BRIEF = NO
211 
212 # If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
213 # documentation from any documented member that it re-implements.
214 # The default value is: YES.
215 
216 INHERIT_DOCS = YES
217 
218 # If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
219 # page for each member. If set to NO, the documentation of a member will be part
220 # of the file/class/namespace that contains it.
221 # The default value is: NO.
222 
223 SEPARATE_MEMBER_PAGES = NO
224 
225 # The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
226 # uses this value to replace tabs by spaces in code fragments.
227 # Minimum value: 1, maximum value: 16, default value: 4.
228 
229 TAB_SIZE = 8
230 
231 # This tag can be used to specify a number of aliases that act as commands in
232 # the documentation. An alias has the form:
233 # name=value
234 # For example adding
235 # "sideeffect=@par Side Effects:\n"
236 # will allow you to put the command \sideeffect (or @sideeffect) in the
237 # documentation, which will result in a user-defined paragraph with heading
238 # "Side Effects:". You can put \n's in the value part of an alias to insert
239 # newlines.
240 
241 ALIASES =
242 
243 # This tag can be used to specify a number of word-keyword mappings (TCL only).
244 # A mapping has the form "name=value". For example adding "class=itcl::class"
245 # will allow you to use the command class in the itcl::class meaning.
246 
247 TCL_SUBST =
248 
249 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
250 # only. Doxygen will then generate output that is more tailored for C. For
251 # instance, some of the names that are used will be different. The list of all
252 # members will be omitted, etc.
253 # The default value is: NO.
254 
255 OPTIMIZE_OUTPUT_FOR_C = NO
256 
257 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
258 # Python sources only. Doxygen will then generate output that is more tailored
259 # for that language. For instance, namespaces will be presented as packages,
260 # qualified scopes will look different, etc.
261 # The default value is: NO.
262 
263 OPTIMIZE_OUTPUT_JAVA = NO
264 
265 # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
266 # sources. Doxygen will then generate output that is tailored for Fortran.
267 # The default value is: NO.
268 
269 OPTIMIZE_FOR_FORTRAN = NO
270 
271 # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
272 # sources. Doxygen will then generate output that is tailored for VHDL.
273 # The default value is: NO.
274 
275 OPTIMIZE_OUTPUT_VHDL = NO
276 
277 # Doxygen selects the parser to use depending on the extension of the files it
278 # parses. With this tag you can assign which parser to use for a given
279 # extension. Doxygen has a built-in mapping, but you can override or extend it
280 # using this tag. The format is ext=language, where ext is a file extension, and
281 # language is one of the parsers supported by doxygen: IDL, Java, Javascript,
282 # C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
283 # FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
284 # Fortran. In the later case the parser tries to guess whether the code is fixed
285 # or free formatted code, this is the default for Fortran type files), VHDL. For
286 # instance to make doxygen treat .inc files as Fortran files (default is PHP),
287 # and .f files as C (default is Fortran), use: inc=Fortran f=C.
288 #
289 # Note: For files without extension you can use no_extension as a placeholder.
290 #
291 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
292 # the files are not read by doxygen.
293 
294 EXTENSION_MAPPING =
295 
296 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
297 # according to the Markdown format, which allows for more readable
298 # documentation. See http://daringfireball.net/projects/markdown/ for details.
299 # The output of markdown processing is further processed by doxygen, so you can
300 # mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
301 # case of backward compatibilities issues.
302 # The default value is: YES.
303 
304 MARKDOWN_SUPPORT = YES
305 
306 # When enabled doxygen tries to link words that correspond to documented
307 # classes, or namespaces to their corresponding documentation. Such a link can
308 # be prevented in individual cases by putting a % sign in front of the word or
309 # globally by setting AUTOLINK_SUPPORT to NO.
310 # The default value is: YES.
311 
312 AUTOLINK_SUPPORT = YES
313 
314 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
315 # to include (a tag file for) the STL sources as input, then you should set this
316 # tag to YES in order to let doxygen match functions declarations and
317 # definitions whose arguments contain STL classes (e.g. func(std::string);
318 # versus func(std::string) {}). This also make the inheritance and collaboration
319 # diagrams that involve STL classes more complete and accurate.
320 # The default value is: NO.
321 
322 BUILTIN_STL_SUPPORT = NO
323 
324 # If you use Microsoft's C++/CLI language, you should set this option to YES to
325 # enable parsing support.
326 # The default value is: NO.
327 
328 CPP_CLI_SUPPORT = NO
329 
330 # Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
331 # http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
332 # will parse them like normal C++ but will assume all classes use public instead
333 # of private inheritance when no explicit protection keyword is present.
334 # The default value is: NO.
335 
336 SIP_SUPPORT = NO
337 
338 # For Microsoft's IDL there are propget and propput attributes to indicate
339 # getter and setter methods for a property. Setting this option to YES will make
340 # doxygen to replace the get and set methods by a property in the documentation.
341 # This will only work if the methods are indeed getting or setting a simple
342 # type. If this is not the case, or you want to show the methods anyway, you
343 # should set this option to NO.
344 # The default value is: YES.
345 
346 IDL_PROPERTY_SUPPORT = YES
347 
348 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
349 # tag is set to YES then doxygen will reuse the documentation of the first
350 # member in the group (if any) for the other members of the group. By default
351 # all members of a group must be documented explicitly.
352 # The default value is: NO.
353 
354 DISTRIBUTE_GROUP_DOC = NO
355 
356 # If one adds a struct or class to a group and this option is enabled, then also
357 # any nested class or struct is added to the same group. By default this option
358 # is disabled and one has to add nested compounds explicitly via \ingroup.
359 # The default value is: NO.
360 
361 GROUP_NESTED_COMPOUNDS = NO
362 
363 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
364 # (for instance a group of public functions) to be put as a subgroup of that
365 # type (e.g. under the Public Functions section). Set it to NO to prevent
366 # subgrouping. Alternatively, this can be done per class using the
367 # \nosubgrouping command.
368 # The default value is: YES.
369 
370 SUBGROUPING = NO
371 
372 # When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
373 # are shown inside the group in which they are included (e.g. using \ingroup)
374 # instead of on a separate page (for HTML and Man pages) or section (for LaTeX
375 # and RTF).
376 #
377 # Note that this feature does not work in combination with
378 # SEPARATE_MEMBER_PAGES.
379 # The default value is: NO.
380 
381 INLINE_GROUPED_CLASSES = NO
382 
383 # When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
384 # with only public data fields or simple typedef fields will be shown inline in
385 # the documentation of the scope in which they are defined (i.e. file,
386 # namespace, or group documentation), provided this scope is documented. If set
387 # to NO, structs, classes, and unions are shown on a separate page (for HTML and
388 # Man pages) or section (for LaTeX and RTF).
389 # The default value is: NO.
390 
391 INLINE_SIMPLE_STRUCTS = NO
392 
393 # When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
394 # enum is documented as struct, union, or enum with the name of the typedef. So
395 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
396 # with name TypeT. When disabled the typedef will appear as a member of a file,
397 # namespace, or class. And the struct will be named TypeS. This can typically be
398 # useful for C code in case the coding convention dictates that all compound
399 # types are typedef'ed and only the typedef is referenced, never the tag name.
400 # The default value is: NO.
401 
402 TYPEDEF_HIDES_STRUCT = NO
403 
404 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
405 # cache is used to resolve symbols given their name and scope. Since this can be
406 # an expensive process and often the same symbol appears multiple times in the
407 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
408 # doxygen will become slower. If the cache is too large, memory is wasted. The
409 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
410 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
411 # symbols. At the end of a run doxygen will report the cache usage and suggest
412 # the optimal cache size from a speed point of view.
413 # Minimum value: 0, maximum value: 9, default value: 0.
414 
415 LOOKUP_CACHE_SIZE = 0
416 
417 #---------------------------------------------------------------------------
418 # Build related configuration options
419 #---------------------------------------------------------------------------
420 
421 # If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
422 # documentation are documented, even if no documentation was available. Private
423 # class members and static file members will be hidden unless the
424 # EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
425 # Note: This will also disable the warnings about undocumented members that are
426 # normally produced when WARNINGS is set to YES.
427 # The default value is: NO.
428 
429 EXTRACT_ALL = NO
430 
431 # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
432 # be included in the documentation.
433 # The default value is: NO.
434 
435 EXTRACT_PRIVATE = NO
436 
437 # If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
438 # scope will be included in the documentation.
439 # The default value is: NO.
440 
441 EXTRACT_PACKAGE = NO
442 
443 # If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
444 # included in the documentation.
445 # The default value is: NO.
446 
447 EXTRACT_STATIC = YES
448 
449 # If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
450 # locally in source files will be included in the documentation. If set to NO,
451 # only classes defined in header files are included. Does not have any effect
452 # for Java sources.
453 # The default value is: YES.
454 
455 EXTRACT_LOCAL_CLASSES = NO
456 
457 # This flag is only useful for Objective-C code. If set to YES, local methods,
458 # which are defined in the implementation section but not in the interface are
459 # included in the documentation. If set to NO, only methods in the interface are
460 # included.
461 # The default value is: NO.
462 
463 EXTRACT_LOCAL_METHODS = NO
464 
465 # If this flag is set to YES, the members of anonymous namespaces will be
466 # extracted and appear in the documentation as a namespace called
467 # 'anonymous_namespace{file}', where file will be replaced with the base name of
468 # the file that contains the anonymous namespace. By default anonymous namespace
469 # are hidden.
470 # The default value is: NO.
471 
472 EXTRACT_ANON_NSPACES = NO
473 
474 # If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
475 # undocumented members inside documented classes or files. If set to NO these
476 # members will be included in the various overviews, but no documentation
477 # section is generated. This option has no effect if EXTRACT_ALL is enabled.
478 # The default value is: NO.
479 
480 HIDE_UNDOC_MEMBERS = YES
481 
482 # If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
483 # undocumented classes that are normally visible in the class hierarchy. If set
484 # to NO, these classes will be included in the various overviews. This option
485 # has no effect if EXTRACT_ALL is enabled.
486 # The default value is: NO.
487 
488 HIDE_UNDOC_CLASSES = YES
489 
490 # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
491 # (class|struct|union) declarations. If set to NO, these declarations will be
492 # included in the documentation.
493 # The default value is: NO.
494 
495 HIDE_FRIEND_COMPOUNDS = YES
496 
497 # If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
498 # documentation blocks found inside the body of a function. If set to NO, these
499 # blocks will be appended to the function's detailed documentation block.
500 # The default value is: NO.
501 
502 HIDE_IN_BODY_DOCS = YES
503 
504 # The INTERNAL_DOCS tag determines if documentation that is typed after a
505 # \internal command is included. If the tag is set to NO then the documentation
506 # will be excluded. Set it to YES to include the internal documentation.
507 # The default value is: NO.
508 
509 INTERNAL_DOCS = NO
510 
511 # If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
512 # names in lower-case letters. If set to YES, upper-case letters are also
513 # allowed. This is useful if you have classes or files whose names only differ
514 # in case and if your file system supports case sensitive file names. Windows
515 # and Mac users are advised to set this option to NO.
516 # The default value is: system dependent.
517 
518 CASE_SENSE_NAMES = YES
519 
520 # If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
521 # their full class and namespace scopes in the documentation. If set to YES, the
522 # scope will be hidden.
523 # The default value is: NO.
524 
525 HIDE_SCOPE_NAMES = YES
526 
527 # If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
528 # append additional text to a page's title, such as Class Reference. If set to
529 # YES the compound reference will be hidden.
530 # The default value is: NO.
531 
532 HIDE_COMPOUND_REFERENCE= NO
533 
534 # If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
535 # the files that are included by a file in the documentation of that file.
536 # The default value is: YES.
537 
538 SHOW_INCLUDE_FILES = NO
539 
540 # If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
541 # grouped member an include statement to the documentation, telling the reader
542 # which file to include in order to use the member.
543 # The default value is: NO.
544 
545 SHOW_GROUPED_MEMB_INC = NO
546 
547 # If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
548 # files with double quotes in the documentation rather than with sharp brackets.
549 # The default value is: NO.
550 
551 FORCE_LOCAL_INCLUDES = NO
552 
553 # If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
554 # documentation for inline members.
555 # The default value is: YES.
556 
557 INLINE_INFO = NO
558 
559 # If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
560 # (detailed) documentation of file and class members alphabetically by member
561 # name. If set to NO, the members will appear in declaration order.
562 # The default value is: YES.
563 
564 SORT_MEMBER_DOCS = YES
565 
566 # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
567 # descriptions of file, namespace and class members alphabetically by member
568 # name. If set to NO, the members will appear in declaration order. Note that
569 # this will also influence the order of the classes in the class list.
570 # The default value is: NO.
571 
572 SORT_BRIEF_DOCS = YES
573 
574 # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
575 # (brief and detailed) documentation of class members so that constructors and
576 # destructors are listed first. If set to NO the constructors will appear in the
577 # respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
578 # Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
579 # member documentation.
580 # Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
581 # detailed member documentation.
582 # The default value is: NO.
583 
584 SORT_MEMBERS_CTORS_1ST = NO
585 
586 # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
587 # of group names into alphabetical order. If set to NO the group names will
588 # appear in their defined order.
589 # The default value is: NO.
590 
591 SORT_GROUP_NAMES = NO
592 
593 # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
594 # fully-qualified names, including namespaces. If set to NO, the class list will
595 # be sorted only by class name, not including the namespace part.
596 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
597 # Note: This option applies only to the class list, not to the alphabetical
598 # list.
599 # The default value is: NO.
600 
601 SORT_BY_SCOPE_NAME = YES
602 
603 # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
604 # type resolution of all parameters of a function it will reject a match between
605 # the prototype and the implementation of a member function even if there is
606 # only one candidate or it is obvious which candidate to choose by doing a
607 # simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
608 # accept a match between prototype and implementation in such cases.
609 # The default value is: NO.
610 
611 STRICT_PROTO_MATCHING = NO
612 
613 # The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
614 # list. This list is created by putting \todo commands in the documentation.
615 # The default value is: YES.
616 
617 GENERATE_TODOLIST = YES
618 
619 # The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
620 # list. This list is created by putting \test commands in the documentation.
621 # The default value is: YES.
622 
623 GENERATE_TESTLIST = YES
624 
625 # The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
626 # list. This list is created by putting \bug commands in the documentation.
627 # The default value is: YES.
628 
629 GENERATE_BUGLIST = YES
630 
631 # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
632 # the deprecated list. This list is created by putting \deprecated commands in
633 # the documentation.
634 # The default value is: YES.
635 
636 GENERATE_DEPRECATEDLIST= YES
637 
638 # The ENABLED_SECTIONS tag can be used to enable conditional documentation
639 # sections, marked by \if <section_label> ... \endif and \cond <section_label>
640 # ... \endcond blocks.
641 
642 ENABLED_SECTIONS =
643 
644 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
645 # initial value of a variable or macro / define can have for it to appear in the
646 # documentation. If the initializer consists of more lines than specified here
647 # it will be hidden. Use a value of 0 to hide initializers completely. The
648 # appearance of the value of individual variables and macros / defines can be
649 # controlled using \showinitializer or \hideinitializer command in the
650 # documentation regardless of this setting.
651 # Minimum value: 0, maximum value: 10000, default value: 30.
652 
653 MAX_INITIALIZER_LINES = 30
654 
655 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
656 # the bottom of the documentation of classes and structs. If set to YES, the
657 # list will mention the files that were used to generate the documentation.
658 # The default value is: YES.
659 
660 SHOW_USED_FILES = NO
661 
662 # Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
663 # will remove the Files entry from the Quick Index and from the Folder Tree View
664 # (if specified).
665 # The default value is: YES.
666 
667 SHOW_FILES = YES
668 
669 # Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
670 # page. This will remove the Namespaces entry from the Quick Index and from the
671 # Folder Tree View (if specified).
672 # The default value is: YES.
673 
674 SHOW_NAMESPACES = YES
675 
676 # The FILE_VERSION_FILTER tag can be used to specify a program or script that
677 # doxygen should invoke to get the current version for each file (typically from
678 # the version control system). Doxygen will invoke the program by executing (via
679 # popen()) the command command input-file, where command is the value of the
680 # FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
681 # by doxygen. Whatever the program writes to standard output is used as the file
682 # version. For an example see the documentation.
683 
684 FILE_VERSION_FILTER =
685 
686 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
687 # by doxygen. The layout file controls the global structure of the generated
688 # output files in an output format independent way. To create the layout file
689 # that represents doxygen's defaults, run doxygen with the -l option. You can
690 # optionally specify a file name after the option, if omitted DoxygenLayout.xml
691 # will be used as the name of the layout file.
692 #
693 # Note that if you run doxygen from a directory containing a file called
694 # DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
695 # tag is left empty.
696 
697 LAYOUT_FILE =
698 
699 # The CITE_BIB_FILES tag can be used to specify one or more bib files containing
700 # the reference definitions. This must be a list of .bib files. The .bib
701 # extension is automatically appended if omitted. This requires the bibtex tool
702 # to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
703 # For LaTeX the style of the bibliography can be controlled using
704 # LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
705 # search path. See also \cite for info how to create references.
706 
707 CITE_BIB_FILES =
708 
709 #---------------------------------------------------------------------------
710 # Configuration options related to warning and progress messages
711 #---------------------------------------------------------------------------
712 
713 # The QUIET tag can be used to turn on/off the messages that are generated to
714 # standard output by doxygen. If QUIET is set to YES this implies that the
715 # messages are off.
716 # The default value is: NO.
717 
718 QUIET = NO
719 
720 # The WARNINGS tag can be used to turn on/off the warning messages that are
721 # generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
722 # this implies that the warnings are on.
723 #
724 # Tip: Turn warnings on while writing the documentation.
725 # The default value is: YES.
726 
727 WARNINGS = YES
728 
729 # If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
730 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
731 # will automatically be disabled.
732 # The default value is: YES.
733 
734 WARN_IF_UNDOCUMENTED = YES
735 
736 # If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
737 # potential errors in the documentation, such as not documenting some parameters
738 # in a documented function, or documenting parameters that don't exist or using
739 # markup commands wrongly.
740 # The default value is: YES.
741 
742 WARN_IF_DOC_ERROR = YES
743 
744 # This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
745 # are documented, but have no documentation for their parameters or return
746 # value. If set to NO, doxygen will only warn about wrong or incomplete
747 # parameter documentation, but not about the absence of documentation.
748 # The default value is: NO.
749 
750 WARN_NO_PARAMDOC = NO
751 
752 # The WARN_FORMAT tag determines the format of the warning messages that doxygen
753 # can produce. The string should contain the $file, $line, and $text tags, which
754 # will be replaced by the file and line number from which the warning originated
755 # and the warning text. Optionally the format may contain $version, which will
756 # be replaced by the version of the file (if it could be obtained via
757 # FILE_VERSION_FILTER)
758 # The default value is: $file:$line: $text.
759 
760 WARN_FORMAT = "$file:$line: $text"
761 
762 # The WARN_LOGFILE tag can be used to specify a file to which warning and error
763 # messages should be written. If left blank the output is written to standard
764 # error (stderr).
765 
766 WARN_LOGFILE =
767 
768 #---------------------------------------------------------------------------
769 # Configuration options related to the input files
770 #---------------------------------------------------------------------------
771 
772 # The INPUT tag is used to specify the files and/or directories that contain
773 # documented source files. You may enter file names like myfile.cpp or
774 # directories like /usr/src/myproject. Separate the files or directories with
775 # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
776 # Note: If this tag is empty the current directory is searched.
777 
778 INPUT = ../glm \
779  .
780 
781 # This tag can be used to specify the character encoding of the source files
782 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
783 # libiconv (or the iconv built into libc) for the transcoding. See the libiconv
784 # documentation (see: http://www.gnu.org/software/libiconv) for the list of
785 # possible encodings.
786 # The default value is: UTF-8.
787 
788 INPUT_ENCODING = UTF-8
789 
790 # If the value of the INPUT tag contains directories, you can use the
791 # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
792 # *.h) to filter out the source-files in the directories.
793 #
794 # Note that for custom extensions or not directly supported extensions you also
795 # need to set EXTENSION_MAPPING for the extension otherwise the files are not
796 # read by doxygen.
797 #
798 # If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
799 # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
800 # *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
801 # *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd,
802 # *.vhdl, *.ucf, *.qsf, *.as and *.js.
803 
804 FILE_PATTERNS = *.hpp \
805  *.doxy
806 
807 # The RECURSIVE tag can be used to specify whether or not subdirectories should
808 # be searched for input files as well.
809 # The default value is: NO.
810 
811 RECURSIVE = YES
812 
813 # The EXCLUDE tag can be used to specify files and/or directories that should be
814 # excluded from the INPUT source files. This way you can easily exclude a
815 # subdirectory from a directory tree whose root is specified with the INPUT tag.
816 #
817 # Note that relative paths are relative to the directory from which doxygen is
818 # run.
819 
820 EXCLUDE =
821 
822 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
823 # directories that are symbolic links (a Unix file system feature) are excluded
824 # from the input.
825 # The default value is: NO.
826 
827 EXCLUDE_SYMLINKS = NO
828 
829 # If the value of the INPUT tag contains directories, you can use the
830 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
831 # certain files from those directories.
832 #
833 # Note that the wildcards are matched against the file with absolute path, so to
834 # exclude all test directories for example use the pattern */test/*
835 
836 EXCLUDE_PATTERNS =
837 
838 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
839 # (namespaces, classes, functions, etc.) that should be excluded from the
840 # output. The symbol name can be a fully qualified name, a word, or if the
841 # wildcard * is used, a substring. Examples: ANamespace, AClass,
842 # AClass::ANamespace, ANamespace::*Test
843 #
844 # Note that the wildcards are matched against the file with absolute path, so to
845 # exclude all test directories use the pattern */test/*
846 
847 EXCLUDE_SYMBOLS =
848 
849 # The EXAMPLE_PATH tag can be used to specify one or more files or directories
850 # that contain example code fragments that are included (see the \include
851 # command).
852 
853 EXAMPLE_PATH =
854 
855 # If the value of the EXAMPLE_PATH tag contains directories, you can use the
856 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
857 # *.h) to filter out the source-files in the directories. If left blank all
858 # files are included.
859 
860 EXAMPLE_PATTERNS = *
861 
862 # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
863 # searched for input files to be used with the \include or \dontinclude commands
864 # irrespective of the value of the RECURSIVE tag.
865 # The default value is: NO.
866 
867 EXAMPLE_RECURSIVE = NO
868 
869 # The IMAGE_PATH tag can be used to specify one or more files or directories
870 # that contain images that are to be included in the documentation (see the
871 # \image command).
872 
873 IMAGE_PATH =
874 
875 # The INPUT_FILTER tag can be used to specify a program that doxygen should
876 # invoke to filter for each input file. Doxygen will invoke the filter program
877 # by executing (via popen()) the command:
878 #
879 # <filter> <input-file>
880 #
881 # where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
882 # name of an input file. Doxygen will then use the output that the filter
883 # program writes to standard output. If FILTER_PATTERNS is specified, this tag
884 # will be ignored.
885 #
886 # Note that the filter must not add or remove lines; it is applied before the
887 # code is scanned, but not when the output code is generated. If lines are added
888 # or removed, the anchors will not be placed correctly.
889 
890 INPUT_FILTER =
891 
892 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
893 # basis. Doxygen will compare the file name with each pattern and apply the
894 # filter if there is a match. The filters are a list of the form: pattern=filter
895 # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
896 # filters are used. If the FILTER_PATTERNS tag is empty or if none of the
897 # patterns match the file name, INPUT_FILTER is applied.
898 
899 FILTER_PATTERNS =
900 
901 # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
902 # INPUT_FILTER) will also be used to filter the input files that are used for
903 # producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
904 # The default value is: NO.
905 
906 FILTER_SOURCE_FILES = NO
907 
908 # The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
909 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
910 # it is also possible to disable source filtering for a specific pattern using
911 # *.ext= (so without naming a filter).
912 # This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
913 
914 FILTER_SOURCE_PATTERNS =
915 
916 # If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
917 # is part of the input, its contents will be placed on the main page
918 # (index.html). This can be useful if you have a project on for instance GitHub
919 # and want to reuse the introduction page also for the doxygen output.
920 
921 USE_MDFILE_AS_MAINPAGE =
922 
923 #---------------------------------------------------------------------------
924 # Configuration options related to source browsing
925 #---------------------------------------------------------------------------
926 
927 # If the SOURCE_BROWSER tag is set to YES then a list of source files will be
928 # generated. Documented entities will be cross-referenced with these sources.
929 #
930 # Note: To get rid of all source code in the generated output, make sure that
931 # also VERBATIM_HEADERS is set to NO.
932 # The default value is: NO.
933 
934 SOURCE_BROWSER = YES
935 
936 # Setting the INLINE_SOURCES tag to YES will include the body of functions,
937 # classes and enums directly into the documentation.
938 # The default value is: NO.
939 
940 INLINE_SOURCES = NO
941 
942 # Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
943 # special comment blocks from generated source code fragments. Normal C, C++ and
944 # Fortran comments will always remain visible.
945 # The default value is: YES.
946 
947 STRIP_CODE_COMMENTS = YES
948 
949 # If the REFERENCED_BY_RELATION tag is set to YES then for each documented
950 # function all documented functions referencing it will be listed.
951 # The default value is: NO.
952 
953 REFERENCED_BY_RELATION = YES
954 
955 # If the REFERENCES_RELATION tag is set to YES then for each documented function
956 # all documented entities called/used by that function will be listed.
957 # The default value is: NO.
958 
959 REFERENCES_RELATION = YES
960 
961 # If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
962 # to YES then the hyperlinks from functions in REFERENCES_RELATION and
963 # REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
964 # link to the documentation.
965 # The default value is: YES.
966 
967 REFERENCES_LINK_SOURCE = YES
968 
969 # If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
970 # source code will show a tooltip with additional information such as prototype,
971 # brief description and links to the definition and documentation. Since this
972 # will make the HTML file larger and loading of large files a bit slower, you
973 # can opt to disable this feature.
974 # The default value is: YES.
975 # This tag requires that the tag SOURCE_BROWSER is set to YES.
976 
977 SOURCE_TOOLTIPS = YES
978 
979 # If the USE_HTAGS tag is set to YES then the references to source code will
980 # point to the HTML generated by the htags(1) tool instead of doxygen built-in
981 # source browser. The htags tool is part of GNU's global source tagging system
982 # (see http://www.gnu.org/software/global/global.html). You will need version
983 # 4.8.6 or higher.
984 #
985 # To use it do the following:
986 # - Install the latest version of global
987 # - Enable SOURCE_BROWSER and USE_HTAGS in the config file
988 # - Make sure the INPUT points to the root of the source tree
989 # - Run doxygen as normal
990 #
991 # Doxygen will invoke htags (and that will in turn invoke gtags), so these
992 # tools must be available from the command line (i.e. in the search path).
993 #
994 # The result: instead of the source browser generated by doxygen, the links to
995 # source code will now point to the output of htags.
996 # The default value is: NO.
997 # This tag requires that the tag SOURCE_BROWSER is set to YES.
998 
999 USE_HTAGS = NO
1000 
1001 # If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
1002 # verbatim copy of the header file for each class for which an include is
1003 # specified. Set to NO to disable this.
1004 # See also: Section \class.
1005 # The default value is: YES.
1006 
1007 VERBATIM_HEADERS = YES
1008 
1009 # If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
1010 # clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
1011 # cost of reduced performance. This can be particularly helpful with template
1012 # rich C++ code for which doxygen's built-in parser lacks the necessary type
1013 # information.
1014 # Note: The availability of this option depends on whether or not doxygen was
1015 # compiled with the --with-libclang option.
1016 # The default value is: NO.
1017 
1018 CLANG_ASSISTED_PARSING = NO
1019 
1020 # If clang assisted parsing is enabled you can provide the compiler with command
1021 # line options that you would normally use when invoking the compiler. Note that
1022 # the include paths will already be set by doxygen for the files and directories
1023 # specified with INPUT and INCLUDE_PATH.
1024 # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
1025 
1026 CLANG_OPTIONS =
1027 
1028 #---------------------------------------------------------------------------
1029 # Configuration options related to the alphabetical class index
1030 #---------------------------------------------------------------------------
1031 
1032 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
1033 # compounds will be generated. Enable this if the project contains a lot of
1034 # classes, structs, unions or interfaces.
1035 # The default value is: YES.
1036 
1037 ALPHABETICAL_INDEX = NO
1038 
1039 # The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
1040 # which the alphabetical index list will be split.
1041 # Minimum value: 1, maximum value: 20, default value: 5.
1042 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1043 
1044 COLS_IN_ALPHA_INDEX = 5
1045 
1046 # In case all classes in a project start with a common prefix, all classes will
1047 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
1048 # can be used to specify a prefix (or a list of prefixes) that should be ignored
1049 # while generating the index headers.
1050 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1051 
1052 IGNORE_PREFIX =
1053 
1054 #---------------------------------------------------------------------------
1055 # Configuration options related to the HTML output
1056 #---------------------------------------------------------------------------
1057 
1058 # If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
1059 # The default value is: YES.
1060 
1061 GENERATE_HTML = YES
1062 
1063 # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
1064 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1065 # it.
1066 # The default directory is: html.
1067 # This tag requires that the tag GENERATE_HTML is set to YES.
1068 
1069 HTML_OUTPUT = html
1070 
1071 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
1072 # generated HTML page (for example: .htm, .php, .asp).
1073 # The default value is: .html.
1074 # This tag requires that the tag GENERATE_HTML is set to YES.
1075 
1076 HTML_FILE_EXTENSION = .html
1077 
1078 # The HTML_HEADER tag can be used to specify a user-defined HTML header file for
1079 # each generated HTML page. If the tag is left blank doxygen will generate a
1080 # standard header.
1081 #
1082 # To get valid HTML the header file that includes any scripts and style sheets
1083 # that doxygen needs, which is dependent on the configuration options used (e.g.
1084 # the setting GENERATE_TREEVIEW). It is highly recommended to start with a
1085 # default header using
1086 # doxygen -w html new_header.html new_footer.html new_stylesheet.css
1087 # YourConfigFile
1088 # and then modify the file new_header.html. See also section "Doxygen usage"
1089 # for information on how to generate the default header that doxygen normally
1090 # uses.
1091 # Note: The header is subject to change so you typically have to regenerate the
1092 # default header when upgrading to a newer version of doxygen. For a description
1093 # of the possible markers and block names see the documentation.
1094 # This tag requires that the tag GENERATE_HTML is set to YES.
1095 
1096 HTML_HEADER =
1097 
1098 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1099 # generated HTML page. If the tag is left blank doxygen will generate a standard
1100 # footer. See HTML_HEADER for more information on how to generate a default
1101 # footer and what special commands can be used inside the footer. See also
1102 # section "Doxygen usage" for information on how to generate the default footer
1103 # that doxygen normally uses.
1104 # This tag requires that the tag GENERATE_HTML is set to YES.
1105 
1106 HTML_FOOTER =
1107 
1108 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
1109 # sheet that is used by each HTML page. It can be used to fine-tune the look of
1110 # the HTML output. If left blank doxygen will generate a default style sheet.
1111 # See also section "Doxygen usage" for information on how to generate the style
1112 # sheet that doxygen normally uses.
1113 # Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
1114 # it is more robust and this tag (HTML_STYLESHEET) will in the future become
1115 # obsolete.
1116 # This tag requires that the tag GENERATE_HTML is set to YES.
1117 
1118 HTML_STYLESHEET =
1119 
1120 # The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1121 # cascading style sheets that are included after the standard style sheets
1122 # created by doxygen. Using this option one can overrule certain style aspects.
1123 # This is preferred over using HTML_STYLESHEET since it does not replace the
1124 # standard style sheet and is therefore more robust against future updates.
1125 # Doxygen will copy the style sheet files to the output directory.
1126 # Note: The order of the extra style sheet files is of importance (e.g. the last
1127 # style sheet in the list overrules the setting of the previous ones in the
1128 # list). For an example see the documentation.
1129 # This tag requires that the tag GENERATE_HTML is set to YES.
1130 
1131 HTML_EXTRA_STYLESHEET =
1132 
1133 # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
1134 # other source files which should be copied to the HTML output directory. Note
1135 # that these files will be copied to the base HTML output directory. Use the
1136 # $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
1137 # files. In the HTML_STYLESHEET file, use the file name only. Also note that the
1138 # files will be copied as-is; there are no commands or markers available.
1139 # This tag requires that the tag GENERATE_HTML is set to YES.
1140 
1141 HTML_EXTRA_FILES =
1142 
1143 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
1144 # will adjust the colors in the style sheet and background images according to
1145 # this color. Hue is specified as an angle on a colorwheel, see
1146 # http://en.wikipedia.org/wiki/Hue for more information. For instance the value
1147 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
1148 # purple, and 360 is red again.
1149 # Minimum value: 0, maximum value: 359, default value: 220.
1150 # This tag requires that the tag GENERATE_HTML is set to YES.
1151 
1152 HTML_COLORSTYLE_HUE = 220
1153 
1154 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
1155 # in the HTML output. For a value of 0 the output will use grayscales only. A
1156 # value of 255 will produce the most vivid colors.
1157 # Minimum value: 0, maximum value: 255, default value: 100.
1158 # This tag requires that the tag GENERATE_HTML is set to YES.
1159 
1160 HTML_COLORSTYLE_SAT = 100
1161 
1162 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
1163 # luminance component of the colors in the HTML output. Values below 100
1164 # gradually make the output lighter, whereas values above 100 make the output
1165 # darker. The value divided by 100 is the actual gamma applied, so 80 represents
1166 # a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
1167 # change the gamma.
1168 # Minimum value: 40, maximum value: 240, default value: 80.
1169 # This tag requires that the tag GENERATE_HTML is set to YES.
1170 
1171 HTML_COLORSTYLE_GAMMA = 80
1172 
1173 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1174 # page will contain the date and time when the page was generated. Setting this
1175 # to YES can help to show when doxygen was last run and thus if the
1176 # documentation is up to date.
1177 # The default value is: NO.
1178 # This tag requires that the tag GENERATE_HTML is set to YES.
1179 
1180 HTML_TIMESTAMP = NO
1181 
1182 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
1183 # documentation will contain sections that can be hidden and shown after the
1184 # page has loaded.
1185 # The default value is: NO.
1186 # This tag requires that the tag GENERATE_HTML is set to YES.
1187 
1188 HTML_DYNAMIC_SECTIONS = NO
1189 
1190 # With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
1191 # shown in the various tree structured indices initially; the user can expand
1192 # and collapse entries dynamically later on. Doxygen will expand the tree to
1193 # such a level that at most the specified number of entries are visible (unless
1194 # a fully collapsed tree already exceeds this amount). So setting the number of
1195 # entries 1 will produce a full collapsed tree by default. 0 is a special value
1196 # representing an infinite number of entries and will result in a full expanded
1197 # tree by default.
1198 # Minimum value: 0, maximum value: 9999, default value: 100.
1199 # This tag requires that the tag GENERATE_HTML is set to YES.
1200 
1201 HTML_INDEX_NUM_ENTRIES = 100
1202 
1203 # If the GENERATE_DOCSET tag is set to YES, additional index files will be
1204 # generated that can be used as input for Apple's Xcode 3 integrated development
1205 # environment (see: http://developer.apple.com/tools/xcode/), introduced with
1206 # OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
1207 # Makefile in the HTML output directory. Running make will produce the docset in
1208 # that directory and running make install will install the docset in
1209 # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
1210 # startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1211 # for more information.
1212 # The default value is: NO.
1213 # This tag requires that the tag GENERATE_HTML is set to YES.
1214 
1215 GENERATE_DOCSET = NO
1216 
1217 # This tag determines the name of the docset feed. A documentation feed provides
1218 # an umbrella under which multiple documentation sets from a single provider
1219 # (such as a company or product suite) can be grouped.
1220 # The default value is: Doxygen generated docs.
1221 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1222 
1223 DOCSET_FEEDNAME = "Doxygen generated docs"
1224 
1225 # This tag specifies a string that should uniquely identify the documentation
1226 # set bundle. This should be a reverse domain-name style string, e.g.
1227 # com.mycompany.MyDocSet. Doxygen will append .docset to the name.
1228 # The default value is: org.doxygen.Project.
1229 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1230 
1231 DOCSET_BUNDLE_ID = org.doxygen.Project
1232 
1233 # The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
1234 # the documentation publisher. This should be a reverse domain-name style
1235 # string, e.g. com.mycompany.MyDocSet.documentation.
1236 # The default value is: org.doxygen.Publisher.
1237 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1238 
1239 DOCSET_PUBLISHER_ID = org.doxygen.Publisher
1240 
1241 # The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
1242 # The default value is: Publisher.
1243 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1244 
1245 DOCSET_PUBLISHER_NAME = Publisher
1246 
1247 # If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
1248 # additional HTML index files: index.hhp, index.hhc, and index.hhk. The
1249 # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
1250 # (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
1251 # Windows.
1252 #
1253 # The HTML Help Workshop contains a compiler that can convert all HTML output
1254 # generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
1255 # files are now used as the Windows 98 help format, and will replace the old
1256 # Windows help format (.hlp) on all Windows platforms in the future. Compressed
1257 # HTML files also contain an index, a table of contents, and you can search for
1258 # words in the documentation. The HTML workshop also contains a viewer for
1259 # compressed HTML files.
1260 # The default value is: NO.
1261 # This tag requires that the tag GENERATE_HTML is set to YES.
1262 
1263 GENERATE_HTMLHELP = NO
1264 
1265 # The CHM_FILE tag can be used to specify the file name of the resulting .chm
1266 # file. You can add a path in front of the file if the result should not be
1267 # written to the html output directory.
1268 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1269 
1270 CHM_FILE =
1271 
1272 # The HHC_LOCATION tag can be used to specify the location (absolute path
1273 # including file name) of the HTML help compiler (hhc.exe). If non-empty,
1274 # doxygen will try to run the HTML help compiler on the generated index.hhp.
1275 # The file has to be specified with full path.
1276 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1277 
1278 HHC_LOCATION =
1279 
1280 # The GENERATE_CHI flag controls if a separate .chi index file is generated
1281 # (YES) or that it should be included in the master .chm file (NO).
1282 # The default value is: NO.
1283 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1284 
1285 GENERATE_CHI = NO
1286 
1287 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
1288 # and project file content.
1289 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1290 
1291 CHM_INDEX_ENCODING =
1292 
1293 # The BINARY_TOC flag controls whether a binary table of contents is generated
1294 # (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
1295 # enables the Previous and Next buttons.
1296 # The default value is: NO.
1297 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1298 
1299 BINARY_TOC = NO
1300 
1301 # The TOC_EXPAND flag can be set to YES to add extra items for group members to
1302 # the table of contents of the HTML help documentation and to the tree view.
1303 # The default value is: NO.
1304 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1305 
1306 TOC_EXPAND = NO
1307 
1308 # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
1309 # QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
1310 # can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
1311 # (.qch) of the generated HTML documentation.
1312 # The default value is: NO.
1313 # This tag requires that the tag GENERATE_HTML is set to YES.
1314 
1315 GENERATE_QHP = NO
1316 
1317 # If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
1318 # the file name of the resulting .qch file. The path specified is relative to
1319 # the HTML output folder.
1320 # This tag requires that the tag GENERATE_QHP is set to YES.
1321 
1322 QCH_FILE =
1323 
1324 # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
1325 # Project output. For more information please see Qt Help Project / Namespace
1326 # (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
1327 # The default value is: org.doxygen.Project.
1328 # This tag requires that the tag GENERATE_QHP is set to YES.
1329 
1330 QHP_NAMESPACE = org.doxygen.Project
1331 
1332 # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
1333 # Help Project output. For more information please see Qt Help Project / Virtual
1334 # Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
1335 # folders).
1336 # The default value is: doc.
1337 # This tag requires that the tag GENERATE_QHP is set to YES.
1338 
1339 QHP_VIRTUAL_FOLDER = doc
1340 
1341 # If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
1342 # filter to add. For more information please see Qt Help Project / Custom
1343 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1344 # filters).
1345 # This tag requires that the tag GENERATE_QHP is set to YES.
1346 
1347 QHP_CUST_FILTER_NAME =
1348 
1349 # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
1350 # custom filter to add. For more information please see Qt Help Project / Custom
1351 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1352 # filters).
1353 # This tag requires that the tag GENERATE_QHP is set to YES.
1354 
1355 QHP_CUST_FILTER_ATTRS =
1356 
1357 # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
1358 # project's filter section matches. Qt Help Project / Filter Attributes (see:
1359 # http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
1360 # This tag requires that the tag GENERATE_QHP is set to YES.
1361 
1362 QHP_SECT_FILTER_ATTRS =
1363 
1364 # The QHG_LOCATION tag can be used to specify the location of Qt's
1365 # qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
1366 # generated .qhp file.
1367 # This tag requires that the tag GENERATE_QHP is set to YES.
1368 
1369 QHG_LOCATION =
1370 
1371 # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
1372 # generated, together with the HTML files, they form an Eclipse help plugin. To
1373 # install this plugin and make it available under the help contents menu in
1374 # Eclipse, the contents of the directory containing the HTML and XML files needs
1375 # to be copied into the plugins directory of eclipse. The name of the directory
1376 # within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
1377 # After copying Eclipse needs to be restarted before the help appears.
1378 # The default value is: NO.
1379 # This tag requires that the tag GENERATE_HTML is set to YES.
1380 
1381 GENERATE_ECLIPSEHELP = NO
1382 
1383 # A unique identifier for the Eclipse help plugin. When installing the plugin
1384 # the directory name containing the HTML and XML files should also have this
1385 # name. Each documentation set should have its own identifier.
1386 # The default value is: org.doxygen.Project.
1387 # This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
1388 
1389 ECLIPSE_DOC_ID = org.doxygen.Project
1390 
1391 # If you want full control over the layout of the generated HTML pages it might
1392 # be necessary to disable the index and replace it with your own. The
1393 # DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
1394 # of each HTML page. A value of NO enables the index and the value YES disables
1395 # it. Since the tabs in the index contain the same information as the navigation
1396 # tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
1397 # The default value is: NO.
1398 # This tag requires that the tag GENERATE_HTML is set to YES.
1399 
1400 DISABLE_INDEX = NO
1401 
1402 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1403 # structure should be generated to display hierarchical information. If the tag
1404 # value is set to YES, a side panel will be generated containing a tree-like
1405 # index structure (just like the one that is generated for HTML Help). For this
1406 # to work a browser that supports JavaScript, DHTML, CSS and frames is required
1407 # (i.e. any modern browser). Windows users are probably better off using the
1408 # HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
1409 # further fine-tune the look of the index. As an example, the default style
1410 # sheet generated by doxygen has an example that shows how to put an image at
1411 # the root of the tree instead of the PROJECT_NAME. Since the tree basically has
1412 # the same information as the tab index, you could consider setting
1413 # DISABLE_INDEX to YES when enabling this option.
1414 # The default value is: NO.
1415 # This tag requires that the tag GENERATE_HTML is set to YES.
1416 
1417 GENERATE_TREEVIEW = NO
1418 
1419 # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
1420 # doxygen will group on one line in the generated HTML documentation.
1421 #
1422 # Note that a value of 0 will completely suppress the enum values from appearing
1423 # in the overview section.
1424 # Minimum value: 0, maximum value: 20, default value: 4.
1425 # This tag requires that the tag GENERATE_HTML is set to YES.
1426 
1427 ENUM_VALUES_PER_LINE = 4
1428 
1429 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
1430 # to set the initial width (in pixels) of the frame in which the tree is shown.
1431 # Minimum value: 0, maximum value: 1500, default value: 250.
1432 # This tag requires that the tag GENERATE_HTML is set to YES.
1433 
1434 TREEVIEW_WIDTH = 250
1435 
1436 # If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
1437 # external symbols imported via tag files in a separate window.
1438 # The default value is: NO.
1439 # This tag requires that the tag GENERATE_HTML is set to YES.
1440 
1441 EXT_LINKS_IN_WINDOW = NO
1442 
1443 # Use this tag to change the font size of LaTeX formulas included as images in
1444 # the HTML documentation. When you change the font size after a successful
1445 # doxygen run you need to manually remove any form_*.png images from the HTML
1446 # output directory to force them to be regenerated.
1447 # Minimum value: 8, maximum value: 50, default value: 10.
1448 # This tag requires that the tag GENERATE_HTML is set to YES.
1449 
1450 FORMULA_FONTSIZE = 10
1451 
1452 # Use the FORMULA_TRANPARENT tag to determine whether or not the images
1453 # generated for formulas are transparent PNGs. Transparent PNGs are not
1454 # supported properly for IE 6.0, but are supported on all modern browsers.
1455 #
1456 # Note that when changing this option you need to delete any form_*.png files in
1457 # the HTML output directory before the changes have effect.
1458 # The default value is: YES.
1459 # This tag requires that the tag GENERATE_HTML is set to YES.
1460 
1461 FORMULA_TRANSPARENT = YES
1462 
1463 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1464 # http://www.mathjax.org) which uses client side Javascript for the rendering
1465 # instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
1466 # installed or if you want to formulas look prettier in the HTML output. When
1467 # enabled you may also need to install MathJax separately and configure the path
1468 # to it using the MATHJAX_RELPATH option.
1469 # The default value is: NO.
1470 # This tag requires that the tag GENERATE_HTML is set to YES.
1471 
1472 USE_MATHJAX = NO
1473 
1474 # When MathJax is enabled you can set the default output format to be used for
1475 # the MathJax output. See the MathJax site (see:
1476 # http://docs.mathjax.org/en/latest/output.html) for more details.
1477 # Possible values are: HTML-CSS (which is slower, but has the best
1478 # compatibility), NativeMML (i.e. MathML) and SVG.
1479 # The default value is: HTML-CSS.
1480 # This tag requires that the tag USE_MATHJAX is set to YES.
1481 
1482 MATHJAX_FORMAT = HTML-CSS
1483 
1484 # When MathJax is enabled you need to specify the location relative to the HTML
1485 # output directory using the MATHJAX_RELPATH option. The destination directory
1486 # should contain the MathJax.js script. For instance, if the mathjax directory
1487 # is located at the same level as the HTML output directory, then
1488 # MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
1489 # Content Delivery Network so you can quickly see the result without installing
1490 # MathJax. However, it is strongly recommended to install a local copy of
1491 # MathJax from http://www.mathjax.org before deployment.
1492 # The default value is: http://cdn.mathjax.org/mathjax/latest.
1493 # This tag requires that the tag USE_MATHJAX is set to YES.
1494 
1495 MATHJAX_RELPATH = http://www.mathjax.org/mathjax
1496 
1497 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
1498 # extension names that should be enabled during MathJax rendering. For example
1499 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
1500 # This tag requires that the tag USE_MATHJAX is set to YES.
1501 
1502 MATHJAX_EXTENSIONS =
1503 
1504 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
1505 # of code that will be used on startup of the MathJax code. See the MathJax site
1506 # (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
1507 # example see the documentation.
1508 # This tag requires that the tag USE_MATHJAX is set to YES.
1509 
1510 MATHJAX_CODEFILE =
1511 
1512 # When the SEARCHENGINE tag is enabled doxygen will generate a search box for
1513 # the HTML output. The underlying search engine uses javascript and DHTML and
1514 # should work on any modern browser. Note that when using HTML help
1515 # (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
1516 # there is already a search function so this one should typically be disabled.
1517 # For large projects the javascript based search engine can be slow, then
1518 # enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
1519 # search using the keyboard; to jump to the search box use <access key> + S
1520 # (what the <access key> is depends on the OS and browser, but it is typically
1521 # <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
1522 # key> to jump into the search results window, the results can be navigated
1523 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
1524 # the search. The filter options can be selected when the cursor is inside the
1525 # search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
1526 # to select a filter and <Enter> or <escape> to activate or cancel the filter
1527 # option.
1528 # The default value is: YES.
1529 # This tag requires that the tag GENERATE_HTML is set to YES.
1530 
1531 SEARCHENGINE = YES
1532 
1533 # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1534 # implemented using a web server instead of a web client using Javascript. There
1535 # are two flavors of web server based searching depending on the EXTERNAL_SEARCH
1536 # setting. When disabled, doxygen will generate a PHP script for searching and
1537 # an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
1538 # and searching needs to be provided by external tools. See the section
1539 # "External Indexing and Searching" for details.
1540 # The default value is: NO.
1541 # This tag requires that the tag SEARCHENGINE is set to YES.
1542 
1543 SERVER_BASED_SEARCH = NO
1544 
1545 # When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
1546 # script for searching. Instead the search results are written to an XML file
1547 # which needs to be processed by an external indexer. Doxygen will invoke an
1548 # external search engine pointed to by the SEARCHENGINE_URL option to obtain the
1549 # search results.
1550 #
1551 # Doxygen ships with an example indexer (doxyindexer) and search engine
1552 # (doxysearch.cgi) which are based on the open source search engine library
1553 # Xapian (see: http://xapian.org/).
1554 #
1555 # See the section "External Indexing and Searching" for details.
1556 # The default value is: NO.
1557 # This tag requires that the tag SEARCHENGINE is set to YES.
1558 
1559 EXTERNAL_SEARCH = NO
1560 
1561 # The SEARCHENGINE_URL should point to a search engine hosted by a web server
1562 # which will return the search results when EXTERNAL_SEARCH is enabled.
1563 #
1564 # Doxygen ships with an example indexer (doxyindexer) and search engine
1565 # (doxysearch.cgi) which are based on the open source search engine library
1566 # Xapian (see: http://xapian.org/). See the section "External Indexing and
1567 # Searching" for details.
1568 # This tag requires that the tag SEARCHENGINE is set to YES.
1569 
1570 SEARCHENGINE_URL =
1571 
1572 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
1573 # search data is written to a file for indexing by an external tool. With the
1574 # SEARCHDATA_FILE tag the name of this file can be specified.
1575 # The default file is: searchdata.xml.
1576 # This tag requires that the tag SEARCHENGINE is set to YES.
1577 
1578 SEARCHDATA_FILE = searchdata.xml
1579 
1580 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
1581 # EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
1582 # useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
1583 # projects and redirect the results back to the right project.
1584 # This tag requires that the tag SEARCHENGINE is set to YES.
1585 
1586 EXTERNAL_SEARCH_ID =
1587 
1588 # The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
1589 # projects other than the one defined by this configuration file, but that are
1590 # all added to the same external search index. Each project needs to have a
1591 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
1592 # to a relative location where the documentation can be found. The format is:
1593 # EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
1594 # This tag requires that the tag SEARCHENGINE is set to YES.
1595 
1596 EXTRA_SEARCH_MAPPINGS =
1597 
1598 #---------------------------------------------------------------------------
1599 # Configuration options related to the LaTeX output
1600 #---------------------------------------------------------------------------
1601 
1602 # If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
1603 # The default value is: YES.
1604 
1605 GENERATE_LATEX = NO
1606 
1607 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
1608 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1609 # it.
1610 # The default directory is: latex.
1611 # This tag requires that the tag GENERATE_LATEX is set to YES.
1612 
1613 LATEX_OUTPUT = latex
1614 
1615 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1616 # invoked.
1617 #
1618 # Note that when enabling USE_PDFLATEX this option is only used for generating
1619 # bitmaps for formulas in the HTML output, but not in the Makefile that is
1620 # written to the output directory.
1621 # The default file is: latex.
1622 # This tag requires that the tag GENERATE_LATEX is set to YES.
1623 
1624 LATEX_CMD_NAME = latex
1625 
1626 # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
1627 # index for LaTeX.
1628 # The default file is: makeindex.
1629 # This tag requires that the tag GENERATE_LATEX is set to YES.
1630 
1631 MAKEINDEX_CMD_NAME = makeindex
1632 
1633 # If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
1634 # documents. This may be useful for small projects and may help to save some
1635 # trees in general.
1636 # The default value is: NO.
1637 # This tag requires that the tag GENERATE_LATEX is set to YES.
1638 
1639 COMPACT_LATEX = NO
1640 
1641 # The PAPER_TYPE tag can be used to set the paper type that is used by the
1642 # printer.
1643 # Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
1644 # 14 inches) and executive (7.25 x 10.5 inches).
1645 # The default value is: a4.
1646 # This tag requires that the tag GENERATE_LATEX is set to YES.
1647 
1648 PAPER_TYPE = a4wide
1649 
1650 # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
1651 # that should be included in the LaTeX output. The package can be specified just
1652 # by its name or with the correct syntax as to be used with the LaTeX
1653 # \usepackage command. To get the times font for instance you can specify :
1654 # EXTRA_PACKAGES=times or EXTRA_PACKAGES={times}
1655 # To use the option intlimits with the amsmath package you can specify:
1656 # EXTRA_PACKAGES=[intlimits]{amsmath}
1657 # If left blank no extra packages will be included.
1658 # This tag requires that the tag GENERATE_LATEX is set to YES.
1659 
1660 EXTRA_PACKAGES =
1661 
1662 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
1663 # generated LaTeX document. The header should contain everything until the first
1664 # chapter. If it is left blank doxygen will generate a standard header. See
1665 # section "Doxygen usage" for information on how to let doxygen write the
1666 # default header to a separate file.
1667 #
1668 # Note: Only use a user-defined header if you know what you are doing! The
1669 # following commands have a special meaning inside the header: $title,
1670 # $datetime, $date, $doxygenversion, $projectname, $projectnumber,
1671 # $projectbrief, $projectlogo. Doxygen will replace $title with the empty
1672 # string, for the replacement values of the other commands the user is referred
1673 # to HTML_HEADER.
1674 # This tag requires that the tag GENERATE_LATEX is set to YES.
1675 
1676 LATEX_HEADER =
1677 
1678 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1679 # generated LaTeX document. The footer should contain everything after the last
1680 # chapter. If it is left blank doxygen will generate a standard footer. See
1681 # LATEX_HEADER for more information on how to generate a default footer and what
1682 # special commands can be used inside the footer.
1683 #
1684 # Note: Only use a user-defined footer if you know what you are doing!
1685 # This tag requires that the tag GENERATE_LATEX is set to YES.
1686 
1687 LATEX_FOOTER =
1688 
1689 # The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1690 # LaTeX style sheets that are included after the standard style sheets created
1691 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
1692 # will copy the style sheet files to the output directory.
1693 # Note: The order of the extra style sheet files is of importance (e.g. the last
1694 # style sheet in the list overrules the setting of the previous ones in the
1695 # list).
1696 # This tag requires that the tag GENERATE_LATEX is set to YES.
1697 
1698 LATEX_EXTRA_STYLESHEET =
1699 
1700 # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
1701 # other source files which should be copied to the LATEX_OUTPUT output
1702 # directory. Note that the files will be copied as-is; there are no commands or
1703 # markers available.
1704 # This tag requires that the tag GENERATE_LATEX is set to YES.
1705 
1706 LATEX_EXTRA_FILES =
1707 
1708 # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
1709 # prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
1710 # contain links (just like the HTML output) instead of page references. This
1711 # makes the output suitable for online browsing using a PDF viewer.
1712 # The default value is: YES.
1713 # This tag requires that the tag GENERATE_LATEX is set to YES.
1714 
1715 PDF_HYPERLINKS = NO
1716 
1717 # If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
1718 # the PDF file directly from the LaTeX files. Set this option to YES, to get a
1719 # higher quality PDF documentation.
1720 # The default value is: YES.
1721 # This tag requires that the tag GENERATE_LATEX is set to YES.
1722 
1723 USE_PDFLATEX = YES
1724 
1725 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
1726 # command to the generated LaTeX files. This will instruct LaTeX to keep running
1727 # if errors occur, instead of asking the user for help. This option is also used
1728 # when generating formulas in HTML.
1729 # The default value is: NO.
1730 # This tag requires that the tag GENERATE_LATEX is set to YES.
1731 
1732 LATEX_BATCHMODE = NO
1733 
1734 # If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
1735 # index chapters (such as File Index, Compound Index, etc.) in the output.
1736 # The default value is: NO.
1737 # This tag requires that the tag GENERATE_LATEX is set to YES.
1738 
1739 LATEX_HIDE_INDICES = NO
1740 
1741 # If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
1742 # code with syntax highlighting in the LaTeX output.
1743 #
1744 # Note that which sources are shown also depends on other settings such as
1745 # SOURCE_BROWSER.
1746 # The default value is: NO.
1747 # This tag requires that the tag GENERATE_LATEX is set to YES.
1748 
1749 LATEX_SOURCE_CODE = NO
1750 
1751 # The LATEX_BIB_STYLE tag can be used to specify the style to use for the
1752 # bibliography, e.g. plainnat, or ieeetr. See
1753 # http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
1754 # The default value is: plain.
1755 # This tag requires that the tag GENERATE_LATEX is set to YES.
1756 
1757 LATEX_BIB_STYLE = plain
1758 
1759 #---------------------------------------------------------------------------
1760 # Configuration options related to the RTF output
1761 #---------------------------------------------------------------------------
1762 
1763 # If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
1764 # RTF output is optimized for Word 97 and may not look too pretty with other RTF
1765 # readers/editors.
1766 # The default value is: NO.
1767 
1768 GENERATE_RTF = NO
1769 
1770 # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
1771 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1772 # it.
1773 # The default directory is: rtf.
1774 # This tag requires that the tag GENERATE_RTF is set to YES.
1775 
1776 RTF_OUTPUT = glm.rtf
1777 
1778 # If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
1779 # documents. This may be useful for small projects and may help to save some
1780 # trees in general.
1781 # The default value is: NO.
1782 # This tag requires that the tag GENERATE_RTF is set to YES.
1783 
1784 COMPACT_RTF = NO
1785 
1786 # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
1787 # contain hyperlink fields. The RTF file will contain links (just like the HTML
1788 # output) instead of page references. This makes the output suitable for online
1789 # browsing using Word or some other Word compatible readers that support those
1790 # fields.
1791 #
1792 # Note: WordPad (write) and others do not support links.
1793 # The default value is: NO.
1794 # This tag requires that the tag GENERATE_RTF is set to YES.
1795 
1796 RTF_HYPERLINKS = YES
1797 
1798 # Load stylesheet definitions from file. Syntax is similar to doxygen's config
1799 # file, i.e. a series of assignments. You only have to provide replacements,
1800 # missing definitions are set to their default value.
1801 #
1802 # See also section "Doxygen usage" for information on how to generate the
1803 # default style sheet that doxygen normally uses.
1804 # This tag requires that the tag GENERATE_RTF is set to YES.
1805 
1806 RTF_STYLESHEET_FILE =
1807 
1808 # Set optional variables used in the generation of an RTF document. Syntax is
1809 # similar to doxygen's config file. A template extensions file can be generated
1810 # using doxygen -e rtf extensionFile.
1811 # This tag requires that the tag GENERATE_RTF is set to YES.
1812 
1813 RTF_EXTENSIONS_FILE =
1814 
1815 # If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
1816 # with syntax highlighting in the RTF output.
1817 #
1818 # Note that which sources are shown also depends on other settings such as
1819 # SOURCE_BROWSER.
1820 # The default value is: NO.
1821 # This tag requires that the tag GENERATE_RTF is set to YES.
1822 
1823 RTF_SOURCE_CODE = NO
1824 
1825 #---------------------------------------------------------------------------
1826 # Configuration options related to the man page output
1827 #---------------------------------------------------------------------------
1828 
1829 # If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
1830 # classes and files.
1831 # The default value is: NO.
1832 
1833 GENERATE_MAN = NO
1834 
1835 # The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
1836 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1837 # it. A directory man3 will be created inside the directory specified by
1838 # MAN_OUTPUT.
1839 # The default directory is: man.
1840 # This tag requires that the tag GENERATE_MAN is set to YES.
1841 
1842 MAN_OUTPUT = man
1843 
1844 # The MAN_EXTENSION tag determines the extension that is added to the generated
1845 # man pages. In case the manual section does not start with a number, the number
1846 # 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
1847 # optional.
1848 # The default value is: .3.
1849 # This tag requires that the tag GENERATE_MAN is set to YES.
1850 
1851 MAN_EXTENSION = .3
1852 
1853 # The MAN_SUBDIR tag determines the name of the directory created within
1854 # MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
1855 # MAN_EXTENSION with the initial . removed.
1856 # This tag requires that the tag GENERATE_MAN is set to YES.
1857 
1858 MAN_SUBDIR =
1859 
1860 # If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
1861 # will generate one additional man file for each entity documented in the real
1862 # man page(s). These additional files only source the real man page, but without
1863 # them the man command would be unable to find the correct page.
1864 # The default value is: NO.
1865 # This tag requires that the tag GENERATE_MAN is set to YES.
1866 
1867 MAN_LINKS = NO
1868 
1869 #---------------------------------------------------------------------------
1870 # Configuration options related to the XML output
1871 #---------------------------------------------------------------------------
1872 
1873 # If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
1874 # captures the structure of the code including all documentation.
1875 # The default value is: NO.
1876 
1877 GENERATE_XML = NO
1878 
1879 # The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
1880 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1881 # it.
1882 # The default directory is: xml.
1883 # This tag requires that the tag GENERATE_XML is set to YES.
1884 
1885 XML_OUTPUT = xml
1886 
1887 # If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
1888 # listings (including syntax highlighting and cross-referencing information) to
1889 # the XML output. Note that enabling this will significantly increase the size
1890 # of the XML output.
1891 # The default value is: YES.
1892 # This tag requires that the tag GENERATE_XML is set to YES.
1893 
1894 XML_PROGRAMLISTING = YES
1895 
1896 #---------------------------------------------------------------------------
1897 # Configuration options related to the DOCBOOK output
1898 #---------------------------------------------------------------------------
1899 
1900 # If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
1901 # that can be used to generate PDF.
1902 # The default value is: NO.
1903 
1904 GENERATE_DOCBOOK = NO
1905 
1906 # The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
1907 # If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
1908 # front of it.
1909 # The default directory is: docbook.
1910 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1911 
1912 DOCBOOK_OUTPUT = docbook
1913 
1914 # If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
1915 # program listings (including syntax highlighting and cross-referencing
1916 # information) to the DOCBOOK output. Note that enabling this will significantly
1917 # increase the size of the DOCBOOK output.
1918 # The default value is: NO.
1919 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1920 
1921 DOCBOOK_PROGRAMLISTING = NO
1922 
1923 #---------------------------------------------------------------------------
1924 # Configuration options for the AutoGen Definitions output
1925 #---------------------------------------------------------------------------
1926 
1927 # If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
1928 # AutoGen Definitions (see http://autogen.sf.net) file that captures the
1929 # structure of the code including all documentation. Note that this feature is
1930 # still experimental and incomplete at the moment.
1931 # The default value is: NO.
1932 
1933 GENERATE_AUTOGEN_DEF = NO
1934 
1935 #---------------------------------------------------------------------------
1936 # Configuration options related to the Perl module output
1937 #---------------------------------------------------------------------------
1938 
1939 # If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
1940 # file that captures the structure of the code including all documentation.
1941 #
1942 # Note that this feature is still experimental and incomplete at the moment.
1943 # The default value is: NO.
1944 
1945 GENERATE_PERLMOD = NO
1946 
1947 # If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
1948 # Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
1949 # output from the Perl module output.
1950 # The default value is: NO.
1951 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1952 
1953 PERLMOD_LATEX = NO
1954 
1955 # If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
1956 # formatted so it can be parsed by a human reader. This is useful if you want to
1957 # understand what is going on. On the other hand, if this tag is set to NO, the
1958 # size of the Perl module output will be much smaller and Perl will parse it
1959 # just the same.
1960 # The default value is: YES.
1961 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1962 
1963 PERLMOD_PRETTY = YES
1964 
1965 # The names of the make variables in the generated doxyrules.make file are
1966 # prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
1967 # so different doxyrules.make files included by the same Makefile don't
1968 # overwrite each other's variables.
1969 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1970 
1971 PERLMOD_MAKEVAR_PREFIX =
1972 
1973 #---------------------------------------------------------------------------
1974 # Configuration options related to the preprocessor
1975 #---------------------------------------------------------------------------
1976 
1977 # If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
1978 # C-preprocessor directives found in the sources and include files.
1979 # The default value is: YES.
1980 
1981 ENABLE_PREPROCESSING = YES
1982 
1983 # If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
1984 # in the source code. If set to NO, only conditional compilation will be
1985 # performed. Macro expansion can be done in a controlled way by setting
1986 # EXPAND_ONLY_PREDEF to YES.
1987 # The default value is: NO.
1988 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1989 
1990 MACRO_EXPANSION = NO
1991 
1992 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
1993 # the macro expansion is limited to the macros specified with the PREDEFINED and
1994 # EXPAND_AS_DEFINED tags.
1995 # The default value is: NO.
1996 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1997 
1998 EXPAND_ONLY_PREDEF = NO
1999 
2000 # If the SEARCH_INCLUDES tag is set to YES, the include files in the
2001 # INCLUDE_PATH will be searched if a #include is found.
2002 # The default value is: YES.
2003 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2004 
2005 SEARCH_INCLUDES = YES
2006 
2007 # The INCLUDE_PATH tag can be used to specify one or more directories that
2008 # contain include files that are not input files but should be processed by the
2009 # preprocessor.
2010 # This tag requires that the tag SEARCH_INCLUDES is set to YES.
2011 
2012 INCLUDE_PATH =
2013 
2014 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
2015 # patterns (like *.h and *.hpp) to filter out the header-files in the
2016 # directories. If left blank, the patterns specified with FILE_PATTERNS will be
2017 # used.
2018 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2019 
2020 INCLUDE_FILE_PATTERNS =
2021 
2022 # The PREDEFINED tag can be used to specify one or more macro names that are
2023 # defined before the preprocessor is started (similar to the -D option of e.g.
2024 # gcc). The argument of the tag is a list of macros of the form: name or
2025 # name=definition (no spaces). If the definition and the "=" are omitted, "=1"
2026 # is assumed. To prevent a macro definition from being undefined via #undef or
2027 # recursively expanded use the := operator instead of the = operator.
2028 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2029 
2030 PREDEFINED =
2031 
2032 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
2033 # tag can be used to specify a list of macro names that should be expanded. The
2034 # macro definition that is found in the sources will be used. Use the PREDEFINED
2035 # tag if you want to use a different macro definition that overrules the
2036 # definition found in the source code.
2037 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2038 
2039 EXPAND_AS_DEFINED =
2040 
2041 # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
2042 # remove all references to function-like macros that are alone on a line, have
2043 # an all uppercase name, and do not end with a semicolon. Such function macros
2044 # are typically used for boiler-plate code, and will confuse the parser if not
2045 # removed.
2046 # The default value is: YES.
2047 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2048 
2049 SKIP_FUNCTION_MACROS = YES
2050 
2051 #---------------------------------------------------------------------------
2052 # Configuration options related to external references
2053 #---------------------------------------------------------------------------
2054 
2055 # The TAGFILES tag can be used to specify one or more tag files. For each tag
2056 # file the location of the external documentation should be added. The format of
2057 # a tag file without this location is as follows:
2058 # TAGFILES = file1 file2 ...
2059 # Adding location for the tag files is done as follows:
2060 # TAGFILES = file1=loc1 "file2 = loc2" ...
2061 # where loc1 and loc2 can be relative or absolute paths or URLs. See the
2062 # section "Linking to external documentation" for more information about the use
2063 # of tag files.
2064 # Note: Each tag file must have a unique name (where the name does NOT include
2065 # the path). If a tag file is not located in the directory in which doxygen is
2066 # run, you must also specify the path to the tagfile here.
2067 
2068 TAGFILES =
2069 
2070 # When a file name is specified after GENERATE_TAGFILE, doxygen will create a
2071 # tag file that is based on the input files it reads. See section "Linking to
2072 # external documentation" for more information about the usage of tag files.
2073 
2074 GENERATE_TAGFILE =
2075 
2076 # If the ALLEXTERNALS tag is set to YES, all external class will be listed in
2077 # the class index. If set to NO, only the inherited external classes will be
2078 # listed.
2079 # The default value is: NO.
2080 
2081 ALLEXTERNALS = NO
2082 
2083 # If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
2084 # in the modules index. If set to NO, only the current project's groups will be
2085 # listed.
2086 # The default value is: YES.
2087 
2088 EXTERNAL_GROUPS = YES
2089 
2090 # If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
2091 # the related pages index. If set to NO, only the current project's pages will
2092 # be listed.
2093 # The default value is: YES.
2094 
2095 EXTERNAL_PAGES = YES
2096 
2097 # The PERL_PATH should be the absolute path and name of the perl script
2098 # interpreter (i.e. the result of 'which perl').
2099 # The default file (with absolute path) is: /usr/bin/perl.
2100 
2101 PERL_PATH = /usr/bin/perl
2102 
2103 #---------------------------------------------------------------------------
2104 # Configuration options related to the dot tool
2105 #---------------------------------------------------------------------------
2106 
2107 # If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
2108 # (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
2109 # NO turns the diagrams off. Note that this option also works with HAVE_DOT
2110 # disabled, but it is recommended to install and use dot, since it yields more
2111 # powerful graphs.
2112 # The default value is: YES.
2113 
2114 CLASS_DIAGRAMS = YES
2115 
2116 # You can define message sequence charts within doxygen comments using the \msc
2117 # command. Doxygen will then run the mscgen tool (see:
2118 # http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
2119 # documentation. The MSCGEN_PATH tag allows you to specify the directory where
2120 # the mscgen tool resides. If left empty the tool is assumed to be found in the
2121 # default search path.
2122 
2123 MSCGEN_PATH =
2124 
2125 # You can include diagrams made with dia in doxygen documentation. Doxygen will
2126 # then run dia to produce the diagram and insert it in the documentation. The
2127 # DIA_PATH tag allows you to specify the directory where the dia binary resides.
2128 # If left empty dia is assumed to be found in the default search path.
2129 
2130 DIA_PATH =
2131 
2132 # If set to YES the inheritance and collaboration graphs will hide inheritance
2133 # and usage relations if the target is undocumented or is not a class.
2134 # The default value is: YES.
2135 
2136 HIDE_UNDOC_RELATIONS = YES
2137 
2138 # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
2139 # available from the path. This tool is part of Graphviz (see:
2140 # http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
2141 # Bell Labs. The other options in this section have no effect if this option is
2142 # set to NO
2143 # The default value is: NO.
2144 
2145 HAVE_DOT = NO
2146 
2147 # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
2148 # to run in parallel. When set to 0 doxygen will base this on the number of
2149 # processors available in the system. You can set it explicitly to a value
2150 # larger than 0 to get control over the balance between CPU load and processing
2151 # speed.
2152 # Minimum value: 0, maximum value: 32, default value: 0.
2153 # This tag requires that the tag HAVE_DOT is set to YES.
2154 
2155 DOT_NUM_THREADS = 0
2156 
2157 # When you want a differently looking font in the dot files that doxygen
2158 # generates you can specify the font name using DOT_FONTNAME. You need to make
2159 # sure dot is able to find the font, which can be done by putting it in a
2160 # standard location or by setting the DOTFONTPATH environment variable or by
2161 # setting DOT_FONTPATH to the directory containing the font.
2162 # The default value is: Helvetica.
2163 # This tag requires that the tag HAVE_DOT is set to YES.
2164 
2165 DOT_FONTNAME = Helvetica
2166 
2167 # The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
2168 # dot graphs.
2169 # Minimum value: 4, maximum value: 24, default value: 10.
2170 # This tag requires that the tag HAVE_DOT is set to YES.
2171 
2172 DOT_FONTSIZE = 10
2173 
2174 # By default doxygen will tell dot to use the default font as specified with
2175 # DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
2176 # the path where dot can find it using this tag.
2177 # This tag requires that the tag HAVE_DOT is set to YES.
2178 
2179 DOT_FONTPATH =
2180 
2181 # If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
2182 # each documented class showing the direct and indirect inheritance relations.
2183 # Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
2184 # The default value is: YES.
2185 # This tag requires that the tag HAVE_DOT is set to YES.
2186 
2187 CLASS_GRAPH = YES
2188 
2189 # If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
2190 # graph for each documented class showing the direct and indirect implementation
2191 # dependencies (inheritance, containment, and class references variables) of the
2192 # class with other documented classes.
2193 # The default value is: YES.
2194 # This tag requires that the tag HAVE_DOT is set to YES.
2195 
2196 COLLABORATION_GRAPH = YES
2197 
2198 # If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
2199 # groups, showing the direct groups dependencies.
2200 # The default value is: YES.
2201 # This tag requires that the tag HAVE_DOT is set to YES.
2202 
2203 GROUP_GRAPHS = YES
2204 
2205 # If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
2206 # collaboration diagrams in a style similar to the OMG's Unified Modeling
2207 # Language.
2208 # The default value is: NO.
2209 # This tag requires that the tag HAVE_DOT is set to YES.
2210 
2211 UML_LOOK = NO
2212 
2213 # If the UML_LOOK tag is enabled, the fields and methods are shown inside the
2214 # class node. If there are many fields or methods and many nodes the graph may
2215 # become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
2216 # number of items for each type to make the size more manageable. Set this to 0
2217 # for no limit. Note that the threshold may be exceeded by 50% before the limit
2218 # is enforced. So when you set the threshold to 10, up to 15 fields may appear,
2219 # but if the number exceeds 15, the total amount of fields shown is limited to
2220 # 10.
2221 # Minimum value: 0, maximum value: 100, default value: 10.
2222 # This tag requires that the tag HAVE_DOT is set to YES.
2223 
2224 UML_LIMIT_NUM_FIELDS = 10
2225 
2226 # If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
2227 # collaboration graphs will show the relations between templates and their
2228 # instances.
2229 # The default value is: NO.
2230 # This tag requires that the tag HAVE_DOT is set to YES.
2231 
2232 TEMPLATE_RELATIONS = NO
2233 
2234 # If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
2235 # YES then doxygen will generate a graph for each documented file showing the
2236 # direct and indirect include dependencies of the file with other documented
2237 # files.
2238 # The default value is: YES.
2239 # This tag requires that the tag HAVE_DOT is set to YES.
2240 
2241 INCLUDE_GRAPH = YES
2242 
2243 # If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
2244 # set to YES then doxygen will generate a graph for each documented file showing
2245 # the direct and indirect include dependencies of the file with other documented
2246 # files.
2247 # The default value is: YES.
2248 # This tag requires that the tag HAVE_DOT is set to YES.
2249 
2250 INCLUDED_BY_GRAPH = YES
2251 
2252 # If the CALL_GRAPH tag is set to YES then doxygen will generate a call
2253 # dependency graph for every global function or class method.
2254 #
2255 # Note that enabling this option will significantly increase the time of a run.
2256 # So in most cases it will be better to enable call graphs for selected
2257 # functions only using the \callgraph command. Disabling a call graph can be
2258 # accomplished by means of the command \hidecallgraph.
2259 # The default value is: NO.
2260 # This tag requires that the tag HAVE_DOT is set to YES.
2261 
2262 CALL_GRAPH = YES
2263 
2264 # If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
2265 # dependency graph for every global function or class method.
2266 #
2267 # Note that enabling this option will significantly increase the time of a run.
2268 # So in most cases it will be better to enable caller graphs for selected
2269 # functions only using the \callergraph command. Disabling a caller graph can be
2270 # accomplished by means of the command \hidecallergraph.
2271 # The default value is: NO.
2272 # This tag requires that the tag HAVE_DOT is set to YES.
2273 
2274 CALLER_GRAPH = YES
2275 
2276 # If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
2277 # hierarchy of all classes instead of a textual one.
2278 # The default value is: YES.
2279 # This tag requires that the tag HAVE_DOT is set to YES.
2280 
2281 GRAPHICAL_HIERARCHY = YES
2282 
2283 # If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
2284 # dependencies a directory has on other directories in a graphical way. The
2285 # dependency relations are determined by the #include relations between the
2286 # files in the directories.
2287 # The default value is: YES.
2288 # This tag requires that the tag HAVE_DOT is set to YES.
2289 
2290 DIRECTORY_GRAPH = YES
2291 
2292 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
2293 # generated by dot. For an explanation of the image formats see the section
2294 # output formats in the documentation of the dot tool (Graphviz (see:
2295 # http://www.graphviz.org/)).
2296 # Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
2297 # to make the SVG files visible in IE 9+ (other browsers do not have this
2298 # requirement).
2299 # Possible values are: png, jpg, gif, svg, png:gd, png:gd:gd, png:cairo,
2300 # png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
2301 # png:gdiplus:gdiplus.
2302 # The default value is: png.
2303 # This tag requires that the tag HAVE_DOT is set to YES.
2304 
2305 DOT_IMAGE_FORMAT = png
2306 
2307 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
2308 # enable generation of interactive SVG images that allow zooming and panning.
2309 #
2310 # Note that this requires a modern browser other than Internet Explorer. Tested
2311 # and working are Firefox, Chrome, Safari, and Opera.
2312 # Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
2313 # the SVG files visible. Older versions of IE do not have SVG support.
2314 # The default value is: NO.
2315 # This tag requires that the tag HAVE_DOT is set to YES.
2316 
2317 INTERACTIVE_SVG = NO
2318 
2319 # The DOT_PATH tag can be used to specify the path where the dot tool can be
2320 # found. If left blank, it is assumed the dot tool can be found in the path.
2321 # This tag requires that the tag HAVE_DOT is set to YES.
2322 
2323 DOT_PATH =
2324 
2325 # The DOTFILE_DIRS tag can be used to specify one or more directories that
2326 # contain dot files that are included in the documentation (see the \dotfile
2327 # command).
2328 # This tag requires that the tag HAVE_DOT is set to YES.
2329 
2330 DOTFILE_DIRS =
2331 
2332 # The MSCFILE_DIRS tag can be used to specify one or more directories that
2333 # contain msc files that are included in the documentation (see the \mscfile
2334 # command).
2335 
2336 MSCFILE_DIRS =
2337 
2338 # The DIAFILE_DIRS tag can be used to specify one or more directories that
2339 # contain dia files that are included in the documentation (see the \diafile
2340 # command).
2341 
2342 DIAFILE_DIRS =
2343 
2344 # When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
2345 # path where java can find the plantuml.jar file. If left blank, it is assumed
2346 # PlantUML is not used or called during a preprocessing step. Doxygen will
2347 # generate a warning when it encounters a \startuml command in this case and
2348 # will not generate output for the diagram.
2349 
2350 PLANTUML_JAR_PATH =
2351 
2352 # When using plantuml, the specified paths are searched for files specified by
2353 # the !include statement in a plantuml block.
2354 
2355 PLANTUML_INCLUDE_PATH =
2356 
2357 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
2358 # that will be shown in the graph. If the number of nodes in a graph becomes
2359 # larger than this value, doxygen will truncate the graph, which is visualized
2360 # by representing a node as a red box. Note that doxygen if the number of direct
2361 # children of the root node in a graph is already larger than
2362 # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
2363 # the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
2364 # Minimum value: 0, maximum value: 10000, default value: 50.
2365 # This tag requires that the tag HAVE_DOT is set to YES.
2366 
2367 DOT_GRAPH_MAX_NODES = 50
2368 
2369 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
2370 # generated by dot. A depth value of 3 means that only nodes reachable from the
2371 # root by following a path via at most 3 edges will be shown. Nodes that lay
2372 # further from the root node will be omitted. Note that setting this option to 1
2373 # or 2 may greatly reduce the computation time needed for large code bases. Also
2374 # note that the size of a graph can be further restricted by
2375 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
2376 # Minimum value: 0, maximum value: 1000, default value: 0.
2377 # This tag requires that the tag HAVE_DOT is set to YES.
2378 
2379 MAX_DOT_GRAPH_DEPTH = 1000
2380 
2381 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
2382 # background. This is disabled by default, because dot on Windows does not seem
2383 # to support this out of the box.
2384 #
2385 # Warning: Depending on the platform used, enabling this option may lead to
2386 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to
2387 # read).
2388 # The default value is: NO.
2389 # This tag requires that the tag HAVE_DOT is set to YES.
2390 
2391 DOT_TRANSPARENT = NO
2392 
2393 # Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
2394 # files in one run (i.e. multiple -o and -T options on the command line). This
2395 # makes dot run faster, but since only newer versions of dot (>1.8.10) support
2396 # this, this feature is disabled by default.
2397 # The default value is: NO.
2398 # This tag requires that the tag HAVE_DOT is set to YES.
2399 
2400 DOT_MULTI_TARGETS = NO
2401 
2402 # If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
2403 # explaining the meaning of the various boxes and arrows in the dot generated
2404 # graphs.
2405 # The default value is: YES.
2406 # This tag requires that the tag HAVE_DOT is set to YES.
2407 
2408 GENERATE_LEGEND = YES
2409 
2410 # If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
2411 # files that are used to generate the various graphs.
2412 # The default value is: YES.
2413 # This tag requires that the tag HAVE_DOT is set to YES.
2414 
2415 DOT_CLEANUP = YES
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a00662.html b/doc/api/a00662.html new file mode 100644 index 00000000..982f7dba --- /dev/null +++ b/doc/api/a00662.html @@ -0,0 +1,1605 @@ + + + + + + + +0.9.9 API documenation: Common functions + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Common functions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType abs (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > abs (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceil (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType clamp (genType x, genType minVal, genType maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > clamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > clamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 
GLM_FUNC_DECL int floatBitsToInt (float const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > floatBitsToInt (vec< L, float, Q > const &v)
 
GLM_FUNC_DECL uint floatBitsToUint (float const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > floatBitsToUint (vec< L, float, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floor (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fma (genType const &a, genType const &b, genType const &c)
 
template<typename genType >
GLM_FUNC_DECL genType fract (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fract (vec< L, T, Q > const &x)
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType frexp (genType const &x, genIType &exp)
 
GLM_FUNC_DECL float intBitsToFloat (int const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > intBitsToFloat (vec< L, int, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isinf (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isnan (vec< L, T, Q > const &x)
 
template<typename genType , typename genIType >
GLM_FUNC_DECL genType ldexp (genType const &x, genIType const &exp)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType max (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, T y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType min (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &x, T y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT mix (genTypeT x, genTypeT y, genTypeU a)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mod (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL genType modf (genType x, genType &i)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > round (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundEven (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType smoothstep (genType edge0, genType edge1, genType x)
 
template<typename genType >
GLM_FUNC_DECL genType step (genType edge, genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (T edge, vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > step (vec< L, T, Q > const &edge, vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > trunc (vec< L, T, Q > const &x)
 
GLM_FUNC_DECL float uintBitsToFloat (uint const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > uintBitsToFloat (vec< L, uint, Q > const &v)
 
+

Detailed Description

+

Provides GLSL common functions.

+

These all operate component-wise. The description is per component.

+

Include <glm/common.hpp> to use these core features.

+

Function Documentation

+ +

◆ abs() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR genType glm::abs (genType x)
+
+ +

Returns x if x >= 0; otherwise, it returns -x.

+
Template Parameters
+ + +
genTypefloating-point or signed integer; scalar or vector types.
+
+
+
See also
GLSL abs man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ abs() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::abs (vec< L, T, Q > const & x)
+
+ +

Returns x if x >= 0; otherwise, it returns -x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or signed integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL abs man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ ceil()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::ceil (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer that is greater than or equal to x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL ceil man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ clamp() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR genType glm::clamp (genType x,
genType minVal,
genType maxVal 
)
+
+ +

Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal.

+
Template Parameters
+ + +
genTypeFloating-point or integer; scalar or vector types.
+
+
+
See also
GLSL clamp man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +

Referenced by glm::saturate().

+ +
+
+ +

◆ clamp() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::clamp (vec< L, T, Q > const & x,
minVal,
maxVal 
)
+
+ +

Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL clamp man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ clamp() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::clamp (vec< L, T, Q > const & x,
vec< L, T, Q > const & minVal,
vec< L, T, Q > const & maxVal 
)
+
+ +

Returns min(max(x, minVal), maxVal) for each component in x using the floating-point values minVal and maxVal.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL clamp man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ floatBitsToInt() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL int glm::floatBitsToInt (float const & v)
+
+ +

Returns a signed integer value representing the encoding of a floating-point value.

+

The floating-point value's bit-level representation is preserved.

+
See also
GLSL floatBitsToInt man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ floatBitsToInt() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, int, Q> glm::floatBitsToInt (vec< L, float, Q > const & v)
+
+ +

Returns a signed integer value representing the encoding of a floating-point value.

+

The floatingpoint value's bit-level representation is preserved.

+
Template Parameters
+ + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
+
+
+
See also
GLSL floatBitsToInt man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ floatBitsToUint() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::floatBitsToUint (float const & v)
+
+ +

Returns a unsigned integer value representing the encoding of a floating-point value.

+

The floatingpoint value's bit-level representation is preserved.

+
See also
GLSL floatBitsToUint man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ floatBitsToUint() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, uint, Q> glm::floatBitsToUint (vec< L, float, Q > const & v)
+
+ +

Returns a unsigned integer value representing the encoding of a floating-point value.

+

The floatingpoint value's bit-level representation is preserved.

+
Template Parameters
+ + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
+
+
+
See also
GLSL floatBitsToUint man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ floor()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::floor (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer that is less then or equal to x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL floor man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ fma()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::fma (genType const & a,
genType const & b,
genType const & c 
)
+
+ +

Computes and returns a * b + c.

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
GLSL fma man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ fract() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::fract (genType x)
+
+ +

Return x - floor(x).

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
GLSL fract man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ fract() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fract (vec< L, T, Q > const & x)
+
+ +

Return x - floor(x).

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL fract man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ frexp()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::frexp (genType const & x,
genIType & exp 
)
+
+ +

Splits x into a floating-point significand in the range [0.5, 1.0) and an integral exponent of two, such that: x = significand * exp(2, exponent)

+

The significand is returned by the function and the exponent is returned in the parameter exp. For a floating-point value of zero, the significant and exponent are both zero. For a floating-point value that is an infinity or is not a number, the results are undefined.

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
GLSL frexp man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ intBitsToFloat() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL float glm::intBitsToFloat (int const & v)
+
+ +

Returns a floating-point value corresponding to a signed integer encoding of a floating-point value.

+

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

+
See also
GLSL intBitsToFloat man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ intBitsToFloat() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, float, Q> glm::intBitsToFloat (vec< L, int, Q > const & v)
+
+ +

Returns a floating-point value corresponding to a signed integer encoding of a floating-point value.

+

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

+
Template Parameters
+ + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
+
+
+
See also
GLSL intBitsToFloat man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ isinf()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, bool, Q> glm::isinf (vec< L, T, Q > const & x)
+
+ +

Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations.

+

Returns false otherwise, including for implementations with no infinity representations.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL isinf man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ isnan()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, bool, Q> glm::isnan (vec< L, T, Q > const & x)
+
+ +

Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations.

+

Returns false otherwise, including for implementations with no NaN representations.

+

/!\ When using compiler fast math, this function may fail.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL isnan man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ ldexp()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::ldexp (genType const & x,
genIType const & exp 
)
+
+ +

Builds a floating-point number from x and the corresponding integral exponent of two in exp, returning: significand * exp(2, exponent)

+

If this product is too large to be represented in the floating-point type, the result is undefined.

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
GLSL ldexp man page;
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ max() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR genType glm::max (genType x,
genType y 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+
Template Parameters
+ + +
genTypeFloating-point or integer; scalar or vector types.
+
+
+
See also
GLSL max man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ max() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::max (vec< L, T, Q > const & x,
y 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL max man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ max() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::max (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL max man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ min() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR genType glm::min (genType x,
genType y 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+
Template Parameters
+ + +
genTypeFloating-point or integer; scalar or vector types.
+
+
+
See also
GLSL min man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ min() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::min (vec< L, T, Q > const & x,
y 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL min man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ min() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::min (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+
See also
GLSL min man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ mix()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genTypeT glm::mix (genTypeT x,
genTypeT y,
genTypeU a 
)
+
+ +

If genTypeU is a floating scalar or vector: Returns x * (1.0 - a) + y * a, i.e., the linear blend of x and y using the floating-point value a.

+

The value for a is not restricted to the range [0, 1].

+

If genTypeU is a boolean scalar or vector: Selects which vector each returned component comes from. For a component of 'a' that is false, the corresponding component of 'x' is returned. For a component of 'a' that is true, the corresponding component of 'y' is returned. Components of 'x' and 'y' that are not selected are allowed to be invalid floating point values and will have no effect on the results. Thus, this provides different functionality than genType mix(genType x, genType y, genType(a)) where a is a Boolean vector.

+
See also
GLSL mix man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+
Parameters
+ + + + +
[in]xValue to interpolate.
[in]yValue to interpolate.
[in]aInterpolant.
+
+
+
Template Parameters
+ + + +
genTypeTFloating point scalar or vector.
genTypeUFloating point or boolean scalar or vector. It can't be a vector if it is the length of genTypeT.
+
+
+
#include <glm/glm.hpp>
...
float a;
bool b;
...
glm::vec4 r = glm::mix(g, h, a); // Interpolate with a floating-point scalar two vectors.
glm::vec4 s = glm::mix(g, h, b); // Returns g or h;
glm::dvec3 t = glm::mix(e, f, a); // Types of the third parameter is not required to match with the first and the second.
glm::vec4 u = glm::mix(g, h, r); // Interpolations can be perform per component with a vector for the last parameter.
+

Referenced by glm::lerp().

+ +
+
+ +

◆ mod()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::mod (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Modulus.

+

Returns x - y * floor(x / y) for each component in x using the floating point value y.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types, include glm/gtc/integer for integer scalar types support
QValue from qualifier enum
+
+
+
See also
GLSL mod man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ modf()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::modf (genType x,
genType & i 
)
+
+ +

Returns the fractional part of x and sets i to the integer part (as a whole number floating point value).

+

Both the return value and the output parameter will have the same sign as x.

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
GLSL modf man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ round()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::round (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer to x.

+

The fraction 0.5 will round in a direction chosen by the implementation, presumably the direction that is fastest. This includes the possibility that round(x) returns the same value as roundEven(x) for all values of x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL round man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ roundEven()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::roundEven (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer to x.

+

A fractional part of 0.5 will round toward the nearest even integer. (Both 3.5 and 4.5 for x will return 4.0.)

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL roundEven man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+
+New round to even technique
+ +
+
+ +

◆ sign()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::sign (vec< L, T, Q > const & x)
+
+ +

Returns 1.0 if x > 0, 0.0 if x == 0, or -1.0 if x < 0.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL sign man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ smoothstep()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::smoothstep (genType edge0,
genType edge1,
genType x 
)
+
+ +

Returns 0.0 if x <= edge0 and 1.0 if x >= edge1 and performs smooth Hermite interpolation between 0 and 1 when edge0 < x < edge1.

+

This is useful in cases where you would want a threshold function with a smooth transition. This is equivalent to: genType t; t = clamp ((x - edge0) / (edge1 - edge0), 0, 1); return t * t * (3 - 2 * t); Results are undefined if edge0 >= edge1.

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
GLSL smoothstep man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ step() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::step (genType edge,
genType x 
)
+
+ +

Returns 0.0 if x < edge, otherwise it returns 1.0 for each component of a genType.

+
See also
GLSL step man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ step() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::step (edge,
vec< L, T, Q > const & x 
)
+
+ +

Returns 0.0 if x < edge, otherwise it returns 1.0.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL step man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ step() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::step (vec< L, T, Q > const & edge,
vec< L, T, Q > const & x 
)
+
+ +

Returns 0.0 if x < edge, otherwise it returns 1.0.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL step man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ trunc()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::trunc (vec< L, T, Q > const & x)
+
+ +

Returns a value equal to the nearest integer to x whose absolute value is not larger than the absolute value of x.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL trunc man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ uintBitsToFloat() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL float glm::uintBitsToFloat (uint const & v)
+
+ +

Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value.

+

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

+
See also
GLSL uintBitsToFloat man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+ +

◆ uintBitsToFloat() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, float, Q> glm::uintBitsToFloat (vec< L, uint, Q > const & v)
+
+ +

Returns a floating-point value corresponding to a unsigned integer encoding of a floating-point value.

+

If an inf or NaN is passed in, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit-level representation is preserved.

+
Template Parameters
+ + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
QValue from qualifier enum
+
+
+
See also
GLSL uintBitsToFloat man page
+
+GLSL 4.20.8 specification, section 8.3 Common Functions
+ +
+
+
+ + + + diff --git a/doc/api/a00662_source.html b/doc/api/a00662_source.html new file mode 100644 index 00000000..19b8a858 --- /dev/null +++ b/doc/api/a00662_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: man.doxy Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
man.doxy
+
+
+
1 # Doxyfile 1.8.10
2 
3 # This file describes the settings to be used by the documentation system
4 # doxygen (www.doxygen.org) for a project.
5 #
6 # All text after a double hash (##) is considered a comment and is placed in
7 # front of the TAG it is preceding.
8 #
9 # All text after a single hash (#) is considered a comment and will be ignored.
10 # The format is:
11 # TAG = value [value, ...]
12 # For lists, items can also be appended using:
13 # TAG += value [value, ...]
14 # Values that contain spaces should be placed between quotes (\" \").
15 
16 #---------------------------------------------------------------------------
17 # Project related configuration options
18 #---------------------------------------------------------------------------
19 
20 # This tag specifies the encoding used for all characters in the config file
21 # that follow. The default is UTF-8 which is also the encoding used for all text
22 # before the first occurrence of this tag. Doxygen uses libiconv (or the iconv
23 # built into libc) for the transcoding. See http://www.gnu.org/software/libiconv
24 # for the list of possible encodings.
25 # The default value is: UTF-8.
26 
27 DOXYFILE_ENCODING = UTF-8
28 
29 # The PROJECT_NAME tag is a single word (or a sequence of words surrounded by
30 # double-quotes, unless you are using Doxywizard) that should identify the
31 # project for which the documentation is generated. This name is used in the
32 # title of most generated pages and in a few other places.
33 # The default value is: My Project.
34 
35 PROJECT_NAME = "0.9.9 API documenation"
36 
37 # The PROJECT_NUMBER tag can be used to enter a project or revision number. This
38 # could be handy for archiving the generated documentation or if some version
39 # control system is used.
40 
41 PROJECT_NUMBER =
42 
43 # Using the PROJECT_BRIEF tag one can provide an optional one line description
44 # for a project that appears at the top of each page and should give viewer a
45 # quick idea about the purpose of the project. Keep the description short.
46 
47 PROJECT_BRIEF =
48 
49 # With the PROJECT_LOGO tag one can specify a logo or an icon that is included
50 # in the documentation. The maximum height of the logo should not exceed 55
51 # pixels and the maximum width should not exceed 200 pixels. Doxygen will copy
52 # the logo to the output directory.
53 
54 PROJECT_LOGO = G:/Source/G-Truc/glm/doc/manual/logo-mini.png
55 
56 # The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute) path
57 # into which the generated documentation will be written. If a relative path is
58 # entered, it will be relative to the location where doxygen was started. If
59 # left blank the current directory will be used.
60 
61 OUTPUT_DIRECTORY = .
62 
63 # If the CREATE_SUBDIRS tag is set to YES then doxygen will create 4096 sub-
64 # directories (in 2 levels) under the output directory of each output format and
65 # will distribute the generated files over these directories. Enabling this
66 # option can be useful when feeding doxygen a huge amount of source files, where
67 # putting all generated files in the same directory would otherwise causes
68 # performance problems for the file system.
69 # The default value is: NO.
70 
71 CREATE_SUBDIRS = NO
72 
73 # If the ALLOW_UNICODE_NAMES tag is set to YES, doxygen will allow non-ASCII
74 # characters to appear in the names of generated files. If set to NO, non-ASCII
75 # characters will be escaped, for example _xE3_x81_x84 will be used for Unicode
76 # U+3044.
77 # The default value is: NO.
78 
79 ALLOW_UNICODE_NAMES = NO
80 
81 # The OUTPUT_LANGUAGE tag is used to specify the language in which all
82 # documentation generated by doxygen is written. Doxygen will use this
83 # information to generate all constant output in the proper language.
84 # Possible values are: Afrikaans, Arabic, Armenian, Brazilian, Catalan, Chinese,
85 # Chinese-Traditional, Croatian, Czech, Danish, Dutch, English (United States),
86 # Esperanto, Farsi (Persian), Finnish, French, German, Greek, Hungarian,
87 # Indonesian, Italian, Japanese, Japanese-en (Japanese with English messages),
88 # Korean, Korean-en (Korean with English messages), Latvian, Lithuanian,
89 # Macedonian, Norwegian, Persian (Farsi), Polish, Portuguese, Romanian, Russian,
90 # Serbian, Serbian-Cyrillic, Slovak, Slovene, Spanish, Swedish, Turkish,
91 # Ukrainian and Vietnamese.
92 # The default value is: English.
93 
94 OUTPUT_LANGUAGE = English
95 
96 # If the BRIEF_MEMBER_DESC tag is set to YES, doxygen will include brief member
97 # descriptions after the members that are listed in the file and class
98 # documentation (similar to Javadoc). Set to NO to disable this.
99 # The default value is: YES.
100 
101 BRIEF_MEMBER_DESC = YES
102 
103 # If the REPEAT_BRIEF tag is set to YES, doxygen will prepend the brief
104 # description of a member or function before the detailed description
105 #
106 # Note: If both HIDE_UNDOC_MEMBERS and BRIEF_MEMBER_DESC are set to NO, the
107 # brief descriptions will be completely suppressed.
108 # The default value is: YES.
109 
110 REPEAT_BRIEF = YES
111 
112 # This tag implements a quasi-intelligent brief description abbreviator that is
113 # used to form the text in various listings. Each string in this list, if found
114 # as the leading text of the brief description, will be stripped from the text
115 # and the result, after processing the whole list, is used as the annotated
116 # text. Otherwise, the brief description is used as-is. If left blank, the
117 # following values are used ($name is automatically replaced with the name of
118 # the entity):The $name class, The $name widget, The $name file, is, provides,
119 # specifies, contains, represents, a, an and the.
120 
121 ABBREVIATE_BRIEF = "The $name class " \
122  "The $name widget " \
123  "The $name file " \
124  is \
125  provides \
126  specifies \
127  contains \
128  represents \
129  a \
130  an \
131  the
132 
133 # If the ALWAYS_DETAILED_SEC and REPEAT_BRIEF tags are both set to YES then
134 # doxygen will generate a detailed section even if there is only a brief
135 # description.
136 # The default value is: NO.
137 
138 ALWAYS_DETAILED_SEC = NO
139 
140 # If the INLINE_INHERITED_MEMB tag is set to YES, doxygen will show all
141 # inherited members of a class in the documentation of that class as if those
142 # members were ordinary class members. Constructors, destructors and assignment
143 # operators of the base classes will not be shown.
144 # The default value is: NO.
145 
146 INLINE_INHERITED_MEMB = NO
147 
148 # If the FULL_PATH_NAMES tag is set to YES, doxygen will prepend the full path
149 # before files name in the file list and in the header files. If set to NO the
150 # shortest path that makes the file name unique will be used
151 # The default value is: YES.
152 
153 FULL_PATH_NAMES = NO
154 
155 # The STRIP_FROM_PATH tag can be used to strip a user-defined part of the path.
156 # Stripping is only done if one of the specified strings matches the left-hand
157 # part of the path. The tag can be used to show relative paths in the file list.
158 # If left blank the directory from which doxygen is run is used as the path to
159 # strip.
160 #
161 # Note that you can specify absolute paths here, but also relative paths, which
162 # will be relative from the directory where doxygen is started.
163 # This tag requires that the tag FULL_PATH_NAMES is set to YES.
164 
165 STRIP_FROM_PATH = "C:/Documents and Settings/Groove/ "
166 
167 # The STRIP_FROM_INC_PATH tag can be used to strip a user-defined part of the
168 # path mentioned in the documentation of a class, which tells the reader which
169 # header file to include in order to use a class. If left blank only the name of
170 # the header file containing the class definition is used. Otherwise one should
171 # specify the list of include paths that are normally passed to the compiler
172 # using the -I flag.
173 
174 STRIP_FROM_INC_PATH =
175 
176 # If the SHORT_NAMES tag is set to YES, doxygen will generate much shorter (but
177 # less readable) file names. This can be useful is your file systems doesn't
178 # support long names like on DOS, Mac, or CD-ROM.
179 # The default value is: NO.
180 
181 SHORT_NAMES = YES
182 
183 # If the JAVADOC_AUTOBRIEF tag is set to YES then doxygen will interpret the
184 # first line (until the first dot) of a Javadoc-style comment as the brief
185 # description. If set to NO, the Javadoc-style will behave just like regular Qt-
186 # style comments (thus requiring an explicit @brief command for a brief
187 # description.)
188 # The default value is: NO.
189 
190 JAVADOC_AUTOBRIEF = YES
191 
192 # If the QT_AUTOBRIEF tag is set to YES then doxygen will interpret the first
193 # line (until the first dot) of a Qt-style comment as the brief description. If
194 # set to NO, the Qt-style will behave just like regular Qt-style comments (thus
195 # requiring an explicit \brief command for a brief description.)
196 # The default value is: NO.
197 
198 QT_AUTOBRIEF = NO
199 
200 # The MULTILINE_CPP_IS_BRIEF tag can be set to YES to make doxygen treat a
201 # multi-line C++ special comment block (i.e. a block of
202 # a brief description. This used to be the default behavior. The new default is
203 # to treat a multi-line C++ comment block as a detailed description. Set this
204 # tag to YES if you prefer the old behavior instead.
205 #
206 # Note that setting this tag to YES also means that rational rose comments are
207 # not recognized any more.
208 # The default value is: NO.
209 
210 MULTILINE_CPP_IS_BRIEF = NO
211 
212 # If the INHERIT_DOCS tag is set to YES then an undocumented member inherits the
213 # documentation from any documented member that it re-implements.
214 # The default value is: YES.
215 
216 INHERIT_DOCS = YES
217 
218 # If the SEPARATE_MEMBER_PAGES tag is set to YES then doxygen will produce a new
219 # page for each member. If set to NO, the documentation of a member will be part
220 # of the file/class/namespace that contains it.
221 # The default value is: NO.
222 
223 SEPARATE_MEMBER_PAGES = NO
224 
225 # The TAB_SIZE tag can be used to set the number of spaces in a tab. Doxygen
226 # uses this value to replace tabs by spaces in code fragments.
227 # Minimum value: 1, maximum value: 16, default value: 4.
228 
229 TAB_SIZE = 8
230 
231 # This tag can be used to specify a number of aliases that act as commands in
232 # the documentation. An alias has the form:
233 # name=value
234 # For example adding
235 # "sideeffect=@par Side Effects:\n"
236 # will allow you to put the command \sideeffect (or @sideeffect) in the
237 # documentation, which will result in a user-defined paragraph with heading
238 # "Side Effects:". You can put \n's in the value part of an alias to insert
239 # newlines.
240 
241 ALIASES =
242 
243 # This tag can be used to specify a number of word-keyword mappings (TCL only).
244 # A mapping has the form "name=value". For example adding "class=itcl::class"
245 # will allow you to use the command class in the itcl::class meaning.
246 
247 TCL_SUBST =
248 
249 # Set the OPTIMIZE_OUTPUT_FOR_C tag to YES if your project consists of C sources
250 # only. Doxygen will then generate output that is more tailored for C. For
251 # instance, some of the names that are used will be different. The list of all
252 # members will be omitted, etc.
253 # The default value is: NO.
254 
255 OPTIMIZE_OUTPUT_FOR_C = NO
256 
257 # Set the OPTIMIZE_OUTPUT_JAVA tag to YES if your project consists of Java or
258 # Python sources only. Doxygen will then generate output that is more tailored
259 # for that language. For instance, namespaces will be presented as packages,
260 # qualified scopes will look different, etc.
261 # The default value is: NO.
262 
263 OPTIMIZE_OUTPUT_JAVA = NO
264 
265 # Set the OPTIMIZE_FOR_FORTRAN tag to YES if your project consists of Fortran
266 # sources. Doxygen will then generate output that is tailored for Fortran.
267 # The default value is: NO.
268 
269 OPTIMIZE_FOR_FORTRAN = NO
270 
271 # Set the OPTIMIZE_OUTPUT_VHDL tag to YES if your project consists of VHDL
272 # sources. Doxygen will then generate output that is tailored for VHDL.
273 # The default value is: NO.
274 
275 OPTIMIZE_OUTPUT_VHDL = NO
276 
277 # Doxygen selects the parser to use depending on the extension of the files it
278 # parses. With this tag you can assign which parser to use for a given
279 # extension. Doxygen has a built-in mapping, but you can override or extend it
280 # using this tag. The format is ext=language, where ext is a file extension, and
281 # language is one of the parsers supported by doxygen: IDL, Java, Javascript,
282 # C#, C, C++, D, PHP, Objective-C, Python, Fortran (fixed format Fortran:
283 # FortranFixed, free formatted Fortran: FortranFree, unknown formatted Fortran:
284 # Fortran. In the later case the parser tries to guess whether the code is fixed
285 # or free formatted code, this is the default for Fortran type files), VHDL. For
286 # instance to make doxygen treat .inc files as Fortran files (default is PHP),
287 # and .f files as C (default is Fortran), use: inc=Fortran f=C.
288 #
289 # Note: For files without extension you can use no_extension as a placeholder.
290 #
291 # Note that for custom extensions you also need to set FILE_PATTERNS otherwise
292 # the files are not read by doxygen.
293 
294 EXTENSION_MAPPING =
295 
296 # If the MARKDOWN_SUPPORT tag is enabled then doxygen pre-processes all comments
297 # according to the Markdown format, which allows for more readable
298 # documentation. See http://daringfireball.net/projects/markdown/ for details.
299 # The output of markdown processing is further processed by doxygen, so you can
300 # mix doxygen, HTML, and XML commands with Markdown formatting. Disable only in
301 # case of backward compatibilities issues.
302 # The default value is: YES.
303 
304 MARKDOWN_SUPPORT = YES
305 
306 # When enabled doxygen tries to link words that correspond to documented
307 # classes, or namespaces to their corresponding documentation. Such a link can
308 # be prevented in individual cases by putting a % sign in front of the word or
309 # globally by setting AUTOLINK_SUPPORT to NO.
310 # The default value is: YES.
311 
312 AUTOLINK_SUPPORT = YES
313 
314 # If you use STL classes (i.e. std::string, std::vector, etc.) but do not want
315 # to include (a tag file for) the STL sources as input, then you should set this
316 # tag to YES in order to let doxygen match functions declarations and
317 # definitions whose arguments contain STL classes (e.g. func(std::string);
318 # versus func(std::string) {}). This also make the inheritance and collaboration
319 # diagrams that involve STL classes more complete and accurate.
320 # The default value is: NO.
321 
322 BUILTIN_STL_SUPPORT = NO
323 
324 # If you use Microsoft's C++/CLI language, you should set this option to YES to
325 # enable parsing support.
326 # The default value is: NO.
327 
328 CPP_CLI_SUPPORT = NO
329 
330 # Set the SIP_SUPPORT tag to YES if your project consists of sip (see:
331 # http://www.riverbankcomputing.co.uk/software/sip/intro) sources only. Doxygen
332 # will parse them like normal C++ but will assume all classes use public instead
333 # of private inheritance when no explicit protection keyword is present.
334 # The default value is: NO.
335 
336 SIP_SUPPORT = NO
337 
338 # For Microsoft's IDL there are propget and propput attributes to indicate
339 # getter and setter methods for a property. Setting this option to YES will make
340 # doxygen to replace the get and set methods by a property in the documentation.
341 # This will only work if the methods are indeed getting or setting a simple
342 # type. If this is not the case, or you want to show the methods anyway, you
343 # should set this option to NO.
344 # The default value is: YES.
345 
346 IDL_PROPERTY_SUPPORT = YES
347 
348 # If member grouping is used in the documentation and the DISTRIBUTE_GROUP_DOC
349 # tag is set to YES then doxygen will reuse the documentation of the first
350 # member in the group (if any) for the other members of the group. By default
351 # all members of a group must be documented explicitly.
352 # The default value is: NO.
353 
354 DISTRIBUTE_GROUP_DOC = NO
355 
356 # If one adds a struct or class to a group and this option is enabled, then also
357 # any nested class or struct is added to the same group. By default this option
358 # is disabled and one has to add nested compounds explicitly via \ingroup.
359 # The default value is: NO.
360 
361 GROUP_NESTED_COMPOUNDS = NO
362 
363 # Set the SUBGROUPING tag to YES to allow class member groups of the same type
364 # (for instance a group of public functions) to be put as a subgroup of that
365 # type (e.g. under the Public Functions section). Set it to NO to prevent
366 # subgrouping. Alternatively, this can be done per class using the
367 # \nosubgrouping command.
368 # The default value is: YES.
369 
370 SUBGROUPING = NO
371 
372 # When the INLINE_GROUPED_CLASSES tag is set to YES, classes, structs and unions
373 # are shown inside the group in which they are included (e.g. using \ingroup)
374 # instead of on a separate page (for HTML and Man pages) or section (for LaTeX
375 # and RTF).
376 #
377 # Note that this feature does not work in combination with
378 # SEPARATE_MEMBER_PAGES.
379 # The default value is: NO.
380 
381 INLINE_GROUPED_CLASSES = NO
382 
383 # When the INLINE_SIMPLE_STRUCTS tag is set to YES, structs, classes, and unions
384 # with only public data fields or simple typedef fields will be shown inline in
385 # the documentation of the scope in which they are defined (i.e. file,
386 # namespace, or group documentation), provided this scope is documented. If set
387 # to NO, structs, classes, and unions are shown on a separate page (for HTML and
388 # Man pages) or section (for LaTeX and RTF).
389 # The default value is: NO.
390 
391 INLINE_SIMPLE_STRUCTS = NO
392 
393 # When TYPEDEF_HIDES_STRUCT tag is enabled, a typedef of a struct, union, or
394 # enum is documented as struct, union, or enum with the name of the typedef. So
395 # typedef struct TypeS {} TypeT, will appear in the documentation as a struct
396 # with name TypeT. When disabled the typedef will appear as a member of a file,
397 # namespace, or class. And the struct will be named TypeS. This can typically be
398 # useful for C code in case the coding convention dictates that all compound
399 # types are typedef'ed and only the typedef is referenced, never the tag name.
400 # The default value is: NO.
401 
402 TYPEDEF_HIDES_STRUCT = NO
403 
404 # The size of the symbol lookup cache can be set using LOOKUP_CACHE_SIZE. This
405 # cache is used to resolve symbols given their name and scope. Since this can be
406 # an expensive process and often the same symbol appears multiple times in the
407 # code, doxygen keeps a cache of pre-resolved symbols. If the cache is too small
408 # doxygen will become slower. If the cache is too large, memory is wasted. The
409 # cache size is given by this formula: 2^(16+LOOKUP_CACHE_SIZE). The valid range
410 # is 0..9, the default is 0, corresponding to a cache size of 2^16=65536
411 # symbols. At the end of a run doxygen will report the cache usage and suggest
412 # the optimal cache size from a speed point of view.
413 # Minimum value: 0, maximum value: 9, default value: 0.
414 
415 LOOKUP_CACHE_SIZE = 0
416 
417 #---------------------------------------------------------------------------
418 # Build related configuration options
419 #---------------------------------------------------------------------------
420 
421 # If the EXTRACT_ALL tag is set to YES, doxygen will assume all entities in
422 # documentation are documented, even if no documentation was available. Private
423 # class members and static file members will be hidden unless the
424 # EXTRACT_PRIVATE respectively EXTRACT_STATIC tags are set to YES.
425 # Note: This will also disable the warnings about undocumented members that are
426 # normally produced when WARNINGS is set to YES.
427 # The default value is: NO.
428 
429 EXTRACT_ALL = NO
430 
431 # If the EXTRACT_PRIVATE tag is set to YES, all private members of a class will
432 # be included in the documentation.
433 # The default value is: NO.
434 
435 EXTRACT_PRIVATE = NO
436 
437 # If the EXTRACT_PACKAGE tag is set to YES, all members with package or internal
438 # scope will be included in the documentation.
439 # The default value is: NO.
440 
441 EXTRACT_PACKAGE = NO
442 
443 # If the EXTRACT_STATIC tag is set to YES, all static members of a file will be
444 # included in the documentation.
445 # The default value is: NO.
446 
447 EXTRACT_STATIC = YES
448 
449 # If the EXTRACT_LOCAL_CLASSES tag is set to YES, classes (and structs) defined
450 # locally in source files will be included in the documentation. If set to NO,
451 # only classes defined in header files are included. Does not have any effect
452 # for Java sources.
453 # The default value is: YES.
454 
455 EXTRACT_LOCAL_CLASSES = NO
456 
457 # This flag is only useful for Objective-C code. If set to YES, local methods,
458 # which are defined in the implementation section but not in the interface are
459 # included in the documentation. If set to NO, only methods in the interface are
460 # included.
461 # The default value is: NO.
462 
463 EXTRACT_LOCAL_METHODS = NO
464 
465 # If this flag is set to YES, the members of anonymous namespaces will be
466 # extracted and appear in the documentation as a namespace called
467 # 'anonymous_namespace{file}', where file will be replaced with the base name of
468 # the file that contains the anonymous namespace. By default anonymous namespace
469 # are hidden.
470 # The default value is: NO.
471 
472 EXTRACT_ANON_NSPACES = NO
473 
474 # If the HIDE_UNDOC_MEMBERS tag is set to YES, doxygen will hide all
475 # undocumented members inside documented classes or files. If set to NO these
476 # members will be included in the various overviews, but no documentation
477 # section is generated. This option has no effect if EXTRACT_ALL is enabled.
478 # The default value is: NO.
479 
480 HIDE_UNDOC_MEMBERS = YES
481 
482 # If the HIDE_UNDOC_CLASSES tag is set to YES, doxygen will hide all
483 # undocumented classes that are normally visible in the class hierarchy. If set
484 # to NO, these classes will be included in the various overviews. This option
485 # has no effect if EXTRACT_ALL is enabled.
486 # The default value is: NO.
487 
488 HIDE_UNDOC_CLASSES = YES
489 
490 # If the HIDE_FRIEND_COMPOUNDS tag is set to YES, doxygen will hide all friend
491 # (class|struct|union) declarations. If set to NO, these declarations will be
492 # included in the documentation.
493 # The default value is: NO.
494 
495 HIDE_FRIEND_COMPOUNDS = YES
496 
497 # If the HIDE_IN_BODY_DOCS tag is set to YES, doxygen will hide any
498 # documentation blocks found inside the body of a function. If set to NO, these
499 # blocks will be appended to the function's detailed documentation block.
500 # The default value is: NO.
501 
502 HIDE_IN_BODY_DOCS = YES
503 
504 # The INTERNAL_DOCS tag determines if documentation that is typed after a
505 # \internal command is included. If the tag is set to NO then the documentation
506 # will be excluded. Set it to YES to include the internal documentation.
507 # The default value is: NO.
508 
509 INTERNAL_DOCS = NO
510 
511 # If the CASE_SENSE_NAMES tag is set to NO then doxygen will only generate file
512 # names in lower-case letters. If set to YES, upper-case letters are also
513 # allowed. This is useful if you have classes or files whose names only differ
514 # in case and if your file system supports case sensitive file names. Windows
515 # and Mac users are advised to set this option to NO.
516 # The default value is: system dependent.
517 
518 CASE_SENSE_NAMES = YES
519 
520 # If the HIDE_SCOPE_NAMES tag is set to NO then doxygen will show members with
521 # their full class and namespace scopes in the documentation. If set to YES, the
522 # scope will be hidden.
523 # The default value is: NO.
524 
525 HIDE_SCOPE_NAMES = YES
526 
527 # If the HIDE_COMPOUND_REFERENCE tag is set to NO (default) then doxygen will
528 # append additional text to a page's title, such as Class Reference. If set to
529 # YES the compound reference will be hidden.
530 # The default value is: NO.
531 
532 HIDE_COMPOUND_REFERENCE= NO
533 
534 # If the SHOW_INCLUDE_FILES tag is set to YES then doxygen will put a list of
535 # the files that are included by a file in the documentation of that file.
536 # The default value is: YES.
537 
538 SHOW_INCLUDE_FILES = NO
539 
540 # If the SHOW_GROUPED_MEMB_INC tag is set to YES then Doxygen will add for each
541 # grouped member an include statement to the documentation, telling the reader
542 # which file to include in order to use the member.
543 # The default value is: NO.
544 
545 SHOW_GROUPED_MEMB_INC = NO
546 
547 # If the FORCE_LOCAL_INCLUDES tag is set to YES then doxygen will list include
548 # files with double quotes in the documentation rather than with sharp brackets.
549 # The default value is: NO.
550 
551 FORCE_LOCAL_INCLUDES = NO
552 
553 # If the INLINE_INFO tag is set to YES then a tag [inline] is inserted in the
554 # documentation for inline members.
555 # The default value is: YES.
556 
557 INLINE_INFO = NO
558 
559 # If the SORT_MEMBER_DOCS tag is set to YES then doxygen will sort the
560 # (detailed) documentation of file and class members alphabetically by member
561 # name. If set to NO, the members will appear in declaration order.
562 # The default value is: YES.
563 
564 SORT_MEMBER_DOCS = YES
565 
566 # If the SORT_BRIEF_DOCS tag is set to YES then doxygen will sort the brief
567 # descriptions of file, namespace and class members alphabetically by member
568 # name. If set to NO, the members will appear in declaration order. Note that
569 # this will also influence the order of the classes in the class list.
570 # The default value is: NO.
571 
572 SORT_BRIEF_DOCS = YES
573 
574 # If the SORT_MEMBERS_CTORS_1ST tag is set to YES then doxygen will sort the
575 # (brief and detailed) documentation of class members so that constructors and
576 # destructors are listed first. If set to NO the constructors will appear in the
577 # respective orders defined by SORT_BRIEF_DOCS and SORT_MEMBER_DOCS.
578 # Note: If SORT_BRIEF_DOCS is set to NO this option is ignored for sorting brief
579 # member documentation.
580 # Note: If SORT_MEMBER_DOCS is set to NO this option is ignored for sorting
581 # detailed member documentation.
582 # The default value is: NO.
583 
584 SORT_MEMBERS_CTORS_1ST = NO
585 
586 # If the SORT_GROUP_NAMES tag is set to YES then doxygen will sort the hierarchy
587 # of group names into alphabetical order. If set to NO the group names will
588 # appear in their defined order.
589 # The default value is: NO.
590 
591 SORT_GROUP_NAMES = NO
592 
593 # If the SORT_BY_SCOPE_NAME tag is set to YES, the class list will be sorted by
594 # fully-qualified names, including namespaces. If set to NO, the class list will
595 # be sorted only by class name, not including the namespace part.
596 # Note: This option is not very useful if HIDE_SCOPE_NAMES is set to YES.
597 # Note: This option applies only to the class list, not to the alphabetical
598 # list.
599 # The default value is: NO.
600 
601 SORT_BY_SCOPE_NAME = YES
602 
603 # If the STRICT_PROTO_MATCHING option is enabled and doxygen fails to do proper
604 # type resolution of all parameters of a function it will reject a match between
605 # the prototype and the implementation of a member function even if there is
606 # only one candidate or it is obvious which candidate to choose by doing a
607 # simple string match. By disabling STRICT_PROTO_MATCHING doxygen will still
608 # accept a match between prototype and implementation in such cases.
609 # The default value is: NO.
610 
611 STRICT_PROTO_MATCHING = NO
612 
613 # The GENERATE_TODOLIST tag can be used to enable (YES) or disable (NO) the todo
614 # list. This list is created by putting \todo commands in the documentation.
615 # The default value is: YES.
616 
617 GENERATE_TODOLIST = YES
618 
619 # The GENERATE_TESTLIST tag can be used to enable (YES) or disable (NO) the test
620 # list. This list is created by putting \test commands in the documentation.
621 # The default value is: YES.
622 
623 GENERATE_TESTLIST = YES
624 
625 # The GENERATE_BUGLIST tag can be used to enable (YES) or disable (NO) the bug
626 # list. This list is created by putting \bug commands in the documentation.
627 # The default value is: YES.
628 
629 GENERATE_BUGLIST = YES
630 
631 # The GENERATE_DEPRECATEDLIST tag can be used to enable (YES) or disable (NO)
632 # the deprecated list. This list is created by putting \deprecated commands in
633 # the documentation.
634 # The default value is: YES.
635 
636 GENERATE_DEPRECATEDLIST= YES
637 
638 # The ENABLED_SECTIONS tag can be used to enable conditional documentation
639 # sections, marked by \if <section_label> ... \endif and \cond <section_label>
640 # ... \endcond blocks.
641 
642 ENABLED_SECTIONS =
643 
644 # The MAX_INITIALIZER_LINES tag determines the maximum number of lines that the
645 # initial value of a variable or macro / define can have for it to appear in the
646 # documentation. If the initializer consists of more lines than specified here
647 # it will be hidden. Use a value of 0 to hide initializers completely. The
648 # appearance of the value of individual variables and macros / defines can be
649 # controlled using \showinitializer or \hideinitializer command in the
650 # documentation regardless of this setting.
651 # Minimum value: 0, maximum value: 10000, default value: 30.
652 
653 MAX_INITIALIZER_LINES = 30
654 
655 # Set the SHOW_USED_FILES tag to NO to disable the list of files generated at
656 # the bottom of the documentation of classes and structs. If set to YES, the
657 # list will mention the files that were used to generate the documentation.
658 # The default value is: YES.
659 
660 SHOW_USED_FILES = NO
661 
662 # Set the SHOW_FILES tag to NO to disable the generation of the Files page. This
663 # will remove the Files entry from the Quick Index and from the Folder Tree View
664 # (if specified).
665 # The default value is: YES.
666 
667 SHOW_FILES = YES
668 
669 # Set the SHOW_NAMESPACES tag to NO to disable the generation of the Namespaces
670 # page. This will remove the Namespaces entry from the Quick Index and from the
671 # Folder Tree View (if specified).
672 # The default value is: YES.
673 
674 SHOW_NAMESPACES = YES
675 
676 # The FILE_VERSION_FILTER tag can be used to specify a program or script that
677 # doxygen should invoke to get the current version for each file (typically from
678 # the version control system). Doxygen will invoke the program by executing (via
679 # popen()) the command command input-file, where command is the value of the
680 # FILE_VERSION_FILTER tag, and input-file is the name of an input file provided
681 # by doxygen. Whatever the program writes to standard output is used as the file
682 # version. For an example see the documentation.
683 
684 FILE_VERSION_FILTER =
685 
686 # The LAYOUT_FILE tag can be used to specify a layout file which will be parsed
687 # by doxygen. The layout file controls the global structure of the generated
688 # output files in an output format independent way. To create the layout file
689 # that represents doxygen's defaults, run doxygen with the -l option. You can
690 # optionally specify a file name after the option, if omitted DoxygenLayout.xml
691 # will be used as the name of the layout file.
692 #
693 # Note that if you run doxygen from a directory containing a file called
694 # DoxygenLayout.xml, doxygen will parse it automatically even if the LAYOUT_FILE
695 # tag is left empty.
696 
697 LAYOUT_FILE =
698 
699 # The CITE_BIB_FILES tag can be used to specify one or more bib files containing
700 # the reference definitions. This must be a list of .bib files. The .bib
701 # extension is automatically appended if omitted. This requires the bibtex tool
702 # to be installed. See also http://en.wikipedia.org/wiki/BibTeX for more info.
703 # For LaTeX the style of the bibliography can be controlled using
704 # LATEX_BIB_STYLE. To use this feature you need bibtex and perl available in the
705 # search path. See also \cite for info how to create references.
706 
707 CITE_BIB_FILES =
708 
709 #---------------------------------------------------------------------------
710 # Configuration options related to warning and progress messages
711 #---------------------------------------------------------------------------
712 
713 # The QUIET tag can be used to turn on/off the messages that are generated to
714 # standard output by doxygen. If QUIET is set to YES this implies that the
715 # messages are off.
716 # The default value is: NO.
717 
718 QUIET = NO
719 
720 # The WARNINGS tag can be used to turn on/off the warning messages that are
721 # generated to standard error (stderr) by doxygen. If WARNINGS is set to YES
722 # this implies that the warnings are on.
723 #
724 # Tip: Turn warnings on while writing the documentation.
725 # The default value is: YES.
726 
727 WARNINGS = YES
728 
729 # If the WARN_IF_UNDOCUMENTED tag is set to YES then doxygen will generate
730 # warnings for undocumented members. If EXTRACT_ALL is set to YES then this flag
731 # will automatically be disabled.
732 # The default value is: YES.
733 
734 WARN_IF_UNDOCUMENTED = YES
735 
736 # If the WARN_IF_DOC_ERROR tag is set to YES, doxygen will generate warnings for
737 # potential errors in the documentation, such as not documenting some parameters
738 # in a documented function, or documenting parameters that don't exist or using
739 # markup commands wrongly.
740 # The default value is: YES.
741 
742 WARN_IF_DOC_ERROR = YES
743 
744 # This WARN_NO_PARAMDOC option can be enabled to get warnings for functions that
745 # are documented, but have no documentation for their parameters or return
746 # value. If set to NO, doxygen will only warn about wrong or incomplete
747 # parameter documentation, but not about the absence of documentation.
748 # The default value is: NO.
749 
750 WARN_NO_PARAMDOC = NO
751 
752 # The WARN_FORMAT tag determines the format of the warning messages that doxygen
753 # can produce. The string should contain the $file, $line, and $text tags, which
754 # will be replaced by the file and line number from which the warning originated
755 # and the warning text. Optionally the format may contain $version, which will
756 # be replaced by the version of the file (if it could be obtained via
757 # FILE_VERSION_FILTER)
758 # The default value is: $file:$line: $text.
759 
760 WARN_FORMAT = "$file:$line: $text"
761 
762 # The WARN_LOGFILE tag can be used to specify a file to which warning and error
763 # messages should be written. If left blank the output is written to standard
764 # error (stderr).
765 
766 WARN_LOGFILE =
767 
768 #---------------------------------------------------------------------------
769 # Configuration options related to the input files
770 #---------------------------------------------------------------------------
771 
772 # The INPUT tag is used to specify the files and/or directories that contain
773 # documented source files. You may enter file names like myfile.cpp or
774 # directories like /usr/src/myproject. Separate the files or directories with
775 # spaces. See also FILE_PATTERNS and EXTENSION_MAPPING
776 # Note: If this tag is empty the current directory is searched.
777 
778 INPUT = ../glm \
779  .
780 
781 # This tag can be used to specify the character encoding of the source files
782 # that doxygen parses. Internally doxygen uses the UTF-8 encoding. Doxygen uses
783 # libiconv (or the iconv built into libc) for the transcoding. See the libiconv
784 # documentation (see: http://www.gnu.org/software/libiconv) for the list of
785 # possible encodings.
786 # The default value is: UTF-8.
787 
788 INPUT_ENCODING = UTF-8
789 
790 # If the value of the INPUT tag contains directories, you can use the
791 # FILE_PATTERNS tag to specify one or more wildcard patterns (like *.cpp and
792 # *.h) to filter out the source-files in the directories.
793 #
794 # Note that for custom extensions or not directly supported extensions you also
795 # need to set EXTENSION_MAPPING for the extension otherwise the files are not
796 # read by doxygen.
797 #
798 # If left blank the following patterns are tested:*.c, *.cc, *.cxx, *.cpp,
799 # *.c++, *.java, *.ii, *.ixx, *.ipp, *.i++, *.inl, *.idl, *.ddl, *.odl, *.h,
800 # *.hh, *.hxx, *.hpp, *.h++, *.cs, *.d, *.php, *.php4, *.php5, *.phtml, *.inc,
801 # *.m, *.markdown, *.md, *.mm, *.dox, *.py, *.f90, *.f, *.for, *.tcl, *.vhd,
802 # *.vhdl, *.ucf, *.qsf, *.as and *.js.
803 
804 FILE_PATTERNS = *.hpp \
805  *.doxy
806 
807 # The RECURSIVE tag can be used to specify whether or not subdirectories should
808 # be searched for input files as well.
809 # The default value is: NO.
810 
811 RECURSIVE = YES
812 
813 # The EXCLUDE tag can be used to specify files and/or directories that should be
814 # excluded from the INPUT source files. This way you can easily exclude a
815 # subdirectory from a directory tree whose root is specified with the INPUT tag.
816 #
817 # Note that relative paths are relative to the directory from which doxygen is
818 # run.
819 
820 EXCLUDE =
821 
822 # The EXCLUDE_SYMLINKS tag can be used to select whether or not files or
823 # directories that are symbolic links (a Unix file system feature) are excluded
824 # from the input.
825 # The default value is: NO.
826 
827 EXCLUDE_SYMLINKS = NO
828 
829 # If the value of the INPUT tag contains directories, you can use the
830 # EXCLUDE_PATTERNS tag to specify one or more wildcard patterns to exclude
831 # certain files from those directories.
832 #
833 # Note that the wildcards are matched against the file with absolute path, so to
834 # exclude all test directories for example use the pattern */test/*
835 
836 EXCLUDE_PATTERNS =
837 
838 # The EXCLUDE_SYMBOLS tag can be used to specify one or more symbol names
839 # (namespaces, classes, functions, etc.) that should be excluded from the
840 # output. The symbol name can be a fully qualified name, a word, or if the
841 # wildcard * is used, a substring. Examples: ANamespace, AClass,
842 # AClass::ANamespace, ANamespace::*Test
843 #
844 # Note that the wildcards are matched against the file with absolute path, so to
845 # exclude all test directories use the pattern */test/*
846 
847 EXCLUDE_SYMBOLS =
848 
849 # The EXAMPLE_PATH tag can be used to specify one or more files or directories
850 # that contain example code fragments that are included (see the \include
851 # command).
852 
853 EXAMPLE_PATH =
854 
855 # If the value of the EXAMPLE_PATH tag contains directories, you can use the
856 # EXAMPLE_PATTERNS tag to specify one or more wildcard pattern (like *.cpp and
857 # *.h) to filter out the source-files in the directories. If left blank all
858 # files are included.
859 
860 EXAMPLE_PATTERNS = *
861 
862 # If the EXAMPLE_RECURSIVE tag is set to YES then subdirectories will be
863 # searched for input files to be used with the \include or \dontinclude commands
864 # irrespective of the value of the RECURSIVE tag.
865 # The default value is: NO.
866 
867 EXAMPLE_RECURSIVE = NO
868 
869 # The IMAGE_PATH tag can be used to specify one or more files or directories
870 # that contain images that are to be included in the documentation (see the
871 # \image command).
872 
873 IMAGE_PATH =
874 
875 # The INPUT_FILTER tag can be used to specify a program that doxygen should
876 # invoke to filter for each input file. Doxygen will invoke the filter program
877 # by executing (via popen()) the command:
878 #
879 # <filter> <input-file>
880 #
881 # where <filter> is the value of the INPUT_FILTER tag, and <input-file> is the
882 # name of an input file. Doxygen will then use the output that the filter
883 # program writes to standard output. If FILTER_PATTERNS is specified, this tag
884 # will be ignored.
885 #
886 # Note that the filter must not add or remove lines; it is applied before the
887 # code is scanned, but not when the output code is generated. If lines are added
888 # or removed, the anchors will not be placed correctly.
889 
890 INPUT_FILTER =
891 
892 # The FILTER_PATTERNS tag can be used to specify filters on a per file pattern
893 # basis. Doxygen will compare the file name with each pattern and apply the
894 # filter if there is a match. The filters are a list of the form: pattern=filter
895 # (like *.cpp=my_cpp_filter). See INPUT_FILTER for further information on how
896 # filters are used. If the FILTER_PATTERNS tag is empty or if none of the
897 # patterns match the file name, INPUT_FILTER is applied.
898 
899 FILTER_PATTERNS =
900 
901 # If the FILTER_SOURCE_FILES tag is set to YES, the input filter (if set using
902 # INPUT_FILTER) will also be used to filter the input files that are used for
903 # producing the source files to browse (i.e. when SOURCE_BROWSER is set to YES).
904 # The default value is: NO.
905 
906 FILTER_SOURCE_FILES = NO
907 
908 # The FILTER_SOURCE_PATTERNS tag can be used to specify source filters per file
909 # pattern. A pattern will override the setting for FILTER_PATTERN (if any) and
910 # it is also possible to disable source filtering for a specific pattern using
911 # *.ext= (so without naming a filter).
912 # This tag requires that the tag FILTER_SOURCE_FILES is set to YES.
913 
914 FILTER_SOURCE_PATTERNS =
915 
916 # If the USE_MDFILE_AS_MAINPAGE tag refers to the name of a markdown file that
917 # is part of the input, its contents will be placed on the main page
918 # (index.html). This can be useful if you have a project on for instance GitHub
919 # and want to reuse the introduction page also for the doxygen output.
920 
921 USE_MDFILE_AS_MAINPAGE =
922 
923 #---------------------------------------------------------------------------
924 # Configuration options related to source browsing
925 #---------------------------------------------------------------------------
926 
927 # If the SOURCE_BROWSER tag is set to YES then a list of source files will be
928 # generated. Documented entities will be cross-referenced with these sources.
929 #
930 # Note: To get rid of all source code in the generated output, make sure that
931 # also VERBATIM_HEADERS is set to NO.
932 # The default value is: NO.
933 
934 SOURCE_BROWSER = YES
935 
936 # Setting the INLINE_SOURCES tag to YES will include the body of functions,
937 # classes and enums directly into the documentation.
938 # The default value is: NO.
939 
940 INLINE_SOURCES = NO
941 
942 # Setting the STRIP_CODE_COMMENTS tag to YES will instruct doxygen to hide any
943 # special comment blocks from generated source code fragments. Normal C, C++ and
944 # Fortran comments will always remain visible.
945 # The default value is: YES.
946 
947 STRIP_CODE_COMMENTS = YES
948 
949 # If the REFERENCED_BY_RELATION tag is set to YES then for each documented
950 # function all documented functions referencing it will be listed.
951 # The default value is: NO.
952 
953 REFERENCED_BY_RELATION = YES
954 
955 # If the REFERENCES_RELATION tag is set to YES then for each documented function
956 # all documented entities called/used by that function will be listed.
957 # The default value is: NO.
958 
959 REFERENCES_RELATION = YES
960 
961 # If the REFERENCES_LINK_SOURCE tag is set to YES and SOURCE_BROWSER tag is set
962 # to YES then the hyperlinks from functions in REFERENCES_RELATION and
963 # REFERENCED_BY_RELATION lists will link to the source code. Otherwise they will
964 # link to the documentation.
965 # The default value is: YES.
966 
967 REFERENCES_LINK_SOURCE = YES
968 
969 # If SOURCE_TOOLTIPS is enabled (the default) then hovering a hyperlink in the
970 # source code will show a tooltip with additional information such as prototype,
971 # brief description and links to the definition and documentation. Since this
972 # will make the HTML file larger and loading of large files a bit slower, you
973 # can opt to disable this feature.
974 # The default value is: YES.
975 # This tag requires that the tag SOURCE_BROWSER is set to YES.
976 
977 SOURCE_TOOLTIPS = YES
978 
979 # If the USE_HTAGS tag is set to YES then the references to source code will
980 # point to the HTML generated by the htags(1) tool instead of doxygen built-in
981 # source browser. The htags tool is part of GNU's global source tagging system
982 # (see http://www.gnu.org/software/global/global.html). You will need version
983 # 4.8.6 or higher.
984 #
985 # To use it do the following:
986 # - Install the latest version of global
987 # - Enable SOURCE_BROWSER and USE_HTAGS in the config file
988 # - Make sure the INPUT points to the root of the source tree
989 # - Run doxygen as normal
990 #
991 # Doxygen will invoke htags (and that will in turn invoke gtags), so these
992 # tools must be available from the command line (i.e. in the search path).
993 #
994 # The result: instead of the source browser generated by doxygen, the links to
995 # source code will now point to the output of htags.
996 # The default value is: NO.
997 # This tag requires that the tag SOURCE_BROWSER is set to YES.
998 
999 USE_HTAGS = NO
1000 
1001 # If the VERBATIM_HEADERS tag is set the YES then doxygen will generate a
1002 # verbatim copy of the header file for each class for which an include is
1003 # specified. Set to NO to disable this.
1004 # See also: Section \class.
1005 # The default value is: YES.
1006 
1007 VERBATIM_HEADERS = YES
1008 
1009 # If the CLANG_ASSISTED_PARSING tag is set to YES then doxygen will use the
1010 # clang parser (see: http://clang.llvm.org/) for more accurate parsing at the
1011 # cost of reduced performance. This can be particularly helpful with template
1012 # rich C++ code for which doxygen's built-in parser lacks the necessary type
1013 # information.
1014 # Note: The availability of this option depends on whether or not doxygen was
1015 # compiled with the --with-libclang option.
1016 # The default value is: NO.
1017 
1018 CLANG_ASSISTED_PARSING = NO
1019 
1020 # If clang assisted parsing is enabled you can provide the compiler with command
1021 # line options that you would normally use when invoking the compiler. Note that
1022 # the include paths will already be set by doxygen for the files and directories
1023 # specified with INPUT and INCLUDE_PATH.
1024 # This tag requires that the tag CLANG_ASSISTED_PARSING is set to YES.
1025 
1026 CLANG_OPTIONS =
1027 
1028 #---------------------------------------------------------------------------
1029 # Configuration options related to the alphabetical class index
1030 #---------------------------------------------------------------------------
1031 
1032 # If the ALPHABETICAL_INDEX tag is set to YES, an alphabetical index of all
1033 # compounds will be generated. Enable this if the project contains a lot of
1034 # classes, structs, unions or interfaces.
1035 # The default value is: YES.
1036 
1037 ALPHABETICAL_INDEX = NO
1038 
1039 # The COLS_IN_ALPHA_INDEX tag can be used to specify the number of columns in
1040 # which the alphabetical index list will be split.
1041 # Minimum value: 1, maximum value: 20, default value: 5.
1042 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1043 
1044 COLS_IN_ALPHA_INDEX = 5
1045 
1046 # In case all classes in a project start with a common prefix, all classes will
1047 # be put under the same header in the alphabetical index. The IGNORE_PREFIX tag
1048 # can be used to specify a prefix (or a list of prefixes) that should be ignored
1049 # while generating the index headers.
1050 # This tag requires that the tag ALPHABETICAL_INDEX is set to YES.
1051 
1052 IGNORE_PREFIX =
1053 
1054 #---------------------------------------------------------------------------
1055 # Configuration options related to the HTML output
1056 #---------------------------------------------------------------------------
1057 
1058 # If the GENERATE_HTML tag is set to YES, doxygen will generate HTML output
1059 # The default value is: YES.
1060 
1061 GENERATE_HTML = YES
1062 
1063 # The HTML_OUTPUT tag is used to specify where the HTML docs will be put. If a
1064 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1065 # it.
1066 # The default directory is: html.
1067 # This tag requires that the tag GENERATE_HTML is set to YES.
1068 
1069 HTML_OUTPUT = html
1070 
1071 # The HTML_FILE_EXTENSION tag can be used to specify the file extension for each
1072 # generated HTML page (for example: .htm, .php, .asp).
1073 # The default value is: .html.
1074 # This tag requires that the tag GENERATE_HTML is set to YES.
1075 
1076 HTML_FILE_EXTENSION = .html
1077 
1078 # The HTML_HEADER tag can be used to specify a user-defined HTML header file for
1079 # each generated HTML page. If the tag is left blank doxygen will generate a
1080 # standard header.
1081 #
1082 # To get valid HTML the header file that includes any scripts and style sheets
1083 # that doxygen needs, which is dependent on the configuration options used (e.g.
1084 # the setting GENERATE_TREEVIEW). It is highly recommended to start with a
1085 # default header using
1086 # doxygen -w html new_header.html new_footer.html new_stylesheet.css
1087 # YourConfigFile
1088 # and then modify the file new_header.html. See also section "Doxygen usage"
1089 # for information on how to generate the default header that doxygen normally
1090 # uses.
1091 # Note: The header is subject to change so you typically have to regenerate the
1092 # default header when upgrading to a newer version of doxygen. For a description
1093 # of the possible markers and block names see the documentation.
1094 # This tag requires that the tag GENERATE_HTML is set to YES.
1095 
1096 HTML_HEADER =
1097 
1098 # The HTML_FOOTER tag can be used to specify a user-defined HTML footer for each
1099 # generated HTML page. If the tag is left blank doxygen will generate a standard
1100 # footer. See HTML_HEADER for more information on how to generate a default
1101 # footer and what special commands can be used inside the footer. See also
1102 # section "Doxygen usage" for information on how to generate the default footer
1103 # that doxygen normally uses.
1104 # This tag requires that the tag GENERATE_HTML is set to YES.
1105 
1106 HTML_FOOTER =
1107 
1108 # The HTML_STYLESHEET tag can be used to specify a user-defined cascading style
1109 # sheet that is used by each HTML page. It can be used to fine-tune the look of
1110 # the HTML output. If left blank doxygen will generate a default style sheet.
1111 # See also section "Doxygen usage" for information on how to generate the style
1112 # sheet that doxygen normally uses.
1113 # Note: It is recommended to use HTML_EXTRA_STYLESHEET instead of this tag, as
1114 # it is more robust and this tag (HTML_STYLESHEET) will in the future become
1115 # obsolete.
1116 # This tag requires that the tag GENERATE_HTML is set to YES.
1117 
1118 HTML_STYLESHEET =
1119 
1120 # The HTML_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1121 # cascading style sheets that are included after the standard style sheets
1122 # created by doxygen. Using this option one can overrule certain style aspects.
1123 # This is preferred over using HTML_STYLESHEET since it does not replace the
1124 # standard style sheet and is therefore more robust against future updates.
1125 # Doxygen will copy the style sheet files to the output directory.
1126 # Note: The order of the extra style sheet files is of importance (e.g. the last
1127 # style sheet in the list overrules the setting of the previous ones in the
1128 # list). For an example see the documentation.
1129 # This tag requires that the tag GENERATE_HTML is set to YES.
1130 
1131 HTML_EXTRA_STYLESHEET =
1132 
1133 # The HTML_EXTRA_FILES tag can be used to specify one or more extra images or
1134 # other source files which should be copied to the HTML output directory. Note
1135 # that these files will be copied to the base HTML output directory. Use the
1136 # $relpath^ marker in the HTML_HEADER and/or HTML_FOOTER files to load these
1137 # files. In the HTML_STYLESHEET file, use the file name only. Also note that the
1138 # files will be copied as-is; there are no commands or markers available.
1139 # This tag requires that the tag GENERATE_HTML is set to YES.
1140 
1141 HTML_EXTRA_FILES =
1142 
1143 # The HTML_COLORSTYLE_HUE tag controls the color of the HTML output. Doxygen
1144 # will adjust the colors in the style sheet and background images according to
1145 # this color. Hue is specified as an angle on a colorwheel, see
1146 # http://en.wikipedia.org/wiki/Hue for more information. For instance the value
1147 # 0 represents red, 60 is yellow, 120 is green, 180 is cyan, 240 is blue, 300
1148 # purple, and 360 is red again.
1149 # Minimum value: 0, maximum value: 359, default value: 220.
1150 # This tag requires that the tag GENERATE_HTML is set to YES.
1151 
1152 HTML_COLORSTYLE_HUE = 220
1153 
1154 # The HTML_COLORSTYLE_SAT tag controls the purity (or saturation) of the colors
1155 # in the HTML output. For a value of 0 the output will use grayscales only. A
1156 # value of 255 will produce the most vivid colors.
1157 # Minimum value: 0, maximum value: 255, default value: 100.
1158 # This tag requires that the tag GENERATE_HTML is set to YES.
1159 
1160 HTML_COLORSTYLE_SAT = 100
1161 
1162 # The HTML_COLORSTYLE_GAMMA tag controls the gamma correction applied to the
1163 # luminance component of the colors in the HTML output. Values below 100
1164 # gradually make the output lighter, whereas values above 100 make the output
1165 # darker. The value divided by 100 is the actual gamma applied, so 80 represents
1166 # a gamma of 0.8, The value 220 represents a gamma of 2.2, and 100 does not
1167 # change the gamma.
1168 # Minimum value: 40, maximum value: 240, default value: 80.
1169 # This tag requires that the tag GENERATE_HTML is set to YES.
1170 
1171 HTML_COLORSTYLE_GAMMA = 80
1172 
1173 # If the HTML_TIMESTAMP tag is set to YES then the footer of each generated HTML
1174 # page will contain the date and time when the page was generated. Setting this
1175 # to YES can help to show when doxygen was last run and thus if the
1176 # documentation is up to date.
1177 # The default value is: NO.
1178 # This tag requires that the tag GENERATE_HTML is set to YES.
1179 
1180 HTML_TIMESTAMP = NO
1181 
1182 # If the HTML_DYNAMIC_SECTIONS tag is set to YES then the generated HTML
1183 # documentation will contain sections that can be hidden and shown after the
1184 # page has loaded.
1185 # The default value is: NO.
1186 # This tag requires that the tag GENERATE_HTML is set to YES.
1187 
1188 HTML_DYNAMIC_SECTIONS = NO
1189 
1190 # With HTML_INDEX_NUM_ENTRIES one can control the preferred number of entries
1191 # shown in the various tree structured indices initially; the user can expand
1192 # and collapse entries dynamically later on. Doxygen will expand the tree to
1193 # such a level that at most the specified number of entries are visible (unless
1194 # a fully collapsed tree already exceeds this amount). So setting the number of
1195 # entries 1 will produce a full collapsed tree by default. 0 is a special value
1196 # representing an infinite number of entries and will result in a full expanded
1197 # tree by default.
1198 # Minimum value: 0, maximum value: 9999, default value: 100.
1199 # This tag requires that the tag GENERATE_HTML is set to YES.
1200 
1201 HTML_INDEX_NUM_ENTRIES = 100
1202 
1203 # If the GENERATE_DOCSET tag is set to YES, additional index files will be
1204 # generated that can be used as input for Apple's Xcode 3 integrated development
1205 # environment (see: http://developer.apple.com/tools/xcode/), introduced with
1206 # OSX 10.5 (Leopard). To create a documentation set, doxygen will generate a
1207 # Makefile in the HTML output directory. Running make will produce the docset in
1208 # that directory and running make install will install the docset in
1209 # ~/Library/Developer/Shared/Documentation/DocSets so that Xcode will find it at
1210 # startup. See http://developer.apple.com/tools/creatingdocsetswithdoxygen.html
1211 # for more information.
1212 # The default value is: NO.
1213 # This tag requires that the tag GENERATE_HTML is set to YES.
1214 
1215 GENERATE_DOCSET = NO
1216 
1217 # This tag determines the name of the docset feed. A documentation feed provides
1218 # an umbrella under which multiple documentation sets from a single provider
1219 # (such as a company or product suite) can be grouped.
1220 # The default value is: Doxygen generated docs.
1221 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1222 
1223 DOCSET_FEEDNAME = "Doxygen generated docs"
1224 
1225 # This tag specifies a string that should uniquely identify the documentation
1226 # set bundle. This should be a reverse domain-name style string, e.g.
1227 # com.mycompany.MyDocSet. Doxygen will append .docset to the name.
1228 # The default value is: org.doxygen.Project.
1229 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1230 
1231 DOCSET_BUNDLE_ID = org.doxygen.Project
1232 
1233 # The DOCSET_PUBLISHER_ID tag specifies a string that should uniquely identify
1234 # the documentation publisher. This should be a reverse domain-name style
1235 # string, e.g. com.mycompany.MyDocSet.documentation.
1236 # The default value is: org.doxygen.Publisher.
1237 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1238 
1239 DOCSET_PUBLISHER_ID = org.doxygen.Publisher
1240 
1241 # The DOCSET_PUBLISHER_NAME tag identifies the documentation publisher.
1242 # The default value is: Publisher.
1243 # This tag requires that the tag GENERATE_DOCSET is set to YES.
1244 
1245 DOCSET_PUBLISHER_NAME = Publisher
1246 
1247 # If the GENERATE_HTMLHELP tag is set to YES then doxygen generates three
1248 # additional HTML index files: index.hhp, index.hhc, and index.hhk. The
1249 # index.hhp is a project file that can be read by Microsoft's HTML Help Workshop
1250 # (see: http://www.microsoft.com/en-us/download/details.aspx?id=21138) on
1251 # Windows.
1252 #
1253 # The HTML Help Workshop contains a compiler that can convert all HTML output
1254 # generated by doxygen into a single compiled HTML file (.chm). Compiled HTML
1255 # files are now used as the Windows 98 help format, and will replace the old
1256 # Windows help format (.hlp) on all Windows platforms in the future. Compressed
1257 # HTML files also contain an index, a table of contents, and you can search for
1258 # words in the documentation. The HTML workshop also contains a viewer for
1259 # compressed HTML files.
1260 # The default value is: NO.
1261 # This tag requires that the tag GENERATE_HTML is set to YES.
1262 
1263 GENERATE_HTMLHELP = NO
1264 
1265 # The CHM_FILE tag can be used to specify the file name of the resulting .chm
1266 # file. You can add a path in front of the file if the result should not be
1267 # written to the html output directory.
1268 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1269 
1270 CHM_FILE =
1271 
1272 # The HHC_LOCATION tag can be used to specify the location (absolute path
1273 # including file name) of the HTML help compiler (hhc.exe). If non-empty,
1274 # doxygen will try to run the HTML help compiler on the generated index.hhp.
1275 # The file has to be specified with full path.
1276 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1277 
1278 HHC_LOCATION =
1279 
1280 # The GENERATE_CHI flag controls if a separate .chi index file is generated
1281 # (YES) or that it should be included in the master .chm file (NO).
1282 # The default value is: NO.
1283 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1284 
1285 GENERATE_CHI = NO
1286 
1287 # The CHM_INDEX_ENCODING is used to encode HtmlHelp index (hhk), content (hhc)
1288 # and project file content.
1289 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1290 
1291 CHM_INDEX_ENCODING =
1292 
1293 # The BINARY_TOC flag controls whether a binary table of contents is generated
1294 # (YES) or a normal table of contents (NO) in the .chm file. Furthermore it
1295 # enables the Previous and Next buttons.
1296 # The default value is: NO.
1297 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1298 
1299 BINARY_TOC = NO
1300 
1301 # The TOC_EXPAND flag can be set to YES to add extra items for group members to
1302 # the table of contents of the HTML help documentation and to the tree view.
1303 # The default value is: NO.
1304 # This tag requires that the tag GENERATE_HTMLHELP is set to YES.
1305 
1306 TOC_EXPAND = NO
1307 
1308 # If the GENERATE_QHP tag is set to YES and both QHP_NAMESPACE and
1309 # QHP_VIRTUAL_FOLDER are set, an additional index file will be generated that
1310 # can be used as input for Qt's qhelpgenerator to generate a Qt Compressed Help
1311 # (.qch) of the generated HTML documentation.
1312 # The default value is: NO.
1313 # This tag requires that the tag GENERATE_HTML is set to YES.
1314 
1315 GENERATE_QHP = NO
1316 
1317 # If the QHG_LOCATION tag is specified, the QCH_FILE tag can be used to specify
1318 # the file name of the resulting .qch file. The path specified is relative to
1319 # the HTML output folder.
1320 # This tag requires that the tag GENERATE_QHP is set to YES.
1321 
1322 QCH_FILE =
1323 
1324 # The QHP_NAMESPACE tag specifies the namespace to use when generating Qt Help
1325 # Project output. For more information please see Qt Help Project / Namespace
1326 # (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#namespace).
1327 # The default value is: org.doxygen.Project.
1328 # This tag requires that the tag GENERATE_QHP is set to YES.
1329 
1330 QHP_NAMESPACE = org.doxygen.Project
1331 
1332 # The QHP_VIRTUAL_FOLDER tag specifies the namespace to use when generating Qt
1333 # Help Project output. For more information please see Qt Help Project / Virtual
1334 # Folders (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#virtual-
1335 # folders).
1336 # The default value is: doc.
1337 # This tag requires that the tag GENERATE_QHP is set to YES.
1338 
1339 QHP_VIRTUAL_FOLDER = doc
1340 
1341 # If the QHP_CUST_FILTER_NAME tag is set, it specifies the name of a custom
1342 # filter to add. For more information please see Qt Help Project / Custom
1343 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1344 # filters).
1345 # This tag requires that the tag GENERATE_QHP is set to YES.
1346 
1347 QHP_CUST_FILTER_NAME =
1348 
1349 # The QHP_CUST_FILTER_ATTRS tag specifies the list of the attributes of the
1350 # custom filter to add. For more information please see Qt Help Project / Custom
1351 # Filters (see: http://qt-project.org/doc/qt-4.8/qthelpproject.html#custom-
1352 # filters).
1353 # This tag requires that the tag GENERATE_QHP is set to YES.
1354 
1355 QHP_CUST_FILTER_ATTRS =
1356 
1357 # The QHP_SECT_FILTER_ATTRS tag specifies the list of the attributes this
1358 # project's filter section matches. Qt Help Project / Filter Attributes (see:
1359 # http://qt-project.org/doc/qt-4.8/qthelpproject.html#filter-attributes).
1360 # This tag requires that the tag GENERATE_QHP is set to YES.
1361 
1362 QHP_SECT_FILTER_ATTRS =
1363 
1364 # The QHG_LOCATION tag can be used to specify the location of Qt's
1365 # qhelpgenerator. If non-empty doxygen will try to run qhelpgenerator on the
1366 # generated .qhp file.
1367 # This tag requires that the tag GENERATE_QHP is set to YES.
1368 
1369 QHG_LOCATION =
1370 
1371 # If the GENERATE_ECLIPSEHELP tag is set to YES, additional index files will be
1372 # generated, together with the HTML files, they form an Eclipse help plugin. To
1373 # install this plugin and make it available under the help contents menu in
1374 # Eclipse, the contents of the directory containing the HTML and XML files needs
1375 # to be copied into the plugins directory of eclipse. The name of the directory
1376 # within the plugins directory should be the same as the ECLIPSE_DOC_ID value.
1377 # After copying Eclipse needs to be restarted before the help appears.
1378 # The default value is: NO.
1379 # This tag requires that the tag GENERATE_HTML is set to YES.
1380 
1381 GENERATE_ECLIPSEHELP = NO
1382 
1383 # A unique identifier for the Eclipse help plugin. When installing the plugin
1384 # the directory name containing the HTML and XML files should also have this
1385 # name. Each documentation set should have its own identifier.
1386 # The default value is: org.doxygen.Project.
1387 # This tag requires that the tag GENERATE_ECLIPSEHELP is set to YES.
1388 
1389 ECLIPSE_DOC_ID = org.doxygen.Project
1390 
1391 # If you want full control over the layout of the generated HTML pages it might
1392 # be necessary to disable the index and replace it with your own. The
1393 # DISABLE_INDEX tag can be used to turn on/off the condensed index (tabs) at top
1394 # of each HTML page. A value of NO enables the index and the value YES disables
1395 # it. Since the tabs in the index contain the same information as the navigation
1396 # tree, you can set this option to YES if you also set GENERATE_TREEVIEW to YES.
1397 # The default value is: NO.
1398 # This tag requires that the tag GENERATE_HTML is set to YES.
1399 
1400 DISABLE_INDEX = NO
1401 
1402 # The GENERATE_TREEVIEW tag is used to specify whether a tree-like index
1403 # structure should be generated to display hierarchical information. If the tag
1404 # value is set to YES, a side panel will be generated containing a tree-like
1405 # index structure (just like the one that is generated for HTML Help). For this
1406 # to work a browser that supports JavaScript, DHTML, CSS and frames is required
1407 # (i.e. any modern browser). Windows users are probably better off using the
1408 # HTML help feature. Via custom style sheets (see HTML_EXTRA_STYLESHEET) one can
1409 # further fine-tune the look of the index. As an example, the default style
1410 # sheet generated by doxygen has an example that shows how to put an image at
1411 # the root of the tree instead of the PROJECT_NAME. Since the tree basically has
1412 # the same information as the tab index, you could consider setting
1413 # DISABLE_INDEX to YES when enabling this option.
1414 # The default value is: NO.
1415 # This tag requires that the tag GENERATE_HTML is set to YES.
1416 
1417 GENERATE_TREEVIEW = NO
1418 
1419 # The ENUM_VALUES_PER_LINE tag can be used to set the number of enum values that
1420 # doxygen will group on one line in the generated HTML documentation.
1421 #
1422 # Note that a value of 0 will completely suppress the enum values from appearing
1423 # in the overview section.
1424 # Minimum value: 0, maximum value: 20, default value: 4.
1425 # This tag requires that the tag GENERATE_HTML is set to YES.
1426 
1427 ENUM_VALUES_PER_LINE = 4
1428 
1429 # If the treeview is enabled (see GENERATE_TREEVIEW) then this tag can be used
1430 # to set the initial width (in pixels) of the frame in which the tree is shown.
1431 # Minimum value: 0, maximum value: 1500, default value: 250.
1432 # This tag requires that the tag GENERATE_HTML is set to YES.
1433 
1434 TREEVIEW_WIDTH = 250
1435 
1436 # If the EXT_LINKS_IN_WINDOW option is set to YES, doxygen will open links to
1437 # external symbols imported via tag files in a separate window.
1438 # The default value is: NO.
1439 # This tag requires that the tag GENERATE_HTML is set to YES.
1440 
1441 EXT_LINKS_IN_WINDOW = NO
1442 
1443 # Use this tag to change the font size of LaTeX formulas included as images in
1444 # the HTML documentation. When you change the font size after a successful
1445 # doxygen run you need to manually remove any form_*.png images from the HTML
1446 # output directory to force them to be regenerated.
1447 # Minimum value: 8, maximum value: 50, default value: 10.
1448 # This tag requires that the tag GENERATE_HTML is set to YES.
1449 
1450 FORMULA_FONTSIZE = 10
1451 
1452 # Use the FORMULA_TRANPARENT tag to determine whether or not the images
1453 # generated for formulas are transparent PNGs. Transparent PNGs are not
1454 # supported properly for IE 6.0, but are supported on all modern browsers.
1455 #
1456 # Note that when changing this option you need to delete any form_*.png files in
1457 # the HTML output directory before the changes have effect.
1458 # The default value is: YES.
1459 # This tag requires that the tag GENERATE_HTML is set to YES.
1460 
1461 FORMULA_TRANSPARENT = YES
1462 
1463 # Enable the USE_MATHJAX option to render LaTeX formulas using MathJax (see
1464 # http://www.mathjax.org) which uses client side Javascript for the rendering
1465 # instead of using pre-rendered bitmaps. Use this if you do not have LaTeX
1466 # installed or if you want to formulas look prettier in the HTML output. When
1467 # enabled you may also need to install MathJax separately and configure the path
1468 # to it using the MATHJAX_RELPATH option.
1469 # The default value is: NO.
1470 # This tag requires that the tag GENERATE_HTML is set to YES.
1471 
1472 USE_MATHJAX = NO
1473 
1474 # When MathJax is enabled you can set the default output format to be used for
1475 # the MathJax output. See the MathJax site (see:
1476 # http://docs.mathjax.org/en/latest/output.html) for more details.
1477 # Possible values are: HTML-CSS (which is slower, but has the best
1478 # compatibility), NativeMML (i.e. MathML) and SVG.
1479 # The default value is: HTML-CSS.
1480 # This tag requires that the tag USE_MATHJAX is set to YES.
1481 
1482 MATHJAX_FORMAT = HTML-CSS
1483 
1484 # When MathJax is enabled you need to specify the location relative to the HTML
1485 # output directory using the MATHJAX_RELPATH option. The destination directory
1486 # should contain the MathJax.js script. For instance, if the mathjax directory
1487 # is located at the same level as the HTML output directory, then
1488 # MATHJAX_RELPATH should be ../mathjax. The default value points to the MathJax
1489 # Content Delivery Network so you can quickly see the result without installing
1490 # MathJax. However, it is strongly recommended to install a local copy of
1491 # MathJax from http://www.mathjax.org before deployment.
1492 # The default value is: http://cdn.mathjax.org/mathjax/latest.
1493 # This tag requires that the tag USE_MATHJAX is set to YES.
1494 
1495 MATHJAX_RELPATH = http://www.mathjax.org/mathjax
1496 
1497 # The MATHJAX_EXTENSIONS tag can be used to specify one or more MathJax
1498 # extension names that should be enabled during MathJax rendering. For example
1499 # MATHJAX_EXTENSIONS = TeX/AMSmath TeX/AMSsymbols
1500 # This tag requires that the tag USE_MATHJAX is set to YES.
1501 
1502 MATHJAX_EXTENSIONS =
1503 
1504 # The MATHJAX_CODEFILE tag can be used to specify a file with javascript pieces
1505 # of code that will be used on startup of the MathJax code. See the MathJax site
1506 # (see: http://docs.mathjax.org/en/latest/output.html) for more details. For an
1507 # example see the documentation.
1508 # This tag requires that the tag USE_MATHJAX is set to YES.
1509 
1510 MATHJAX_CODEFILE =
1511 
1512 # When the SEARCHENGINE tag is enabled doxygen will generate a search box for
1513 # the HTML output. The underlying search engine uses javascript and DHTML and
1514 # should work on any modern browser. Note that when using HTML help
1515 # (GENERATE_HTMLHELP), Qt help (GENERATE_QHP), or docsets (GENERATE_DOCSET)
1516 # there is already a search function so this one should typically be disabled.
1517 # For large projects the javascript based search engine can be slow, then
1518 # enabling SERVER_BASED_SEARCH may provide a better solution. It is possible to
1519 # search using the keyboard; to jump to the search box use <access key> + S
1520 # (what the <access key> is depends on the OS and browser, but it is typically
1521 # <CTRL>, <ALT>/<option>, or both). Inside the search box use the <cursor down
1522 # key> to jump into the search results window, the results can be navigated
1523 # using the <cursor keys>. Press <Enter> to select an item or <escape> to cancel
1524 # the search. The filter options can be selected when the cursor is inside the
1525 # search box by pressing <Shift>+<cursor down>. Also here use the <cursor keys>
1526 # to select a filter and <Enter> or <escape> to activate or cancel the filter
1527 # option.
1528 # The default value is: YES.
1529 # This tag requires that the tag GENERATE_HTML is set to YES.
1530 
1531 SEARCHENGINE = YES
1532 
1533 # When the SERVER_BASED_SEARCH tag is enabled the search engine will be
1534 # implemented using a web server instead of a web client using Javascript. There
1535 # are two flavors of web server based searching depending on the EXTERNAL_SEARCH
1536 # setting. When disabled, doxygen will generate a PHP script for searching and
1537 # an index file used by the script. When EXTERNAL_SEARCH is enabled the indexing
1538 # and searching needs to be provided by external tools. See the section
1539 # "External Indexing and Searching" for details.
1540 # The default value is: NO.
1541 # This tag requires that the tag SEARCHENGINE is set to YES.
1542 
1543 SERVER_BASED_SEARCH = NO
1544 
1545 # When EXTERNAL_SEARCH tag is enabled doxygen will no longer generate the PHP
1546 # script for searching. Instead the search results are written to an XML file
1547 # which needs to be processed by an external indexer. Doxygen will invoke an
1548 # external search engine pointed to by the SEARCHENGINE_URL option to obtain the
1549 # search results.
1550 #
1551 # Doxygen ships with an example indexer (doxyindexer) and search engine
1552 # (doxysearch.cgi) which are based on the open source search engine library
1553 # Xapian (see: http://xapian.org/).
1554 #
1555 # See the section "External Indexing and Searching" for details.
1556 # The default value is: NO.
1557 # This tag requires that the tag SEARCHENGINE is set to YES.
1558 
1559 EXTERNAL_SEARCH = NO
1560 
1561 # The SEARCHENGINE_URL should point to a search engine hosted by a web server
1562 # which will return the search results when EXTERNAL_SEARCH is enabled.
1563 #
1564 # Doxygen ships with an example indexer (doxyindexer) and search engine
1565 # (doxysearch.cgi) which are based on the open source search engine library
1566 # Xapian (see: http://xapian.org/). See the section "External Indexing and
1567 # Searching" for details.
1568 # This tag requires that the tag SEARCHENGINE is set to YES.
1569 
1570 SEARCHENGINE_URL =
1571 
1572 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the unindexed
1573 # search data is written to a file for indexing by an external tool. With the
1574 # SEARCHDATA_FILE tag the name of this file can be specified.
1575 # The default file is: searchdata.xml.
1576 # This tag requires that the tag SEARCHENGINE is set to YES.
1577 
1578 SEARCHDATA_FILE = searchdata.xml
1579 
1580 # When SERVER_BASED_SEARCH and EXTERNAL_SEARCH are both enabled the
1581 # EXTERNAL_SEARCH_ID tag can be used as an identifier for the project. This is
1582 # useful in combination with EXTRA_SEARCH_MAPPINGS to search through multiple
1583 # projects and redirect the results back to the right project.
1584 # This tag requires that the tag SEARCHENGINE is set to YES.
1585 
1586 EXTERNAL_SEARCH_ID =
1587 
1588 # The EXTRA_SEARCH_MAPPINGS tag can be used to enable searching through doxygen
1589 # projects other than the one defined by this configuration file, but that are
1590 # all added to the same external search index. Each project needs to have a
1591 # unique id set via EXTERNAL_SEARCH_ID. The search mapping then maps the id of
1592 # to a relative location where the documentation can be found. The format is:
1593 # EXTRA_SEARCH_MAPPINGS = tagname1=loc1 tagname2=loc2 ...
1594 # This tag requires that the tag SEARCHENGINE is set to YES.
1595 
1596 EXTRA_SEARCH_MAPPINGS =
1597 
1598 #---------------------------------------------------------------------------
1599 # Configuration options related to the LaTeX output
1600 #---------------------------------------------------------------------------
1601 
1602 # If the GENERATE_LATEX tag is set to YES, doxygen will generate LaTeX output.
1603 # The default value is: YES.
1604 
1605 GENERATE_LATEX = NO
1606 
1607 # The LATEX_OUTPUT tag is used to specify where the LaTeX docs will be put. If a
1608 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1609 # it.
1610 # The default directory is: latex.
1611 # This tag requires that the tag GENERATE_LATEX is set to YES.
1612 
1613 LATEX_OUTPUT = latex
1614 
1615 # The LATEX_CMD_NAME tag can be used to specify the LaTeX command name to be
1616 # invoked.
1617 #
1618 # Note that when enabling USE_PDFLATEX this option is only used for generating
1619 # bitmaps for formulas in the HTML output, but not in the Makefile that is
1620 # written to the output directory.
1621 # The default file is: latex.
1622 # This tag requires that the tag GENERATE_LATEX is set to YES.
1623 
1624 LATEX_CMD_NAME = latex
1625 
1626 # The MAKEINDEX_CMD_NAME tag can be used to specify the command name to generate
1627 # index for LaTeX.
1628 # The default file is: makeindex.
1629 # This tag requires that the tag GENERATE_LATEX is set to YES.
1630 
1631 MAKEINDEX_CMD_NAME = makeindex
1632 
1633 # If the COMPACT_LATEX tag is set to YES, doxygen generates more compact LaTeX
1634 # documents. This may be useful for small projects and may help to save some
1635 # trees in general.
1636 # The default value is: NO.
1637 # This tag requires that the tag GENERATE_LATEX is set to YES.
1638 
1639 COMPACT_LATEX = NO
1640 
1641 # The PAPER_TYPE tag can be used to set the paper type that is used by the
1642 # printer.
1643 # Possible values are: a4 (210 x 297 mm), letter (8.5 x 11 inches), legal (8.5 x
1644 # 14 inches) and executive (7.25 x 10.5 inches).
1645 # The default value is: a4.
1646 # This tag requires that the tag GENERATE_LATEX is set to YES.
1647 
1648 PAPER_TYPE = a4wide
1649 
1650 # The EXTRA_PACKAGES tag can be used to specify one or more LaTeX package names
1651 # that should be included in the LaTeX output. The package can be specified just
1652 # by its name or with the correct syntax as to be used with the LaTeX
1653 # \usepackage command. To get the times font for instance you can specify :
1654 # EXTRA_PACKAGES=times or EXTRA_PACKAGES={times}
1655 # To use the option intlimits with the amsmath package you can specify:
1656 # EXTRA_PACKAGES=[intlimits]{amsmath}
1657 # If left blank no extra packages will be included.
1658 # This tag requires that the tag GENERATE_LATEX is set to YES.
1659 
1660 EXTRA_PACKAGES =
1661 
1662 # The LATEX_HEADER tag can be used to specify a personal LaTeX header for the
1663 # generated LaTeX document. The header should contain everything until the first
1664 # chapter. If it is left blank doxygen will generate a standard header. See
1665 # section "Doxygen usage" for information on how to let doxygen write the
1666 # default header to a separate file.
1667 #
1668 # Note: Only use a user-defined header if you know what you are doing! The
1669 # following commands have a special meaning inside the header: $title,
1670 # $datetime, $date, $doxygenversion, $projectname, $projectnumber,
1671 # $projectbrief, $projectlogo. Doxygen will replace $title with the empty
1672 # string, for the replacement values of the other commands the user is referred
1673 # to HTML_HEADER.
1674 # This tag requires that the tag GENERATE_LATEX is set to YES.
1675 
1676 LATEX_HEADER =
1677 
1678 # The LATEX_FOOTER tag can be used to specify a personal LaTeX footer for the
1679 # generated LaTeX document. The footer should contain everything after the last
1680 # chapter. If it is left blank doxygen will generate a standard footer. See
1681 # LATEX_HEADER for more information on how to generate a default footer and what
1682 # special commands can be used inside the footer.
1683 #
1684 # Note: Only use a user-defined footer if you know what you are doing!
1685 # This tag requires that the tag GENERATE_LATEX is set to YES.
1686 
1687 LATEX_FOOTER =
1688 
1689 # The LATEX_EXTRA_STYLESHEET tag can be used to specify additional user-defined
1690 # LaTeX style sheets that are included after the standard style sheets created
1691 # by doxygen. Using this option one can overrule certain style aspects. Doxygen
1692 # will copy the style sheet files to the output directory.
1693 # Note: The order of the extra style sheet files is of importance (e.g. the last
1694 # style sheet in the list overrules the setting of the previous ones in the
1695 # list).
1696 # This tag requires that the tag GENERATE_LATEX is set to YES.
1697 
1698 LATEX_EXTRA_STYLESHEET =
1699 
1700 # The LATEX_EXTRA_FILES tag can be used to specify one or more extra images or
1701 # other source files which should be copied to the LATEX_OUTPUT output
1702 # directory. Note that the files will be copied as-is; there are no commands or
1703 # markers available.
1704 # This tag requires that the tag GENERATE_LATEX is set to YES.
1705 
1706 LATEX_EXTRA_FILES =
1707 
1708 # If the PDF_HYPERLINKS tag is set to YES, the LaTeX that is generated is
1709 # prepared for conversion to PDF (using ps2pdf or pdflatex). The PDF file will
1710 # contain links (just like the HTML output) instead of page references. This
1711 # makes the output suitable for online browsing using a PDF viewer.
1712 # The default value is: YES.
1713 # This tag requires that the tag GENERATE_LATEX is set to YES.
1714 
1715 PDF_HYPERLINKS = NO
1716 
1717 # If the USE_PDFLATEX tag is set to YES, doxygen will use pdflatex to generate
1718 # the PDF file directly from the LaTeX files. Set this option to YES, to get a
1719 # higher quality PDF documentation.
1720 # The default value is: YES.
1721 # This tag requires that the tag GENERATE_LATEX is set to YES.
1722 
1723 USE_PDFLATEX = YES
1724 
1725 # If the LATEX_BATCHMODE tag is set to YES, doxygen will add the \batchmode
1726 # command to the generated LaTeX files. This will instruct LaTeX to keep running
1727 # if errors occur, instead of asking the user for help. This option is also used
1728 # when generating formulas in HTML.
1729 # The default value is: NO.
1730 # This tag requires that the tag GENERATE_LATEX is set to YES.
1731 
1732 LATEX_BATCHMODE = NO
1733 
1734 # If the LATEX_HIDE_INDICES tag is set to YES then doxygen will not include the
1735 # index chapters (such as File Index, Compound Index, etc.) in the output.
1736 # The default value is: NO.
1737 # This tag requires that the tag GENERATE_LATEX is set to YES.
1738 
1739 LATEX_HIDE_INDICES = NO
1740 
1741 # If the LATEX_SOURCE_CODE tag is set to YES then doxygen will include source
1742 # code with syntax highlighting in the LaTeX output.
1743 #
1744 # Note that which sources are shown also depends on other settings such as
1745 # SOURCE_BROWSER.
1746 # The default value is: NO.
1747 # This tag requires that the tag GENERATE_LATEX is set to YES.
1748 
1749 LATEX_SOURCE_CODE = NO
1750 
1751 # The LATEX_BIB_STYLE tag can be used to specify the style to use for the
1752 # bibliography, e.g. plainnat, or ieeetr. See
1753 # http://en.wikipedia.org/wiki/BibTeX and \cite for more info.
1754 # The default value is: plain.
1755 # This tag requires that the tag GENERATE_LATEX is set to YES.
1756 
1757 LATEX_BIB_STYLE = plain
1758 
1759 #---------------------------------------------------------------------------
1760 # Configuration options related to the RTF output
1761 #---------------------------------------------------------------------------
1762 
1763 # If the GENERATE_RTF tag is set to YES, doxygen will generate RTF output. The
1764 # RTF output is optimized for Word 97 and may not look too pretty with other RTF
1765 # readers/editors.
1766 # The default value is: NO.
1767 
1768 GENERATE_RTF = NO
1769 
1770 # The RTF_OUTPUT tag is used to specify where the RTF docs will be put. If a
1771 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1772 # it.
1773 # The default directory is: rtf.
1774 # This tag requires that the tag GENERATE_RTF is set to YES.
1775 
1776 RTF_OUTPUT = glm.rtf
1777 
1778 # If the COMPACT_RTF tag is set to YES, doxygen generates more compact RTF
1779 # documents. This may be useful for small projects and may help to save some
1780 # trees in general.
1781 # The default value is: NO.
1782 # This tag requires that the tag GENERATE_RTF is set to YES.
1783 
1784 COMPACT_RTF = NO
1785 
1786 # If the RTF_HYPERLINKS tag is set to YES, the RTF that is generated will
1787 # contain hyperlink fields. The RTF file will contain links (just like the HTML
1788 # output) instead of page references. This makes the output suitable for online
1789 # browsing using Word or some other Word compatible readers that support those
1790 # fields.
1791 #
1792 # Note: WordPad (write) and others do not support links.
1793 # The default value is: NO.
1794 # This tag requires that the tag GENERATE_RTF is set to YES.
1795 
1796 RTF_HYPERLINKS = YES
1797 
1798 # Load stylesheet definitions from file. Syntax is similar to doxygen's config
1799 # file, i.e. a series of assignments. You only have to provide replacements,
1800 # missing definitions are set to their default value.
1801 #
1802 # See also section "Doxygen usage" for information on how to generate the
1803 # default style sheet that doxygen normally uses.
1804 # This tag requires that the tag GENERATE_RTF is set to YES.
1805 
1806 RTF_STYLESHEET_FILE =
1807 
1808 # Set optional variables used in the generation of an RTF document. Syntax is
1809 # similar to doxygen's config file. A template extensions file can be generated
1810 # using doxygen -e rtf extensionFile.
1811 # This tag requires that the tag GENERATE_RTF is set to YES.
1812 
1813 RTF_EXTENSIONS_FILE =
1814 
1815 # If the RTF_SOURCE_CODE tag is set to YES then doxygen will include source code
1816 # with syntax highlighting in the RTF output.
1817 #
1818 # Note that which sources are shown also depends on other settings such as
1819 # SOURCE_BROWSER.
1820 # The default value is: NO.
1821 # This tag requires that the tag GENERATE_RTF is set to YES.
1822 
1823 RTF_SOURCE_CODE = NO
1824 
1825 #---------------------------------------------------------------------------
1826 # Configuration options related to the man page output
1827 #---------------------------------------------------------------------------
1828 
1829 # If the GENERATE_MAN tag is set to YES, doxygen will generate man pages for
1830 # classes and files.
1831 # The default value is: NO.
1832 
1833 GENERATE_MAN = NO
1834 
1835 # The MAN_OUTPUT tag is used to specify where the man pages will be put. If a
1836 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1837 # it. A directory man3 will be created inside the directory specified by
1838 # MAN_OUTPUT.
1839 # The default directory is: man.
1840 # This tag requires that the tag GENERATE_MAN is set to YES.
1841 
1842 MAN_OUTPUT = man
1843 
1844 # The MAN_EXTENSION tag determines the extension that is added to the generated
1845 # man pages. In case the manual section does not start with a number, the number
1846 # 3 is prepended. The dot (.) at the beginning of the MAN_EXTENSION tag is
1847 # optional.
1848 # The default value is: .3.
1849 # This tag requires that the tag GENERATE_MAN is set to YES.
1850 
1851 MAN_EXTENSION = .3
1852 
1853 # The MAN_SUBDIR tag determines the name of the directory created within
1854 # MAN_OUTPUT in which the man pages are placed. If defaults to man followed by
1855 # MAN_EXTENSION with the initial . removed.
1856 # This tag requires that the tag GENERATE_MAN is set to YES.
1857 
1858 MAN_SUBDIR =
1859 
1860 # If the MAN_LINKS tag is set to YES and doxygen generates man output, then it
1861 # will generate one additional man file for each entity documented in the real
1862 # man page(s). These additional files only source the real man page, but without
1863 # them the man command would be unable to find the correct page.
1864 # The default value is: NO.
1865 # This tag requires that the tag GENERATE_MAN is set to YES.
1866 
1867 MAN_LINKS = NO
1868 
1869 #---------------------------------------------------------------------------
1870 # Configuration options related to the XML output
1871 #---------------------------------------------------------------------------
1872 
1873 # If the GENERATE_XML tag is set to YES, doxygen will generate an XML file that
1874 # captures the structure of the code including all documentation.
1875 # The default value is: NO.
1876 
1877 GENERATE_XML = NO
1878 
1879 # The XML_OUTPUT tag is used to specify where the XML pages will be put. If a
1880 # relative path is entered the value of OUTPUT_DIRECTORY will be put in front of
1881 # it.
1882 # The default directory is: xml.
1883 # This tag requires that the tag GENERATE_XML is set to YES.
1884 
1885 XML_OUTPUT = xml
1886 
1887 # If the XML_PROGRAMLISTING tag is set to YES, doxygen will dump the program
1888 # listings (including syntax highlighting and cross-referencing information) to
1889 # the XML output. Note that enabling this will significantly increase the size
1890 # of the XML output.
1891 # The default value is: YES.
1892 # This tag requires that the tag GENERATE_XML is set to YES.
1893 
1894 XML_PROGRAMLISTING = YES
1895 
1896 #---------------------------------------------------------------------------
1897 # Configuration options related to the DOCBOOK output
1898 #---------------------------------------------------------------------------
1899 
1900 # If the GENERATE_DOCBOOK tag is set to YES, doxygen will generate Docbook files
1901 # that can be used to generate PDF.
1902 # The default value is: NO.
1903 
1904 GENERATE_DOCBOOK = NO
1905 
1906 # The DOCBOOK_OUTPUT tag is used to specify where the Docbook pages will be put.
1907 # If a relative path is entered the value of OUTPUT_DIRECTORY will be put in
1908 # front of it.
1909 # The default directory is: docbook.
1910 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1911 
1912 DOCBOOK_OUTPUT = docbook
1913 
1914 # If the DOCBOOK_PROGRAMLISTING tag is set to YES, doxygen will include the
1915 # program listings (including syntax highlighting and cross-referencing
1916 # information) to the DOCBOOK output. Note that enabling this will significantly
1917 # increase the size of the DOCBOOK output.
1918 # The default value is: NO.
1919 # This tag requires that the tag GENERATE_DOCBOOK is set to YES.
1920 
1921 DOCBOOK_PROGRAMLISTING = NO
1922 
1923 #---------------------------------------------------------------------------
1924 # Configuration options for the AutoGen Definitions output
1925 #---------------------------------------------------------------------------
1926 
1927 # If the GENERATE_AUTOGEN_DEF tag is set to YES, doxygen will generate an
1928 # AutoGen Definitions (see http://autogen.sf.net) file that captures the
1929 # structure of the code including all documentation. Note that this feature is
1930 # still experimental and incomplete at the moment.
1931 # The default value is: NO.
1932 
1933 GENERATE_AUTOGEN_DEF = NO
1934 
1935 #---------------------------------------------------------------------------
1936 # Configuration options related to the Perl module output
1937 #---------------------------------------------------------------------------
1938 
1939 # If the GENERATE_PERLMOD tag is set to YES, doxygen will generate a Perl module
1940 # file that captures the structure of the code including all documentation.
1941 #
1942 # Note that this feature is still experimental and incomplete at the moment.
1943 # The default value is: NO.
1944 
1945 GENERATE_PERLMOD = NO
1946 
1947 # If the PERLMOD_LATEX tag is set to YES, doxygen will generate the necessary
1948 # Makefile rules, Perl scripts and LaTeX code to be able to generate PDF and DVI
1949 # output from the Perl module output.
1950 # The default value is: NO.
1951 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1952 
1953 PERLMOD_LATEX = NO
1954 
1955 # If the PERLMOD_PRETTY tag is set to YES, the Perl module output will be nicely
1956 # formatted so it can be parsed by a human reader. This is useful if you want to
1957 # understand what is going on. On the other hand, if this tag is set to NO, the
1958 # size of the Perl module output will be much smaller and Perl will parse it
1959 # just the same.
1960 # The default value is: YES.
1961 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1962 
1963 PERLMOD_PRETTY = YES
1964 
1965 # The names of the make variables in the generated doxyrules.make file are
1966 # prefixed with the string contained in PERLMOD_MAKEVAR_PREFIX. This is useful
1967 # so different doxyrules.make files included by the same Makefile don't
1968 # overwrite each other's variables.
1969 # This tag requires that the tag GENERATE_PERLMOD is set to YES.
1970 
1971 PERLMOD_MAKEVAR_PREFIX =
1972 
1973 #---------------------------------------------------------------------------
1974 # Configuration options related to the preprocessor
1975 #---------------------------------------------------------------------------
1976 
1977 # If the ENABLE_PREPROCESSING tag is set to YES, doxygen will evaluate all
1978 # C-preprocessor directives found in the sources and include files.
1979 # The default value is: YES.
1980 
1981 ENABLE_PREPROCESSING = YES
1982 
1983 # If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
1984 # in the source code. If set to NO, only conditional compilation will be
1985 # performed. Macro expansion can be done in a controlled way by setting
1986 # EXPAND_ONLY_PREDEF to YES.
1987 # The default value is: NO.
1988 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1989 
1990 MACRO_EXPANSION = NO
1991 
1992 # If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES then
1993 # the macro expansion is limited to the macros specified with the PREDEFINED and
1994 # EXPAND_AS_DEFINED tags.
1995 # The default value is: NO.
1996 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
1997 
1998 EXPAND_ONLY_PREDEF = NO
1999 
2000 # If the SEARCH_INCLUDES tag is set to YES, the include files in the
2001 # INCLUDE_PATH will be searched if a #include is found.
2002 # The default value is: YES.
2003 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2004 
2005 SEARCH_INCLUDES = YES
2006 
2007 # The INCLUDE_PATH tag can be used to specify one or more directories that
2008 # contain include files that are not input files but should be processed by the
2009 # preprocessor.
2010 # This tag requires that the tag SEARCH_INCLUDES is set to YES.
2011 
2012 INCLUDE_PATH =
2013 
2014 # You can use the INCLUDE_FILE_PATTERNS tag to specify one or more wildcard
2015 # patterns (like *.h and *.hpp) to filter out the header-files in the
2016 # directories. If left blank, the patterns specified with FILE_PATTERNS will be
2017 # used.
2018 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2019 
2020 INCLUDE_FILE_PATTERNS =
2021 
2022 # The PREDEFINED tag can be used to specify one or more macro names that are
2023 # defined before the preprocessor is started (similar to the -D option of e.g.
2024 # gcc). The argument of the tag is a list of macros of the form: name or
2025 # name=definition (no spaces). If the definition and the "=" are omitted, "=1"
2026 # is assumed. To prevent a macro definition from being undefined via #undef or
2027 # recursively expanded use the := operator instead of the = operator.
2028 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2029 
2030 PREDEFINED =
2031 
2032 # If the MACRO_EXPANSION and EXPAND_ONLY_PREDEF tags are set to YES then this
2033 # tag can be used to specify a list of macro names that should be expanded. The
2034 # macro definition that is found in the sources will be used. Use the PREDEFINED
2035 # tag if you want to use a different macro definition that overrules the
2036 # definition found in the source code.
2037 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2038 
2039 EXPAND_AS_DEFINED =
2040 
2041 # If the SKIP_FUNCTION_MACROS tag is set to YES then doxygen's preprocessor will
2042 # remove all references to function-like macros that are alone on a line, have
2043 # an all uppercase name, and do not end with a semicolon. Such function macros
2044 # are typically used for boiler-plate code, and will confuse the parser if not
2045 # removed.
2046 # The default value is: YES.
2047 # This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
2048 
2049 SKIP_FUNCTION_MACROS = YES
2050 
2051 #---------------------------------------------------------------------------
2052 # Configuration options related to external references
2053 #---------------------------------------------------------------------------
2054 
2055 # The TAGFILES tag can be used to specify one or more tag files. For each tag
2056 # file the location of the external documentation should be added. The format of
2057 # a tag file without this location is as follows:
2058 # TAGFILES = file1 file2 ...
2059 # Adding location for the tag files is done as follows:
2060 # TAGFILES = file1=loc1 "file2 = loc2" ...
2061 # where loc1 and loc2 can be relative or absolute paths or URLs. See the
2062 # section "Linking to external documentation" for more information about the use
2063 # of tag files.
2064 # Note: Each tag file must have a unique name (where the name does NOT include
2065 # the path). If a tag file is not located in the directory in which doxygen is
2066 # run, you must also specify the path to the tagfile here.
2067 
2068 TAGFILES =
2069 
2070 # When a file name is specified after GENERATE_TAGFILE, doxygen will create a
2071 # tag file that is based on the input files it reads. See section "Linking to
2072 # external documentation" for more information about the usage of tag files.
2073 
2074 GENERATE_TAGFILE =
2075 
2076 # If the ALLEXTERNALS tag is set to YES, all external class will be listed in
2077 # the class index. If set to NO, only the inherited external classes will be
2078 # listed.
2079 # The default value is: NO.
2080 
2081 ALLEXTERNALS = NO
2082 
2083 # If the EXTERNAL_GROUPS tag is set to YES, all external groups will be listed
2084 # in the modules index. If set to NO, only the current project's groups will be
2085 # listed.
2086 # The default value is: YES.
2087 
2088 EXTERNAL_GROUPS = YES
2089 
2090 # If the EXTERNAL_PAGES tag is set to YES, all external pages will be listed in
2091 # the related pages index. If set to NO, only the current project's pages will
2092 # be listed.
2093 # The default value is: YES.
2094 
2095 EXTERNAL_PAGES = YES
2096 
2097 # The PERL_PATH should be the absolute path and name of the perl script
2098 # interpreter (i.e. the result of 'which perl').
2099 # The default file (with absolute path) is: /usr/bin/perl.
2100 
2101 PERL_PATH = /usr/bin/perl
2102 
2103 #---------------------------------------------------------------------------
2104 # Configuration options related to the dot tool
2105 #---------------------------------------------------------------------------
2106 
2107 # If the CLASS_DIAGRAMS tag is set to YES, doxygen will generate a class diagram
2108 # (in HTML and LaTeX) for classes with base or super classes. Setting the tag to
2109 # NO turns the diagrams off. Note that this option also works with HAVE_DOT
2110 # disabled, but it is recommended to install and use dot, since it yields more
2111 # powerful graphs.
2112 # The default value is: YES.
2113 
2114 CLASS_DIAGRAMS = YES
2115 
2116 # You can define message sequence charts within doxygen comments using the \msc
2117 # command. Doxygen will then run the mscgen tool (see:
2118 # http://www.mcternan.me.uk/mscgen/)) to produce the chart and insert it in the
2119 # documentation. The MSCGEN_PATH tag allows you to specify the directory where
2120 # the mscgen tool resides. If left empty the tool is assumed to be found in the
2121 # default search path.
2122 
2123 MSCGEN_PATH =
2124 
2125 # You can include diagrams made with dia in doxygen documentation. Doxygen will
2126 # then run dia to produce the diagram and insert it in the documentation. The
2127 # DIA_PATH tag allows you to specify the directory where the dia binary resides.
2128 # If left empty dia is assumed to be found in the default search path.
2129 
2130 DIA_PATH =
2131 
2132 # If set to YES the inheritance and collaboration graphs will hide inheritance
2133 # and usage relations if the target is undocumented or is not a class.
2134 # The default value is: YES.
2135 
2136 HIDE_UNDOC_RELATIONS = YES
2137 
2138 # If you set the HAVE_DOT tag to YES then doxygen will assume the dot tool is
2139 # available from the path. This tool is part of Graphviz (see:
2140 # http://www.graphviz.org/), a graph visualization toolkit from AT&T and Lucent
2141 # Bell Labs. The other options in this section have no effect if this option is
2142 # set to NO
2143 # The default value is: NO.
2144 
2145 HAVE_DOT = NO
2146 
2147 # The DOT_NUM_THREADS specifies the number of dot invocations doxygen is allowed
2148 # to run in parallel. When set to 0 doxygen will base this on the number of
2149 # processors available in the system. You can set it explicitly to a value
2150 # larger than 0 to get control over the balance between CPU load and processing
2151 # speed.
2152 # Minimum value: 0, maximum value: 32, default value: 0.
2153 # This tag requires that the tag HAVE_DOT is set to YES.
2154 
2155 DOT_NUM_THREADS = 0
2156 
2157 # When you want a differently looking font in the dot files that doxygen
2158 # generates you can specify the font name using DOT_FONTNAME. You need to make
2159 # sure dot is able to find the font, which can be done by putting it in a
2160 # standard location or by setting the DOTFONTPATH environment variable or by
2161 # setting DOT_FONTPATH to the directory containing the font.
2162 # The default value is: Helvetica.
2163 # This tag requires that the tag HAVE_DOT is set to YES.
2164 
2165 DOT_FONTNAME = Helvetica
2166 
2167 # The DOT_FONTSIZE tag can be used to set the size (in points) of the font of
2168 # dot graphs.
2169 # Minimum value: 4, maximum value: 24, default value: 10.
2170 # This tag requires that the tag HAVE_DOT is set to YES.
2171 
2172 DOT_FONTSIZE = 10
2173 
2174 # By default doxygen will tell dot to use the default font as specified with
2175 # DOT_FONTNAME. If you specify a different font using DOT_FONTNAME you can set
2176 # the path where dot can find it using this tag.
2177 # This tag requires that the tag HAVE_DOT is set to YES.
2178 
2179 DOT_FONTPATH =
2180 
2181 # If the CLASS_GRAPH tag is set to YES then doxygen will generate a graph for
2182 # each documented class showing the direct and indirect inheritance relations.
2183 # Setting this tag to YES will force the CLASS_DIAGRAMS tag to NO.
2184 # The default value is: YES.
2185 # This tag requires that the tag HAVE_DOT is set to YES.
2186 
2187 CLASS_GRAPH = YES
2188 
2189 # If the COLLABORATION_GRAPH tag is set to YES then doxygen will generate a
2190 # graph for each documented class showing the direct and indirect implementation
2191 # dependencies (inheritance, containment, and class references variables) of the
2192 # class with other documented classes.
2193 # The default value is: YES.
2194 # This tag requires that the tag HAVE_DOT is set to YES.
2195 
2196 COLLABORATION_GRAPH = YES
2197 
2198 # If the GROUP_GRAPHS tag is set to YES then doxygen will generate a graph for
2199 # groups, showing the direct groups dependencies.
2200 # The default value is: YES.
2201 # This tag requires that the tag HAVE_DOT is set to YES.
2202 
2203 GROUP_GRAPHS = YES
2204 
2205 # If the UML_LOOK tag is set to YES, doxygen will generate inheritance and
2206 # collaboration diagrams in a style similar to the OMG's Unified Modeling
2207 # Language.
2208 # The default value is: NO.
2209 # This tag requires that the tag HAVE_DOT is set to YES.
2210 
2211 UML_LOOK = NO
2212 
2213 # If the UML_LOOK tag is enabled, the fields and methods are shown inside the
2214 # class node. If there are many fields or methods and many nodes the graph may
2215 # become too big to be useful. The UML_LIMIT_NUM_FIELDS threshold limits the
2216 # number of items for each type to make the size more manageable. Set this to 0
2217 # for no limit. Note that the threshold may be exceeded by 50% before the limit
2218 # is enforced. So when you set the threshold to 10, up to 15 fields may appear,
2219 # but if the number exceeds 15, the total amount of fields shown is limited to
2220 # 10.
2221 # Minimum value: 0, maximum value: 100, default value: 10.
2222 # This tag requires that the tag HAVE_DOT is set to YES.
2223 
2224 UML_LIMIT_NUM_FIELDS = 10
2225 
2226 # If the TEMPLATE_RELATIONS tag is set to YES then the inheritance and
2227 # collaboration graphs will show the relations between templates and their
2228 # instances.
2229 # The default value is: NO.
2230 # This tag requires that the tag HAVE_DOT is set to YES.
2231 
2232 TEMPLATE_RELATIONS = NO
2233 
2234 # If the INCLUDE_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are set to
2235 # YES then doxygen will generate a graph for each documented file showing the
2236 # direct and indirect include dependencies of the file with other documented
2237 # files.
2238 # The default value is: YES.
2239 # This tag requires that the tag HAVE_DOT is set to YES.
2240 
2241 INCLUDE_GRAPH = YES
2242 
2243 # If the INCLUDED_BY_GRAPH, ENABLE_PREPROCESSING and SEARCH_INCLUDES tags are
2244 # set to YES then doxygen will generate a graph for each documented file showing
2245 # the direct and indirect include dependencies of the file with other documented
2246 # files.
2247 # The default value is: YES.
2248 # This tag requires that the tag HAVE_DOT is set to YES.
2249 
2250 INCLUDED_BY_GRAPH = YES
2251 
2252 # If the CALL_GRAPH tag is set to YES then doxygen will generate a call
2253 # dependency graph for every global function or class method.
2254 #
2255 # Note that enabling this option will significantly increase the time of a run.
2256 # So in most cases it will be better to enable call graphs for selected
2257 # functions only using the \callgraph command. Disabling a call graph can be
2258 # accomplished by means of the command \hidecallgraph.
2259 # The default value is: NO.
2260 # This tag requires that the tag HAVE_DOT is set to YES.
2261 
2262 CALL_GRAPH = YES
2263 
2264 # If the CALLER_GRAPH tag is set to YES then doxygen will generate a caller
2265 # dependency graph for every global function or class method.
2266 #
2267 # Note that enabling this option will significantly increase the time of a run.
2268 # So in most cases it will be better to enable caller graphs for selected
2269 # functions only using the \callergraph command. Disabling a caller graph can be
2270 # accomplished by means of the command \hidecallergraph.
2271 # The default value is: NO.
2272 # This tag requires that the tag HAVE_DOT is set to YES.
2273 
2274 CALLER_GRAPH = YES
2275 
2276 # If the GRAPHICAL_HIERARCHY tag is set to YES then doxygen will graphical
2277 # hierarchy of all classes instead of a textual one.
2278 # The default value is: YES.
2279 # This tag requires that the tag HAVE_DOT is set to YES.
2280 
2281 GRAPHICAL_HIERARCHY = YES
2282 
2283 # If the DIRECTORY_GRAPH tag is set to YES then doxygen will show the
2284 # dependencies a directory has on other directories in a graphical way. The
2285 # dependency relations are determined by the #include relations between the
2286 # files in the directories.
2287 # The default value is: YES.
2288 # This tag requires that the tag HAVE_DOT is set to YES.
2289 
2290 DIRECTORY_GRAPH = YES
2291 
2292 # The DOT_IMAGE_FORMAT tag can be used to set the image format of the images
2293 # generated by dot. For an explanation of the image formats see the section
2294 # output formats in the documentation of the dot tool (Graphviz (see:
2295 # http://www.graphviz.org/)).
2296 # Note: If you choose svg you need to set HTML_FILE_EXTENSION to xhtml in order
2297 # to make the SVG files visible in IE 9+ (other browsers do not have this
2298 # requirement).
2299 # Possible values are: png, jpg, gif, svg, png:gd, png:gd:gd, png:cairo,
2300 # png:cairo:gd, png:cairo:cairo, png:cairo:gdiplus, png:gdiplus and
2301 # png:gdiplus:gdiplus.
2302 # The default value is: png.
2303 # This tag requires that the tag HAVE_DOT is set to YES.
2304 
2305 DOT_IMAGE_FORMAT = png
2306 
2307 # If DOT_IMAGE_FORMAT is set to svg, then this option can be set to YES to
2308 # enable generation of interactive SVG images that allow zooming and panning.
2309 #
2310 # Note that this requires a modern browser other than Internet Explorer. Tested
2311 # and working are Firefox, Chrome, Safari, and Opera.
2312 # Note: For IE 9+ you need to set HTML_FILE_EXTENSION to xhtml in order to make
2313 # the SVG files visible. Older versions of IE do not have SVG support.
2314 # The default value is: NO.
2315 # This tag requires that the tag HAVE_DOT is set to YES.
2316 
2317 INTERACTIVE_SVG = NO
2318 
2319 # The DOT_PATH tag can be used to specify the path where the dot tool can be
2320 # found. If left blank, it is assumed the dot tool can be found in the path.
2321 # This tag requires that the tag HAVE_DOT is set to YES.
2322 
2323 DOT_PATH =
2324 
2325 # The DOTFILE_DIRS tag can be used to specify one or more directories that
2326 # contain dot files that are included in the documentation (see the \dotfile
2327 # command).
2328 # This tag requires that the tag HAVE_DOT is set to YES.
2329 
2330 DOTFILE_DIRS =
2331 
2332 # The MSCFILE_DIRS tag can be used to specify one or more directories that
2333 # contain msc files that are included in the documentation (see the \mscfile
2334 # command).
2335 
2336 MSCFILE_DIRS =
2337 
2338 # The DIAFILE_DIRS tag can be used to specify one or more directories that
2339 # contain dia files that are included in the documentation (see the \diafile
2340 # command).
2341 
2342 DIAFILE_DIRS =
2343 
2344 # When using plantuml, the PLANTUML_JAR_PATH tag should be used to specify the
2345 # path where java can find the plantuml.jar file. If left blank, it is assumed
2346 # PlantUML is not used or called during a preprocessing step. Doxygen will
2347 # generate a warning when it encounters a \startuml command in this case and
2348 # will not generate output for the diagram.
2349 
2350 PLANTUML_JAR_PATH =
2351 
2352 # When using plantuml, the specified paths are searched for files specified by
2353 # the !include statement in a plantuml block.
2354 
2355 PLANTUML_INCLUDE_PATH =
2356 
2357 # The DOT_GRAPH_MAX_NODES tag can be used to set the maximum number of nodes
2358 # that will be shown in the graph. If the number of nodes in a graph becomes
2359 # larger than this value, doxygen will truncate the graph, which is visualized
2360 # by representing a node as a red box. Note that doxygen if the number of direct
2361 # children of the root node in a graph is already larger than
2362 # DOT_GRAPH_MAX_NODES then the graph will not be shown at all. Also note that
2363 # the size of a graph can be further restricted by MAX_DOT_GRAPH_DEPTH.
2364 # Minimum value: 0, maximum value: 10000, default value: 50.
2365 # This tag requires that the tag HAVE_DOT is set to YES.
2366 
2367 DOT_GRAPH_MAX_NODES = 50
2368 
2369 # The MAX_DOT_GRAPH_DEPTH tag can be used to set the maximum depth of the graphs
2370 # generated by dot. A depth value of 3 means that only nodes reachable from the
2371 # root by following a path via at most 3 edges will be shown. Nodes that lay
2372 # further from the root node will be omitted. Note that setting this option to 1
2373 # or 2 may greatly reduce the computation time needed for large code bases. Also
2374 # note that the size of a graph can be further restricted by
2375 # DOT_GRAPH_MAX_NODES. Using a depth of 0 means no depth restriction.
2376 # Minimum value: 0, maximum value: 1000, default value: 0.
2377 # This tag requires that the tag HAVE_DOT is set to YES.
2378 
2379 MAX_DOT_GRAPH_DEPTH = 1000
2380 
2381 # Set the DOT_TRANSPARENT tag to YES to generate images with a transparent
2382 # background. This is disabled by default, because dot on Windows does not seem
2383 # to support this out of the box.
2384 #
2385 # Warning: Depending on the platform used, enabling this option may lead to
2386 # badly anti-aliased labels on the edges of a graph (i.e. they become hard to
2387 # read).
2388 # The default value is: NO.
2389 # This tag requires that the tag HAVE_DOT is set to YES.
2390 
2391 DOT_TRANSPARENT = NO
2392 
2393 # Set the DOT_MULTI_TARGETS tag to YES to allow dot to generate multiple output
2394 # files in one run (i.e. multiple -o and -T options on the command line). This
2395 # makes dot run faster, but since only newer versions of dot (>1.8.10) support
2396 # this, this feature is disabled by default.
2397 # The default value is: NO.
2398 # This tag requires that the tag HAVE_DOT is set to YES.
2399 
2400 DOT_MULTI_TARGETS = NO
2401 
2402 # If the GENERATE_LEGEND tag is set to YES doxygen will generate a legend page
2403 # explaining the meaning of the various boxes and arrows in the dot generated
2404 # graphs.
2405 # The default value is: YES.
2406 # This tag requires that the tag HAVE_DOT is set to YES.
2407 
2408 GENERATE_LEGEND = YES
2409 
2410 # If the DOT_CLEANUP tag is set to YES, doxygen will remove the intermediate dot
2411 # files that are used to generate the various graphs.
2412 # The default value is: YES.
2413 # This tag requires that the tag HAVE_DOT is set to YES.
2414 
2415 DOT_CLEANUP = YES
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a00663.html b/doc/api/a00663.html new file mode 100644 index 00000000..387841ff --- /dev/null +++ b/doc/api/a00663.html @@ -0,0 +1,618 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_quaternion + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_quaternion
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThan (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T pitch (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 3, 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 4, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAt (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtLH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtRH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T roll (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T yaw (qua< T, Q > const &x)
 
+

Detailed Description

+

Include <glm/gtc/quaternion.hpp> to use the features of this extension.

+

Defines a templated quaternion type and several quaternion operations.

+

Function Documentation

+ +

◆ eulerAngles()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::eulerAngles (qua< T, Q > const & x)
+
+ +

Returns euler angles, pitch as x, yaw as y, roll as z.

+

The result is expressed in radians.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +
+
+ +

◆ greaterThan()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::greaterThan (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x > y.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_relational
+ +
+
+ +

◆ greaterThanEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::greaterThanEqual (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x >= y.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_relational
+ +
+
+ +

◆ lessThan()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::lessThan (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns the component-wise comparison result of x < y.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_relational
+ +
+
+ +

◆ lessThanEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::lessThanEqual (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x <= y.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_relational
+ +
+
+ +

◆ mat3_cast()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::mat3_cast (qua< T, Q > const & x)
+
+ +

Converts a quaternion to a 3 * 3 matrix.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +

Referenced by glm::toMat3().

+ +
+
+ +

◆ mat4_cast()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::mat4_cast (qua< T, Q > const & x)
+
+ +

Converts a quaternion to a 4 * 4 matrix.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +

Referenced by glm::toMat4().

+ +
+
+ +

◆ pitch()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::pitch (qua< T, Q > const & x)
+
+ +

Returns pitch value of euler angles expressed in radians.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +
+
+ +

◆ quat_cast() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::quat_cast (mat< 3, 3, T, Q > const & x)
+
+ +

Converts a pure rotation 3 * 3 matrix to a quaternion.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +

Referenced by glm::toQuat().

+ +
+
+ +

◆ quat_cast() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::quat_cast (mat< 4, 4, T, Q > const & x)
+
+ +

Converts a pure rotation 4 * 4 matrix to a quaternion.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +
+
+ +

◆ quatLookAt()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::quatLookAt (vec< 3, T, Q > const & direction,
vec< 3, T, Q > const & up 
)
+
+ +

Build a look at quaternion based on the default handedness.

+
Parameters
+ + + +
directionDesired forward direction. Needs to be normalized.
upUp vector, how the camera is oriented. Typically (0, 1, 0).
+
+
+ +
+
+ +

◆ quatLookAtLH()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::quatLookAtLH (vec< 3, T, Q > const & direction,
vec< 3, T, Q > const & up 
)
+
+ +

Build a left-handed look at quaternion.

+
Parameters
+ + + +
directionDesired forward direction onto which the +z-axis gets mapped. Needs to be normalized.
upUp vector, how the camera is oriented. Typically (0, 1, 0).
+
+
+ +
+
+ +

◆ quatLookAtRH()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::quatLookAtRH (vec< 3, T, Q > const & direction,
vec< 3, T, Q > const & up 
)
+
+ +

Build a right-handed look at quaternion.

+
Parameters
+ + + +
directionDesired forward direction onto which the -z-axis gets mapped. Needs to be normalized.
upUp vector, how the camera is oriented. Typically (0, 1, 0).
+
+
+ +
+
+ +

◆ roll()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::roll (qua< T, Q > const & x)
+
+ +

Returns roll value of euler angles expressed in radians.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +
+
+ +

◆ yaw()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::yaw (qua< T, Q > const & x)
+
+ +

Returns yaw value of euler angles expressed in radians.

+
Template Parameters
+ + +
TFloating-point scalar types.
+
+
+
See also
GLM_GTC_quaternion
+ +
+
+
+ + + + diff --git a/doc/api/a00144.html b/doc/api/a00664.html similarity index 79% rename from doc/api/a00144.html rename to doc/api/a00664.html index b4d9da97..78847d52 100644 --- a/doc/api/a00144.html +++ b/doc/api/a00664.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: Exponential functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
Exponential functions
+
Exponential functions
Core features
- -

Include <glm/exponential.hpp> to use these core features. -More...

- - + - - + - - + - - + - - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > exp (vec< L, T, Q > const &v)
 Returns the natural exponentiation of x, i.e., e^x. More...
GLM_FUNC_DECL vec< L, T, Q > exp (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > exp2 (vec< L, T, Q > const &v)
 Returns 2 raised to the v power. More...
GLM_FUNC_DECL vec< L, T, Q > exp2 (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > inversesqrt (vec< L, T, Q > const &v)
 Returns the reciprocal of the positive square root of v. More...
GLM_FUNC_DECL vec< L, T, Q > inversesqrt (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > log (vec< L, T, Q > const &v)
 Returns the natural logarithm of v, i.e., returns the value y which satisfies the equation x = e^y. More...
GLM_FUNC_DECL vec< L, T, Q > log (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > log2 (vec< L, T, Q > const &v)
 Returns the base 2 log of x, i.e., returns the value y, which satisfies the equation x = 2 ^ y. More...
GLM_FUNC_DECL vec< L, T, Q > log2 (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > pow (vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
 Returns 'base' raised to the power 'exponent'. More...
GLM_FUNC_DECL vec< L, T, Q > pow (vec< L, T, Q > const &base, vec< L, T, Q > const &exponent)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sqrt (vec< L, T, Q > const &v)
 Returns the positive square root of v. More...
GLM_FUNC_DECL vec< L, T, Q > sqrt (vec< L, T, Q > const &v)
 

Detailed Description

-

Include <glm/exponential.hpp> to use these core features.

-

These all operate component-wise. The description is per component.

+

Provides GLSL exponential functions.

+

These all operate component-wise. The description is per component.

+

Include <glm/exponential.hpp> to use these core features.

Function Documentation

- + +

◆ exp()

+
@@ -154,7 +134,9 @@ Functions - + +

◆ exp2()

+
@@ -188,7 +170,9 @@ Functions - + +

◆ inversesqrt()

+
@@ -222,7 +206,9 @@ Functions - + +

◆ log()

+
@@ -257,7 +243,9 @@ Functions - + +

◆ log2()

+
@@ -291,7 +279,9 @@ Functions - + +

◆ pow()

+
@@ -329,7 +319,9 @@ Functions - + +

◆ sqrt()

+
@@ -368,7 +360,7 @@ Functions diff --git a/doc/api/a00163.html b/doc/api/a00665.html similarity index 56% rename from doc/api/a00163.html rename to doc/api/a00665.html index 9525283a..22b55b13 100644 --- a/doc/api/a00163.html +++ b/doc/api/a00665.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: GLM_GTC_matrix_transform + + +0.9.9 API documenation: GLM_EXT_matrix_clip_space - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_matrix_transform
+
GLM_EXT_matrix_clip_space
- -

Include <glm/gtc/matrix_transform.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - - - - - - - - - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + - - + - - - - - - - - - - - -

Functions

template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustum (T left, T right, T bottom, T top, T near, T far)
 Creates a frustum matrix with default handedness, using the default handedness and default near and far clip planes definition. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustum (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH (T left, T right, T bottom, T top, T near, T far)
 Creates a left handed frustum matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_NO (T left, T right, T bottom, T top, T near, T far)
 Creates a left handed frustum matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_NO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_ZO (T left, T right, T bottom, T top, T near, T far)
 Creates a left handed frustum matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumLH_ZO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumNO (T left, T right, T bottom, T top, T near, T far)
 Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumNO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH (T left, T right, T bottom, T top, T near, T far)
 Creates a right handed frustum matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_NO (T left, T right, T bottom, T top, T near, T far)
 Creates a right handed frustum matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_NO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_ZO (T left, T right, T bottom, T top, T near, T far)
 Creates a right handed frustum matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumRH_ZO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumZO (T left, T right, T bottom, T top, T near, T far)
 Creates a frustum matrix using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > frustumZO (T left, T right, T bottom, T top, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspective (T fovy, T aspect, T near)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite with default handedness. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspective (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveLH (T fovy, T aspect, T near)
 Creates a matrix for a left handed, symmetric perspective-view frustum with far plane at infinite. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveLH (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveRH (T fovy, T aspect, T near)
 Creates a matrix for a right handed, symmetric perspective-view frustum with far plane at infinite. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > infinitePerspectiveRH (T fovy, T aspect, T near)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a look at view matrix based on the default handedness. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a left handed look at view matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a right handed look at view matrix. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top)
 Creates a matrix for projecting two-dimensional coordinates onto the screen. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using the default handedness and default near and far clip planes definition. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > ortho (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume using right-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoLH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoNO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoNO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using right-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_NO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoRH_ZO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoZO (T left, T right, T bottom, T top, T zNear, T zFar)
 Creates a matrix for an orthographic parallel viewing volume, using left-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > orthoZO (T left, T right, T bottom, T top, T zNear, T zFar)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective (T fovy, T aspect, T near, T far)
 Creates a matrix for a symetric perspective-view frustum based on the default handedness and default near and far clip planes definition. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspective (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFov (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view and the default handedness and default near and far clip planes definition. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFov (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH (T fov, T width, T height, T near, T far)
 Builds a left handed perspective projection matrix based on a field of view. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_NO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_NO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_ZO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovLH_ZO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovNO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovNO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH (T fov, T width, T height, T near, T far)
 Builds a right handed perspective projection matrix based on a field of view. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_NO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using right-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_NO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_ZO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using right-handed coordinates. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovRH_ZO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovZO (T fov, T width, T height, T near, T far)
 Builds a perspective projection matrix based on a field of view using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveFovZO (T fov, T width, T height, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH (T fovy, T aspect, T near, T far)
 Creates a matrix for a left handed, symetric perspective-view frustum. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_NO (T fovy, T aspect, T near, T far)
 Creates a matrix for a left handed, symetric perspective-view frustum. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_NO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_ZO (T fovy, T aspect, T near, T far)
 Creates a matrix for a left handed, symetric perspective-view frustum. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveLH_ZO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveNO (T fovy, T aspect, T near, T far)
 Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveNO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH (T fovy, T aspect, T near, T far)
 Creates a matrix for a right handed, symetric perspective-view frustum. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_NO (T fovy, T aspect, T near, T far)
 Creates a matrix for a right handed, symetric perspective-view frustum. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_NO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_ZO (T fovy, T aspect, T near, T far)
 Creates a matrix for a right handed, symetric perspective-view frustum. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveRH_ZO (T fovy, T aspect, T near, T far)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveZO (T fovy, T aspect, T near, T far)
 Creates a matrix for a symetric perspective-view frustum using left-handed coordinates if GLM_FORCE_LEFT_HANDED if defined or right-handed coordinates otherwise. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > perspectiveZO (T fovy, T aspect, T near, T far)
 
template<typename T , qualifier Q, typename U >
GLM_FUNC_DECL mat< 4, 4, T, Q > pickMatrix (vec< 2, T, Q > const &center, vec< 2, T, Q > const &delta, vec< 4, U, Q > const &viewport)
 Define a picking region. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > project (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates using default near and far clip planes definition. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectNO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectZO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
 Builds a rotation 4 * 4 matrix created from an axis vector and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 Builds a scale 4 * 4 matrix created from 3 scalars. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 Builds a translation 4 * 4 matrix created from a vector of 3 components. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near, T ep)
 Creates a matrix for a symmetric perspective-view frustum with far plane at infinite for graphics hardware that doesn't support depth clamping. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > tweakedInfinitePerspective (T fovy, T aspect, T near, T ep)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProject (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates using default near and far clip planes definition. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectNO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. More...
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectZO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 Map the specified window coordinates (win.x, win.y, win.z) into object coordinates. More...
 

Detailed Description

-

Include <glm/gtc/matrix_transform.hpp> to use the features of this extension.

-

Defines functions that generate common transformation matrices.

-

The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.

+

Defines functions that generate common transformation matrices.

+

The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.

+

Include <glm/ext/matrix_clip_space.hpp> to use the features of this extension.

+
See also
GLM_EXT_matrix_transform
+
+GLM_EXT_matrix_projection

Function Documentation

- + +

◆ frustum()

+
@@ -365,17 +260,17 @@ Functions

To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-glFrustum man page
+
See also
glFrustum man page
- + +

◆ frustumLH()

+
@@ -427,15 +322,16 @@ Functions

If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumLH_NO()

+
@@ -487,15 +383,16 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumLH_ZO()

+
@@ -547,15 +444,16 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumNO()

+
@@ -607,15 +505,16 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumRH()

+
@@ -667,15 +566,16 @@ Functions

If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumRH_NO()

+
@@ -727,15 +627,16 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumRH_ZO()

+
@@ -787,15 +688,16 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ frustumZO()

+
@@ -847,15 +749,16 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ infinitePerspective()

+
@@ -890,21 +793,22 @@ Functions
- +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ infinitePerspectiveLH()

+
@@ -939,21 +843,22 @@ Functions
- +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ infinitePerspectiveRH()

+
@@ -988,158 +893,22 @@ Functions
- +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::lookAt (vec< 3, T, Q > const & eye,
vec< 3, T, Q > const & center,
vec< 3, T, Q > const & up 
)
-
+ +

◆ ortho() [1/2]

-

Build a look at view matrix based on the default handedness.

-
Parameters
- - - - -
eyePosition of the camera
centerPosition where the camera is looking at
upNormalized up vector, how the camera is oriented. Typically (0, 0, 1)
-
-
-
See also
GLM_GTC_matrix_transform
-
-- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
-
-gluLookAt man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::lookAtLH (vec< 3, T, Q > const & eye,
vec< 3, T, Q > const & center,
vec< 3, T, Q > const & up 
)
-
- -

Build a left handed look at view matrix.

-
Parameters
- - - - -
eyePosition of the camera
centerPosition where the camera is looking at
upNormalized up vector, how the camera is oriented. Typically (0, 0, 1)
-
-
-
See also
GLM_GTC_matrix_transform
-
-- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::lookAtRH (vec< 3, T, Q > const & eye,
vec< 3, T, Q > const & center,
vec< 3, T, Q > const & up 
)
-
- -

Build a right handed look at view matrix.

-
Parameters
- - - - -
eyePosition of the camera
centerPosition where the camera is looking at
upNormalized up vector, how the camera is oriented. Typically (0, 0, 1)
-
-
-
See also
GLM_GTC_matrix_transform
-
-- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
- -
-
-
@@ -1178,19 +947,19 @@ Functions

Creates a matrix for projecting two-dimensional coordinates onto the screen.

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top, T const& zNear, T const& zFar)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top, T const& zNear, T const& zFar)
gluOrtho2D man page
- + +

◆ ortho() [2/2]

+
@@ -1242,19 +1011,19 @@ Functions

To change default handedness use GLM_FORCE_LEFT_HANDED. To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
glOrtho man page
- + +

◆ orthoLH()

+
@@ -1306,17 +1075,17 @@ Functions

If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoLH_NO()

+
@@ -1368,17 +1137,17 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoLH_ZO()

+
@@ -1430,17 +1199,17 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoNO()

+
@@ -1492,17 +1261,17 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoRH()

+
@@ -1554,17 +1323,17 @@ Functions

If GLM_FORCE_DEPTH_ZERO_TO_ONE is defined, the near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition) Otherwise, the near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoRH_NO()

+
@@ -1616,17 +1385,17 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoRH_ZO()

+
@@ -1678,17 +1447,17 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ orthoZO()

+
@@ -1740,17 +1509,17 @@ Functions

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
+
See also
- glm::ortho(T const& left, T const& right, T const& bottom, T const& top)
- + +

◆ perspective()

+
@@ -1793,23 +1562,23 @@ Functions - +
fovySpecifies the field of view angle in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
-
-gluPerspective man page
+
See also
gluPerspective man page
- + +

◆ perspectiveFov()

+
@@ -1859,21 +1628,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovLH()

+
@@ -1923,21 +1693,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovLH_NO()

+
@@ -1987,21 +1758,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovLH_ZO()

+
@@ -2051,21 +1823,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovNO()

+
@@ -2115,21 +1888,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovRH()

+
@@ -2179,21 +1953,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovRH_NO()

+
@@ -2243,21 +2018,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovRH_ZO()

+
@@ -2307,21 +2083,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveFovZO()

+
@@ -2371,21 +2148,22 @@ Functions - +
widthWidth of the viewport
heightHeight of the viewport
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveLH()

+
@@ -2428,21 +2206,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveLH_NO()

+
@@ -2485,21 +2264,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveLH_ZO()

+
@@ -2542,21 +2322,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveNO()

+
@@ -2599,21 +2380,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveRH()

+
@@ -2656,21 +2438,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveRH_NO()

+
@@ -2713,21 +2496,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveRH_ZO()

+
@@ -2770,21 +2554,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ perspectiveZO()

+
@@ -2827,415 +2612,22 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
farSpecifies the distance from the viewer to the far clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::pickMatrix (vec< 2, T, Q > const & center,
vec< 2, T, Q > const & delta,
vec< 4, U, Q > const & viewport 
)
-
+ +

◆ tweakedInfinitePerspective() [1/2]

-

Define a picking region.

-
Parameters
- - - - -
centerSpecify the center of a picking region in window coordinates.
deltaSpecify the width and height, respectively, of the picking region in window coordinates.
viewportRendering viewport
-
-
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluPickMatrix man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::project (vec< 3, T, Q > const & obj,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
-
- -

Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates using default near and far clip planes definition.

-

To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.

-
Parameters
- - - - - -
objSpecify the object coordinates.
modelSpecifies the current modelview matrix
projSpecifies the current projection matrix
viewportSpecifies the current viewport
-
-
-
Returns
Return the computed window coordinates.
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluProject man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::projectNO (vec< 3, T, Q > const & obj,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
-
- -

Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.

-

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

-
Parameters
- - - - - -
objSpecify the object coordinates.
modelSpecifies the current modelview matrix
projSpecifies the current projection matrix
viewportSpecifies the current viewport
-
-
-
Returns
Return the computed window coordinates.
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluProject man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::projectZO (vec< 3, T, Q > const & obj,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
-
- -

Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.

-

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

-
Parameters
- - - - - -
objSpecify the object coordinates.
modelSpecifies the current modelview matrix
projSpecifies the current projection matrix
viewportSpecifies the current viewport
-
-
-
Returns
Return the computed window coordinates.
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluProject man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::rotate (mat< 4, 4, T, Q > const & m,
angle,
vec< 3, T, Q > const & axis 
)
-
- -

Builds a rotation 4 * 4 matrix created from an axis vector and an angle.

-
Parameters
- - - - -
mInput matrix multiplied by this rotation matrix.
angleRotation angle expressed in radians.
axisRotation axis, recommended to be normalized.
-
-
-
Template Parameters
- - -
TValue type used to build the matrix. Supported: half, float or double.
-
-
-
See also
GLM_GTC_matrix_transform
-
-- rotate(mat<4, 4, T, Q> const& m, T angle, T x, T y, T z)
-
-- rotate(T angle, vec<3, T, Q> const& v)
-
-glRotate man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::scale (mat< 4, 4, T, Q > const & m,
vec< 3, T, Q > const & v 
)
-
- -

Builds a scale 4 * 4 matrix created from 3 scalars.

-
Parameters
- - - -
mInput matrix multiplied by this scale matrix.
vRatio of scaling for each axis.
-
-
-
Template Parameters
- - -
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
-
-
-
See also
GLM_GTC_matrix_transform
-
-- scale(mat<4, 4, T, Q> const& m, T x, T y, T z)
-
-- scale(vec<3, T, Q> const& v)
-
-glScale man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL mat<4, 4, T, Q> glm::translate (mat< 4, 4, T, Q > const & m,
vec< 3, T, Q > const & v 
)
-
- -

Builds a translation 4 * 4 matrix created from a vector of 3 components.

-
Parameters
- - - -
mInput matrix multiplied by this translation matrix.
vCoordinates of a translation vector.
-
-
-
Template Parameters
- - -
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
#include <glm/glm.hpp>
- -
...
-
glm::mat4 m = glm::translate(glm::mat4(1.0f), glm::vec3(1.0f));
-
// m[0][0] == 1.0f, m[0][1] == 0.0f, m[0][2] == 0.0f, m[0][3] == 0.0f
-
// m[1][0] == 0.0f, m[1][1] == 1.0f, m[1][2] == 0.0f, m[1][3] == 0.0f
-
// m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f
-
// m[3][0] == 1.0f, m[3][1] == 1.0f, m[3][2] == 1.0f, m[3][3] == 1.0f
-
-
-
-
See also
GLM_GTC_matrix_transform
-
-- translate(mat<4, 4, T, Q> const& m, T x, T y, T z)
-
-- translate(vec<3, T, Q> const& v)
-
-glTranslate man page
- -
-
-
@@ -3270,21 +2662,22 @@ Functions
- +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- + +

◆ tweakedInfinitePerspective() [2/2]

+
@@ -3326,200 +2719,16 @@ Functions - +
fovySpecifies the field of view angle, in degrees, in the y direction. Expressed in radians.
aspectSpecifies the aspect ratio that determines the field of view in the x direction. The aspect ratio is the ratio of x (width) to y (height).
nearSpecifies the distance from the viewer to the near clipping plane (always positive).
epEpsilon
epEpsilon
Template Parameters
- +
TValue type used to build the matrix. Currently supported: half (not recommended), float or double.
TA floating-point scalar type
-
See also
GLM_GTC_matrix_transform
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::unProject (vec< 3, T, Q > const & win,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
-
- -

Map the specified window coordinates (win.x, win.y, win.z) into object coordinates using default near and far clip planes definition.

-

To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.

-
Parameters
- - - - - -
winSpecify the window coordinates to be mapped.
modelSpecifies the modelview matrix
projSpecifies the projection matrix
viewportSpecifies the viewport
-
-
-
Returns
Returns the computed object coordinates.
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluUnProject man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::unProjectNO (vec< 3, T, Q > const & win,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
-
- -

Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.

-

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

-
Parameters
- - - - - -
winSpecify the window coordinates to be mapped.
modelSpecifies the modelview matrix
projSpecifies the projection matrix
viewportSpecifies the viewport
-
-
-
Returns
Returns the computed object coordinates.
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluUnProject man page
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
GLM_FUNC_DECL vec<3, T, Q> glm::unProjectZO (vec< 3, T, Q > const & win,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
-
- -

Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.

-

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

-
Parameters
- - - - - -
winSpecify the window coordinates to be mapped.
modelSpecifies the modelview matrix
projSpecifies the projection matrix
viewportSpecifies the viewport
-
-
-
Returns
Returns the computed object coordinates.
-
Template Parameters
- - - -
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
-
-
-
See also
GLM_GTC_matrix_transform
-
-gluUnProject man page
@@ -3528,7 +2737,7 @@ Functions diff --git a/doc/api/a00666.html b/doc/api/a00666.html new file mode 100644 index 00000000..efebeeef --- /dev/null +++ b/doc/api/a00666.html @@ -0,0 +1,530 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_matrix_projection + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_matrix_projection
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q, typename U >
GLM_FUNC_DECL mat< 4, 4, T, Q > pickMatrix (vec< 2, T, Q > const &center, vec< 2, T, Q > const &delta, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > project (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectNO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > projectZO (vec< 3, T, Q > const &obj, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProject (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectNO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unProjectZO (vec< 3, T, Q > const &win, mat< 4, 4, T, Q > const &model, mat< 4, 4, T, Q > const &proj, vec< 4, U, Q > const &viewport)
 
+

Detailed Description

+

Functions that generate common projection transformation matrices.

+

The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.

+

Include <glm/ext/matrix_projection.hpp> to use the features of this extension.

+
See also
GLM_EXT_matrix_transform
+
+GLM_EXT_matrix_clip_space
+

Function Documentation

+ +

◆ pickMatrix()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::pickMatrix (vec< 2, T, Q > const & center,
vec< 2, T, Q > const & delta,
vec< 4, U, Q > const & viewport 
)
+
+ +

Define a picking region.

+
Parameters
+ + + + +
centerSpecify the center of a picking region in window coordinates.
deltaSpecify the width and height, respectively, of the picking region in window coordinates.
viewportRendering viewport
+
+
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluPickMatrix man page
+ +
+
+ +

◆ project()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::project (vec< 3, T, Q > const & obj,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
+
+ +

Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates using default near and far clip planes definition.

+

To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.

+
Parameters
+ + + + + +
objSpecify the object coordinates.
modelSpecifies the current modelview matrix
projSpecifies the current projection matrix
viewportSpecifies the current viewport
+
+
+
Returns
Return the computed window coordinates.
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluProject man page
+ +
+
+ +

◆ projectNO()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::projectNO (vec< 3, T, Q > const & obj,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
+
+ +

Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.

+

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

+
Parameters
+ + + + + +
objSpecify the object coordinates.
modelSpecifies the current modelview matrix
projSpecifies the current projection matrix
viewportSpecifies the current viewport
+
+
+
Returns
Return the computed window coordinates.
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluProject man page
+ +
+
+ +

◆ projectZO()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::projectZO (vec< 3, T, Q > const & obj,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
+
+ +

Map the specified object coordinates (obj.x, obj.y, obj.z) into window coordinates.

+

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

+
Parameters
+ + + + + +
objSpecify the object coordinates.
modelSpecifies the current modelview matrix
projSpecifies the current projection matrix
viewportSpecifies the current viewport
+
+
+
Returns
Return the computed window coordinates.
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluProject man page
+ +
+
+ +

◆ unProject()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::unProject (vec< 3, T, Q > const & win,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
+
+ +

Map the specified window coordinates (win.x, win.y, win.z) into object coordinates using default near and far clip planes definition.

+

To change default near and far clip planes definition use GLM_FORCE_DEPTH_ZERO_TO_ONE.

+
Parameters
+ + + + + +
winSpecify the window coordinates to be mapped.
modelSpecifies the modelview matrix
projSpecifies the projection matrix
viewportSpecifies the viewport
+
+
+
Returns
Returns the computed object coordinates.
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluUnProject man page
+ +
+
+ +

◆ unProjectNO()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::unProjectNO (vec< 3, T, Q > const & win,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
+
+ +

Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.

+

The near and far clip planes correspond to z normalized device coordinates of -1 and +1 respectively. (OpenGL clip volume definition)

+
Parameters
+ + + + + +
winSpecify the window coordinates to be mapped.
modelSpecifies the modelview matrix
projSpecifies the projection matrix
viewportSpecifies the viewport
+
+
+
Returns
Returns the computed object coordinates.
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluUnProject man page
+ +
+
+ +

◆ unProjectZO()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::unProjectZO (vec< 3, T, Q > const & win,
mat< 4, 4, T, Q > const & model,
mat< 4, 4, T, Q > const & proj,
vec< 4, U, Q > const & viewport 
)
+
+ +

Map the specified window coordinates (win.x, win.y, win.z) into object coordinates.

+

The near and far clip planes correspond to z normalized device coordinates of 0 and +1 respectively. (Direct3D clip volume definition)

+
Parameters
+ + + + + +
winSpecify the window coordinates to be mapped.
modelSpecifies the modelview matrix
projSpecifies the projection matrix
viewportSpecifies the viewport
+
+
+
Returns
Returns the computed object coordinates.
+
Template Parameters
+ + + +
TNative type used for the computation. Currently supported: half (not recommended), float or double.
UCurrently supported: Floating-point types and integer types.
+
+
+
See also
gluUnProject man page
+ +
+
+
+ + + + diff --git a/doc/api/a00667.html b/doc/api/a00667.html new file mode 100644 index 00000000..7bcc5c43 --- /dev/null +++ b/doc/api/a00667.html @@ -0,0 +1,374 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_matrix_relational + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_matrix_relational
+
+
+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, T epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, T epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y, vec< C, T, Q > const &epsilon)
 
+

Detailed Description

+

Exposes comparison functions for matrix types that take a user defined epsilon values.

+

Include <glm/ext/matrix_relational.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_relational
+
+GLM_EXT_scalar_relational
+
+GLM_EXT_quaternion_relational
+

Function Documentation

+ +

◆ equal() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> glm::equal (mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y 
)
+
+ +

Perform a component-wise equal-to comparison of two matrices.

+

Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.

+
Template Parameters
+ + + + + +
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ equal() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> glm::equal (mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + + + + +
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ equal() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> glm::equal (mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
vec< C, T, Q > const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + + + + +
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> glm::notEqual (mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y 
)
+
+ +

Perform a component-wise not-equal-to comparison of two matrices.

+

Return a boolean vector which components value is True if this expression is satisfied per column of the matrices.

+
Template Parameters
+ + + + + +
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> glm::notEqual (mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + + + + +
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<C, bool, Q> glm::notEqual (mat< C, R, T, Q > const & x,
mat< C, R, T, Q > const & y,
vec< C, T, Q > const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + + + + +
CInteger between 1 and 4 included that qualify the number of columns of the matrix
RInteger between 1 and 4 included that qualify the number of rows of the matrix
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00668.html b/doc/api/a00668.html new file mode 100644 index 00000000..d72fac30 --- /dev/null +++ b/doc/api/a00668.html @@ -0,0 +1,425 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_matrix_transform + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_matrix_transform
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 
+

Detailed Description

+

Defines functions that generate common transformation matrices.

+

The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.

+

Include <glm/ext/matrix_transform.hpp> to use the features of this extension.

+
See also
GLM_EXT_matrix_projection
+
+GLM_EXT_matrix_clip_space
+

Function Documentation

+ +

◆ lookAt()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::lookAt (vec< 3, T, Q > const & eye,
vec< 3, T, Q > const & center,
vec< 3, T, Q > const & up 
)
+
+ +

Build a look at view matrix based on the default handedness.

+
Parameters
+ + + + +
eyePosition of the camera
centerPosition where the camera is looking at
upNormalized up vector, how the camera is oriented. Typically (0, 0, 1)
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
See also
- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
+
+gluLookAt man page
+ +
+
+ +

◆ lookAtLH()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::lookAtLH (vec< 3, T, Q > const & eye,
vec< 3, T, Q > const & center,
vec< 3, T, Q > const & up 
)
+
+ +

Build a left handed look at view matrix.

+
Parameters
+ + + + +
eyePosition of the camera
centerPosition where the camera is looking at
upNormalized up vector, how the camera is oriented. Typically (0, 0, 1)
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
See also
- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
+ +
+
+ +

◆ lookAtRH()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::lookAtRH (vec< 3, T, Q > const & eye,
vec< 3, T, Q > const & center,
vec< 3, T, Q > const & up 
)
+
+ +

Build a right handed look at view matrix.

+
Parameters
+ + + + +
eyePosition of the camera
centerPosition where the camera is looking at
upNormalized up vector, how the camera is oriented. Typically (0, 0, 1)
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
See also
- frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal) frustum(T const& left, T const& right, T const& bottom, T const& top, T const& nearVal, T const& farVal)
+ +
+
+ +

◆ rotate()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::rotate (mat< 4, 4, T, Q > const & m,
angle,
vec< 3, T, Q > const & axis 
)
+
+ +

Builds a rotation 4 * 4 matrix created from an axis vector and an angle.

+
Parameters
+ + + + +
mInput matrix multiplied by this rotation matrix.
angleRotation angle expressed in radians.
axisRotation axis, recommended to be normalized.
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
See also
- rotate(mat<4, 4, T, Q> const& m, T angle, T x, T y, T z)
+
+- rotate(T angle, vec<3, T, Q> const& v)
+
+glRotate man page
+ +
+
+ +

◆ scale()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::scale (mat< 4, 4, T, Q > const & m,
vec< 3, T, Q > const & v 
)
+
+ +

Builds a scale 4 * 4 matrix created from 3 scalars.

+
Parameters
+ + + +
mInput matrix multiplied by this scale matrix.
vRatio of scaling for each axis.
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
See also
- scale(mat<4, 4, T, Q> const& m, T x, T y, T z)
+
+- scale(vec<3, T, Q> const& v)
+
+glScale man page
+ +
+
+ +

◆ translate()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::translate (mat< 4, 4, T, Q > const & m,
vec< 3, T, Q > const & v 
)
+
+ +

Builds a translation 4 * 4 matrix created from a vector of 3 components.

+
Parameters
+ + + +
mInput matrix multiplied by this translation matrix.
vCoordinates of a translation vector.
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
#include <glm/glm.hpp>
...
glm::mat4 m = glm::translate(glm::mat4(1.0f), glm::vec3(1.0f));
// m[0][0] == 1.0f, m[0][1] == 0.0f, m[0][2] == 0.0f, m[0][3] == 0.0f
// m[1][0] == 0.0f, m[1][1] == 1.0f, m[1][2] == 0.0f, m[1][3] == 0.0f
// m[2][0] == 0.0f, m[2][1] == 0.0f, m[2][2] == 1.0f, m[2][3] == 0.0f
// m[3][0] == 1.0f, m[3][1] == 1.0f, m[3][2] == 1.0f, m[3][3] == 1.0f
See also
- translate(mat<4, 4, T, Q> const& m, T x, T y, T z)
+
+- translate(vec<3, T, Q> const& v)
+
+glTranslate man page
+ +
+
+
+ + + + diff --git a/doc/api/a00669.html b/doc/api/a00669.html new file mode 100644 index 00000000..ea35a1fb --- /dev/null +++ b/doc/api/a00669.html @@ -0,0 +1,393 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_common + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_common
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > conjugate (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > inverse (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isinf (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isnan (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > lerp (qua< T, Q > const &x, qua< T, Q > const &y, T a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > mix (qua< T, Q > const &x, qua< T, Q > const &y, T a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > slerp (qua< T, Q > const &x, qua< T, Q > const &y, T a)
 
+

Detailed Description

+

Provides common functions for quaternion types.

+

Include <glm/ext/quaternion_common.hpp> to use the features of this extension.

+
See also
GLM_EXT_scalar_common
+
+GLM_EXT_vector_common
+
+GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double
+
+GLM_EXT_quaternion_exponential
+
+GLM_EXT_quaternion_geometric
+
+GLM_EXT_quaternion_relational
+
+GLM_EXT_quaternion_trigonometric
+
+GLM_EXT_quaternion_transform
+

Function Documentation

+ +

◆ conjugate()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::conjugate (qua< T, Q > const & q)
+
+ +

Returns the q conjugate.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ inverse()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::inverse (qua< T, Q > const & q)
+
+ +

Returns the q inverse.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ isinf()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::isinf (qua< T, Q > const & x)
+
+ +

Returns true if x holds a positive infinity or negative infinity representation in the underlying implementation's set of floating point representations.

+

Returns false otherwise, including for implementations with no infinity representations.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ isnan()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::isnan (qua< T, Q > const & x)
+
+ +

Returns true if x holds a NaN (not a number) representation in the underlying implementation's set of floating point representations.

+

Returns false otherwise, including for implementations with no NaN representations.

+

/!\ When using compiler fast math, this function may fail.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ lerp()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::lerp (qua< T, Q > const & x,
qua< T, Q > const & y,
a 
)
+
+ +

Linear interpolation of two quaternions.

+

The interpolation is oriented.

+
Parameters
+ + + + +
xA quaternion
yA quaternion
aInterpolation factor. The interpolation is defined in the range [0, 1].
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ mix()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::mix (qua< T, Q > const & x,
qua< T, Q > const & y,
a 
)
+
+ +

Spherical linear interpolation of two quaternions.

+

The interpolation is oriented and the rotation is performed at constant speed. For short path spherical linear interpolation, use the slerp function.

+
Parameters
+ + + + +
xA quaternion
yA quaternion
aInterpolation factor. The interpolation is defined beyond the range [0, 1].
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+
See also
- slerp(qua<T, Q> const& x, qua<T, Q> const& y, T const& a)
+ +
+
+ +

◆ slerp()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::slerp (qua< T, Q > const & x,
qua< T, Q > const & y,
a 
)
+
+ +

Spherical linear interpolation of two quaternions.

+

The interpolation always take the short path and the rotation is performed at constant speed.

+
Parameters
+ + + + +
xA quaternion
yA quaternion
aInterpolation factor. The interpolation is defined beyond the range [0, 1].
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00670.html b/doc/api/a00670.html new file mode 100644 index 00000000..41dd165b --- /dev/null +++ b/doc/api/a00670.html @@ -0,0 +1,104 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_double + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_double
+
+
+ + + + +

+Typedefs

+typedef qua< double, defaultp > dquat
 
+

Detailed Description

+

Exposes double-precision floating point quaternion type.

+

Include <glm/ext/quaternion_double.hpp> to use the features of this extension.

+
See also
GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double_precision
+
+GLM_EXT_quaternion_common
+
+GLM_EXT_quaternion_exponential
+
+GLM_EXT_quaternion_geometric
+
+GLM_EXT_quaternion_relational
+
+GLM_EXT_quaternion_transform
+
+GLM_EXT_quaternion_trigonometric
+
+ + + + diff --git a/doc/api/a00671.html b/doc/api/a00671.html new file mode 100644 index 00000000..0648d6d0 --- /dev/null +++ b/doc/api/a00671.html @@ -0,0 +1,150 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_double_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_double_precision
+
+
+ + + + + + + + +

+Typedefs

typedef qua< double, highp > highp_dquat
 
typedef qua< double, lowp > lowp_dquat
 
typedef qua< double, mediump > mediump_dquat
 
+

Detailed Description

+

Exposes double-precision floating point quaternion type with various precision in term of ULPs.

+

Include <glm/ext/quaternion_double_precision.hpp> to use the features of this extension.

+

Typedef Documentation

+ +

◆ highp_dquat

+ +
+
+ + + + +
typedef qua< double, highp > highp_dquat
+
+ +

Quaternion of high double-qualifier floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLM_EXT_quaternion_double_precision
+ +

Definition at line 38 of file quaternion_double_precision.hpp.

+ +
+
+ +

◆ lowp_dquat

+ +
+
+ + + + +
typedef qua< double, lowp > lowp_dquat
+
+ +

Quaternion of double-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLM_EXT_quaternion_double_precision
+ +

Definition at line 28 of file quaternion_double_precision.hpp.

+ +
+
+ +

◆ mediump_dquat

+ +
+
+ + + + +
typedef qua< double, mediump > mediump_dquat
+
+ +

Quaternion of medium double-qualifier floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLM_EXT_quaternion_double_precision
+ +

Definition at line 33 of file quaternion_double_precision.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00672.html b/doc/api/a00672.html new file mode 100644 index 00000000..d3c83753 --- /dev/null +++ b/doc/api/a00672.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_exponential + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
GLM_EXT_quaternion_exponential
+
+
+

Provides exponential functions for quaternion types.

+

Include <glm/ext/quaternion_exponential.hpp> to use the features of this extension.

+
See also
core_exponential
+
+GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double
+
+ + + + diff --git a/doc/api/a00673.html b/doc/api/a00673.html new file mode 100644 index 00000000..e54db65d --- /dev/null +++ b/doc/api/a00673.html @@ -0,0 +1,104 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_float + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_float
+
+
+ + + + +

+Typedefs

+typedef qua< float, defaultp > quat
 
+

Detailed Description

+

Exposes single-precision floating point quaternion type.

+

Include <glm/ext/quaternion_float.hpp> to use the features of this extension.

+
See also
GLM_EXT_quaternion_double
+
+GLM_EXT_quaternion_float_precision
+
+GLM_EXT_quaternion_common
+
+GLM_EXT_quaternion_exponential
+
+GLM_EXT_quaternion_geometric
+
+GLM_EXT_quaternion_relational
+
+GLM_EXT_quaternion_transform
+
+GLM_EXT_quaternion_trigonometric
+
+ + + + diff --git a/doc/api/a00674.html b/doc/api/a00674.html new file mode 100644 index 00000000..9493ef09 --- /dev/null +++ b/doc/api/a00674.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_float_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_float_precision
+
+
+ + + + + + + + +

+Typedefs

+typedef qua< float, highp > highp_quat
 
+typedef qua< float, lowp > lowp_quat
 
+typedef qua< float, mediump > mediump_quat
 
+

Detailed Description

+

Exposes single-precision floating point quaternion type with various precision in term of ULPs.

+

Include <glm/ext/quaternion_float_precision.hpp> to use the features of this extension.

+
+ + + + diff --git a/doc/api/a00675.html b/doc/api/a00675.html new file mode 100644 index 00000000..6148025d --- /dev/null +++ b/doc/api/a00675.html @@ -0,0 +1,236 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_geometric + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_geometric
+
+
+ + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER qua< T, Q > cross (qua< T, Q > const &q1, qua< T, Q > const &q2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T dot (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > normalize (qua< T, Q > const &q)
 
+

Detailed Description

+

Provides geometric functions for quaternion types.

+

Include <glm/ext/quaternion_geometric.hpp> to use the features of this extension.

+
See also
core_geometric
+
+GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double
+

Function Documentation

+ +

◆ cross()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_QUALIFIER qua<T, Q> glm::cross (qua< T, Q > const & q1,
qua< T, Q > const & q2 
)
+
+ +

Compute a cross product.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_geometric
+ +
+
+ +

◆ dot()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::dot (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns dot product of q1 and q2, i.e., q1[0] * q2[0] + q1[1] * q2[1] + ...

+
Template Parameters
+ + + +
TFloating-point scalar types.
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_geometric
+ +
+
+ +

◆ length()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::length (qua< T, Q > const & q)
+
+ +

Returns the norm of a quaternions.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_geometric
+ +
+
+ +

◆ normalize()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::normalize (qua< T, Q > const & q)
+
+ +

Returns the normalized quaternion.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLM_EXT_quaternion_geometric
+ +
+
+
+ + + + diff --git a/doc/api/a00676.html b/doc/api/a00676.html new file mode 100644 index 00000000..13a91ad5 --- /dev/null +++ b/doc/api/a00676.html @@ -0,0 +1,268 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_relational + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_relational
+
+
+ + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > equal (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > equal (qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > notEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > notEqual (qua< T, Q > const &x, qua< T, Q > const &y, T epsilon)
 
+

Detailed Description

+

Exposes comparison functions for quaternion types that take a user defined epsilon values.

+

Include <glm/ext/quaternion_relational.hpp> to use the features of this extension.

+
See also
core_vector_relational
+
+GLM_EXT_vector_relational
+
+GLM_EXT_matrix_relational
+
+GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double
+

Function Documentation

+ +

◆ equal() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::equal (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x == y.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ equal() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::equal (qua< T, Q > const & x,
qua< T, Q > const & y,
epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::notEqual (qua< T, Q > const & x,
qua< T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x != y.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, bool, Q> glm::notEqual (qua< T, Q > const & x,
qua< T, Q > const & y,
epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00677.html b/doc/api/a00677.html new file mode 100644 index 00000000..9f08e640 --- /dev/null +++ b/doc/api/a00677.html @@ -0,0 +1,282 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_transform + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_transform
+
+
+ + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > exp (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > log (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > pow (qua< T, Q > const &q, T y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotate (qua< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > sqrt (qua< T, Q > const &q)
 
+

Detailed Description

+

Provides transformation functions for quaternion types.

+

Include <glm/ext/quaternion_transform.hpp> to use the features of this extension.

+
See also
GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double
+
+GLM_EXT_quaternion_exponential
+
+GLM_EXT_quaternion_geometric
+
+GLM_EXT_quaternion_relational
+
+GLM_EXT_quaternion_trigonometric
+

Function Documentation

+ +

◆ exp()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::exp (qua< T, Q > const & q)
+
+ +

Returns a exponential of a quaternion.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ log()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::log (qua< T, Q > const & q)
+
+ +

Returns a logarithm of a quaternion.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ pow()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::pow (qua< T, Q > const & q,
y 
)
+
+ +

Returns a quaternion raised to a power.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ rotate()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::rotate (qua< T, Q > const & q,
T const & angle,
vec< 3, T, Q > const & axis 
)
+
+ +

Rotates a quaternion from a vector of 3 components axis and an angle.

+
Parameters
+ + + + +
qSource orientation
angleAngle expressed in radians.
axisAxis of the rotation
+
+
+
Template Parameters
+ + + +
TFloating-point scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ sqrt()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::sqrt (qua< T, Q > const & q)
+
+ +

Returns the square root of a quaternion.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00678.html b/doc/api/a00678.html new file mode 100644 index 00000000..89989df2 --- /dev/null +++ b/doc/api/a00678.html @@ -0,0 +1,205 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_quaternion_trigonometric + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_quaternion_trigonometric
+
+
+ + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T angle (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > angleAxis (T const &angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > axis (qua< T, Q > const &x)
 
+

Detailed Description

+

Provides trigonometric functions for quaternion types.

+

Include <glm/ext/quaternion_trigonometric.hpp> to use the features of this extension.

+
See also
GLM_EXT_quaternion_float
+
+GLM_EXT_quaternion_double
+
+GLM_EXT_quaternion_exponential
+
+GLM_EXT_quaternion_geometric
+
+GLM_EXT_quaternion_relational
+
+GLM_EXT_quaternion_transform
+

Function Documentation

+ +

◆ angle()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::angle (qua< T, Q > const & x)
+
+ +

Returns the quaternion rotation angle.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ angleAxis()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::angleAxis (T const & angle,
vec< 3, T, Q > const & axis 
)
+
+ +

Build a quaternion from an angle and a normalized axis.

+
Parameters
+ + + +
angleAngle expressed in radians.
axisAxis of the quaternion, must be normalized.
+
+
+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+ +

◆ axis()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::axis (qua< T, Q > const & x)
+
+ +

Returns the q rotation axis.

+
Template Parameters
+ + + +
TA floating-point scalar type
QA value from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00679.html b/doc/api/a00679.html new file mode 100644 index 00000000..71ac116a --- /dev/null +++ b/doc/api/a00679.html @@ -0,0 +1,564 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_scalar_common + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_scalar_common
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T >
GLM_FUNC_DECL T fmax (T a, T b)
 
template<typename T >
GLM_FUNC_DECL T fmax (T a, T b, T C)
 
template<typename T >
GLM_FUNC_DECL T fmax (T a, T b, T C, T D)
 
template<typename T >
GLM_FUNC_DECL T fmin (T a, T b)
 
template<typename T >
GLM_FUNC_DECL T fmin (T a, T b, T c)
 
template<typename T >
GLM_FUNC_DECL T fmin (T a, T b, T c, T d)
 
template<typename T >
GLM_FUNC_DECL T max (T a, T b, T c)
 
template<typename T >
GLM_FUNC_DECL T max (T a, T b, T c, T d)
 
template<typename T >
GLM_FUNC_DECL T min (T a, T b, T c)
 
template<typename T >
GLM_FUNC_DECL T min (T a, T b, T c, T d)
 
+

Detailed Description

+

Exposes min and max functions for 3 to 4 scalar parameters.

+

Include <glm/ext/scalar_common.hpp> to use the features of this extension.

+
See also
Common functions
+
+GLM_EXT_vector_common
+

Function Documentation

+ +

◆ fmax() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fmax (a,
b 
)
+
+ +

Returns the maximum component-wise values of 2 inputs.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmax() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fmax (a,
b,
C 
)
+
+ +

Returns the maximum component-wise values of 3 inputs.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmax() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fmax (a,
b,
C,
D 
)
+
+ +

Returns the maximum component-wise values of 4 inputs.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmin() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fmin (a,
b 
)
+
+ +

Returns the minimum component-wise values of 2 inputs.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ fmin() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fmin (a,
b,
c 
)
+
+ +

Returns the minimum component-wise values of 3 inputs.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ fmin() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fmin (a,
b,
c,
d 
)
+
+ +

Returns the minimum component-wise values of 4 inputs.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ max() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::max (a,
b,
c 
)
+
+ +

Returns the maximum component-wise values of 3 inputs.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+ +
+
+ +

◆ max() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::max (a,
b,
c,
d 
)
+
+ +

Returns the maximum component-wise values of 4 inputs.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+ +
+
+ +

◆ min() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::min (a,
b,
c 
)
+
+ +

Returns the minimum component-wise values of 3 inputs.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+ +
+
+ +

◆ min() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::min (a,
b,
c,
d 
)
+
+ +

Returns the minimum component-wise values of 4 inputs.

+
Template Parameters
+ + +
TA floating-point scalar type.
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00680.html b/doc/api/a00680.html new file mode 100644 index 00000000..43562b7e --- /dev/null +++ b/doc/api/a00680.html @@ -0,0 +1,94 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_scalar_constants + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_scalar_constants
+
+
+ + + + + + + + +

+Functions

+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon ()
 
+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType pi ()
 
+

Detailed Description

+

Provides a list of constants and precomputed useful values.

+

Include <glm/ext/scalar_constants.hpp> to use the features of this extension.

+
+ + + + diff --git a/doc/api/a00681.html b/doc/api/a00681.html new file mode 100644 index 00000000..385a3ebe --- /dev/null +++ b/doc/api/a00681.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_scalar_float_sized + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_scalar_float_sized
+
+
+ + + + + + +

+Typedefs

+typedef float float32
 
+typedef double float64
 
+

Detailed Description

+

Exposes sized float scalar types.

+

Include <glm/ext/scalar_float_sized.hpp> to use the features of this extension.

+
See also
GLM_EXT_scalar_int_sized
+
+GLM_EXT_scalar_uint_sized
+
+ + + + diff --git a/doc/api/a00682.html b/doc/api/a00682.html new file mode 100644 index 00000000..a3a7a0d4 --- /dev/null +++ b/doc/api/a00682.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_scalar_int_sized + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_EXT_scalar_int_sized
+
+
+ + + + + + + + + + +

+Typedefs

+typedef detail::int16 int16
 
+typedef detail::int32 int32
 
+typedef detail::int64 int64
 
+typedef detail::int8 int8
 
+

Detailed Description

+

Exposes sized signed integer scalar types.

+

Include <glm/ext/scalar_int_sized.hpp> to use the features of this extension.

+
See also
GLM_EXT_scalar_uint_sized
+
+ + + + diff --git a/doc/api/a00151.html b/doc/api/a00683.html similarity index 55% rename from doc/api/a00151.html rename to doc/api/a00683.html index 08217b5d..c1afbdd5 100644 --- a/doc/api/a00151.html +++ b/doc/api/a00683.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: Template types + + +0.9.9 API documenation: GLM_EXT_scalar_relational - @@ -32,33 +30,22 @@
- + - + + + +
-
Template types
+
GLM_EXT_scalar_relational
- -

The generic template types used as the basis for the core types. -More...

-

The generic template types used as the basis for the core types.

-

These types are all templates used to define the actual Types. These templates are implementation details of GLM types and should not be used explicitly.

+

Exposes comparison functions for scalar types that take a user defined epsilon values.

+

Include <glm/ext/scalar_relational.hpp> to use the features of this extension.

+
See also
core_vector_relational
+
+GLM_EXT_vector_relational
+
+GLM_EXT_matrix_relational
diff --git a/doc/api/a00684.html b/doc/api/a00684.html new file mode 100644 index 00000000..903dbb7a --- /dev/null +++ b/doc/api/a00684.html @@ -0,0 +1,99 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_scalar_uint_sized + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_scalar_uint_sized
+
+
+ + + + + + + + + + +

+Typedefs

+typedef detail::uint16 uint16
 
+typedef detail::uint32 uint32
 
+typedef detail::uint64 uint64
 
+typedef detail::uint8 uint8
 
+

Detailed Description

+

Exposes sized unsigned integer scalar types.

+

Include <glm/ext/scalar_uint_sized.hpp> to use the features of this extension.

+
See also
GLM_EXT_scalar_int_sized
+
+ + + + diff --git a/doc/api/dir_98f7f9d41f9d3029bd68cf237526a774.html b/doc/api/a00685.html similarity index 54% rename from doc/api/dir_98f7f9d41f9d3029bd68cf237526a774.html rename to doc/api/a00685.html index 53d3be77..9769ba11 100644 --- a/doc/api/dir_98f7f9d41f9d3029bd68cf237526a774.html +++ b/doc/api/a00685.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: Source Directory Reference + + +0.9.9 API documenation: GLM_EXT_vector_bool1 - @@ -32,33 +30,23 @@ - + - + + + + +
- -
+
+Typedefs
-
Source Directory Reference
+
GLM_EXT_vector_bool1
- - - + + +

-Directories

directory  G-Truc
 

+Typedefs

+typedef vec< 1, bool, defaultp > bvec1
 
+

Detailed Description

+

Exposes bvec1 vector type.

+

Include <glm/ext/vector_bool1.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_bool1_precision extension.
diff --git a/doc/api/a00686.html b/doc/api/a00686.html new file mode 100644 index 00000000..f7a29c4b --- /dev/null +++ b/doc/api/a00686.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_bool1_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_bool1_precision
+
+
+ + + + + + + + +

+Typedefs

+typedef vec< 1, bool, highp > highp_bvec1
 
+typedef vec< 1, bool, lowp > lowp_bvec1
 
+typedef vec< 1, bool, mediump > mediump_bvec1
 
+

Detailed Description

+

Exposes highp_bvec1, mediump_bvec1 and lowp_bvec1 types.

+

Include <glm/ext/vector_bool1_precision.hpp> to use the features of this extension.

+
+ + + + diff --git a/doc/api/a00687.html b/doc/api/a00687.html new file mode 100644 index 00000000..527941e7 --- /dev/null +++ b/doc/api/a00687.html @@ -0,0 +1,670 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_common + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Functions
+
+
GLM_EXT_vector_common
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, T b)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, vec< L, T, Q > const &b)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmax (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, T y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmin (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &z)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > max (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &z, vec< L, T, Q > const &w)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > min (vec< L, T, Q > const &a, vec< L, T, Q > const &b, vec< L, T, Q > const &c, vec< L, T, Q > const &d)
 
+

Detailed Description

+

Exposes min and max functions for 3 to 4 vector parameters.

+

Include <glm/ext/vector_common.hpp> to use the features of this extension.

+
See also
core_common
+
+GLM_EXT_scalar_common
+

Function Documentation

+ +

◆ fmax() [1/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmax (vec< L, T, Q > const & a,
b 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmax() [2/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmax (vec< L, T, Q > const & a,
vec< L, T, Q > const & b 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmax() [3/4]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmax (vec< L, T, Q > const & a,
vec< L, T, Q > const & b,
vec< L, T, Q > const & c 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmax() [4/4]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmax (vec< L, T, Q > const & a,
vec< L, T, Q > const & b,
vec< L, T, Q > const & c,
vec< L, T, Q > const & d 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmax documentation
+ +
+
+ +

◆ fmin() [1/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmin (vec< L, T, Q > const & x,
y 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ fmin() [2/4]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmin (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ fmin() [3/4]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmin (vec< L, T, Q > const & a,
vec< L, T, Q > const & b,
vec< L, T, Q > const & c 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ fmin() [4/4]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fmin (vec< L, T, Q > const & a,
vec< L, T, Q > const & b,
vec< L, T, Q > const & c,
vec< L, T, Q > const & d 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
std::fmin documentation
+ +
+
+ +

◆ max() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::max (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
vec< L, T, Q > const & z 
)
+
+ +

Return the maximum component-wise values of 3 inputs.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ max() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::max (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
vec< L, T, Q > const & z,
vec< L, T, Q > const & w 
)
+
+ +

Return the maximum component-wise values of 4 inputs.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ min() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::min (vec< L, T, Q > const & a,
vec< L, T, Q > const & b,
vec< L, T, Q > const & c 
)
+
+ +

Return the minimum component-wise values of 3 inputs.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ min() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::min (vec< L, T, Q > const & a,
vec< L, T, Q > const & b,
vec< L, T, Q > const & c,
vec< L, T, Q > const & d 
)
+
+ +

Return the minimum component-wise values of 4 inputs.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00688.html b/doc/api/a00688.html new file mode 100644 index 00000000..c0043395 --- /dev/null +++ b/doc/api/a00688.html @@ -0,0 +1,92 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_double1 + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_double1
+
+
+ + + + +

+Typedefs

+typedef vec< 1, double, defaultp > dvec1
 
+

Detailed Description

+

Exposes double-precision floating point vector type with one component.

+

Include <glm/ext/vector_double1.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_double1_precision extension.
+
+GLM_EXT_vector_float1 extension.
+
+ + + + diff --git a/doc/api/a00689.html b/doc/api/a00689.html new file mode 100644 index 00000000..71ad1f9b --- /dev/null +++ b/doc/api/a00689.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_double1_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_double1_precision
+
+
+ + + + + + + + +

+Typedefs

+typedef vec< 1, double, highp > highp_dvec1
 
+typedef vec< 1, double, lowp > lowp_dvec1
 
+typedef vec< 1, double, mediump > mediump_dvec1
 
+

Detailed Description

+

Exposes highp_dvec1, mediump_dvec1 and lowp_dvec1 types.

+

Include <glm/ext/vector_double1_precision.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_double1
+
+ + + + diff --git a/doc/api/dir_9344afb825aed5e2f5be1d2015dde43c.html b/doc/api/a00690.html similarity index 52% rename from doc/api/dir_9344afb825aed5e2f5be1d2015dde43c.html rename to doc/api/a00690.html index 3be32eb3..3538f6d8 100644 --- a/doc/api/dir_9344afb825aed5e2f5be1d2015dde43c.html +++ b/doc/api/a00690.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: G-Truc Directory Reference + + +0.9.9 API documenation: GLM_EXT_vector_float1 - @@ -32,33 +30,23 @@ - + - + + + + +
- -
+
+Typedefs
-
G-Truc Directory Reference
+
GLM_EXT_vector_float1
- - - + + +

-Directories

directory  glm
 

+Typedefs

+typedef vec< 1, float, defaultp > vec1
 
+

Detailed Description

+

Exposes single-precision floating point vector type with one component.

+

Include <glm/ext/vector_float1.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_float1_precision extension.
+
+GLM_EXT_vector_double1 extension.
diff --git a/doc/api/a00691.html b/doc/api/a00691.html new file mode 100644 index 00000000..e31dd86b --- /dev/null +++ b/doc/api/a00691.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_float1_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_float1_precision
+
+
+ + + + + + + + +

+Typedefs

+typedef vec< 1, float, highp > highp_vec1
 
+typedef vec< 1, float, lowp > lowp_vec1
 
+typedef vec< 1, float, mediump > mediump_vec1
 
+

Detailed Description

+

Exposes highp_vec1, mediump_vec1 and lowp_vec1 types.

+

Include <glm/ext/vector_float1_precision.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_float1 extension.
+
+ + + + diff --git a/doc/api/a00692.html b/doc/api/a00692.html new file mode 100644 index 00000000..b3594748 --- /dev/null +++ b/doc/api/a00692.html @@ -0,0 +1,92 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_int1 + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_int1
+
+
+ + + + +

+Typedefs

+typedef vec< 1, int, defaultp > ivec1
 
+

Detailed Description

+

Exposes ivec1 vector type.

+

Include <glm/ext/vector_int1.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_uint1 extension.
+
+GLM_EXT_vector_int1_precision extension.
+
+ + + + diff --git a/doc/api/a00693.html b/doc/api/a00693.html new file mode 100644 index 00000000..3767cdde --- /dev/null +++ b/doc/api/a00693.html @@ -0,0 +1,95 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_int1_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_int1_precision
+
+
+ + + + + + + + +

+Typedefs

+typedef vec< 1, int, highp > highp_ivec1
 
+typedef vec< 1, int, lowp > lowp_ivec1
 
+typedef vec< 1, int, mediump > mediump_ivec1
 
+

Detailed Description

+

Exposes highp_ivec1, mediump_ivec1 and lowp_ivec1 types.

+

Include <glm/ext/vector_int1_precision.hpp> to use the features of this extension.

+
+ + + + diff --git a/doc/api/a00694.html b/doc/api/a00694.html new file mode 100644 index 00000000..75869dde --- /dev/null +++ b/doc/api/a00694.html @@ -0,0 +1,284 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_relational + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Functions
+
+
GLM_EXT_vector_relational
+
+
+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 
+

Detailed Description

+

Exposes comparison functions for vector types that take a user defined epsilon values.

+

Include <glm/ext/vector_relational.hpp> to use the features of this extension.

+
See also
core_vector_relational
+
+GLM_EXT_scalar_relational
+
+GLM_EXT_matrix_relational
+

Function Documentation

+ +

◆ equal() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::equal (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ equal() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::equal (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
vec< L, T, Q > const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::notEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+ +

◆ notEqual() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::notEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
vec< L, T, Q > const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point or integer scalar types
QValue from qualifier enum
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a00695.html b/doc/api/a00695.html new file mode 100644 index 00000000..6adf962c --- /dev/null +++ b/doc/api/a00695.html @@ -0,0 +1,92 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_uint1 + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_uint1
+
+
+ + + + +

+Typedefs

+typedef vec< 1, unsigned int, defaultp > uvec1
 
+

Detailed Description

+

Exposes uvec1 vector type.

+

Include <glm/ext/vector_uvec1.hpp> to use the features of this extension.

+
See also
GLM_EXT_vector_int1 extension.
+
+GLM_EXT_vector_uint1_precision extension.
+
+ + + + diff --git a/doc/api/a00696.html b/doc/api/a00696.html new file mode 100644 index 00000000..142d9f93 --- /dev/null +++ b/doc/api/a00696.html @@ -0,0 +1,150 @@ + + + + + + + +0.9.9 API documenation: GLM_EXT_vector_uint1_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_EXT_vector_uint1_precision
+
+
+ + + + + + + + +

+Typedefs

typedef vec< 1, unsigned int, highp > highp_uvec1
 
typedef vec< 1, unsigned int, lowp > lowp_uvec1
 
typedef vec< 1, unsigned int, mediump > mediump_uvec1
 
+

Detailed Description

+

Exposes highp_uvec1, mediump_uvec1 and lowp_uvec1 types.

+

Include <glm/ext/vector_uint1_precision.hpp> to use the features of this extension.

+

Typedef Documentation

+ +

◆ highp_uvec1

+ +
+
+ + + + +
typedef vec< 1, u32, highp > highp_uvec1
+
+ +

1 component vector of unsigned integer values.

+
See also
GLM_EXT_vector_uint1_precision
+ +

Definition at line 27 of file vector_uint1_precision.hpp.

+ +
+
+ +

◆ lowp_uvec1

+ +
+
+ + + + +
typedef vec< 1, u32, lowp > lowp_uvec1
+
+ +

1 component vector of unsigned integer values.

+
See also
GLM_EXT_vector_uint1_precision
+ +

Definition at line 37 of file vector_uint1_precision.hpp.

+ +
+
+ +

◆ mediump_uvec1

+ +
+
+ + + + +
typedef vec< 1, u32, mediump > mediump_uvec1
+
+ +

1 component vector of unsigned integer values.

+
See also
GLM_EXT_vector_uint1_precision
+ +

Definition at line 32 of file vector_uint1_precision.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00147.html b/doc/api/a00697.html similarity index 79% rename from doc/api/a00147.html rename to doc/api/a00697.html index 567ee834..b880f6bc 100644 --- a/doc/api/a00147.html +++ b/doc/api/a00697.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: Geometric functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
Geometric functions
+
Geometric functions
Core features
- -

Include <glm/geometric.hpp> to use these core features. -More...

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Returns the cross product of x and y. More...
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T distance (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 Returns the distance betwwen p0 and p1, i.e., length(p0 - p1). More...
GLM_FUNC_DECL T distance (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T dot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the dot product of x and y, i.e., result = x * y. More...
GLM_FUNC_DECL T dot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > faceforward (vec< L, T, Q > const &N, vec< L, T, Q > const &I, vec< L, T, Q > const &Nref)
 If dot(Nref, I) < 0.0, return N, otherwise, return -N. More...
GLM_FUNC_DECL vec< L, T, Q > faceforward (vec< L, T, Q > const &N, vec< L, T, Q > const &I, vec< L, T, Q > const &Nref)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T length (vec< L, T, Q > const &x)
 Returns the length of x, i.e., sqrt(x * x). More...
GLM_FUNC_DECL T length (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > normalize (vec< L, T, Q > const &x)
 Returns a vector in the same direction as x but with length of 1. More...
GLM_FUNC_DECL vec< L, T, Q > normalize (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > reflect (vec< L, T, Q > const &I, vec< L, T, Q > const &N)
 For the incident vector I and surface orientation N, returns the reflection direction : result = I - 2.0 * dot(N, I) * N. More...
GLM_FUNC_DECL vec< L, T, Q > reflect (vec< L, T, Q > const &I, vec< L, T, Q > const &N)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > refract (vec< L, T, Q > const &I, vec< L, T, Q > const &N, T eta)
 For the incident vector I and surface normal N, and the ratio of indices of refraction eta, return the refraction vector. More...
GLM_FUNC_DECL vec< L, T, Q > refract (vec< L, T, Q > const &I, vec< L, T, Q > const &N, T eta)
 

Detailed Description

-

Include <glm/geometric.hpp> to use these core features.

These operate on vectors as vectors, not component-wise.

+

Include <glm/geometric.hpp> to use these core features.

Function Documentation

- + +

◆ cross()

+
@@ -161,7 +139,9 @@ Functions - + +

◆ distance()

+
@@ -199,7 +179,9 @@ Functions - + +

◆ dot()

+
@@ -237,7 +219,9 @@ Functions - + +

◆ faceforward()

+
@@ -281,7 +265,9 @@ Functions - + +

◆ length()

+
@@ -309,7 +295,9 @@ Functions - + +

◆ normalize()

+
@@ -338,7 +326,9 @@ Functions - + +

◆ reflect()

+
@@ -376,7 +366,9 @@ Functions - + +

◆ refract()

+
@@ -425,7 +417,7 @@ Functions diff --git a/doc/api/a00698.html b/doc/api/a00698.html new file mode 100644 index 00000000..1ca2120d --- /dev/null +++ b/doc/api/a00698.html @@ -0,0 +1,138 @@ + + + + + + + +0.9.9 API documenation: Core features + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Core features
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Modules

 Common functions
 
 Exponential functions
 
 Geometric functions
 
 Vector types
 
 Vector types with precision qualifiers
 
 Matrix types
 
 Matrix types with precision qualifiers
 
 Integer functions
 
 Matrix functions
 
 Floating-Point Pack and Unpack Functions
 
 Angle and Trigonometry Functions
 
 Vector Relational Functions
 
+ + + +

+Typedefs

typedef mat< 3, 2, float, defaultp > mat3x2
 
+

Detailed Description

+

Features that implement in C++ the GLSL specification as closely as possible.

+

The GLM core consists of C++ types that mirror GLSL types and C++ functions that mirror the GLSL functions.

+

The best documentation for GLM Core is the current GLSL specification, version 4.2 (pdf file).

+

GLM core functionalities require <glm/glm.hpp> to be included to be used.

+

Typedef Documentation

+ +

◆ mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, defaultp > mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float3x2.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00699.html b/doc/api/a00699.html new file mode 100644 index 00000000..b70dc38a --- /dev/null +++ b/doc/api/a00699.html @@ -0,0 +1,401 @@ + + + + + + + +0.9.9 API documenation: Vector types + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Vector types
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef vec< 2, bool, defaultp > bvec2
 
typedef vec< 3, bool, defaultp > bvec3
 
typedef vec< 4, bool, defaultp > bvec4
 
typedef vec< 2, double, defaultp > dvec2
 
typedef vec< 3, double, defaultp > dvec3
 
typedef vec< 4, double, defaultp > dvec4
 
typedef vec< 2, int, defaultp > ivec2
 
typedef vec< 3, int, defaultp > ivec3
 
typedef vec< 4, int, defaultp > ivec4
 
typedef vec< 2, unsigned int, defaultp > uvec2
 
typedef vec< 3, unsigned int, defaultp > uvec3
 
typedef vec< 4, unsigned int, defaultp > uvec4
 
typedef vec< 2, float, defaultp > vec2
 
typedef vec< 3, float, defaultp > vec3
 
typedef vec< 4, float, defaultp > vec4
 
+

Detailed Description

+

Vector types of two to four components with an exhaustive set of operators.

+

Typedef Documentation

+ +

◆ bvec2

+ +
+
+ + + + +
typedef vec< 2, bool, defaultp > bvec2
+
+ +

2 components vector of boolean.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_bool2.hpp.

+ +
+
+ +

◆ bvec3

+ +
+
+ + + + +
typedef vec< 3, bool, defaultp > bvec3
+
+ +

3 components vector of boolean.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_bool3.hpp.

+ +
+
+ +

◆ bvec4

+ +
+
+ + + + +
typedef vec< 4, bool, defaultp > bvec4
+
+ +

4 components vector of boolean.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_bool4.hpp.

+ +
+
+ +

◆ dvec2

+ +
+
+ + + + +
typedef vec< 2, f64, defaultp > dvec2
+
+ +

2 components vector of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_double2.hpp.

+ +
+
+ +

◆ dvec3

+ +
+
+ + + + +
typedef vec< 3, f64, defaultp > dvec3
+
+ +

3 components vector of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_double3.hpp.

+ +
+
+ +

◆ dvec4

+ +
+
+ + + + +
typedef vec< 4, f64, defaultp > dvec4
+
+ +

4 components vector of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_double4.hpp.

+ +
+
+ +

◆ ivec2

+ +
+
+ + + + +
typedef vec< 2, i32, defaultp > ivec2
+
+ +

2 components vector of signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_int2.hpp.

+ +
+
+ +

◆ ivec3

+ +
+
+ + + + +
typedef vec< 3, i32, defaultp > ivec3
+
+ +

3 components vector of signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_int3.hpp.

+ +
+
+ +

◆ ivec4

+ +
+
+ + + + +
typedef vec< 4, i32, defaultp > ivec4
+
+ +

4 components vector of signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_int4.hpp.

+ +
+
+ +

◆ uvec2

+ +
+
+ + + + +
typedef vec< 2, u32, defaultp > uvec2
+
+ +

2 components vector of unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_uint2.hpp.

+ +
+
+ +

◆ uvec3

+ +
+
+ + + + +
typedef vec< 3, u32, defaultp > uvec3
+
+ +

3 components vector of unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_uint3.hpp.

+ +
+
+ +

◆ uvec4

+ +
+
+ + + + +
typedef vec< 4, u32, defaultp > uvec4
+
+ +

4 components vector of unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_uint4.hpp.

+ +
+
+ +

◆ vec2

+ +
+
+ + + + +
typedef vec< 2, float, defaultp > vec2
+
+ +

2 components vector of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_float2.hpp.

+ +
+
+ +

◆ vec3

+ +
+
+ + + + +
typedef vec< 3, float, defaultp > vec3
+
+ +

3 components vector of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_float3.hpp.

+ +
+
+ +

◆ vec4

+ +
+
+ + + + +
typedef vec< 4, float, defaultp > vec4
+
+ +

4 components vector of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+ +

Definition at line 15 of file vector_float4.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00700.html b/doc/api/a00700.html new file mode 100644 index 00000000..9d3293b5 --- /dev/null +++ b/doc/api/a00700.html @@ -0,0 +1,1130 @@ + + + + + + + +0.9.9 API documenation: Vector types with precision qualifiers + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Vector types with precision qualifiers
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef vec< 2, bool, highp > highp_bvec2
 
typedef vec< 3, bool, highp > highp_bvec3
 
typedef vec< 4, bool, highp > highp_bvec4
 
typedef vec< 2, double, highp > highp_dvec2
 
typedef vec< 3, double, highp > highp_dvec3
 
typedef vec< 4, double, highp > highp_dvec4
 
typedef vec< 2, int, highp > highp_ivec2
 
typedef vec< 3, int, highp > highp_ivec3
 
typedef vec< 4, int, highp > highp_ivec4
 
typedef vec< 2, unsigned int, highp > highp_uvec2
 
typedef vec< 3, unsigned int, highp > highp_uvec3
 
typedef vec< 4, unsigned int, highp > highp_uvec4
 
typedef vec< 2, float, highp > highp_vec2
 
typedef vec< 3, float, highp > highp_vec3
 
typedef vec< 4, float, highp > highp_vec4
 
typedef vec< 2, bool, lowp > lowp_bvec2
 
typedef vec< 3, bool, lowp > lowp_bvec3
 
typedef vec< 4, bool, lowp > lowp_bvec4
 
typedef vec< 2, double, lowp > lowp_dvec2
 
typedef vec< 3, double, lowp > lowp_dvec3
 
typedef vec< 4, double, lowp > lowp_dvec4
 
typedef vec< 2, int, lowp > lowp_ivec2
 
typedef vec< 3, int, lowp > lowp_ivec3
 
typedef vec< 4, int, lowp > lowp_ivec4
 
typedef vec< 2, unsigned int, lowp > lowp_uvec2
 
typedef vec< 3, unsigned int, lowp > lowp_uvec3
 
typedef vec< 4, unsigned int, lowp > lowp_uvec4
 
typedef vec< 2, float, lowp > lowp_vec2
 
typedef vec< 3, float, lowp > lowp_vec3
 
typedef vec< 4, float, lowp > lowp_vec4
 
typedef vec< 2, bool, mediump > mediump_bvec2
 
typedef vec< 3, bool, mediump > mediump_bvec3
 
typedef vec< 4, bool, mediump > mediump_bvec4
 
typedef vec< 2, double, mediump > mediump_dvec2
 
typedef vec< 3, double, mediump > mediump_dvec3
 
typedef vec< 4, double, mediump > mediump_dvec4
 
typedef vec< 2, int, mediump > mediump_ivec2
 
typedef vec< 3, int, mediump > mediump_ivec3
 
typedef vec< 4, int, mediump > mediump_ivec4
 
typedef vec< 2, unsigned int, mediump > mediump_uvec2
 
typedef vec< 3, unsigned int, mediump > mediump_uvec3
 
typedef vec< 4, unsigned int, mediump > mediump_uvec4
 
typedef vec< 2, float, mediump > mediump_vec2
 
typedef vec< 3, float, mediump > mediump_vec3
 
typedef vec< 4, float, mediump > mediump_vec4
 
+

Detailed Description

+

Vector types with precision qualifiers which may result in various precision in term of ULPs.

+

GLSL allows defining qualifiers for particular variables. With OpenGL's GLSL, these qualifiers have no effect; they are there for compatibility, with OpenGL ES's GLSL, these qualifiers do have an effect.

+

C++ has no language equivalent to qualifier qualifiers. So GLM provides the next-best thing: a number of typedefs that use a particular qualifier.

+

None of these types make any guarantees about the actual qualifier used.

+

Typedef Documentation

+ +

◆ highp_bvec2

+ +
+
+ + + + +
typedef vec< 2, bool, highp > highp_bvec2
+
+ +

2 components vector of high qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_bool2_precision.hpp.

+ +
+
+ +

◆ highp_bvec3

+ +
+
+ + + + +
typedef vec< 3, bool, highp > highp_bvec3
+
+ +

3 components vector of high qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_bool3_precision.hpp.

+ +
+
+ +

◆ highp_bvec4

+ +
+
+ + + + +
typedef vec< 4, bool, highp > highp_bvec4
+
+ +

4 components vector of high qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_bool4_precision.hpp.

+ +
+
+ +

◆ highp_dvec2

+ +
+
+ + + + +
typedef vec< 2, f64, highp > highp_dvec2
+
+ +

2 components vector of high double-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_double2_precision.hpp.

+ +
+
+ +

◆ highp_dvec3

+ +
+
+ + + + +
typedef vec< 3, f64, highp > highp_dvec3
+
+ +

3 components vector of high double-qualifier floating-point numbers.

+

There is no guarantee on the actual qualifier.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 17 of file vector_double3_precision.hpp.

+ +
+
+ +

◆ highp_dvec4

+ +
+
+ + + + +
typedef vec< 4, f64, highp > highp_dvec4
+
+ +

4 components vector of high double-qualifier floating-point numbers.

+

There is no guarantee on the actual qualifier.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 18 of file vector_double4_precision.hpp.

+ +
+
+ +

◆ highp_ivec2

+ +
+
+ + + + +
typedef vec< 2, i32, highp > highp_ivec2
+
+ +

2 components vector of high qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_int2_precision.hpp.

+ +
+
+ +

◆ highp_ivec3

+ +
+
+ + + + +
typedef vec< 3, i32, highp > highp_ivec3
+
+ +

3 components vector of high qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_int3_precision.hpp.

+ +
+
+ +

◆ highp_ivec4

+ +
+
+ + + + +
typedef vec< 4, i32, highp > highp_ivec4
+
+ +

4 components vector of high qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_int4_precision.hpp.

+ +
+
+ +

◆ highp_uvec2

+ +
+
+ + + + +
typedef vec< 2, u32, highp > highp_uvec2
+
+ +

2 components vector of high qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_uint2_precision.hpp.

+ +
+
+ +

◆ highp_uvec3

+ +
+
+ + + + +
typedef vec< 3, u32, highp > highp_uvec3
+
+ +

3 components vector of high qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_uint3_precision.hpp.

+ +
+
+ +

◆ highp_uvec4

+ +
+
+ + + + +
typedef vec< 4, u32, highp > highp_uvec4
+
+ +

4 components vector of high qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_uint4_precision.hpp.

+ +
+
+ +

◆ highp_vec2

+ +
+
+ + + + +
typedef vec< 2, float, highp > highp_vec2
+
+ +

2 components vector of high single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_float2_precision.hpp.

+ +
+
+ +

◆ highp_vec3

+ +
+
+ + + + +
typedef vec< 3, float, highp > highp_vec3
+
+ +

3 components vector of high single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_float3_precision.hpp.

+ +
+
+ +

◆ highp_vec4

+ +
+
+ + + + +
typedef vec< 4, float, highp > highp_vec4
+
+ +

4 components vector of high single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file vector_float4_precision.hpp.

+ +
+
+ +

◆ lowp_bvec2

+ +
+
+ + + + +
typedef vec< 2, bool, lowp > lowp_bvec2
+
+ +

2 components vector of low qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_bool2_precision.hpp.

+ +
+
+ +

◆ lowp_bvec3

+ +
+
+ + + + +
typedef vec< 3, bool, lowp > lowp_bvec3
+
+ +

3 components vector of low qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_bool3_precision.hpp.

+ +
+
+ +

◆ lowp_bvec4

+ +
+
+ + + + +
typedef vec< 4, bool, lowp > lowp_bvec4
+
+ +

4 components vector of low qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_bool4_precision.hpp.

+ +
+
+ +

◆ lowp_dvec2

+ +
+
+ + + + +
typedef vec< 2, f64, lowp > lowp_dvec2
+
+ +

2 components vector of low double-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_double2_precision.hpp.

+ +
+
+ +

◆ lowp_dvec3

+ +
+
+ + + + +
typedef vec< 3, f64, lowp > lowp_dvec3
+
+ +

3 components vector of low double-qualifier floating-point numbers.

+

There is no guarantee on the actual qualifier.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 31 of file vector_double3_precision.hpp.

+ +
+
+ +

◆ lowp_dvec4

+ +
+
+ + + + +
typedef vec< 4, f64, lowp > lowp_dvec4
+
+ +

4 components vector of low double-qualifier floating-point numbers.

+

There is no guarantee on the actual qualifier.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 32 of file vector_double4_precision.hpp.

+ +
+
+ +

◆ lowp_ivec2

+ +
+
+ + + + +
typedef vec< 2, i32, lowp > lowp_ivec2
+
+ +

2 components vector of low qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_int2_precision.hpp.

+ +
+
+ +

◆ lowp_ivec3

+ +
+
+ + + + +
typedef vec< 3, i32, lowp > lowp_ivec3
+
+ +

3 components vector of low qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_int3_precision.hpp.

+ +
+
+ +

◆ lowp_ivec4

+ +
+
+ + + + +
typedef vec< 4, i32, lowp > lowp_ivec4
+
+ +

4 components vector of low qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_int4_precision.hpp.

+ +
+
+ +

◆ lowp_uvec2

+ +
+
+ + + + +
typedef vec< 2, u32, lowp > lowp_uvec2
+
+ +

2 components vector of low qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_uint2_precision.hpp.

+ +
+
+ +

◆ lowp_uvec3

+ +
+
+ + + + +
typedef vec< 3, u32, lowp > lowp_uvec3
+
+ +

3 components vector of low qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_uint3_precision.hpp.

+ +
+
+ +

◆ lowp_uvec4

+ +
+
+ + + + +
typedef vec< 4, u32, lowp > lowp_uvec4
+
+ +

4 components vector of low qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_uint4_precision.hpp.

+ +
+
+ +

◆ lowp_vec2

+ +
+
+ + + + +
typedef vec< 2, float, lowp > lowp_vec2
+
+ +

2 components vector of low single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_float2_precision.hpp.

+ +
+
+ +

◆ lowp_vec3

+ +
+
+ + + + +
typedef vec< 3, float, lowp > lowp_vec3
+
+ +

3 components vector of low single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_float3_precision.hpp.

+ +
+
+ +

◆ lowp_vec4

+ +
+
+ + + + +
typedef vec< 4, float, lowp > lowp_vec4
+
+ +

4 components vector of low single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file vector_float4_precision.hpp.

+ +
+
+ +

◆ mediump_bvec2

+ +
+
+ + + + +
typedef vec< 2, bool, mediump > mediump_bvec2
+
+ +

2 components vector of medium qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_bool2_precision.hpp.

+ +
+
+ +

◆ mediump_bvec3

+ +
+
+ + + + +
typedef vec< 3, bool, mediump > mediump_bvec3
+
+ +

3 components vector of medium qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_bool3_precision.hpp.

+ +
+
+ +

◆ mediump_bvec4

+ +
+
+ + + + +
typedef vec< 4, bool, mediump > mediump_bvec4
+
+ +

4 components vector of medium qualifier bool numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_bool4_precision.hpp.

+ +
+
+ +

◆ mediump_dvec2

+ +
+
+ + + + +
typedef vec< 2, f64, mediump > mediump_dvec2
+
+ +

2 components vector of medium double-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_double2_precision.hpp.

+ +
+
+ +

◆ mediump_dvec3

+ +
+
+ + + + +
typedef vec< 3, f64, mediump > mediump_dvec3
+
+ +

3 components vector of medium double-qualifier floating-point numbers.

+

There is no guarantee on the actual qualifier.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 24 of file vector_double3_precision.hpp.

+ +
+
+ +

◆ mediump_dvec4

+ +
+
+ + + + +
typedef vec< 4, f64, mediump > mediump_dvec4
+
+ +

4 components vector of medium double-qualifier floating-point numbers.

+

There is no guarantee on the actual qualifier.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 25 of file vector_double4_precision.hpp.

+ +
+
+ +

◆ mediump_ivec2

+ +
+
+ + + + +
typedef vec< 2, i32, mediump > mediump_ivec2
+
+ +

2 components vector of medium qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_int2_precision.hpp.

+ +
+
+ +

◆ mediump_ivec3

+ +
+
+ + + + +
typedef vec< 3, i32, mediump > mediump_ivec3
+
+ +

3 components vector of medium qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_int3_precision.hpp.

+ +
+
+ +

◆ mediump_ivec4

+ +
+
+ + + + +
typedef vec< 4, i32, mediump > mediump_ivec4
+
+ +

4 components vector of medium qualifier signed integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_int4_precision.hpp.

+ +
+
+ +

◆ mediump_uvec2

+ +
+
+ + + + +
typedef vec< 2, u32, mediump > mediump_uvec2
+
+ +

2 components vector of medium qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_uint2_precision.hpp.

+ +
+
+ +

◆ mediump_uvec3

+ +
+
+ + + + +
typedef vec< 3, u32, mediump > mediump_uvec3
+
+ +

3 components vector of medium qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_uint3_precision.hpp.

+ +
+
+ +

◆ mediump_uvec4

+ +
+
+ + + + +
typedef vec< 4, u32, mediump > mediump_uvec4
+
+ +

4 components vector of medium qualifier unsigned integer numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_uint4_precision.hpp.

+ +
+
+ +

◆ mediump_vec2

+ +
+
+ + + + +
typedef vec< 2, float, mediump > mediump_vec2
+
+ +

2 components vector of medium single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_float2_precision.hpp.

+ +
+
+ +

◆ mediump_vec3

+ +
+
+ + + + +
typedef vec< 3, float, mediump > mediump_vec3
+
+ +

3 components vector of medium single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_float3_precision.hpp.

+ +
+
+ +

◆ mediump_vec4

+ +
+
+ + + + +
typedef vec< 4, float, mediump > mediump_vec4
+
+ +

4 components vector of medium single-qualifier floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.5 Vectors
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file vector_float4_precision.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00701.html b/doc/api/a00701.html new file mode 100644 index 00000000..a12afb96 --- /dev/null +++ b/doc/api/a00701.html @@ -0,0 +1,570 @@ + + + + + + + +0.9.9 API documenation: Matrix types + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Matrix types
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef mat< 2, 2, double, defaultp > dmat2
 
typedef mat< 2, 2, double, defaultp > dmat2x2
 
typedef mat< 2, 3, double, defaultp > dmat2x3
 
typedef mat< 2, 4, double, defaultp > dmat2x4
 
typedef mat< 3, 3, double, defaultp > dmat3
 
typedef mat< 3, 2, double, defaultp > dmat3x2
 
typedef mat< 3, 3, double, defaultp > dmat3x3
 
typedef mat< 3, 4, double, defaultp > dmat3x4
 
typedef mat< 4, 4, double, defaultp > dmat4
 
typedef mat< 4, 2, double, defaultp > dmat4x2
 
typedef mat< 4, 3, double, defaultp > dmat4x3
 
typedef mat< 4, 4, double, defaultp > dmat4x4
 
typedef mat< 2, 2, float, defaultp > mat2
 
typedef mat< 2, 2, float, defaultp > mat2x2
 
typedef mat< 2, 3, float, defaultp > mat2x3
 
typedef mat< 2, 4, float, defaultp > mat2x4
 
typedef mat< 3, 3, float, defaultp > mat3
 
typedef mat< 3, 3, float, defaultp > mat3x3
 
typedef mat< 3, 4, float, defaultp > mat3x4
 
typedef mat< 4, 2, float, defaultp > mat4x2
 
typedef mat< 4, 3, float, defaultp > mat4x3
 
typedef mat< 4, 4, float, defaultp > mat4x4
 
typedef mat< 4, 4, float, defaultp > mat4
 
+

Detailed Description

+

Matrix types of with C columns and R rows where C and R are values between 2 to 4 included.

+

These types have exhaustive sets of operators.

+

Typedef Documentation

+ +

◆ dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, defaultp > dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 20 of file matrix_double2x2.hpp.

+ +
+
+ +

◆ dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, defaultp > dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double2x2.hpp.

+ +
+
+ +

◆ dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, defaultp > dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double2x3.hpp.

+ +
+
+ +

◆ dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, defaultp > dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double2x4.hpp.

+ +
+
+ +

◆ dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, defaultp > dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 20 of file matrix_double3x3.hpp.

+ +
+
+ +

◆ dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, defaultp > dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double3x2.hpp.

+ +
+
+ +

◆ dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, defaultp > dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double3x3.hpp.

+ +
+
+ +

◆ dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, defaultp > dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double3x4.hpp.

+ +
+
+ +

◆ dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, defaultp > dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 20 of file matrix_double4x4.hpp.

+ +
+
+ +

◆ dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, defaultp > dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double4x2.hpp.

+ +
+
+ +

◆ dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, defaultp > dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double4x3.hpp.

+ +
+
+ +

◆ dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, defaultp > dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_double4x4.hpp.

+ +
+
+ +

◆ mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, defaultp > mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 20 of file matrix_float2x2.hpp.

+ +
+
+ +

◆ mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, defaultp > mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float2x2.hpp.

+ +
+
+ +

◆ mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, defaultp > mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float2x3.hpp.

+ +
+
+ +

◆ mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, defaultp > mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float2x4.hpp.

+ +
+
+ +

◆ mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, defaultp > mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 20 of file matrix_float3x3.hpp.

+ +
+
+ +

◆ mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, defaultp > mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float3x3.hpp.

+ +
+
+ +

◆ mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, defaultp > mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float3x4.hpp.

+ +
+
+ +

◆ mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, defaultp > mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 20 of file matrix_float4x4.hpp.

+ +
+
+ +

◆ mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, defaultp > mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float4x2.hpp.

+ +
+
+ +

◆ mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, defaultp > mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float4x3.hpp.

+ +
+
+ +

◆ mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, defaultp > mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+ +

Definition at line 15 of file matrix_float4x4.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00702.html b/doc/api/a00702.html new file mode 100644 index 00000000..2a1e8373 --- /dev/null +++ b/doc/api/a00702.html @@ -0,0 +1,1745 @@ + + + + + + + +0.9.9 API documenation: Matrix types with precision qualifiers + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Matrix types with precision qualifiers
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef mat< 2, 2, double, highp > highp_dmat2
 
typedef mat< 2, 2, double, highp > highp_dmat2x2
 
typedef mat< 2, 3, double, highp > highp_dmat2x3
 
typedef mat< 2, 4, double, highp > highp_dmat2x4
 
typedef mat< 3, 3, double, highp > highp_dmat3
 
typedef mat< 3, 2, double, highp > highp_dmat3x2
 
typedef mat< 3, 3, double, highp > highp_dmat3x3
 
typedef mat< 3, 4, double, highp > highp_dmat3x4
 
typedef mat< 4, 4, double, highp > highp_dmat4
 
typedef mat< 4, 2, double, highp > highp_dmat4x2
 
typedef mat< 4, 3, double, highp > highp_dmat4x3
 
typedef mat< 4, 4, double, highp > highp_dmat4x4
 
typedef mat< 2, 2, float, highp > highp_mat2
 
typedef mat< 2, 2, float, highp > highp_mat2x2
 
typedef mat< 2, 3, float, highp > highp_mat2x3
 
typedef mat< 2, 4, float, highp > highp_mat2x4
 
typedef mat< 3, 3, float, highp > highp_mat3
 
typedef mat< 3, 2, float, highp > highp_mat3x2
 
typedef mat< 3, 3, float, highp > highp_mat3x3
 
typedef mat< 3, 4, float, highp > highp_mat3x4
 
typedef mat< 4, 4, float, highp > highp_mat4
 
typedef mat< 4, 2, float, highp > highp_mat4x2
 
typedef mat< 4, 3, float, highp > highp_mat4x3
 
typedef mat< 4, 4, float, highp > highp_mat4x4
 
typedef mat< 2, 2, double, lowp > lowp_dmat2
 
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
 
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
 
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
 
typedef mat< 3, 3, double, lowp > lowp_dmat3
 
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
 
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
 
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
 
typedef mat< 4, 4, double, lowp > lowp_dmat4
 
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
 
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
 
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
 
typedef mat< 2, 2, float, lowp > lowp_mat2
 
typedef mat< 2, 2, float, lowp > lowp_mat2x2
 
typedef mat< 2, 3, float, lowp > lowp_mat2x3
 
typedef mat< 2, 4, float, lowp > lowp_mat2x4
 
typedef mat< 3, 3, float, lowp > lowp_mat3
 
typedef mat< 3, 2, float, lowp > lowp_mat3x2
 
typedef mat< 3, 3, float, lowp > lowp_mat3x3
 
typedef mat< 3, 4, float, lowp > lowp_mat3x4
 
typedef mat< 4, 4, float, lowp > lowp_mat4
 
typedef mat< 4, 2, float, lowp > lowp_mat4x2
 
typedef mat< 4, 3, float, lowp > lowp_mat4x3
 
typedef mat< 4, 4, float, lowp > lowp_mat4x4
 
typedef mat< 2, 2, double, mediump > mediump_dmat2
 
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
 
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
 
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
 
typedef mat< 3, 3, double, mediump > mediump_dmat3
 
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
 
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
 
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
 
typedef mat< 4, 4, double, mediump > mediump_dmat4
 
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
 
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
 
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
 
typedef mat< 2, 2, float, mediump > mediump_mat2
 
typedef mat< 2, 2, float, mediump > mediump_mat2x2
 
typedef mat< 2, 3, float, mediump > mediump_mat2x3
 
typedef mat< 2, 4, float, mediump > mediump_mat2x4
 
typedef mat< 3, 3, float, mediump > mediump_mat3
 
typedef mat< 3, 2, float, mediump > mediump_mat3x2
 
typedef mat< 3, 3, float, mediump > mediump_mat3x3
 
typedef mat< 3, 4, float, mediump > mediump_mat3x4
 
typedef mat< 4, 4, float, mediump > mediump_mat4
 
typedef mat< 4, 2, float, mediump > mediump_mat4x2
 
typedef mat< 4, 3, float, mediump > mediump_mat4x3
 
typedef mat< 4, 4, float, mediump > mediump_mat4x4
 
+

Detailed Description

+

Matrix types with precision qualifiers which may result in various precision in term of ULPs.

+

GLSL allows defining qualifiers for particular variables. With OpenGL's GLSL, these qualifiers have no effect; they are there for compatibility, with OpenGL ES's GLSL, these qualifiers do have an effect.

+

C++ has no language equivalent to qualifier qualifiers. So GLM provides the next-best thing: a number of typedefs that use a particular qualifier.

+

None of these types make any guarantees about the actual qualifier used.

+

Typedef Documentation

+ +

◆ highp_dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, highp > highp_dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, highp > highp_dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, highp > highp_dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double2x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, highp > highp_dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double2x4_precision.hpp.

+ +
+
+ +

◆ highp_dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, highp > highp_dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, highp > highp_dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double3x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, highp > highp_dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, highp > highp_dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double3x4_precision.hpp.

+ +
+
+ +

◆ highp_dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, highp > highp_dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ highp_dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, highp > highp_dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double4x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, highp > highp_dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double4x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, highp > highp_dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ highp_mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, highp > highp_mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ highp_mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, highp > highp_mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ highp_mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, highp > highp_mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float2x3_precision.hpp.

+ +
+
+ +

◆ highp_mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, highp > highp_mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float2x4_precision.hpp.

+ +
+
+ +

◆ highp_mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, highp > highp_mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ highp_mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, highp > highp_mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float3x2_precision.hpp.

+ +
+
+ +

◆ highp_mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, highp > highp_mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ highp_mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, highp > highp_mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float3x4_precision.hpp.

+ +
+
+ +

◆ highp_mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, highp > highp_mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ highp_mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, highp > highp_mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float4x2_precision.hpp.

+ +
+
+ +

◆ highp_mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, highp > highp_mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float4x3_precision.hpp.

+ +
+
+ +

◆ highp_mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, highp > highp_mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, lowp > lowp_dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double2x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double2x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, lowp > lowp_dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double3x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double3x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, lowp > lowp_dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double4x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double4x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, lowp > lowp_mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, lowp > lowp_mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, lowp > lowp_mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float2x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, lowp > lowp_mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float2x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, lowp > lowp_mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, lowp > lowp_mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float3x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, lowp > lowp_mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, lowp > lowp_mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float3x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, lowp > lowp_mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, lowp > lowp_mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float4x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, lowp > lowp_mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float4x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, lowp > lowp_mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, mediump > mediump_dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double2x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double2x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, mediump > mediump_dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double3x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double3x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, mediump > mediump_dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double4x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double4x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, mediump > mediump_mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, mediump > mediump_mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, mediump > mediump_mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float2x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, mediump > mediump_mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float2x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, mediump > mediump_mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, mediump > mediump_mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float3x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, mediump > mediump_mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, mediump > mediump_mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float3x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, mediump > mediump_mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, mediump > mediump_mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float4x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, mediump > mediump_mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float4x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, mediump > mediump_mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_float4x4_precision.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00703.html b/doc/api/a00703.html new file mode 100644 index 00000000..7028cb21 --- /dev/null +++ b/doc/api/a00703.html @@ -0,0 +1,151 @@ + + + + + + + +0.9.9 API documenation: Stable extensions + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Stable extensions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Modules

 GLM_EXT_matrix_clip_space
 
 GLM_EXT_matrix_projection
 
 GLM_EXT_matrix_relational
 
 GLM_EXT_matrix_transform
 
 GLM_EXT_quaternion_common
 
 GLM_EXT_quaternion_double
 
 GLM_EXT_quaternion_double_precision
 
 GLM_EXT_quaternion_exponential
 
 GLM_EXT_quaternion_float
 
 GLM_EXT_quaternion_float_precision
 
 GLM_EXT_quaternion_geometric
 
 GLM_EXT_quaternion_relational
 
 GLM_EXT_quaternion_transform
 
 GLM_EXT_quaternion_trigonometric
 
 GLM_EXT_scalar_common
 
 GLM_EXT_scalar_constants
 
 GLM_EXT_scalar_float_sized
 
 GLM_EXT_scalar_int_sized
 
 GLM_EXT_scalar_relational
 
 GLM_EXT_scalar_uint_sized
 
 GLM_EXT_vector_bool1
 
 GLM_EXT_vector_bool1_precision
 
 GLM_EXT_vector_common
 
 GLM_EXT_vector_double1
 
 GLM_EXT_vector_double1_precision
 
 GLM_EXT_vector_float1
 
 GLM_EXT_vector_float1_precision
 
 GLM_EXT_vector_int1
 
 GLM_EXT_vector_int1_precision
 
 GLM_EXT_vector_relational
 
 GLM_EXT_vector_uint1
 
 GLM_EXT_vector_uint1_precision
 
+

Detailed Description

+

Additional features not specified by GLSL specification.

+

EXT extensions are fully tested and documented.

+

Even if it's highly unrecommended, it's possible to include all the extensions at once by including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.

+
+ + + + diff --git a/doc/api/a00704.html b/doc/api/a00704.html new file mode 100644 index 00000000..afe98518 --- /dev/null +++ b/doc/api/a00704.html @@ -0,0 +1,127 @@ + + + + + + + +0.9.9 API documenation: Recommended extensions + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Recommended extensions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Modules

 GLM_GTC_quaternion
 
 GLM_GTC_bitfield
 
 GLM_GTC_color_space
 
 GLM_GTC_constants
 
 GLM_GTC_epsilon
 
 GLM_GTC_integer
 
 GLM_GTC_matrix_access
 
 GLM_GTC_matrix_integer
 
 GLM_GTC_matrix_inverse
 
 GLM_GTC_matrix_transform
 
 GLM_GTC_noise
 
 GLM_GTC_packing
 
 GLM_GTC_random
 
 GLM_GTC_reciprocal
 
 GLM_GTC_round
 
 GLM_GTC_type_aligned
 
 GLM_GTC_type_precision
 
 GLM_GTC_type_ptr
 
 GLM_GTC_ulp
 
 GLM_GTC_vec1
 
+

Detailed Description

+

Additional features not specified by GLSL specification.

+

GTC extensions aim to be stable with tests and documentation.

+

Even if it's highly unrecommended, it's possible to include all the extensions at once by including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.

+
+ + + + diff --git a/doc/api/a00705.html b/doc/api/a00705.html new file mode 100644 index 00000000..79a73dac --- /dev/null +++ b/doc/api/a00705.html @@ -0,0 +1,211 @@ + + + + + + + +0.9.9 API documenation: Experimental extensions + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Experimental extensions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Modules

 GLM_GTX_associated_min_max
 
 GLM_GTX_bit
 
 GLM_GTX_closest_point
 
 GLM_GTX_color_encoding
 
 GLM_GTX_color_space
 
 GLM_GTX_color_space_YCoCg
 
 GLM_GTX_common
 
 GLM_GTX_compatibility
 
 GLM_GTX_component_wise
 
 GLM_GTX_dual_quaternion
 
 GLM_GTX_easing
 
 GLM_GTX_euler_angles
 
 GLM_GTX_extend
 
 GLM_GTX_extented_min_max
 
 GLM_GTX_exterior_product
 
 GLM_GTX_fast_exponential
 
 GLM_GTX_fast_square_root
 
 GLM_GTX_fast_trigonometry
 
 GLM_GTX_functions
 
 GLM_GTX_gradient_paint
 
 GLM_GTX_handed_coordinate_space
 
 GLM_GTX_hash
 
 GLM_GTX_integer
 
 GLM_GTX_intersect
 
 GLM_GTX_io
 
 GLM_GTX_log_base
 
 GLM_GTX_matrix_cross_product
 
 GLM_GTX_matrix_decompose
 
 GLM_GTX_matrix_factorisation
 
 GLM_GTX_matrix_interpolation
 
 GLM_GTX_matrix_major_storage
 
 GLM_GTX_matrix_operation
 
 GLM_GTX_matrix_query
 
 GLM_GTX_matrix_transform_2d
 
 GLM_GTX_mixed_producte
 
 GLM_GTX_norm
 
 GLM_GTX_normal
 
 GLM_GTX_normalize_dot
 
 GLM_GTX_number_precision
 
 GLM_GTX_optimum_pow
 
 GLM_GTX_orthonormalize
 
 GLM_GTX_perpendicular
 
 GLM_GTX_polar_coordinates
 
 GLM_GTX_projection
 
 GLM_GTX_quaternion
 
 GLM_GTX_range
 
 GLM_GTX_raw_data
 
 GLM_GTX_rotate_normalized_axis
 
 GLM_GTX_rotate_vector
 
 GLM_GTX_scalar_relational
 
 GLM_GTX_spline
 
 GLM_GTX_std_based_type
 
 GLM_GTX_string_cast
 
 GLM_GTX_texture
 
 GLM_GTX_transform
 
 GLM_GTX_transform2
 
 GLM_GTX_type_aligned
 
 GLM_GTX_type_trait
 
 GLM_GTX_vec_swizzle
 
 GLM_GTX_vector_angle
 
 GLM_GTX_vector_query
 
 GLM_GTX_wrap
 
+

Detailed Description

+

Experimental features not specified by GLSL specification.

+

Experimental extensions are useful functions and types, but the development of their API and functionality is not necessarily stable. They can change substantially between versions. Backwards compatibility is not much of an issue for them.

+

Even if it's highly unrecommended, it's possible to include all the extensions at once by including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file.

+
+ + + + diff --git a/doc/api/a00706.html b/doc/api/a00706.html new file mode 100644 index 00000000..1d67cbb3 --- /dev/null +++ b/doc/api/a00706.html @@ -0,0 +1,1244 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_bitfield + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_bitfield
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL glm::u8vec2 bitfieldDeinterleave (glm::uint16 x)
 
GLM_FUNC_DECL glm::u16vec2 bitfieldDeinterleave (glm::uint32 x)
 
GLM_FUNC_DECL glm::u32vec2 bitfieldDeinterleave (glm::uint64 x)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillOne (genIUType Value, int FirstBit, int BitCount)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillOne (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldFillZero (genIUType Value, int FirstBit, int BitCount)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldFillZero (vec< L, T, Q > const &Value, int FirstBit, int BitCount)
 
GLM_FUNC_DECL int16 bitfieldInterleave (int8 x, int8 y)
 
GLM_FUNC_DECL uint16 bitfieldInterleave (uint8 x, uint8 y)
 
GLM_FUNC_DECL uint16 bitfieldInterleave (u8vec2 const &v)
 
GLM_FUNC_DECL int32 bitfieldInterleave (int16 x, int16 y)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint16 x, uint16 y)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (u16vec2 const &v)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (u32vec2 const &v)
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int32 x, int32 y, int32 z)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint32 x, uint32 y, uint32 z)
 
GLM_FUNC_DECL int32 bitfieldInterleave (int8 x, int8 y, int8 z, int8 w)
 
GLM_FUNC_DECL uint32 bitfieldInterleave (uint8 x, uint8 y, uint8 z, uint8 w)
 
GLM_FUNC_DECL int64 bitfieldInterleave (int16 x, int16 y, int16 z, int16 w)
 
GLM_FUNC_DECL uint64 bitfieldInterleave (uint16 x, uint16 y, uint16 z, uint16 w)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateLeft (genIUType In, int Shift)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateLeft (vec< L, T, Q > const &In, int Shift)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType bitfieldRotateRight (genIUType In, int Shift)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldRotateRight (vec< L, T, Q > const &In, int Shift)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType mask (genIUType Bits)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > mask (vec< L, T, Q > const &v)
 
+

Detailed Description

+

Include <glm/gtc/bitfield.hpp> to use the features of this extension.

+

Allow to perform bit operations on integer values

+

Function Documentation

+ +

◆ bitfieldDeinterleave() [1/3]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL glm::u8vec2 glm::bitfieldDeinterleave (glm::uint16 x)
+
+ +

Deinterleaves the bits of x.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldDeinterleave() [2/3]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL glm::u16vec2 glm::bitfieldDeinterleave (glm::uint32 x)
+
+ +

Deinterleaves the bits of x.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldDeinterleave() [3/3]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL glm::u32vec2 glm::bitfieldDeinterleave (glm::uint64 x)
+
+ +

Deinterleaves the bits of x.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldFillOne() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genIUType glm::bitfieldFillOne (genIUType Value,
int FirstBit,
int BitCount 
)
+
+ +

Set to 1 a range of bits.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldFillOne() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldFillOne (vec< L, T, Q > const & Value,
int FirstBit,
int BitCount 
)
+
+ +

Set to 1 a range of bits.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
+
+
+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldFillZero() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genIUType glm::bitfieldFillZero (genIUType Value,
int FirstBit,
int BitCount 
)
+
+ +

Set to 0 a range of bits.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldFillZero() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldFillZero (vec< L, T, Q > const & Value,
int FirstBit,
int BitCount 
)
+
+ +

Set to 0 a range of bits.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
+
+
+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [1/19]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int16 glm::bitfieldInterleave (int8 x,
int8 y 
)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [2/19]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint16 glm::bitfieldInterleave (uint8 x,
uint8 y 
)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [3/19]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint16 glm::bitfieldInterleave (u8vec2 const & v)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of v.x followed by the first bit of v.y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [4/19]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int32 glm::bitfieldInterleave (int16 x,
int16 y 
)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [5/19]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (uint16 x,
uint16 y 
)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [6/19]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (u16vec2 const & v)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of v.x followed by the first bit of v.y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [7/19]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int32 x,
int32 y 
)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [8/19]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint32 x,
uint32 y 
)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of x followed by the first bit of y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [9/19]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (u32vec2 const & v)
+
+ +

Interleaves the bits of x and y.

+

The first bit is the first bit of v.x followed by the first bit of v.y. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [10/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int32 glm::bitfieldInterleave (int8 x,
int8 y,
int8 z 
)
+
+ +

Interleaves the bits of x, y and z.

+

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [11/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (uint8 x,
uint8 y,
uint8 z 
)
+
+ +

Interleaves the bits of x, y and z.

+

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [12/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int16 x,
int16 y,
int16 z 
)
+
+ +

Interleaves the bits of x, y and z.

+

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [13/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint16 x,
uint16 y,
uint16 z 
)
+
+ +

Interleaves the bits of x, y and z.

+

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [14/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int32 x,
int32 y,
int32 z 
)
+
+ +

Interleaves the bits of x, y and z.

+

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [15/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint32 x,
uint32 y,
uint32 z 
)
+
+ +

Interleaves the bits of x, y and z.

+

The first bit is the first bit of x followed by the first bit of y and the first bit of z. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [16/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int32 glm::bitfieldInterleave (int8 x,
int8 y,
int8 z,
int8 w 
)
+
+ +

Interleaves the bits of x, y, z and w.

+

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [17/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint32 glm::bitfieldInterleave (uint8 x,
uint8 y,
uint8 z,
uint8 w 
)
+
+ +

Interleaves the bits of x, y, z and w.

+

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [18/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int64 glm::bitfieldInterleave (int16 x,
int16 y,
int16 z,
int16 w 
)
+
+ +

Interleaves the bits of x, y, z and w.

+

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldInterleave() [19/19]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint64 glm::bitfieldInterleave (uint16 x,
uint16 y,
uint16 z,
uint16 w 
)
+
+ +

Interleaves the bits of x, y, z and w.

+

The first bit is the first bit of x followed by the first bit of y, the first bit of z and finally the first bit of w. The other bits are interleaved following the previous sequence.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldRotateLeft() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genIUType glm::bitfieldRotateLeft (genIUType In,
int Shift 
)
+
+ +

Rotate all bits to the left.

+

All the bits dropped in the left side are inserted back on the right side.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldRotateLeft() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldRotateLeft (vec< L, T, Q > const & In,
int Shift 
)
+
+ +

Rotate all bits to the left.

+

All the bits dropped in the left side are inserted back on the right side.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
+
+
+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldRotateRight() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genIUType glm::bitfieldRotateRight (genIUType In,
int Shift 
)
+
+ +

Rotate all bits to the right.

+

All the bits dropped in the right side are inserted back on the left side.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ bitfieldRotateRight() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::bitfieldRotateRight (vec< L, T, Q > const & In,
int Shift 
)
+
+ +

Rotate all bits to the right.

+

All the bits dropped in the right side are inserted back on the left side.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
+
+
+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ mask() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genIUType glm::mask (genIUType Bits)
+
+ +

Build a mask of 'count' bits.

+
See also
GLM_GTC_bitfield
+ +
+
+ +

◆ mask() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::mask (vec< L, T, Q > const & v)
+
+ +

Build a mask of 'count' bits.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TSigned and unsigned integer scalar types
QValue from qualifier enum
+
+
+
See also
GLM_GTC_bitfield
+ +
+
+
+ + + + diff --git a/doc/api/a00156.html b/doc/api/a00707.html similarity index 70% rename from doc/api/a00156.html rename to doc/api/a00707.html index 4c750012..7a310a4a 100644 --- a/doc/api/a00156.html +++ b/doc/api/a00707.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_color_space @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_color_space
+
GLM_GTC_color_space
Recommended extensions
- -

Include <glm/gtc/color_space.hpp> to use the features of this extension. -More...

- - + - - + - - + - - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 Convert a linear color to sRGB color using a standard gamma correction. More...
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 Convert a linear color to sRGB color using a custom gamma correction. More...
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 Convert a sRGB color to linear color using a standard gamma correction. More...
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 
+
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB, T Gamma)
 Convert a sRGB color to linear color using a custom gamma correction.
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB, T Gamma)
 

Detailed Description

-

Include <glm/gtc/color_space.hpp> to use the features of this extension.

+

Include <glm/gtc/color_space.hpp> to use the features of this extension.

Allow to perform bit operations on integer values

Function Documentation

- + +

◆ convertLinearToSRGB() [1/2]

+
@@ -128,7 +110,9 @@ template<length_t L, typename T , qualifier Q> - + +

◆ convertLinearToSRGB() [2/2]

+
@@ -157,7 +141,9 @@ template<length_t L, typename T , qualifier Q> - + +

◆ convertSRGBToLinear()

+
@@ -181,7 +167,7 @@ template<length_t L, typename T , qualifier Q> diff --git a/doc/api/a00157.html b/doc/api/a00708.html similarity index 61% rename from doc/api/a00157.html rename to doc/api/a00708.html index 1a7ef345..1b969bdc 100644 --- a/doc/api/a00157.html +++ b/doc/api/a00708.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTC_constants @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_constants
+
GLM_GTC_constants
- -

Include <glm/gtc/constants.hpp> to use the features of this extension. -More...

- - + - - - - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType e ()
 Return e constant. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType e ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon ()
 Return the epsilon constant for floating point types. More...
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType euler ()
 Return Euler's constant. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType euler ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi ()
 Return 4 / pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType four_over_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio ()
 Return the golden ratio constant. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType golden_ratio ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi ()
 Return pi / 2. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType half_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two ()
 Return ln(ln(2)). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ln_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten ()
 Return ln(10). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_ten ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two ()
 Return ln(2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType ln_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one ()
 Return 1. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi ()
 Return 1 / pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two ()
 Return 1 / sqrt(2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_root_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi ()
 Return 1 / (pi * 2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType one_over_two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType pi ()
 Return the pi constant. More...
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi ()
 Return pi / 4. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType quarter_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_five ()
 Return sqrt(5). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_five ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi ()
 Return sqrt(pi / 2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_half_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four ()
 Return sqrt(ln(4)). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_ln_four ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi ()
 Return square root of pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_three ()
 Return sqrt(3). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_three ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two ()
 Return sqrt(2). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi ()
 Return sqrt(2 * pi). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType root_two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType third ()
 Return 1 / 3. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType third ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi ()
 Return pi / 2 * 3. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType three_over_two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi ()
 Return 2 / pi. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi ()
 Return 2 / sqrt(pi). More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_over_root_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi ()
 Return pi * 2. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_pi ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds ()
 Return 2 / 3. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType two_thirds ()
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType zero ()
 Return 0. More...
GLM_FUNC_DECL GLM_CONSTEXPR genType zero ()
 

Detailed Description

-

Include <glm/gtc/constants.hpp> to use the features of this extension.

+

Include <glm/gtc/constants.hpp> to use the features of this extension.

Provide a list of constants and precomputed useful values.

Function Documentation

- + +

◆ e()

+
@@ -222,29 +173,13 @@ Functions

Return e constant.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- -
-
-
- - - - - - -
GLM_FUNC_DECL GLM_CONSTEXPR genType glm::epsilon ()
-
+ +

◆ euler()

-

Return the epsilon constant for floating point types.

-
See also
GLM_GTC_constants
- -
-
-
@@ -258,11 +193,13 @@ Functions

Return Euler's constant.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ four_over_pi()

+
@@ -276,11 +213,13 @@ Functions

Return 4 / pi.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ golden_ratio()

+
@@ -294,11 +233,13 @@ Functions

Return the golden ratio constant.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ half_pi()

+
@@ -312,11 +253,13 @@ Functions

Return pi / 2.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ ln_ln_two()

+
@@ -330,11 +273,13 @@ Functions

Return ln(ln(2)).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ ln_ten()

+
@@ -348,11 +293,13 @@ Functions

Return ln(10).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ ln_two()

+
@@ -366,11 +313,13 @@ Functions

Return ln(2).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ one()

+
@@ -384,11 +333,13 @@ Functions

Return 1.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ one_over_pi()

+
@@ -402,11 +353,13 @@ Functions

Return 1 / pi.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ one_over_root_two()

+
@@ -420,11 +373,13 @@ Functions

Return 1 / sqrt(2).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ one_over_two_pi()

+
@@ -438,29 +393,13 @@ Functions

Return 1 / (pi * 2).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- -
-
-
- - - - - - -
GLM_FUNC_DECL GLM_CONSTEXPR genType glm::pi ()
-
+ +

◆ quarter_pi()

-

Return the pi constant.

-
See also
GLM_GTC_constants
- -
-
-
@@ -474,11 +413,13 @@ Functions

Return pi / 4.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_five()

+
@@ -492,11 +433,13 @@ Functions

Return sqrt(5).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_half_pi()

+
@@ -510,11 +453,13 @@ Functions

Return sqrt(pi / 2).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_ln_four()

+
@@ -528,11 +473,13 @@ Functions

Return sqrt(ln(4)).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_pi()

+
@@ -546,11 +493,13 @@ Functions

Return square root of pi.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_three()

+
@@ -564,11 +513,13 @@ Functions

Return sqrt(3).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_two()

+
@@ -582,11 +533,13 @@ Functions

Return sqrt(2).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ root_two_pi()

+
@@ -600,11 +553,13 @@ Functions

Return sqrt(2 * pi).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ third()

+
@@ -618,11 +573,13 @@ Functions

Return 1 / 3.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ three_over_two_pi()

+
@@ -636,11 +593,13 @@ Functions

Return pi / 2 * 3.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ two_over_pi()

+
@@ -654,11 +613,13 @@ Functions

Return 2 / pi.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ two_over_root_pi()

+
@@ -672,11 +633,13 @@ Functions

Return 2 / sqrt(pi).

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ two_pi()

+
@@ -690,11 +653,13 @@ Functions

Return pi * 2.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ two_thirds()

+
@@ -708,11 +673,13 @@ Functions

Return 2 / 3.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
- + +

◆ zero()

+
@@ -726,7 +693,7 @@ Functions

Return 0.

-
See also
GLM_GTC_constants
+
See also
GLM_GTC_constants
@@ -735,7 +702,7 @@ Functions diff --git a/doc/api/a00709.html b/doc/api/a00709.html new file mode 100644 index 00000000..07791431 --- /dev/null +++ b/doc/api/a00709.html @@ -0,0 +1,251 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_epsilon + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_epsilon
+
+
+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > epsilonEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 
template<typename genType >
GLM_FUNC_DECL bool epsilonEqual (genType const &x, genType const &y, genType const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > epsilonNotEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T const &epsilon)
 
template<typename genType >
GLM_FUNC_DECL bool epsilonNotEqual (genType const &x, genType const &y, genType const &epsilon)
 
+

Detailed Description

+

Include <glm/gtc/epsilon.hpp> to use the features of this extension.

+

Comparison functions for a user defined epsilon values.

+

Function Documentation

+ +

◆ epsilonEqual() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, bool, Q> glm::epsilonEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
T const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
See also
GLM_GTC_epsilon
+ +
+
+ +

◆ epsilonEqual() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL bool glm::epsilonEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
See also
GLM_GTC_epsilon
+ +
+
+ +

◆ epsilonNotEqual() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, bool, Q> glm::epsilonNotEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y,
T const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is not satisfied.

+
See also
GLM_GTC_epsilon
+ +
+
+ +

◆ epsilonNotEqual() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL bool glm::epsilonNotEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
See also
GLM_GTC_epsilon
+ +
+
+
+ + + + diff --git a/doc/api/a00159.html b/doc/api/a00710.html similarity index 70% rename from doc/api/a00159.html rename to doc/api/a00710.html index 0f0574e5..1284cfd0 100644 --- a/doc/api/a00159.html +++ b/doc/api/a00710.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_integer @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_integer
+
GLM_GTC_integer
Recommended extensions
- -

Include <glm/gtc/integer.hpp> to use the features of this extension. -More...

- - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType log2 (genIUType x)
 Returns the log2 of x for integer values. More...
GLM_FUNC_DECL genIUType log2 (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 

Detailed Description

-

Include <glm/gtc/integer.hpp> to use the features of this extension.

+

Include <glm/gtc/integer.hpp> to use the features of this extension.

Allow to perform bit operations on integer values

Function Documentation

- + +

◆ iround()

+
@@ -134,11 +117,13 @@ Functions
See also
GLSL round man page
-GLM_GTC_integer
+GLM_GTC_integer - + +

◆ log2()

+
@@ -153,11 +138,13 @@ Functions

Returns the log2 of x for integer values.

-

Can be reliably using to compute mipmap count from the texture size.

See also
GLM_GTC_integer
+

Can be reliably using to compute mipmap count from the texture size.

See also
GLM_GTC_integer
- + +

◆ uround()

+
@@ -187,7 +174,7 @@ Functions
See also
GLSL round man page
-GLM_GTC_integer
+GLM_GTC_integer @@ -196,7 +183,7 @@ Functions diff --git a/doc/api/a00160.html b/doc/api/a00711.html similarity index 70% rename from doc/api/a00160.html rename to doc/api/a00711.html index 8f2f7699..f1c19025 100644 --- a/doc/api/a00160.html +++ b/doc/api/a00711.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTC_matrix_access @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_matrix_access
+
GLM_GTC_matrix_access
- -

Include <glm/gtc/matrix_access.hpp> to use the features of this extension. -More...

- - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType::col_type column (genType const &m, length_t index)
 Get a specific column of a matrix. More...
GLM_FUNC_DECL genType::col_type column (genType const &m, length_t index)
 
template<typename genType >
GLM_FUNC_DECL genType column (genType const &m, length_t index, typename genType::col_type const &x)
 Set a specific column to a matrix. More...
GLM_FUNC_DECL genType column (genType const &m, length_t index, typename genType::col_type const &x)
 
template<typename genType >
GLM_FUNC_DECL genType::row_type row (genType const &m, length_t index)
 Get a specific row of a matrix. More...
GLM_FUNC_DECL genType::row_type row (genType const &m, length_t index)
 
template<typename genType >
GLM_FUNC_DECL genType row (genType const &m, length_t index, typename genType::row_type const &x)
 Set a specific row to a matrix. More...
GLM_FUNC_DECL genType row (genType const &m, length_t index, typename genType::row_type const &x)
 

Detailed Description

-

Include <glm/gtc/matrix_access.hpp> to use the features of this extension.

+

Include <glm/gtc/matrix_access.hpp> to use the features of this extension.

Defines functions to access rows or columns of a matrix easily.

Function Documentation

- + +

◆ column() [1/2]

+
@@ -133,11 +115,13 @@ Functions

Get a specific column of a matrix.

-
See also
GLM_GTC_matrix_access
+
See also
GLM_GTC_matrix_access
- + +

◆ column() [2/2]

+
@@ -168,11 +152,13 @@ Functions

Set a specific column to a matrix.

-
See also
GLM_GTC_matrix_access
+
See also
GLM_GTC_matrix_access
- + +

◆ row() [1/2]

+
@@ -197,11 +183,13 @@ Functions

Get a specific row of a matrix.

-
See also
GLM_GTC_matrix_access
+
See also
GLM_GTC_matrix_access
- + +

◆ row() [2/2]

+
@@ -232,7 +220,7 @@ Functions

Set a specific row to a matrix.

-
See also
GLM_GTC_matrix_access
+
See also
GLM_GTC_matrix_access
@@ -241,7 +229,7 @@ Functions diff --git a/doc/api/a00712.html b/doc/api/a00712.html new file mode 100644 index 00000000..f5984466 --- /dev/null +++ b/doc/api/a00712.html @@ -0,0 +1,2103 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_matrix_integer + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_matrix_integer
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef mat< 2, 2, int, highp > highp_imat2
 
typedef mat< 2, 2, int, highp > highp_imat2x2
 
typedef mat< 2, 3, int, highp > highp_imat2x3
 
typedef mat< 2, 4, int, highp > highp_imat2x4
 
typedef mat< 3, 3, int, highp > highp_imat3
 
typedef mat< 3, 2, int, highp > highp_imat3x2
 
typedef mat< 3, 3, int, highp > highp_imat3x3
 
typedef mat< 3, 4, int, highp > highp_imat3x4
 
typedef mat< 4, 4, int, highp > highp_imat4
 
typedef mat< 4, 2, int, highp > highp_imat4x2
 
typedef mat< 4, 3, int, highp > highp_imat4x3
 
typedef mat< 4, 4, int, highp > highp_imat4x4
 
typedef mat< 2, 2, uint, highp > highp_umat2
 
typedef mat< 2, 2, uint, highp > highp_umat2x2
 
typedef mat< 2, 3, uint, highp > highp_umat2x3
 
typedef mat< 2, 4, uint, highp > highp_umat2x4
 
typedef mat< 3, 3, uint, highp > highp_umat3
 
typedef mat< 3, 2, uint, highp > highp_umat3x2
 
typedef mat< 3, 3, uint, highp > highp_umat3x3
 
typedef mat< 3, 4, uint, highp > highp_umat3x4
 
typedef mat< 4, 4, uint, highp > highp_umat4
 
typedef mat< 4, 2, uint, highp > highp_umat4x2
 
typedef mat< 4, 3, uint, highp > highp_umat4x3
 
typedef mat< 4, 4, uint, highp > highp_umat4x4
 
typedef mediump_imat2 imat2
 
typedef mediump_imat2x2 imat2x2
 
typedef mediump_imat2x3 imat2x3
 
typedef mediump_imat2x4 imat2x4
 
typedef mediump_imat3 imat3
 
typedef mediump_imat3x2 imat3x2
 
typedef mediump_imat3x3 imat3x3
 
typedef mediump_imat3x4 imat3x4
 
typedef mediump_imat4 imat4
 
typedef mediump_imat4x2 imat4x2
 
typedef mediump_imat4x3 imat4x3
 
typedef mediump_imat4x4 imat4x4
 
typedef mat< 2, 2, int, lowp > lowp_imat2
 
typedef mat< 2, 2, int, lowp > lowp_imat2x2
 
typedef mat< 2, 3, int, lowp > lowp_imat2x3
 
typedef mat< 2, 4, int, lowp > lowp_imat2x4
 
typedef mat< 3, 3, int, lowp > lowp_imat3
 
typedef mat< 3, 2, int, lowp > lowp_imat3x2
 
typedef mat< 3, 3, int, lowp > lowp_imat3x3
 
typedef mat< 3, 4, int, lowp > lowp_imat3x4
 
typedef mat< 4, 4, int, lowp > lowp_imat4
 
typedef mat< 4, 2, int, lowp > lowp_imat4x2
 
typedef mat< 4, 3, int, lowp > lowp_imat4x3
 
typedef mat< 4, 4, int, lowp > lowp_imat4x4
 
typedef mat< 2, 2, uint, lowp > lowp_umat2
 
typedef mat< 2, 2, uint, lowp > lowp_umat2x2
 
typedef mat< 2, 3, uint, lowp > lowp_umat2x3
 
typedef mat< 2, 4, uint, lowp > lowp_umat2x4
 
typedef mat< 3, 3, uint, lowp > lowp_umat3
 
typedef mat< 3, 2, uint, lowp > lowp_umat3x2
 
typedef mat< 3, 3, uint, lowp > lowp_umat3x3
 
typedef mat< 3, 4, uint, lowp > lowp_umat3x4
 
typedef mat< 4, 4, uint, lowp > lowp_umat4
 
typedef mat< 4, 2, uint, lowp > lowp_umat4x2
 
typedef mat< 4, 3, uint, lowp > lowp_umat4x3
 
typedef mat< 4, 4, uint, lowp > lowp_umat4x4
 
typedef mat< 2, 2, int, mediump > mediump_imat2
 
typedef mat< 2, 2, int, mediump > mediump_imat2x2
 
typedef mat< 2, 3, int, mediump > mediump_imat2x3
 
typedef mat< 2, 4, int, mediump > mediump_imat2x4
 
typedef mat< 3, 3, int, mediump > mediump_imat3
 
typedef mat< 3, 2, int, mediump > mediump_imat3x2
 
typedef mat< 3, 3, int, mediump > mediump_imat3x3
 
typedef mat< 3, 4, int, mediump > mediump_imat3x4
 
typedef mat< 4, 4, int, mediump > mediump_imat4
 
typedef mat< 4, 2, int, mediump > mediump_imat4x2
 
typedef mat< 4, 3, int, mediump > mediump_imat4x3
 
typedef mat< 4, 4, int, mediump > mediump_imat4x4
 
typedef mat< 2, 2, uint, mediump > mediump_umat2
 
typedef mat< 2, 2, uint, mediump > mediump_umat2x2
 
typedef mat< 2, 3, uint, mediump > mediump_umat2x3
 
typedef mat< 2, 4, uint, mediump > mediump_umat2x4
 
typedef mat< 3, 3, uint, mediump > mediump_umat3
 
typedef mat< 3, 2, uint, mediump > mediump_umat3x2
 
typedef mat< 3, 3, uint, mediump > mediump_umat3x3
 
typedef mat< 3, 4, uint, mediump > mediump_umat3x4
 
typedef mat< 4, 4, uint, mediump > mediump_umat4
 
typedef mat< 4, 2, uint, mediump > mediump_umat4x2
 
typedef mat< 4, 3, uint, mediump > mediump_umat4x3
 
typedef mat< 4, 4, uint, mediump > mediump_umat4x4
 
typedef mediump_umat2 umat2
 
typedef mediump_umat2x2 umat2x2
 
typedef mediump_umat2x3 umat2x3
 
typedef mediump_umat2x4 umat2x4
 
typedef mediump_umat3 umat3
 
typedef mediump_umat3x2 umat3x2
 
typedef mediump_umat3x3 umat3x3
 
typedef mediump_umat3x4 umat3x4
 
typedef mediump_umat4 umat4
 
typedef mediump_umat4x2 umat4x2
 
typedef mediump_umat4x3 umat4x3
 
typedef mediump_umat4x4 umat4x4
 
+

Detailed Description

+

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.

+

Defines a number of matrices with integer types.

+

Typedef Documentation

+ +

◆ highp_imat2

+ +
+
+ + + + +
typedef mat<2, 2, int, highp> highp_imat2
+
+ +

High-qualifier signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 37 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat2x2

+ +
+
+ + + + +
typedef mat<2, 2, int, highp> highp_imat2x2
+
+ +

High-qualifier signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 49 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat2x3

+ +
+
+ + + + +
typedef mat<2, 3, int, highp> highp_imat2x3
+
+ +

High-qualifier signed integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 53 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat2x4

+ +
+
+ + + + +
typedef mat<2, 4, int, highp> highp_imat2x4
+
+ +

High-qualifier signed integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 57 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat3

+ +
+
+ + + + +
typedef mat<3, 3, int, highp> highp_imat3
+
+ +

High-qualifier signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 41 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat3x2

+ +
+
+ + + + +
typedef mat<3, 2, int, highp> highp_imat3x2
+
+ +

High-qualifier signed integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 61 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat3x3

+ +
+
+ + + + +
typedef mat<3, 3, int, highp> highp_imat3x3
+
+ +

High-qualifier signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 65 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat3x4

+ +
+
+ + + + +
typedef mat<3, 4, int, highp> highp_imat3x4
+
+ +

High-qualifier signed integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 69 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat4

+ +
+
+ + + + +
typedef mat<4, 4, int, highp> highp_imat4
+
+ +

High-qualifier signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 45 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat4x2

+ +
+
+ + + + +
typedef mat<4, 2, int, highp> highp_imat4x2
+
+ +

High-qualifier signed integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 73 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat4x3

+ +
+
+ + + + +
typedef mat<4, 3, int, highp> highp_imat4x3
+
+ +

High-qualifier signed integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 77 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_imat4x4

+ +
+
+ + + + +
typedef mat<4, 4, int, highp> highp_imat4x4
+
+ +

High-qualifier signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 81 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat2

+ +
+
+ + + + +
typedef mat<2, 2, uint, highp> highp_umat2
+
+ +

High-qualifier unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 186 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat2x2

+ +
+
+ + + + +
typedef mat<2, 2, uint, highp> highp_umat2x2
+
+ +

High-qualifier unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 198 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat2x3

+ +
+
+ + + + +
typedef mat<2, 3, uint, highp> highp_umat2x3
+
+ +

High-qualifier unsigned integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 202 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat2x4

+ +
+
+ + + + +
typedef mat<2, 4, uint, highp> highp_umat2x4
+
+ +

High-qualifier unsigned integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 206 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat3

+ +
+
+ + + + +
typedef mat<3, 3, uint, highp> highp_umat3
+
+ +

High-qualifier unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 190 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat3x2

+ +
+
+ + + + +
typedef mat<3, 2, uint, highp> highp_umat3x2
+
+ +

High-qualifier unsigned integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 210 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat3x3

+ +
+
+ + + + +
typedef mat<3, 3, uint, highp> highp_umat3x3
+
+ +

High-qualifier unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 214 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat3x4

+ +
+
+ + + + +
typedef mat<3, 4, uint, highp> highp_umat3x4
+
+ +

High-qualifier unsigned integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 218 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat4

+ +
+
+ + + + +
typedef mat<4, 4, uint, highp> highp_umat4
+
+ +

High-qualifier unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 194 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat4x2

+ +
+
+ + + + +
typedef mat<4, 2, uint, highp> highp_umat4x2
+
+ +

High-qualifier unsigned integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 222 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat4x3

+ +
+
+ + + + +
typedef mat<4, 3, uint, highp> highp_umat4x3
+
+ +

High-qualifier unsigned integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 226 of file matrix_integer.hpp.

+ +
+
+ +

◆ highp_umat4x4

+ +
+
+ + + + +
typedef mat<4, 4, uint, highp> highp_umat4x4
+
+ +

High-qualifier unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 230 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat2

+ +
+
+ + + + +
typedef mediump_imat2 imat2
+
+ +

Signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 362 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat2x2

+ +
+
+ + + + +
typedef mediump_imat2x2 imat2x2
+
+ +

Signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 374 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat2x3

+ +
+
+ + + + +
typedef mediump_imat2x3 imat2x3
+
+ +

Signed integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 378 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat2x4

+ +
+
+ + + + +
typedef mediump_imat2x4 imat2x4
+
+ +

Signed integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 382 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat3

+ +
+
+ + + + +
typedef mediump_imat3 imat3
+
+ +

Signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 366 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat3x2

+ +
+
+ + + + +
typedef mediump_imat3x2 imat3x2
+
+ +

Signed integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 386 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat3x3

+ +
+
+ + + + +
typedef mediump_imat3x3 imat3x3
+
+ +

Signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 390 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat3x4

+ +
+
+ + + + +
typedef mediump_imat3x4 imat3x4
+
+ +

Signed integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 394 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat4

+ +
+
+ + + + +
typedef mediump_imat4 imat4
+
+ +

Signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 370 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat4x2

+ +
+
+ + + + +
typedef mediump_imat4x2 imat4x2
+
+ +

Signed integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 398 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat4x3

+ +
+
+ + + + +
typedef mediump_imat4x3 imat4x3
+
+ +

Signed integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 402 of file matrix_integer.hpp.

+ +
+
+ +

◆ imat4x4

+ +
+
+ + + + +
typedef mediump_imat4x4 imat4x4
+
+ +

Signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 406 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat2

+ +
+
+ + + + +
typedef mat<2, 2, int, lowp> lowp_imat2
+
+ +

Low-qualifier signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 136 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat2x2

+ +
+
+ + + + +
typedef mat<2, 2, int, lowp> lowp_imat2x2
+
+ +

Low-qualifier signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 149 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat2x3

+ +
+
+ + + + +
typedef mat<2, 3, int, lowp> lowp_imat2x3
+
+ +

Low-qualifier signed integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 153 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat2x4

+ +
+
+ + + + +
typedef mat<2, 4, int, lowp> lowp_imat2x4
+
+ +

Low-qualifier signed integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 157 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat3

+ +
+
+ + + + +
typedef mat<3, 3, int, lowp> lowp_imat3
+
+ +

Low-qualifier signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 140 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat3x2

+ +
+
+ + + + +
typedef mat<3, 2, int, lowp> lowp_imat3x2
+
+ +

Low-qualifier signed integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 161 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat3x3

+ +
+
+ + + + +
typedef mat<3, 3, int, lowp> lowp_imat3x3
+
+ +

Low-qualifier signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 165 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat3x4

+ +
+
+ + + + +
typedef mat<3, 4, int, lowp> lowp_imat3x4
+
+ +

Low-qualifier signed integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 169 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat4

+ +
+
+ + + + +
typedef mat<4, 4, int, lowp> lowp_imat4
+
+ +

Low-qualifier signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 144 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat4x2

+ +
+
+ + + + +
typedef mat<4, 2, int, lowp> lowp_imat4x2
+
+ +

Low-qualifier signed integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 173 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat4x3

+ +
+
+ + + + +
typedef mat<4, 3, int, lowp> lowp_imat4x3
+
+ +

Low-qualifier signed integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 177 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_imat4x4

+ +
+
+ + + + +
typedef mat<4, 4, int, lowp> lowp_imat4x4
+
+ +

Low-qualifier signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 181 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat2

+ +
+
+ + + + +
typedef mat<2, 2, uint, lowp> lowp_umat2
+
+ +

Low-qualifier unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 285 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat2x2

+ +
+
+ + + + +
typedef mat<2, 2, uint, lowp> lowp_umat2x2
+
+ +

Low-qualifier unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 298 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat2x3

+ +
+
+ + + + +
typedef mat<2, 3, uint, lowp> lowp_umat2x3
+
+ +

Low-qualifier unsigned integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 302 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat2x4

+ +
+
+ + + + +
typedef mat<2, 4, uint, lowp> lowp_umat2x4
+
+ +

Low-qualifier unsigned integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 306 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat3

+ +
+
+ + + + +
typedef mat<3, 3, uint, lowp> lowp_umat3
+
+ +

Low-qualifier unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 289 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat3x2

+ +
+
+ + + + +
typedef mat<3, 2, uint, lowp> lowp_umat3x2
+
+ +

Low-qualifier unsigned integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 310 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat3x3

+ +
+
+ + + + +
typedef mat<3, 3, uint, lowp> lowp_umat3x3
+
+ +

Low-qualifier unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 314 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat3x4

+ +
+
+ + + + +
typedef mat<3, 4, uint, lowp> lowp_umat3x4
+
+ +

Low-qualifier unsigned integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 318 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat4

+ +
+
+ + + + +
typedef mat<4, 4, uint, lowp> lowp_umat4
+
+ +

Low-qualifier unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 293 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat4x2

+ +
+
+ + + + +
typedef mat<4, 2, uint, lowp> lowp_umat4x2
+
+ +

Low-qualifier unsigned integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 322 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat4x3

+ +
+
+ + + + +
typedef mat<4, 3, uint, lowp> lowp_umat4x3
+
+ +

Low-qualifier unsigned integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 326 of file matrix_integer.hpp.

+ +
+
+ +

◆ lowp_umat4x4

+ +
+
+ + + + +
typedef mat<4, 4, uint, lowp> lowp_umat4x4
+
+ +

Low-qualifier unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 330 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat2

+ +
+
+ + + + +
typedef mat<2, 2, int, mediump> mediump_imat2
+
+ +

Medium-qualifier signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 86 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat2x2

+ +
+
+ + + + +
typedef mat<2, 2, int, mediump> mediump_imat2x2
+
+ +

Medium-qualifier signed integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 99 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat2x3

+ +
+
+ + + + +
typedef mat<2, 3, int, mediump> mediump_imat2x3
+
+ +

Medium-qualifier signed integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 103 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat2x4

+ +
+
+ + + + +
typedef mat<2, 4, int, mediump> mediump_imat2x4
+
+ +

Medium-qualifier signed integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 107 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat3

+ +
+
+ + + + +
typedef mat<3, 3, int, mediump> mediump_imat3
+
+ +

Medium-qualifier signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 90 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat3x2

+ +
+
+ + + + +
typedef mat<3, 2, int, mediump> mediump_imat3x2
+
+ +

Medium-qualifier signed integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 111 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat3x3

+ +
+
+ + + + +
typedef mat<3, 3, int, mediump> mediump_imat3x3
+
+ +

Medium-qualifier signed integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 115 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat3x4

+ +
+
+ + + + +
typedef mat<3, 4, int, mediump> mediump_imat3x4
+
+ +

Medium-qualifier signed integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 119 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat4

+ +
+
+ + + + +
typedef mat<4, 4, int, mediump> mediump_imat4
+
+ +

Medium-qualifier signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 94 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat4x2

+ +
+
+ + + + +
typedef mat<4, 2, int, mediump> mediump_imat4x2
+
+ +

Medium-qualifier signed integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 123 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat4x3

+ +
+
+ + + + +
typedef mat<4, 3, int, mediump> mediump_imat4x3
+
+ +

Medium-qualifier signed integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 127 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_imat4x4

+ +
+
+ + + + +
typedef mat<4, 4, int, mediump> mediump_imat4x4
+
+ +

Medium-qualifier signed integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 131 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat2

+ +
+
+ + + + +
typedef mat<2, 2, uint, mediump> mediump_umat2
+
+ +

Medium-qualifier unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 235 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat2x2

+ +
+
+ + + + +
typedef mat<2, 2, uint, mediump> mediump_umat2x2
+
+ +

Medium-qualifier unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 248 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat2x3

+ +
+
+ + + + +
typedef mat<2, 3, uint, mediump> mediump_umat2x3
+
+ +

Medium-qualifier unsigned integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 252 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat2x4

+ +
+
+ + + + +
typedef mat<2, 4, uint, mediump> mediump_umat2x4
+
+ +

Medium-qualifier unsigned integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 256 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat3

+ +
+
+ + + + +
typedef mat<3, 3, uint, mediump> mediump_umat3
+
+ +

Medium-qualifier unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 239 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat3x2

+ +
+
+ + + + +
typedef mat<3, 2, uint, mediump> mediump_umat3x2
+
+ +

Medium-qualifier unsigned integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 260 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat3x3

+ +
+
+ + + + +
typedef mat<3, 3, uint, mediump> mediump_umat3x3
+
+ +

Medium-qualifier unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 264 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat3x4

+ +
+
+ + + + +
typedef mat<3, 4, uint, mediump> mediump_umat3x4
+
+ +

Medium-qualifier unsigned integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 268 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat4

+ +
+
+ + + + +
typedef mat<4, 4, uint, mediump> mediump_umat4
+
+ +

Medium-qualifier unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 243 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat4x2

+ +
+
+ + + + +
typedef mat<4, 2, uint, mediump> mediump_umat4x2
+
+ +

Medium-qualifier unsigned integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 272 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat4x3

+ +
+
+ + + + +
typedef mat<4, 3, uint, mediump> mediump_umat4x3
+
+ +

Medium-qualifier unsigned integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 276 of file matrix_integer.hpp.

+ +
+
+ +

◆ mediump_umat4x4

+ +
+
+ + + + +
typedef mat<4, 4, uint, mediump> mediump_umat4x4
+
+ +

Medium-qualifier unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 280 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat2

+ +
+
+ + + + +
typedef mediump_umat2 umat2
+
+ +

Unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 439 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat2x2

+ +
+
+ + + + +
typedef mediump_umat2x2 umat2x2
+
+ +

Unsigned integer 2x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 451 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat2x3

+ +
+
+ + + + +
typedef mediump_umat2x3 umat2x3
+
+ +

Unsigned integer 2x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 455 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat2x4

+ +
+
+ + + + +
typedef mediump_umat2x4 umat2x4
+
+ +

Unsigned integer 2x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 459 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat3

+ +
+
+ + + + +
typedef mediump_umat3 umat3
+
+ +

Unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 443 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat3x2

+ +
+
+ + + + +
typedef mediump_umat3x2 umat3x2
+
+ +

Unsigned integer 3x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 463 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat3x3

+ +
+
+ + + + +
typedef mediump_umat3x3 umat3x3
+
+ +

Unsigned integer 3x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 467 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat3x4

+ +
+
+ + + + +
typedef mediump_umat3x4 umat3x4
+
+ +

Unsigned integer 3x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 471 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat4

+ +
+
+ + + + +
typedef mediump_umat4 umat4
+
+ +

Unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 447 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat4x2

+ +
+
+ + + + +
typedef mediump_umat4x2 umat4x2
+
+ +

Unsigned integer 4x2 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 475 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat4x3

+ +
+
+ + + + +
typedef mediump_umat4x3 umat4x3
+
+ +

Unsigned integer 4x3 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 479 of file matrix_integer.hpp.

+ +
+
+ +

◆ umat4x4

+ +
+
+ + + + +
typedef mediump_umat4x4 umat4x4
+
+ +

Unsigned integer 4x4 matrix.

+
See also
GLM_GTC_matrix_integer
+ +

Definition at line 483 of file matrix_integer.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00162.html b/doc/api/a00713.html similarity index 69% rename from doc/api/a00162.html rename to doc/api/a00713.html index f94bef54..c78a3c33 100644 --- a/doc/api/a00162.html +++ b/doc/api/a00713.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_matrix_inverse @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_matrix_inverse
+
GLM_GTC_matrix_inverse
Recommended extensions
- -

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension. -More...

- - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType affineInverse (genType const &m)
 Fast matrix inverse for affine matrix. More...
GLM_FUNC_DECL genType affineInverse (genType const &m)
 
template<typename genType >
GLM_FUNC_DECL genType inverseTranspose (genType const &m)
 Compute the inverse transpose of a matrix. More...
GLM_FUNC_DECL genType inverseTranspose (genType const &m)
 

Detailed Description

-

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.

+

Include <glm/gtc/matrix_integer.hpp> to use the features of this extension.

Defines additional matrix inverting functions.

Function Documentation

- + +

◆ affineInverse()

+
@@ -127,11 +111,13 @@ Functions
-
See also
GLM_GTC_matrix_inverse
+
See also
GLM_GTC_matrix_inverse
- + +

◆ inverseTranspose()

+
@@ -158,7 +144,7 @@ Functions
-
See also
GLM_GTC_matrix_inverse
+
See also
GLM_GTC_matrix_inverse
@@ -167,7 +153,7 @@ Functions diff --git a/doc/api/a00714.html b/doc/api/a00714.html new file mode 100644 index 00000000..e8698e12 --- /dev/null +++ b/doc/api/a00714.html @@ -0,0 +1,80 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_matrix_transform + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
GLM_GTC_matrix_transform
+
+
+

Include <glm/gtc/matrix_transform.hpp> to use the features of this extension.

+

Defines functions that generate common transformation matrices.

+

The matrices generated by this extension use standard OpenGL fixed-function conventions. For example, the lookAt function generates a transform from world space into the specific eye space that the projective matrix functions (perspective, ortho, etc) are designed to expect. The OpenGL compatibility specifications defines the particular layout of this eye space.

+
+ + + + diff --git a/doc/api/a00715.html b/doc/api/a00715.html new file mode 100644 index 00000000..36d7a6cd --- /dev/null +++ b/doc/api/a00715.html @@ -0,0 +1,169 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_noise + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T perlin (vec< L, T, Q > const &p, vec< L, T, Q > const &rep)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T simplex (vec< L, T, Q > const &p)
 
+

Detailed Description

+

Include <glm/gtc/noise.hpp> to use the features of this extension.

+

Defines 2D, 3D and 4D procedural noise functions Based on the work of Stefan Gustavson and Ashima Arts on "webgl-noise": https://github.com/ashima/webgl-noise Following Stefan Gustavson's paper "Simplex noise demystified": http://www.itn.liu.se/~stegu/simplexnoise/simplexnoise.pdf

+

Function Documentation

+ +

◆ perlin() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::perlin (vec< L, T, Q > const & p)
+
+ +

Classic perlin noise.

+
See also
GLM_GTC_noise
+ +
+
+ +

◆ perlin() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::perlin (vec< L, T, Q > const & p,
vec< L, T, Q > const & rep 
)
+
+ +

Periodic perlin noise.

+
See also
GLM_GTC_noise
+ +
+
+ +

◆ simplex()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::simplex (vec< L, T, Q > const & p)
+
+ +

Simplex noise.

+
See also
GLM_GTC_noise
+ +
+
+
+ + + + diff --git a/doc/api/a00165.html b/doc/api/a00716.html similarity index 55% rename from doc/api/a00165.html rename to doc/api/a00716.html index b6085bb3..ed3b141d 100644 --- a/doc/api/a00165.html +++ b/doc/api/a00716.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_packing @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_packing
+
GLM_GTC_packing
Recommended extensions
- -

Include <glm/gtc/packing.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

GLM_FUNC_DECL uint32 packF2x11_1x10 (vec3 const &v)
 First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values. More...
GLM_FUNC_DECL uint32 packF2x11_1x10 (vec3 const &v)
 
GLM_FUNC_DECL uint32 packF3x9_E1x5 (vec3 const &v)
 First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values. More...
GLM_FUNC_DECL uint32 packF3x9_E1x5 (vec3 const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint16, Q > packHalf (vec< L, float, Q > const &v)
 Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification. More...
GLM_FUNC_DECL vec< L, uint16, Q > packHalf (vec< L, float, Q > const &v)
 
GLM_FUNC_DECL uint16 packHalf1x16 (float v)
 Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 16-bit floating-point representation found in the OpenGL Specification, and then packing this 16-bit value into a 16-bit unsigned integer. More...
GLM_FUNC_DECL uint16 packHalf1x16 (float v)
 
GLM_FUNC_DECL uint64 packHalf4x16 (vec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these four 16-bit values into a 64-bit unsigned integer. More...
GLM_FUNC_DECL uint64 packHalf4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint32 packI3x10_1x2 (ivec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component signed integer vector to the 10-10-10-2-bit signed integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer. More...
GLM_FUNC_DECL uint32 packI3x10_1x2 (ivec4 const &v)
 
GLM_FUNC_DECL int packInt2x16 (i16vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL int packInt2x16 (i16vec2 const &v)
 
GLM_FUNC_DECL int64 packInt2x32 (i32vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL int64 packInt2x32 (i32vec2 const &v)
 
GLM_FUNC_DECL int16 packInt2x8 (i8vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL int16 packInt2x8 (i8vec2 const &v)
 
GLM_FUNC_DECL int64 packInt4x16 (i16vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL int64 packInt4x16 (i16vec4 const &v)
 
GLM_FUNC_DECL int32 packInt4x8 (i8vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL int32 packInt4x8 (i8vec4 const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > packRGBM (vec< 3, T, Q > const &rgb)
 Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification. More...
GLM_FUNC_DECL vec< 4, T, Q > packRGBM (vec< 3, T, Q > const &rgb)
 
template<typename intType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, intType, Q > packSnorm (vec< L, floatType, Q > const &v)
 Convert each component of the normalized floating-point vector into signed integer values. More...
GLM_FUNC_DECL vec< L, intType, Q > packSnorm (vec< L, floatType, Q > const &v)
 
GLM_FUNC_DECL uint16 packSnorm1x16 (float v)
 First, converts the normalized floating-point value v into 16-bit integer value. More...
GLM_FUNC_DECL uint16 packSnorm1x16 (float v)
 
GLM_FUNC_DECL uint8 packSnorm1x8 (float s)
 First, converts the normalized floating-point value v into 8-bit integer value. More...
GLM_FUNC_DECL uint8 packSnorm1x8 (float s)
 
GLM_FUNC_DECL uint16 packSnorm2x8 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8-bit integer values. More...
GLM_FUNC_DECL uint16 packSnorm2x8 (vec2 const &v)
 
GLM_FUNC_DECL uint32 packSnorm3x10_1x2 (vec4 const &v)
 First, converts the first three components of the normalized floating-point value v into 10-bit signed integer values. More...
GLM_FUNC_DECL uint32 packSnorm3x10_1x2 (vec4 const &v)
 
GLM_FUNC_DECL uint64 packSnorm4x16 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 16-bit integer values. More...
GLM_FUNC_DECL uint64 packSnorm4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint32 packU3x10_1x2 (uvec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component unsigned integer vector to the 10-10-10-2-bit unsigned integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer. More...
GLM_FUNC_DECL uint32 packU3x10_1x2 (uvec4 const &v)
 
GLM_FUNC_DECL uint packUint2x16 (u16vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL uint packUint2x16 (u16vec2 const &v)
 
GLM_FUNC_DECL uint64 packUint2x32 (u32vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL uint64 packUint2x32 (u32vec2 const &v)
 
GLM_FUNC_DECL uint16 packUint2x8 (u8vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL uint16 packUint2x8 (u8vec2 const &v)
 
GLM_FUNC_DECL uint64 packUint4x16 (u16vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL uint64 packUint4x16 (u16vec4 const &v)
 
GLM_FUNC_DECL uint32 packUint4x8 (u8vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
GLM_FUNC_DECL uint32 packUint4x8 (u8vec4 const &v)
 
template<typename uintType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm (vec< L, floatType, Q > const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm (vec< L, floatType, Q > const &v)
 
GLM_FUNC_DECL uint16 packUnorm1x16 (float v)
 First, converts the normalized floating-point value v into a 16-bit integer value. More...
GLM_FUNC_DECL uint16 packUnorm1x16 (float v)
 
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5 (vec3 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5 (vec3 const &v)
 
GLM_FUNC_DECL uint8 packUnorm1x8 (float v)
 First, converts the normalized floating-point value v into a 8-bit integer value. More...
GLM_FUNC_DECL uint8 packUnorm1x8 (float v)
 
GLM_FUNC_DECL uint8 packUnorm2x3_1x2 (vec3 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
GLM_FUNC_DECL uint8 packUnorm2x3_1x2 (vec3 const &v)
 
GLM_FUNC_DECL uint8 packUnorm2x4 (vec2 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
GLM_FUNC_DECL uint8 packUnorm2x4 (vec2 const &v)
 
GLM_FUNC_DECL uint16 packUnorm2x8 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8-bit integer values. More...
GLM_FUNC_DECL uint16 packUnorm2x8 (vec2 const &v)
 
GLM_FUNC_DECL uint32 packUnorm3x10_1x2 (vec4 const &v)
 First, converts the first three components of the normalized floating-point value v into 10-bit unsigned integer values. More...
GLM_FUNC_DECL uint32 packUnorm3x10_1x2 (vec4 const &v)
 
GLM_FUNC_DECL uint16 packUnorm3x5_1x1 (vec4 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
GLM_FUNC_DECL uint16 packUnorm3x5_1x1 (vec4 const &v)
 
GLM_FUNC_DECL uint64 packUnorm4x16 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 16-bit integer values. More...
GLM_FUNC_DECL uint64 packUnorm4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint16 packUnorm4x4 (vec4 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
GLM_FUNC_DECL uint16 packUnorm4x4 (vec4 const &v)
 
GLM_FUNC_DECL vec3 unpackF2x11_1x10 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value . More...
GLM_FUNC_DECL vec3 unpackF2x11_1x10 (uint32 p)
 
GLM_FUNC_DECL vec3 unpackF3x9_E1x5 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value . More...
GLM_FUNC_DECL vec3 unpackF3x9_E1x5 (uint32 p)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > unpackHalf (vec< L, uint16, Q > const &p)
 Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values. More...
GLM_FUNC_DECL vec< L, float, Q > unpackHalf (vec< L, uint16, Q > const &p)
 
GLM_FUNC_DECL float unpackHalf1x16 (uint16 v)
 Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into a 16-bit value, interpreted as a 16-bit floating-point number according to the OpenGL Specification, and converting it to 32-bit floating-point values. More...
GLM_FUNC_DECL float unpackHalf1x16 (uint16 v)
 
GLM_FUNC_DECL vec4 unpackHalf4x16 (uint64 p)
 Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigned integer into four 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values. More...
GLM_FUNC_DECL vec4 unpackHalf4x16 (uint64 p)
 
GLM_FUNC_DECL ivec4 unpackI3x10_1x2 (uint32 p)
 Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers. More...
GLM_FUNC_DECL ivec4 unpackI3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL i16vec2 unpackInt2x16 (int p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL i16vec2 unpackInt2x16 (int p)
 
GLM_FUNC_DECL i32vec2 unpackInt2x32 (int64 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL i32vec2 unpackInt2x32 (int64 p)
 
GLM_FUNC_DECL i8vec2 unpackInt2x8 (int16 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL i8vec2 unpackInt2x8 (int16 p)
 
GLM_FUNC_DECL i16vec4 unpackInt4x16 (int64 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL i16vec4 unpackInt4x16 (int64 p)
 
GLM_FUNC_DECL i8vec4 unpackInt4x8 (int32 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL i8vec4 unpackInt4x8 (int32 p)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM (vec< 4, T, Q > const &rgbm)
 Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values. More...
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM (vec< 4, T, Q > const &rgbm)
 
template<typename floatType , length_t L, typename intType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm (vec< L, intType, Q > const &v)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm (vec< L, intType, Q > const &v)
 
GLM_FUNC_DECL float unpackSnorm1x16 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers. More...
GLM_FUNC_DECL float unpackSnorm1x16 (uint16 p)
 
GLM_FUNC_DECL float unpackSnorm1x8 (uint8 p)
 First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers. More...
GLM_FUNC_DECL float unpackSnorm1x8 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackSnorm2x8 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers. More...
GLM_FUNC_DECL vec2 unpackSnorm2x8 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. More...
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL vec4 unpackSnorm4x16 (uint64 p)
 First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers. More...
GLM_FUNC_DECL vec4 unpackSnorm4x16 (uint64 p)
 
GLM_FUNC_DECL uvec4 unpackU3x10_1x2 (uint32 p)
 Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers. More...
GLM_FUNC_DECL uvec4 unpackU3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL u16vec2 unpackUint2x16 (uint p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL u16vec2 unpackUint2x16 (uint p)
 
GLM_FUNC_DECL u32vec2 unpackUint2x32 (uint64 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL u32vec2 unpackUint2x32 (uint64 p)
 
GLM_FUNC_DECL u8vec2 unpackUint2x8 (uint16 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL u8vec2 unpackUint2x8 (uint16 p)
 
GLM_FUNC_DECL u16vec4 unpackUint4x16 (uint64 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL u16vec4 unpackUint4x16 (uint64 p)
 
GLM_FUNC_DECL u8vec4 unpackUint4x8 (uint32 p)
 Convert a packed integer into an integer vector. More...
GLM_FUNC_DECL u8vec4 unpackUint4x8 (uint32 p)
 
template<typename floatType , length_t L, typename uintType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm (vec< L, uintType, Q > const &v)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm (vec< L, uintType, Q > const &v)
 
GLM_FUNC_DECL float unpackUnorm1x16 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers. More...
GLM_FUNC_DECL float unpackUnorm1x16 (uint16 p)
 
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5 (uint16 p)
 
GLM_FUNC_DECL float unpackUnorm1x8 (uint8 p)
 Convert a single 8-bit integer to a normalized floating-point value. More...
GLM_FUNC_DECL float unpackUnorm1x8 (uint8 p)
 
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2 (uint8 p)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x4 (uint8 p)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec2 unpackUnorm2x4 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x8 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers. More...
GLM_FUNC_DECL vec2 unpackUnorm2x8 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. More...
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x16 (uint64 p)
 First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers. More...
GLM_FUNC_DECL vec4 unpackUnorm4x16 (uint64 p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x4 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
GLM_FUNC_DECL vec4 unpackUnorm4x4 (uint16 p)
 

Detailed Description

-

Include <glm/gtc/packing.hpp> to use the features of this extension.

+

Include <glm/gtc/packing.hpp> to use the features of this extension.

This extension provides a set of function to convert vertors to packed formats.

Function Documentation

- + +

◆ packF2x11_1x10()

+
- + - + @@ -327,20 +243,22 @@ Functions

First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values.

Then, converts the third component of the normalized floating-point value v into a 10-bit signless floating-point value. Then, the results are packed into the returned 32-bit unsigned integer.

The first vector component specifies the 11 least-significant bits of the result; the last component specifies the 10 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec3 unpackF2x11_1x10(uint32 const& p)
- + +

◆ packF3x9_E1x5()

+
GLM_FUNC_DECL uint32 glm::packF2x11_1x10 GLM_FUNC_DECL uint32 glm::packF2x11_1x10 (vec3 const & vec3 const &  v)
- + - + @@ -351,18 +269,20 @@ vec3 unpackF2x11_1x10(uint32 const& p)

Then, converts the third component of the normalized floating-point value v into a 10-bit signless floating-point value. Then, the results are packed into the returned 32-bit unsigned integer.

The first vector component specifies the 11 least-significant bits of the result; the last component specifies the 10 most-significant bits.

packF3x9_E1x5 allows encoding into RGBE / RGB9E5 format

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec3 unpackF3x9_E1x5(uint32 const& p)
- + +

◆ packHalf()

+
GLM_FUNC_DECL uint32 glm::packF3x9_E1x5 GLM_FUNC_DECL uint32 glm::packF3x9_E1x5 (vec3 const & vec3 const &  v)
- + @@ -373,7 +293,7 @@ vec3 unpackF3x9_E1x5(uint32 const& p)

Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification.

The first vector component specifies the 16 least-significant bits of the result; the forth component specifies the 16 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p)
@@ -381,12 +301,14 @@ vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p)
- + +

◆ packHalf1x16()

+
GLM_FUNC_DECL vec<L, uint16, Q> glm::packHalf GLM_FUNC_DECL vec<L, uint16, Q> glm::packHalf ( vec< L, float, Q > const &  v)
- + @@ -396,7 +318,7 @@ vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p)

Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 16-bit floating-point representation found in the OpenGL Specification, and then packing this 16-bit value into a 16-bit unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packHalf2x16(vec2 const& v)
@@ -408,14 +330,16 @@ uint64 packHalf4x16(vec4 const& v)
- + +

◆ packHalf4x16()

+
GLM_FUNC_DECL uint16 glm::packHalf1x16 GLM_FUNC_DECL uint16 glm::packHalf1x16 ( float  v)
- + - + @@ -424,7 +348,7 @@ uint64 packHalf4x16(vec4 const& v)

Returns an unsigned integer obtained by converting the components of a four-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these four 16-bit values into a 64-bit unsigned integer.

The first vector component specifies the 16 least-significant bits of the result; the forth component specifies the 16 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packHalf1x16(float const& v)
@@ -436,14 +360,16 @@ uint32 packHalf2x16(vec2 const& v)
- + +

◆ packI3x10_1x2()

+
GLM_FUNC_DECL uint64 glm::packHalf4x16 GLM_FUNC_DECL uint64 glm::packHalf4x16 (vec4 const & vec4 const &  v)
- + - + @@ -452,7 +378,7 @@ uint32 packHalf2x16(vec2 const& v)

Returns an unsigned integer obtained by converting the components of a four-component signed integer vector to the 10-10-10-2-bit signed integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer.

The first vector component specifies the 10 least-significant bits of the result; the forth component specifies the 2 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packI3x10_1x2(uvec4 const& v)
@@ -464,14 +390,16 @@ ivec4 unpackI3x10_1x2(uint32 const& p)
- + +

◆ packInt2x16()

+
GLM_FUNC_DECL uint32 glm::packI3x10_1x2 GLM_FUNC_DECL uint32 glm::packI3x10_1x2 (ivec4 const & ivec4 const &  v)
- + @@ -479,20 +407,22 @@ ivec4 unpackI3x10_1x2(uint32 const& p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
i16vec2 unpackInt2x16(int p)
- + +

◆ packInt2x32()

+
GLM_FUNC_DECL int glm::packInt2x16 (i16vec2 const & i16vec2 const &  v)
- + - + @@ -500,20 +430,22 @@ i16vec2 unpackInt2x16(int p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
i32vec2 unpackInt2x32(int p)
- + +

◆ packInt2x8()

+
GLM_FUNC_DECL int64 glm::packInt2x32 GLM_FUNC_DECL int64 glm::packInt2x32 (i32vec2 const & i32vec2 const &  v)
- + - + @@ -521,20 +453,22 @@ i32vec2 unpackInt2x32(int p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
i8vec2 unpackInt2x8(int16 p)
- + +

◆ packInt4x16()

+
GLM_FUNC_DECL int16 glm::packInt2x8 GLM_FUNC_DECL int16 glm::packInt2x8 (i8vec2 const & i8vec2 const &  v)
- + - + @@ -542,20 +476,22 @@ i8vec2 unpackInt2x8(int16 p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
i16vec4 unpackInt4x16(int64 p)
- + +

◆ packInt4x8()

+
GLM_FUNC_DECL int64 glm::packInt4x16 GLM_FUNC_DECL int64 glm::packInt4x16 (i16vec4 const & i16vec4 const &  v)
- + - + @@ -563,13 +499,15 @@ i16vec4 unpackInt4x16(int64 p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
i8vec4 unpackInt4x8(int32 p)
- + +

◆ packRGBM()

+
GLM_FUNC_DECL int32 glm::packInt4x8 GLM_FUNC_DECL int32 glm::packInt4x8 (i8vec4 const & i8vec4 const &  v)
@@ -585,7 +523,7 @@ i8vec4 unpackInt4x8(int32 p)

Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification.

The first vector component specifies the 16 least-significant bits of the result; the forth component specifies the 16 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& p)
@@ -593,7 +531,9 @@ vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& p)
- + +

◆ packSnorm()

+
@@ -608,18 +548,20 @@ vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& p)

Convert each component of the normalized floating-point vector into signed integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<L, floatType, Q> unpackSnorm(vec<L, intType, Q> const& p);
- + +

◆ packSnorm1x16()

+
- + @@ -631,7 +573,7 @@ vec<L, floatType, Q> unpackSnorm(vec<L, intType, Q> const& p); <

First, converts the normalized floating-point value v into 16-bit integer value.

Then, the results are packed into the returned 16-bit unsigned integer.

The conversion to fixed point is done as follows: packSnorm1x8: round(clamp(s, -1, +1) * 32767.0)

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packSnorm2x16(vec2 const& v)
@@ -643,12 +585,14 @@ uint64 packSnorm4x16(vec4 const& v)
- + +

◆ packSnorm1x8()

+
GLM_FUNC_DECL uint16 glm::packSnorm1x16 GLM_FUNC_DECL uint16 glm::packSnorm1x16 ( float  v)
- + @@ -660,7 +604,7 @@ uint64 packSnorm4x16(vec4 const& v)

First, converts the normalized floating-point value v into 8-bit integer value.

Then, the results are packed into the returned 8-bit unsigned integer.

The conversion to fixed point is done as follows: packSnorm1x8: round(clamp(s, -1, +1) * 127.0)

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packSnorm2x8(vec2 const& v)
@@ -672,14 +616,16 @@ uint32 packSnorm4x8(vec4 const& v)
- + +

◆ packSnorm2x8()

+
GLM_FUNC_DECL uint8 glm::packSnorm1x8 GLM_FUNC_DECL uint8 glm::packSnorm1x8 ( float  s)
- + - + @@ -690,7 +636,7 @@ uint32 packSnorm4x8(vec4 const& v)

Then, the results are packed into the returned 16-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packSnorm2x8: round(clamp(c, -1, +1) * 127.0)

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint8 packSnorm1x8(float const& v)
@@ -702,14 +648,16 @@ uint32 packSnorm4x8(vec4 const& v)
- + +

◆ packSnorm3x10_1x2()

+
GLM_FUNC_DECL uint16 glm::packSnorm2x8 GLM_FUNC_DECL uint16 glm::packSnorm2x8 (vec2 const & vec2 const &  v)
- + - + @@ -720,7 +668,7 @@ uint32 packSnorm4x8(vec4 const& v)

Then, converts the forth component of the normalized floating-point value v into 2-bit signed integer values. Then, the results are packed into the returned 32-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packSnorm3x10_1x2(xyz): round(clamp(c, -1, +1) * 511.0) packSnorm3x10_1x2(w): round(clamp(c, -1, +1) * 1.0)

The first vector component specifies the 10 least-significant bits of the result; the forth component specifies the 2 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec4 unpackSnorm3x10_1x2(uint32 const& p)
@@ -732,14 +680,16 @@ uint32 packI3x10_1x2(ivec4 const& v)
- + +

◆ packSnorm4x16()

+
GLM_FUNC_DECL uint32 glm::packSnorm3x10_1x2 GLM_FUNC_DECL uint32 glm::packSnorm3x10_1x2 (vec4 const & vec4 const &  v)
- + - + @@ -750,7 +700,7 @@ uint32 packI3x10_1x2(ivec4 const& v)

Then, the results are packed into the returned 64-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packSnorm2x8: round(clamp(c, -1, +1) * 32767.0)

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packSnorm1x16(float const& v)
@@ -762,14 +712,16 @@ uint32 packSnorm2x16(vec2 const& v)
- + +

◆ packU3x10_1x2()

+
GLM_FUNC_DECL uint64 glm::packSnorm4x16 GLM_FUNC_DECL uint64 glm::packSnorm4x16 (vec4 const & vec4 const &  v)
- + - + @@ -778,7 +730,7 @@ uint32 packSnorm2x16(vec2 const& v)

Returns an unsigned integer obtained by converting the components of a four-component unsigned integer vector to the 10-10-10-2-bit unsigned integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer.

The first vector component specifies the 10 least-significant bits of the result; the forth component specifies the 2 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packI3x10_1x2(ivec4 const& v)
@@ -790,14 +742,16 @@ ivec4 unpackU3x10_1x2(uint32 const& p)
- + +

◆ packUint2x16()

+
GLM_FUNC_DECL uint32 glm::packU3x10_1x2 GLM_FUNC_DECL uint32 glm::packU3x10_1x2 (uvec4 const & uvec4 const &  v)
- + @@ -805,20 +759,22 @@ ivec4 unpackU3x10_1x2(uint32 const& p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
u16vec2 unpackUint2x16(uint p)
- + +

◆ packUint2x32()

+
GLM_FUNC_DECL uint glm::packUint2x16 (u16vec2 const & u16vec2 const &  v)
- + - + @@ -826,20 +782,22 @@ u16vec2 unpackUint2x16(uint p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
u32vec2 unpackUint2x32(int p)
- + +

◆ packUint2x8()

+
GLM_FUNC_DECL uint64 glm::packUint2x32 GLM_FUNC_DECL uint64 glm::packUint2x32 (u32vec2 const & u32vec2 const &  v)
- + - + @@ -847,20 +805,22 @@ u32vec2 unpackUint2x32(int p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
u8vec2 unpackInt2x8(uint16 p)
- + +

◆ packUint4x16()

+
GLM_FUNC_DECL uint16 glm::packUint2x8 GLM_FUNC_DECL uint16 glm::packUint2x8 (u8vec2 const & u8vec2 const &  v)
- + - + @@ -868,20 +828,22 @@ u8vec2 unpackInt2x8(uint16 p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
u16vec4 unpackUint4x16(uint64 p)
- + +

◆ packUint4x8()

+
GLM_FUNC_DECL uint64 glm::packUint4x16 GLM_FUNC_DECL uint64 glm::packUint4x16 (u16vec4 const & u16vec4 const &  v)
- + - + @@ -889,13 +851,15 @@ u16vec4 unpackUint4x16(uint64 p)

Convert each component from an integer vector into a packed unsigned integer.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
u8vec4 unpackUint4x8(uint32 p)
- + +

◆ packUnorm()

+
GLM_FUNC_DECL uint32 glm::packUint4x8 GLM_FUNC_DECL uint32 glm::packUint4x8 (u8vec4 const & u8vec4 const &  v)
@@ -910,18 +874,20 @@ u8vec4 unpackUint4x8(uint32 p)

Convert each component of the normalized floating-point vector into unsigned integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<L, floatType, Q> unpackUnorm(vec<L, intType, Q> const& p);
- + +

◆ packUnorm1x16()

+
- + @@ -933,7 +899,7 @@ vec<L, floatType, Q> unpackUnorm(vec<L, intType, Q> const& p); <

First, converts the normalized floating-point value v into a 16-bit integer value.

Then, the results are packed into the returned 16-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packUnorm1x16: round(clamp(c, 0, +1) * 65535.0)

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packSnorm1x16(float const& v)
@@ -945,14 +911,16 @@ uint64 packSnorm4x16(vec4 const& v)
- + +

◆ packUnorm1x5_1x6_1x5()

+
GLM_FUNC_DECL uint16 glm::packUnorm1x16 GLM_FUNC_DECL uint16 glm::packUnorm1x16 ( float  v)
- + - + @@ -960,18 +928,20 @@ uint64 packSnorm4x16(vec4 const& v)

Convert each component of the normalized floating-point vector into unsigned integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec3 unpackUnorm1x5_1x6_1x5(uint16 p)
- + +

◆ packUnorm1x8()

+
GLM_FUNC_DECL uint16 glm::packUnorm1x5_1x6_1x5 GLM_FUNC_DECL uint16 glm::packUnorm1x5_1x6_1x5 (vec3 const & vec3 const &  v)
- + @@ -983,7 +953,7 @@ vec3 unpackUnorm1x5_1x6_1x5(uint16 p)

First, converts the normalized floating-point value v into a 8-bit integer value.

Then, the results are packed into the returned 8-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packUnorm1x8: round(clamp(c, 0, +1) * 255.0)

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packUnorm2x8(vec2 const& v)
@@ -995,14 +965,16 @@ uint32 packUnorm4x8(vec4 const& v)
- + +

◆ packUnorm2x3_1x2()

+
GLM_FUNC_DECL uint8 glm::packUnorm1x8 GLM_FUNC_DECL uint8 glm::packUnorm1x8 ( float  v)
- + - + @@ -1010,20 +982,22 @@ uint32 packUnorm4x8(vec4 const& v)

Convert each component of the normalized floating-point vector into unsigned integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec3 unpackUnorm2x3_1x2(uint8 p)
- + +

◆ packUnorm2x4()

+
GLM_FUNC_DECL uint8 glm::packUnorm2x3_1x2 GLM_FUNC_DECL uint8 glm::packUnorm2x3_1x2 (vec3 const & vec3 const &  v)
- + - + @@ -1031,20 +1005,22 @@ vec3 unpackUnorm2x3_1x2(uint8 p)

Convert each component of the normalized floating-point vector into unsigned integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec2 unpackUnorm2x4(uint8 p)
- + +

◆ packUnorm2x8()

+
GLM_FUNC_DECL uint8 glm::packUnorm2x4 GLM_FUNC_DECL uint8 glm::packUnorm2x4 (vec2 const & vec2 const &  v)
- + - + @@ -1055,7 +1031,7 @@ vec2 unpackUnorm2x4(uint8 p)

Then, the results are packed into the returned 16-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packUnorm2x8: round(clamp(c, 0, +1) * 255.0)

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint8 packUnorm1x8(float const& v)
@@ -1067,14 +1043,16 @@ uint32 packUnorm4x8(vec4 const& v)
- + +

◆ packUnorm3x10_1x2()

+
GLM_FUNC_DECL uint16 glm::packUnorm2x8 GLM_FUNC_DECL uint16 glm::packUnorm2x8 (vec2 const & vec2 const &  v)
- + - + @@ -1085,7 +1063,7 @@ uint32 packUnorm4x8(vec4 const& v)

Then, converts the forth component of the normalized floating-point value v into 2-bit signed uninteger values. Then, the results are packed into the returned 32-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packUnorm3x10_1x2(xyz): round(clamp(c, 0, +1) * 1023.0) packUnorm3x10_1x2(w): round(clamp(c, 0, +1) * 3.0)

The first vector component specifies the 10 least-significant bits of the result; the forth component specifies the 2 most-significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec4 unpackUnorm3x10_1x2(uint32 const& p)
@@ -1097,14 +1075,16 @@ uint32 packI3x10_1x2(ivec4 const& v)
- + +

◆ packUnorm3x5_1x1()

+
GLM_FUNC_DECL uint32 glm::packUnorm3x10_1x2 GLM_FUNC_DECL uint32 glm::packUnorm3x10_1x2 (vec4 const & vec4 const &  v)
- + - + @@ -1112,20 +1092,22 @@ uint32 packI3x10_1x2(ivec4 const& v)

Convert each component of the normalized floating-point vector into unsigned integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec4 unpackUnorm3x5_1x1(uint16 p)
- + +

◆ packUnorm4x16()

+
GLM_FUNC_DECL uint16 glm::packUnorm3x5_1x1 GLM_FUNC_DECL uint16 glm::packUnorm3x5_1x1 (vec4 const & vec4 const &  v)
- + - + @@ -1136,7 +1118,7 @@ vec4 unpackUnorm3x5_1x1(uint16 p)

Then, the results are packed into the returned 64-bit unsigned integer.

The conversion for component c of v to fixed point is done as follows: packUnorm4x16: round(clamp(c, 0, +1) * 65535.0)

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packUnorm1x16(float const& v)
@@ -1148,14 +1130,16 @@ uint32 packUnorm2x16(vec2 const& v)
- + +

◆ packUnorm4x4()

+
GLM_FUNC_DECL uint64 glm::packUnorm4x16 GLM_FUNC_DECL uint64 glm::packUnorm4x16 (vec4 const & vec4 const &  v)
- + - + @@ -1163,20 +1147,22 @@ uint32 packUnorm2x16(vec2 const& v)

Convert each component of the normalized floating-point vector into unsigned integer values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec4 unpackUnorm4x4(uint16 p)
- + +

◆ unpackF2x11_1x10()

+
GLM_FUNC_DECL uint16 glm::packUnorm4x4 GLM_FUNC_DECL uint16 glm::packUnorm4x4 (vec4 const & vec4 const &  v)
- + - + @@ -1186,20 +1172,22 @@ vec4 unpackUnorm4x4(uint16 p)

First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value .

Then, each component is converted to a normalized floating-point value to generate the returned three-component vector.

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packF2x11_1x10(vec3 const& v)
- + +

◆ unpackF3x9_E1x5()

+
GLM_FUNC_DECL vec3 glm::unpackF2x11_1x10 GLM_FUNC_DECL vec3 glm::unpackF2x11_1x10 (uint32 uint32  p)
- + - + @@ -1210,20 +1198,22 @@ uint32 packF2x11_1x10(vec3 const& v)

Then, each component is converted to a normalized floating-point value to generate the returned three-component vector.

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

unpackF3x9_E1x5 allows decoding RGBE / RGB9E5 data

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packF3x9_E1x5(vec3 const& v)
- + +

◆ unpackHalf()

+
GLM_FUNC_DECL vec3 glm::unpackF3x9_E1x5 GLM_FUNC_DECL vec3 glm::unpackF3x9_E1x5 (uint32 uint32  p)
- + @@ -1232,7 +1222,7 @@ uint32 packF3x9_E1x5(vec3 const& v)

Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values.

The first component of the vector is obtained from the 16 least-significant bits of v; the forth component is obtained from the 16 most-significant bits of v.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v)
@@ -1240,14 +1230,16 @@ vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v)
- + +

◆ unpackHalf1x16()

+
GLM_FUNC_DECL vec<L, float, Q> glm::unpackHalf (vec< L, uint16, Q > const & vec< L, uint16, Q > const &  p)
- + @@ -1255,7 +1247,7 @@ vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v)

Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into a 16-bit value, interpreted as a 16-bit floating-point number according to the OpenGL Specification, and converting it to 32-bit floating-point values.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec2 unpackHalf2x16(uint32 const& v)
@@ -1267,14 +1259,16 @@ vec4 unpackHalf4x16(uint64 const& v)
- + +

◆ unpackHalf4x16()

+
GLM_FUNC_DECL float glm::unpackHalf1x16 (uint16 uint16  v)
- + - + @@ -1283,7 +1277,7 @@ vec4 unpackHalf4x16(uint64 const& v)

Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigned integer into four 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values.

The first component of the vector is obtained from the 16 least-significant bits of v; the forth component is obtained from the 16 most-significant bits of v.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
float unpackHalf1x16(uint16 const& v)
@@ -1295,14 +1289,16 @@ vec2 unpackHalf2x16(uint32 const& v)
- + +

◆ unpackI3x10_1x2()

+
GLM_FUNC_DECL vec4 glm::unpackHalf4x16 GLM_FUNC_DECL vec4 glm::unpackHalf4x16 (uint64 uint64  p)
- + - + @@ -1311,7 +1307,7 @@ vec2 unpackHalf2x16(uint32 const& v)

Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers.

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packU3x10_1x2(uvec4 const& v)
@@ -1321,12 +1317,14 @@ uvec4 unpackI3x10_1x2(uint32 const& p);
- + +

◆ unpackInt2x16()

+
GLM_FUNC_DECL ivec4 glm::unpackI3x10_1x2 GLM_FUNC_DECL ivec4 glm::unpackI3x10_1x2 (uint32 uint32  p)
- + @@ -1336,20 +1334,22 @@ uvec4 unpackI3x10_1x2(uint32 const& p);

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
int packInt2x16(i16vec2 const& v)
- + +

◆ unpackInt2x32()

+
GLM_FUNC_DECL i16vec2 glm::unpackInt2x16 GLM_FUNC_DECL i16vec2 glm::unpackInt2x16 ( int  p)
- + - + @@ -1357,20 +1357,22 @@ int packInt2x16(i16vec2 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
int packInt2x16(i32vec2 const& v)
- + +

◆ unpackInt2x8()

+
GLM_FUNC_DECL i32vec2 glm::unpackInt2x32 GLM_FUNC_DECL i32vec2 glm::unpackInt2x32 (int64 int64  p)
- + - + @@ -1378,20 +1380,22 @@ int packInt2x16(i32vec2 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
int16 packInt2x8(i8vec2 const& v)
- + +

◆ unpackInt4x16()

+
GLM_FUNC_DECL i8vec2 glm::unpackInt2x8 GLM_FUNC_DECL i8vec2 glm::unpackInt2x8 (int16 int16  p)
- + - + @@ -1399,20 +1403,22 @@ int16 packInt2x8(i8vec2 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
int64 packInt4x16(i16vec4 const& v)
- + +

◆ unpackInt4x8()

+
GLM_FUNC_DECL i16vec4 glm::unpackInt4x16 GLM_FUNC_DECL i16vec4 glm::unpackInt4x16 (int64 int64  p)
- + - + @@ -1420,13 +1426,15 @@ int64 packInt4x16(i16vec4 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
int32 packInt2x8(i8vec4 const& v)
- + +

◆ unpackRGBM()

+
GLM_FUNC_DECL i8vec4 glm::unpackInt4x8 GLM_FUNC_DECL i8vec4 glm::unpackInt4x8 (int32 int32  p)
@@ -1442,7 +1450,7 @@ int32 packInt2x8(i8vec4 const& v)

Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values.

The first component of the vector is obtained from the 16 least-significant bits of v; the forth component is obtained from the 16 most-significant bits of v.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<4, T, Q> packRGBM(vec<3, float, Q> const& v)
@@ -1450,7 +1458,9 @@ vec<4, T, Q> packRGBM(vec<3, float, Q> const& v)
- + +

◆ unpackSnorm()

+
@@ -1465,20 +1475,22 @@ vec<4, T, Q> packRGBM(vec<3, float, Q> const& v)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<L, intType, Q> packSnorm(vec<L, floatType, Q> const& v)
- + +

◆ unpackSnorm1x16()

+
- + @@ -1488,7 +1500,7 @@ vec<L, intType, Q> packSnorm(vec<L, floatType, Q> const& v) First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers.

Then, each component is converted to a normalized floating-point value to generate the returned scalar.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm1x16: clamp(f / 32767.0, -1, +1)

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec2 unpackSnorm2x16(uint32 p)
@@ -1500,14 +1512,16 @@ vec4 unpackSnorm4x16(uint64 p)
- + +

◆ unpackSnorm1x8()

+
GLM_FUNC_DECL float glm::unpackSnorm1x16 (uint16 uint16  p)
- + @@ -1517,7 +1531,7 @@ vec4 unpackSnorm4x16(uint64 p)

First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers.

Then, the value is converted to a normalized floating-point value to generate the returned scalar.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm1x8: clamp(f / 127.0, -1, +1)

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec2 unpackSnorm2x8(uint16 p)
@@ -1529,14 +1543,16 @@ vec4 unpackSnorm4x8(uint32 p)
- + +

◆ unpackSnorm2x8()

+
GLM_FUNC_DECL float glm::unpackSnorm1x8 (uint8 uint8  p)
- + - + @@ -1547,7 +1563,7 @@ vec4 unpackSnorm4x8(uint32 p)

Then, each component is converted to a normalized floating-point value to generate the returned two-component vector.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm2x8: clamp(f / 127.0, -1, +1)

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
float unpackSnorm1x8(uint8 p)
@@ -1559,14 +1575,16 @@ vec4 unpackSnorm4x8(uint32 p)
- + +

◆ unpackSnorm3x10_1x2()

+
GLM_FUNC_DECL vec2 glm::unpackSnorm2x8 GLM_FUNC_DECL vec2 glm::unpackSnorm2x8 (uint16 uint16  p)
- + - + @@ -1577,7 +1595,7 @@ vec4 unpackSnorm4x8(uint32 p)

Then, each component is converted to a normalized floating-point value to generate the returned four-component vector.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm3x10_1x2(xyz): clamp(f / 511.0, -1, +1) unpackSnorm3x10_1x2(w): clamp(f / 511.0, -1, +1)

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packSnorm3x10_1x2(vec4 const& v)
@@ -1589,14 +1607,16 @@ uvec4 unpackU3x10_1x2(uint32 const& p)
- + +

◆ unpackSnorm4x16()

+
GLM_FUNC_DECL vec4 glm::unpackSnorm3x10_1x2 GLM_FUNC_DECL vec4 glm::unpackSnorm3x10_1x2 (uint32 uint32  p)
- + - + @@ -1607,7 +1627,7 @@ uvec4 unpackU3x10_1x2(uint32 const& p)

Then, each component is converted to a normalized floating-point value to generate the returned four-component vector.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm4x16: clamp(f / 32767.0, -1, +1)

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
float unpackSnorm1x16(uint16 p)
@@ -1619,14 +1639,16 @@ vec2 unpackSnorm2x16(uint32 p)
- + +

◆ unpackU3x10_1x2()

+
GLM_FUNC_DECL vec4 glm::unpackSnorm4x16 GLM_FUNC_DECL vec4 glm::unpackSnorm4x16 (uint64 uint64  p)
- + - + @@ -1635,7 +1657,7 @@ vec2 unpackSnorm2x16(uint32 p)

Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers.

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packU3x10_1x2(uvec4 const& v)
@@ -1645,14 +1667,16 @@ uvec4 unpackI3x10_1x2(uint32 const& p);
- + +

◆ unpackUint2x16()

+
GLM_FUNC_DECL uvec4 glm::unpackU3x10_1x2 GLM_FUNC_DECL uvec4 glm::unpackU3x10_1x2 (uint32 uint32  p)
- + - + @@ -1660,20 +1684,22 @@ uvec4 unpackI3x10_1x2(uint32 const& p);

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint packUint2x16(u16vec2 const& v)
- + +

◆ unpackUint2x32()

+
GLM_FUNC_DECL u16vec2 glm::unpackUint2x16 GLM_FUNC_DECL u16vec2 glm::unpackUint2x16 (uint uint  p)
- + - + @@ -1681,20 +1707,22 @@ uint packUint2x16(u16vec2 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
int packUint2x16(u32vec2 const& v)
- + +

◆ unpackUint2x8()

+
GLM_FUNC_DECL u32vec2 glm::unpackUint2x32 GLM_FUNC_DECL u32vec2 glm::unpackUint2x32 (uint64 uint64  p)
- + - + @@ -1702,20 +1730,22 @@ int packUint2x16(u32vec2 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packInt2x8(u8vec2 const& v)
- + +

◆ unpackUint4x16()

+
GLM_FUNC_DECL u8vec2 glm::unpackUint2x8 GLM_FUNC_DECL u8vec2 glm::unpackUint2x8 (uint16 uint16  p)
- + - + @@ -1723,20 +1753,22 @@ uint16 packInt2x8(u8vec2 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint64 packUint4x16(u16vec4 const& v)
- + +

◆ unpackUint4x8()

+
GLM_FUNC_DECL u16vec4 glm::unpackUint4x16 GLM_FUNC_DECL u16vec4 glm::unpackUint4x16 (uint64 uint64  p)
- + - + @@ -1744,13 +1776,15 @@ uint64 packUint4x16(u16vec4 const& v)

Convert a packed integer into an integer vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packUint4x8(u8vec2 const& v)
- + +

◆ unpackUnorm()

+
GLM_FUNC_DECL u8vec4 glm::unpackUint4x8 GLM_FUNC_DECL u8vec4 glm::unpackUint4x8 (uint32 uint32  p)
@@ -1765,20 +1799,22 @@ uint32 packUint4x8(u8vec2 const& v)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec<L, intType, Q> packUnorm(vec<L, floatType, Q> const& v)
- + +

◆ unpackUnorm1x16()

+
- + @@ -1788,7 +1824,7 @@ vec<L, intType, Q> packUnorm(vec<L, floatType, Q> const& v) First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers.

Then, the value is converted to a normalized floating-point value to generate the returned scalar.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm1x16: f / 65535.0

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec2 unpackUnorm2x16(uint32 p)
@@ -1800,14 +1836,16 @@ vec4 unpackUnorm4x16(uint64 p)
- + +

◆ unpackUnorm1x5_1x6_1x5()

+
GLM_FUNC_DECL float glm::unpackUnorm1x16 (uint16 uint16  p)
- + - + @@ -1815,20 +1853,22 @@ vec4 unpackUnorm4x16(uint64 p)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packUnorm1x5_1x6_1x5(vec3 const& v)
- + +

◆ unpackUnorm1x8()

+
GLM_FUNC_DECL vec3 glm::unpackUnorm1x5_1x6_1x5 GLM_FUNC_DECL vec3 glm::unpackUnorm1x5_1x6_1x5 (uint16 uint16  p)
- + @@ -1837,7 +1877,7 @@ uint16 packUnorm1x5_1x6_1x5(vec3 const& v)

Convert a single 8-bit integer to a normalized floating-point value.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm4x8: f / 255.0

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
vec2 unpackUnorm2x8(uint16 p)
@@ -1849,14 +1889,16 @@ vec4 unpackUnorm4x8(uint32 p)
- + +

◆ unpackUnorm2x3_1x2()

+
GLM_FUNC_DECL float glm::unpackUnorm1x8 (uint8 uint8  p)
- + - + @@ -1864,20 +1906,22 @@ vec4 unpackUnorm4x8(uint32 p)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint8 packUnorm2x3_1x2(vec3 const& v)
- + +

◆ unpackUnorm2x4()

+
GLM_FUNC_DECL vec3 glm::unpackUnorm2x3_1x2 GLM_FUNC_DECL vec3 glm::unpackUnorm2x3_1x2 (uint8 uint8  p)
- + - + @@ -1885,20 +1929,22 @@ uint8 packUnorm2x3_1x2(vec3 const& v)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint8 packUnorm2x4(vec2 const& v)
- + +

◆ unpackUnorm2x8()

+
GLM_FUNC_DECL vec2 glm::unpackUnorm2x4 GLM_FUNC_DECL vec2 glm::unpackUnorm2x4 (uint8 uint8  p)
- + - + @@ -1909,7 +1955,7 @@ uint8 packUnorm2x4(vec2 const& v)

Then, each component is converted to a normalized floating-point value to generate the returned two-component vector.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm4x8: f / 255.0

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
float unpackUnorm1x8(uint8 v)
@@ -1921,14 +1967,16 @@ vec4 unpackUnorm4x8(uint32 p)
- + +

◆ unpackUnorm3x10_1x2()

+
GLM_FUNC_DECL vec2 glm::unpackUnorm2x8 GLM_FUNC_DECL vec2 glm::unpackUnorm2x8 (uint16 uint16  p)
- + - + @@ -1939,7 +1987,7 @@ vec4 unpackUnorm4x8(uint32 p)

Then, each component is converted to a normalized floating-point value to generate the returned four-component vector.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm3x10_1x2(xyz): clamp(f / 1023.0, 0, +1) unpackSnorm3x10_1x2(w): clamp(f / 3.0, 0, +1)

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint32 packSnorm3x10_1x2(vec4 const& v)
@@ -1951,14 +1999,16 @@ uvec4 unpackU3x10_1x2(uint32 const& p)
- + +

◆ unpackUnorm3x5_1x1()

+
GLM_FUNC_DECL vec4 glm::unpackUnorm3x10_1x2 GLM_FUNC_DECL vec4 glm::unpackUnorm3x10_1x2 (uint32 uint32  p)
- + - + @@ -1966,20 +2016,22 @@ uvec4 unpackU3x10_1x2(uint32 const& p)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packUnorm3x5_1x1(vec4 const& v)
- + +

◆ unpackUnorm4x16()

+
GLM_FUNC_DECL vec4 glm::unpackUnorm3x5_1x1 GLM_FUNC_DECL vec4 glm::unpackUnorm3x5_1x1 (uint16 uint16  p)
- + - + @@ -1990,7 +2042,7 @@ uint16 packUnorm3x5_1x1(vec4 const& v)

Then, each component is converted to a normalized floating-point value to generate the returned four-component vector.

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnormx4x16: f / 65535.0

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
float unpackUnorm1x16(uint16 p)
@@ -2002,14 +2054,16 @@ vec2 unpackUnorm2x16(uint32 p)
- + +

◆ unpackUnorm4x4()

+
GLM_FUNC_DECL vec4 glm::unpackUnorm4x16 GLM_FUNC_DECL vec4 glm::unpackUnorm4x16 (uint64 uint64  p)
- + - + @@ -2017,7 +2071,7 @@ vec2 unpackUnorm2x16(uint32 p)

Convert a packed integer to a normalized floating-point vector.

-
See also
GLM_GTC_packing
+
See also
GLM_GTC_packing
uint16 packUnorm4x4(vec4 const& v)
@@ -2028,7 +2082,7 @@ uint16 packUnorm4x4(vec4 const& v)
diff --git a/doc/api/a00717.html b/doc/api/a00717.html new file mode 100644 index 00000000..93321e62 --- /dev/null +++ b/doc/api/a00717.html @@ -0,0 +1,311 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_random + + + + + + + + + +
+
+
GLM_FUNC_DECL vec4 glm::unpackUnorm4x4 GLM_FUNC_DECL vec4 glm::unpackUnorm4x4 (uint16 uint16  p)
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > ballRand (T Radius)
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > circularRand (T Radius)
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > diskRand (T Radius)
 
template<typename genType >
GLM_FUNC_DECL genType gaussRand (genType Mean, genType Deviation)
 
template<typename genType >
GLM_FUNC_DECL genType linearRand (genType Min, genType Max)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > linearRand (vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > sphericalRand (T Radius)
 
+

Detailed Description

+

Include <glm/gtc/random.hpp> to use the features of this extension.

+

Generate random number from various distribution methods.

+

Function Documentation

+ +

◆ ballRand()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<3, T, defaultp> glm::ballRand (Radius)
+
+ +

Generate a random 3D vector which coordinates are regulary distributed within the volume of a ball of a given radius.

+
See also
GLM_GTC_random
+ +
+
+ +

◆ circularRand()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<2, T, defaultp> glm::circularRand (Radius)
+
+ +

Generate a random 2D vector which coordinates are regulary distributed on a circle of a given radius.

+
See also
GLM_GTC_random
+ +
+
+ +

◆ diskRand()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<2, T, defaultp> glm::diskRand (Radius)
+
+ +

Generate a random 2D vector which coordinates are regulary distributed within the area of a disk of a given radius.

+
See also
GLM_GTC_random
+ +
+
+ +

◆ gaussRand()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::gaussRand (genType Mean,
genType Deviation 
)
+
+ +

Generate random numbers in the interval [Min, Max], according a gaussian distribution.

+
See also
GLM_GTC_random
+ +
+
+ +

◆ linearRand() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::linearRand (genType Min,
genType Max 
)
+
+ +

Generate random numbers in the interval [Min, Max], according a linear distribution.

+
Parameters
+ + + +
MinMinimum value included in the sampling
MaxMaximum value included in the sampling
+
+
+
Template Parameters
+ + +
genTypeValue type. Currently supported: float or double scalars.
+
+
+
See also
GLM_GTC_random
+ +
+
+ +

◆ linearRand() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::linearRand (vec< L, T, Q > const & Min,
vec< L, T, Q > const & Max 
)
+
+ +

Generate random numbers in the interval [Min, Max], according a linear distribution.

+
Parameters
+ + + +
MinMinimum value included in the sampling
MaxMaximum value included in the sampling
+
+
+
Template Parameters
+ + +
TValue type. Currently supported: float or double.
+
+
+
See also
GLM_GTC_random
+ +
+
+ +

◆ sphericalRand()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<3, T, defaultp> glm::sphericalRand (Radius)
+
+ +

Generate a random 3D vector which coordinates are regulary distributed on a sphere of a given radius.

+
See also
GLM_GTC_random
+ +
+
+
+ + + + diff --git a/doc/api/a00168.html b/doc/api/a00718.html similarity index 70% rename from doc/api/a00168.html rename to doc/api/a00718.html index 2357c5a8..4ccaa8e6 100644 --- a/doc/api/a00168.html +++ b/doc/api/a00718.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_reciprocal @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_reciprocal
+
GLM_GTC_reciprocal
Recommended extensions
- -

Include <glm/gtc/reciprocal.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType acot (genType x)
 Inverse cotangent function. More...
GLM_FUNC_DECL genType acot (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acoth (genType x)
 Inverse cotangent hyperbolic function. More...
GLM_FUNC_DECL genType acoth (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acsc (genType x)
 Inverse cosecant function. More...
GLM_FUNC_DECL genType acsc (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType acsch (genType x)
 Inverse cosecant hyperbolic function. More...
GLM_FUNC_DECL genType acsch (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType asec (genType x)
 Inverse secant function. More...
GLM_FUNC_DECL genType asec (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType asech (genType x)
 Inverse secant hyperbolic function. More...
GLM_FUNC_DECL genType asech (genType x)
 
template<typename genType >
GLM_FUNC_DECL genType cot (genType angle)
 Cotangent function. More...
GLM_FUNC_DECL genType cot (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType coth (genType angle)
 Cotangent hyperbolic function. More...
GLM_FUNC_DECL genType coth (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType csc (genType angle)
 Cosecant function. More...
GLM_FUNC_DECL genType csc (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType csch (genType angle)
 Cosecant hyperbolic function. More...
GLM_FUNC_DECL genType csch (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType sec (genType angle)
 Secant function. More...
GLM_FUNC_DECL genType sec (genType angle)
 
template<typename genType >
GLM_FUNC_DECL genType sech (genType angle)
 Secant hyperbolic function. More...
GLM_FUNC_DECL genType sech (genType angle)
 

Detailed Description

-

Include <glm/gtc/reciprocal.hpp> to use the features of this extension.

+

Include <glm/gtc/reciprocal.hpp> to use the features of this extension.

Define secant, cosecant and cotangent functions.

Function Documentation

- + +

◆ acot()

+
@@ -162,11 +136,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ acoth()

+
@@ -188,11 +164,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ acsc()

+
@@ -214,11 +192,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ acsch()

+
@@ -240,11 +220,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ asec()

+
@@ -266,11 +248,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ asech()

+
@@ -292,11 +276,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ cot()

+
@@ -318,11 +304,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ coth()

+
@@ -343,11 +331,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ csc()

+
@@ -369,11 +359,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ csch()

+
@@ -394,11 +386,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ sec()

+
@@ -420,11 +414,13 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
- + +

◆ sech()

+
@@ -445,7 +441,7 @@ Functions
-
See also
GLM_GTC_reciprocal
+
See also
GLM_GTC_reciprocal
@@ -454,7 +450,7 @@ Functions diff --git a/doc/api/a00169.html b/doc/api/a00719.html similarity index 74% rename from doc/api/a00169.html rename to doc/api/a00719.html index 13359960..7f6a241b 100644 --- a/doc/api/a00169.html +++ b/doc/api/a00719.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_round @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_round
+
GLM_GTC_round
Recommended extensions
- -

Include <glm/gtc/round.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType ceilMultiple (genType v, genType Multiple)
 Higher multiple number of Source. More...
GLM_FUNC_DECL genType ceilMultiple (genType v, genType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Higher multiple number of Source. More...
GLM_FUNC_DECL vec< L, T, Q > ceilMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType ceilPowerOfTwo (genIUType v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
GLM_FUNC_DECL genIUType ceilPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is just higher the input value, round up to a power of two. More...
GLM_FUNC_DECL vec< L, T, Q > ceilPowerOfTwo (vec< L, T, Q > const &v)
 
template<typename genType >
GLM_FUNC_DECL genType floorMultiple (genType v, genType Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL genType floorMultiple (genType v, genType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floorMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL vec< L, T, Q > floorMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType floorPowerOfTwo (genIUType v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
GLM_FUNC_DECL genIUType floorPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is just lower the input value, round down to a power of two. More...
GLM_FUNC_DECL vec< L, T, Q > floorPowerOfTwo (vec< L, T, Q > const &v)
 
template<typename genIUType >
GLM_FUNC_DECL bool isMultiple (genIUType v, genIUType Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
GLM_FUNC_DECL bool isMultiple (genIUType v, genIUType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, T Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, T Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Return true if the 'Value' is a multiple of 'Multiple'. More...
GLM_FUNC_DECL vec< L, bool, Q > isMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL bool isPowerOfTwo (genIUType v)
 Return true if the value is a power of two number. More...
GLM_FUNC_DECL bool isPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo (vec< L, T, Q > const &v)
 Return true if the value is a power of two number. More...
GLM_FUNC_DECL vec< L, bool, Q > isPowerOfTwo (vec< L, T, Q > const &v)
 
template<typename genType >
GLM_FUNC_DECL genType roundMultiple (genType v, genType Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL genType roundMultiple (genType v, genType Multiple)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 Lower multiple number of Source. More...
GLM_FUNC_DECL vec< L, T, Q > roundMultiple (vec< L, T, Q > const &v, vec< L, T, Q > const &Multiple)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType roundPowerOfTwo (genIUType v)
 Return the power of two number which value is the closet to the input value. More...
GLM_FUNC_DECL genIUType roundPowerOfTwo (genIUType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo (vec< L, T, Q > const &v)
 Return the power of two number which value is the closet to the input value. More...
GLM_FUNC_DECL vec< L, T, Q > roundPowerOfTwo (vec< L, T, Q > const &v)
 

Detailed Description

-

Include <glm/gtc/round.hpp> to use the features of this extension.

+

Include <glm/gtc/round.hpp> to use the features of this extension.

Rounding value to specific boundings

Function Documentation

- + +

◆ ceilMultiple() [1/2]

+
@@ -198,11 +167,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ ceilMultiple() [2/2]

+
@@ -242,11 +213,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ ceilPowerOfTwo() [1/2]

+
@@ -261,11 +234,13 @@ Functions

Return the power of two number which value is just higher the input value, round up to a power of two.

-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ ceilPowerOfTwo() [2/2]

+
@@ -288,11 +263,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ floorMultiple() [1/2]

+
@@ -330,11 +307,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ floorMultiple() [2/2]

+
@@ -374,11 +353,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ floorPowerOfTwo() [1/2]

+
@@ -393,11 +374,13 @@ Functions

Return the power of two number which value is just lower the input value, round down to a power of two.

-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ floorPowerOfTwo() [2/2]

+
@@ -420,11 +403,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ isMultiple() [1/3]

+
@@ -449,11 +434,13 @@ Functions

Return true if the 'Value' is a multiple of 'Multiple'.

-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ isMultiple() [2/3]

+
@@ -486,11 +473,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ isMultiple() [3/3]

+
@@ -523,11 +512,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ isPowerOfTwo() [1/2]

+
@@ -542,11 +533,13 @@ Functions

Return true if the value is a power of two number.

-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ isPowerOfTwo() [2/2]

+
@@ -569,11 +562,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ roundMultiple() [1/2]

+
@@ -611,11 +606,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ roundMultiple() [2/2]

+
@@ -655,11 +652,13 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ roundPowerOfTwo() [1/2]

+
@@ -674,11 +673,13 @@ Functions

Return the power of two number which value is the closet to the input value.

-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
- + +

◆ roundPowerOfTwo() [2/2]

+
@@ -701,7 +702,7 @@ Functions
-
See also
GLM_GTC_round
+
See also
GLM_GTC_round
@@ -710,7 +711,7 @@ Functions diff --git a/doc/api/a00720.html b/doc/api/a00720.html new file mode 100644 index 00000000..22bfba8f --- /dev/null +++ b/doc/api/a00720.html @@ -0,0 +1,1142 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_type_aligned + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_type_aligned
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef aligned_highp_bvec1 aligned_bvec1
 
+typedef aligned_highp_bvec2 aligned_bvec2
 
+typedef aligned_highp_bvec3 aligned_bvec3
 
+typedef aligned_highp_bvec4 aligned_bvec4
 
+typedef aligned_highp_dmat2 aligned_dmat2
 
+typedef aligned_highp_dmat2x2 aligned_dmat2x2
 
+typedef aligned_highp_dmat2x3 aligned_dmat2x3
 
+typedef aligned_highp_dmat2x4 aligned_dmat2x4
 
+typedef aligned_highp_dmat3 aligned_dmat3
 
+typedef aligned_highp_dmat3x2 aligned_dmat3x2
 
+typedef aligned_highp_dmat3x3 aligned_dmat3x3
 
+typedef aligned_highp_dmat3x4 aligned_dmat3x4
 
+typedef aligned_highp_dmat4 aligned_dmat4
 
+typedef aligned_highp_dmat4x2 aligned_dmat4x2
 
+typedef aligned_highp_dmat4x3 aligned_dmat4x3
 
+typedef aligned_highp_dmat4x4 aligned_dmat4x4
 
+typedef aligned_highp_dvec1 aligned_dvec1
 
+typedef aligned_highp_dvec2 aligned_dvec2
 
+typedef aligned_highp_dvec3 aligned_dvec3
 
+typedef aligned_highp_dvec4 aligned_dvec4
 
+typedef vec< 1, bool, aligned_highp > aligned_highp_bvec1
 
+typedef vec< 2, bool, aligned_highp > aligned_highp_bvec2
 
+typedef vec< 3, bool, aligned_highp > aligned_highp_bvec3
 
+typedef vec< 4, bool, aligned_highp > aligned_highp_bvec4
 
+typedef mat< 2, 2, double, aligned_highp > aligned_highp_dmat2
 
+typedef mat< 2, 2, double, aligned_highp > aligned_highp_dmat2x2
 
+typedef mat< 2, 3, double, aligned_highp > aligned_highp_dmat2x3
 
+typedef mat< 2, 4, double, aligned_highp > aligned_highp_dmat2x4
 
+typedef mat< 3, 3, double, aligned_highp > aligned_highp_dmat3
 
+typedef mat< 3, 2, double, aligned_highp > aligned_highp_dmat3x2
 
+typedef mat< 3, 3, double, aligned_highp > aligned_highp_dmat3x3
 
+typedef mat< 3, 4, double, aligned_highp > aligned_highp_dmat3x4
 
+typedef mat< 4, 4, double, aligned_highp > aligned_highp_dmat4
 
+typedef mat< 4, 2, double, aligned_highp > aligned_highp_dmat4x2
 
+typedef mat< 4, 3, double, aligned_highp > aligned_highp_dmat4x3
 
+typedef mat< 4, 4, double, aligned_highp > aligned_highp_dmat4x4
 
+typedef vec< 1, double, aligned_highp > aligned_highp_dvec1
 
+typedef vec< 2, double, aligned_highp > aligned_highp_dvec2
 
+typedef vec< 3, double, aligned_highp > aligned_highp_dvec3
 
+typedef vec< 4, double, aligned_highp > aligned_highp_dvec4
 
+typedef vec< 1, int, aligned_highp > aligned_highp_ivec1
 
+typedef vec< 2, int, aligned_highp > aligned_highp_ivec2
 
+typedef vec< 3, int, aligned_highp > aligned_highp_ivec3
 
+typedef vec< 4, int, aligned_highp > aligned_highp_ivec4
 
+typedef mat< 2, 2, float, aligned_highp > aligned_highp_mat2
 
+typedef mat< 2, 2, float, aligned_highp > aligned_highp_mat2x2
 
+typedef mat< 2, 3, float, aligned_highp > aligned_highp_mat2x3
 
+typedef mat< 2, 4, float, aligned_highp > aligned_highp_mat2x4
 
+typedef mat< 3, 3, float, aligned_highp > aligned_highp_mat3
 
+typedef mat< 3, 2, float, aligned_highp > aligned_highp_mat3x2
 
+typedef mat< 3, 3, float, aligned_highp > aligned_highp_mat3x3
 
+typedef mat< 3, 4, float, aligned_highp > aligned_highp_mat3x4
 
+typedef mat< 4, 4, float, aligned_highp > aligned_highp_mat4
 
+typedef mat< 4, 2, float, aligned_highp > aligned_highp_mat4x2
 
+typedef mat< 4, 3, float, aligned_highp > aligned_highp_mat4x3
 
+typedef mat< 4, 4, float, aligned_highp > aligned_highp_mat4x4
 
+typedef vec< 1, uint, aligned_highp > aligned_highp_uvec1
 
+typedef vec< 2, uint, aligned_highp > aligned_highp_uvec2
 
+typedef vec< 3, uint, aligned_highp > aligned_highp_uvec3
 
+typedef vec< 4, uint, aligned_highp > aligned_highp_uvec4
 
+typedef vec< 1, float, aligned_highp > aligned_highp_vec1
 
+typedef vec< 2, float, aligned_highp > aligned_highp_vec2
 
+typedef vec< 3, float, aligned_highp > aligned_highp_vec3
 
+typedef vec< 4, float, aligned_highp > aligned_highp_vec4
 
+typedef aligned_highp_ivec1 aligned_ivec1
 
+typedef aligned_highp_ivec2 aligned_ivec2
 
+typedef aligned_highp_ivec3 aligned_ivec3
 
+typedef aligned_highp_ivec4 aligned_ivec4
 
+typedef vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
 
+typedef vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
 
+typedef vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
 
+typedef vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
 
+typedef mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2
 
+typedef mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2x2
 
+typedef mat< 2, 3, double, aligned_lowp > aligned_lowp_dmat2x3
 
+typedef mat< 2, 4, double, aligned_lowp > aligned_lowp_dmat2x4
 
+typedef mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3
 
+typedef mat< 3, 2, double, aligned_lowp > aligned_lowp_dmat3x2
 
+typedef mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3x3
 
+typedef mat< 3, 4, double, aligned_lowp > aligned_lowp_dmat3x4
 
+typedef mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4
 
+typedef mat< 4, 2, double, aligned_lowp > aligned_lowp_dmat4x2
 
+typedef mat< 4, 3, double, aligned_lowp > aligned_lowp_dmat4x3
 
+typedef mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4x4
 
+typedef vec< 1, double, aligned_lowp > aligned_lowp_dvec1
 
+typedef vec< 2, double, aligned_lowp > aligned_lowp_dvec2
 
+typedef vec< 3, double, aligned_lowp > aligned_lowp_dvec3
 
+typedef vec< 4, double, aligned_lowp > aligned_lowp_dvec4
 
+typedef vec< 1, int, aligned_lowp > aligned_lowp_ivec1
 
+typedef vec< 2, int, aligned_lowp > aligned_lowp_ivec2
 
+typedef vec< 3, int, aligned_lowp > aligned_lowp_ivec3
 
+typedef vec< 4, int, aligned_lowp > aligned_lowp_ivec4
 
+typedef mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2
 
+typedef mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2x2
 
+typedef mat< 2, 3, float, aligned_lowp > aligned_lowp_mat2x3
 
+typedef mat< 2, 4, float, aligned_lowp > aligned_lowp_mat2x4
 
+typedef mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3
 
+typedef mat< 3, 2, float, aligned_lowp > aligned_lowp_mat3x2
 
+typedef mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3x3
 
+typedef mat< 3, 4, float, aligned_lowp > aligned_lowp_mat3x4
 
+typedef mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4
 
+typedef mat< 4, 2, float, aligned_lowp > aligned_lowp_mat4x2
 
+typedef mat< 4, 3, float, aligned_lowp > aligned_lowp_mat4x3
 
+typedef mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4x4
 
+typedef vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
 
+typedef vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
 
+typedef vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
 
+typedef vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
 
+typedef vec< 1, float, aligned_lowp > aligned_lowp_vec1
 
+typedef vec< 2, float, aligned_lowp > aligned_lowp_vec2
 
+typedef vec< 3, float, aligned_lowp > aligned_lowp_vec3
 
+typedef vec< 4, float, aligned_lowp > aligned_lowp_vec4
 
+typedef aligned_highp_mat2 aligned_mat2
 
+typedef aligned_highp_mat2x2 aligned_mat2x2
 
+typedef aligned_highp_mat2x3 aligned_mat2x3
 
+typedef aligned_highp_mat2x4 aligned_mat2x4
 
+typedef aligned_highp_mat3 aligned_mat3
 
+typedef aligned_highp_mat3x2 aligned_mat3x2
 
+typedef aligned_highp_mat3x3 aligned_mat3x3
 
+typedef aligned_highp_mat3x4 aligned_mat3x4
 
+typedef aligned_highp_mat4 aligned_mat4
 
+typedef aligned_highp_mat4x2 aligned_mat4x2
 
+typedef aligned_highp_mat4x3 aligned_mat4x3
 
+typedef aligned_highp_mat4x4 aligned_mat4x4
 
+typedef vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
 
+typedef vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
 
+typedef vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
 
+typedef vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
 
+typedef mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2
 
+typedef mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2x2
 
+typedef mat< 2, 3, double, aligned_mediump > aligned_mediump_dmat2x3
 
+typedef mat< 2, 4, double, aligned_mediump > aligned_mediump_dmat2x4
 
+typedef mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3
 
+typedef mat< 3, 2, double, aligned_mediump > aligned_mediump_dmat3x2
 
+typedef mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3x3
 
+typedef mat< 3, 4, double, aligned_mediump > aligned_mediump_dmat3x4
 
+typedef mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4
 
+typedef mat< 4, 2, double, aligned_mediump > aligned_mediump_dmat4x2
 
+typedef mat< 4, 3, double, aligned_mediump > aligned_mediump_dmat4x3
 
+typedef mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4x4
 
+typedef vec< 1, double, aligned_mediump > aligned_mediump_dvec1
 
+typedef vec< 2, double, aligned_mediump > aligned_mediump_dvec2
 
+typedef vec< 3, double, aligned_mediump > aligned_mediump_dvec3
 
+typedef vec< 4, double, aligned_mediump > aligned_mediump_dvec4
 
+typedef vec< 1, int, aligned_mediump > aligned_mediump_ivec1
 
+typedef vec< 2, int, aligned_mediump > aligned_mediump_ivec2
 
+typedef vec< 3, int, aligned_mediump > aligned_mediump_ivec3
 
+typedef vec< 4, int, aligned_mediump > aligned_mediump_ivec4
 
+typedef mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2
 
+typedef mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2x2
 
+typedef mat< 2, 3, float, aligned_mediump > aligned_mediump_mat2x3
 
+typedef mat< 2, 4, float, aligned_mediump > aligned_mediump_mat2x4
 
+typedef mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3
 
+typedef mat< 3, 2, float, aligned_mediump > aligned_mediump_mat3x2
 
+typedef mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3x3
 
+typedef mat< 3, 4, float, aligned_mediump > aligned_mediump_mat3x4
 
+typedef mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4
 
+typedef mat< 4, 2, float, aligned_mediump > aligned_mediump_mat4x2
 
+typedef mat< 4, 3, float, aligned_mediump > aligned_mediump_mat4x3
 
+typedef mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4x4
 
+typedef vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
 
+typedef vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
 
+typedef vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
 
+typedef vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
 
+typedef vec< 1, float, aligned_mediump > aligned_mediump_vec1
 
+typedef vec< 2, float, aligned_mediump > aligned_mediump_vec2
 
+typedef vec< 3, float, aligned_mediump > aligned_mediump_vec3
 
+typedef vec< 4, float, aligned_mediump > aligned_mediump_vec4
 
+typedef aligned_highp_uvec1 aligned_uvec1
 
+typedef aligned_highp_uvec2 aligned_uvec2
 
+typedef aligned_highp_uvec3 aligned_uvec3
 
+typedef aligned_highp_uvec4 aligned_uvec4
 
+typedef aligned_highp_vec1 aligned_vec1
 
+typedef aligned_highp_vec2 aligned_vec2
 
+typedef aligned_highp_vec3 aligned_vec3
 
+typedef aligned_highp_vec4 aligned_vec4
 
+typedef packed_highp_bvec1 packed_bvec1
 
+typedef packed_highp_bvec2 packed_bvec2
 
+typedef packed_highp_bvec3 packed_bvec3
 
+typedef packed_highp_bvec4 packed_bvec4
 
+typedef packed_highp_dmat2 packed_dmat2
 
+typedef packed_highp_dmat2x2 packed_dmat2x2
 
+typedef packed_highp_dmat2x3 packed_dmat2x3
 
+typedef packed_highp_dmat2x4 packed_dmat2x4
 
+typedef packed_highp_dmat3 packed_dmat3
 
+typedef packed_highp_dmat3x2 packed_dmat3x2
 
+typedef packed_highp_dmat3x3 packed_dmat3x3
 
+typedef packed_highp_dmat3x4 packed_dmat3x4
 
+typedef packed_highp_dmat4 packed_dmat4
 
+typedef packed_highp_dmat4x2 packed_dmat4x2
 
+typedef packed_highp_dmat4x3 packed_dmat4x3
 
+typedef packed_highp_dmat4x4 packed_dmat4x4
 
+typedef packed_highp_dvec1 packed_dvec1
 
+typedef packed_highp_dvec2 packed_dvec2
 
+typedef packed_highp_dvec3 packed_dvec3
 
+typedef packed_highp_dvec4 packed_dvec4
 
+typedef vec< 1, bool, packed_highp > packed_highp_bvec1
 
+typedef vec< 2, bool, packed_highp > packed_highp_bvec2
 
+typedef vec< 3, bool, packed_highp > packed_highp_bvec3
 
+typedef vec< 4, bool, packed_highp > packed_highp_bvec4
 
+typedef mat< 2, 2, double, packed_highp > packed_highp_dmat2
 
+typedef mat< 2, 2, double, packed_highp > packed_highp_dmat2x2
 
+typedef mat< 2, 3, double, packed_highp > packed_highp_dmat2x3
 
+typedef mat< 2, 4, double, packed_highp > packed_highp_dmat2x4
 
+typedef mat< 3, 3, double, packed_highp > packed_highp_dmat3
 
+typedef mat< 3, 2, double, packed_highp > packed_highp_dmat3x2
 
+typedef mat< 3, 3, double, packed_highp > packed_highp_dmat3x3
 
+typedef mat< 3, 4, double, packed_highp > packed_highp_dmat3x4
 
+typedef mat< 4, 4, double, packed_highp > packed_highp_dmat4
 
+typedef mat< 4, 2, double, packed_highp > packed_highp_dmat4x2
 
+typedef mat< 4, 3, double, packed_highp > packed_highp_dmat4x3
 
+typedef mat< 4, 4, double, packed_highp > packed_highp_dmat4x4
 
+typedef vec< 1, double, packed_highp > packed_highp_dvec1
 
+typedef vec< 2, double, packed_highp > packed_highp_dvec2
 
+typedef vec< 3, double, packed_highp > packed_highp_dvec3
 
+typedef vec< 4, double, packed_highp > packed_highp_dvec4
 
+typedef vec< 1, int, packed_highp > packed_highp_ivec1
 
+typedef vec< 2, int, packed_highp > packed_highp_ivec2
 
+typedef vec< 3, int, packed_highp > packed_highp_ivec3
 
+typedef vec< 4, int, packed_highp > packed_highp_ivec4
 
+typedef mat< 2, 2, float, packed_highp > packed_highp_mat2
 
+typedef mat< 2, 2, float, packed_highp > packed_highp_mat2x2
 
+typedef mat< 2, 3, float, packed_highp > packed_highp_mat2x3
 
+typedef mat< 2, 4, float, packed_highp > packed_highp_mat2x4
 
+typedef mat< 3, 3, float, packed_highp > packed_highp_mat3
 
+typedef mat< 3, 2, float, packed_highp > packed_highp_mat3x2
 
+typedef mat< 3, 3, float, packed_highp > packed_highp_mat3x3
 
+typedef mat< 3, 4, float, packed_highp > packed_highp_mat3x4
 
+typedef mat< 4, 4, float, packed_highp > packed_highp_mat4
 
+typedef mat< 4, 2, float, packed_highp > packed_highp_mat4x2
 
+typedef mat< 4, 3, float, packed_highp > packed_highp_mat4x3
 
+typedef mat< 4, 4, float, packed_highp > packed_highp_mat4x4
 
+typedef vec< 1, uint, packed_highp > packed_highp_uvec1
 
+typedef vec< 2, uint, packed_highp > packed_highp_uvec2
 
+typedef vec< 3, uint, packed_highp > packed_highp_uvec3
 
+typedef vec< 4, uint, packed_highp > packed_highp_uvec4
 
+typedef vec< 1, float, packed_highp > packed_highp_vec1
 
+typedef vec< 2, float, packed_highp > packed_highp_vec2
 
+typedef vec< 3, float, packed_highp > packed_highp_vec3
 
+typedef vec< 4, float, packed_highp > packed_highp_vec4
 
+typedef packed_highp_ivec1 packed_ivec1
 
+typedef packed_highp_ivec2 packed_ivec2
 
+typedef packed_highp_ivec3 packed_ivec3
 
+typedef packed_highp_ivec4 packed_ivec4
 
+typedef vec< 1, bool, packed_lowp > packed_lowp_bvec1
 
+typedef vec< 2, bool, packed_lowp > packed_lowp_bvec2
 
+typedef vec< 3, bool, packed_lowp > packed_lowp_bvec3
 
+typedef vec< 4, bool, packed_lowp > packed_lowp_bvec4
 
+typedef mat< 2, 2, double, packed_lowp > packed_lowp_dmat2
 
+typedef mat< 2, 2, double, packed_lowp > packed_lowp_dmat2x2
 
+typedef mat< 2, 3, double, packed_lowp > packed_lowp_dmat2x3
 
+typedef mat< 2, 4, double, packed_lowp > packed_lowp_dmat2x4
 
+typedef mat< 3, 3, double, packed_lowp > packed_lowp_dmat3
 
+typedef mat< 3, 2, double, packed_lowp > packed_lowp_dmat3x2
 
+typedef mat< 3, 3, double, packed_lowp > packed_lowp_dmat3x3
 
+typedef mat< 3, 4, double, packed_lowp > packed_lowp_dmat3x4
 
+typedef mat< 4, 4, double, packed_lowp > packed_lowp_dmat4
 
+typedef mat< 4, 2, double, packed_lowp > packed_lowp_dmat4x2
 
+typedef mat< 4, 3, double, packed_lowp > packed_lowp_dmat4x3
 
+typedef mat< 4, 4, double, packed_lowp > packed_lowp_dmat4x4
 
+typedef vec< 1, double, packed_lowp > packed_lowp_dvec1
 
+typedef vec< 2, double, packed_lowp > packed_lowp_dvec2
 
+typedef vec< 3, double, packed_lowp > packed_lowp_dvec3
 
+typedef vec< 4, double, packed_lowp > packed_lowp_dvec4
 
+typedef vec< 1, int, packed_lowp > packed_lowp_ivec1
 
+typedef vec< 2, int, packed_lowp > packed_lowp_ivec2
 
+typedef vec< 3, int, packed_lowp > packed_lowp_ivec3
 
+typedef vec< 4, int, packed_lowp > packed_lowp_ivec4
 
+typedef mat< 2, 2, float, packed_lowp > packed_lowp_mat2
 
+typedef mat< 2, 2, float, packed_lowp > packed_lowp_mat2x2
 
+typedef mat< 2, 3, float, packed_lowp > packed_lowp_mat2x3
 
+typedef mat< 2, 4, float, packed_lowp > packed_lowp_mat2x4
 
+typedef mat< 3, 3, float, packed_lowp > packed_lowp_mat3
 
+typedef mat< 3, 2, float, packed_lowp > packed_lowp_mat3x2
 
+typedef mat< 3, 3, float, packed_lowp > packed_lowp_mat3x3
 
+typedef mat< 3, 4, float, packed_lowp > packed_lowp_mat3x4
 
+typedef mat< 4, 4, float, packed_lowp > packed_lowp_mat4
 
+typedef mat< 4, 2, float, packed_lowp > packed_lowp_mat4x2
 
+typedef mat< 4, 3, float, packed_lowp > packed_lowp_mat4x3
 
+typedef mat< 4, 4, float, packed_lowp > packed_lowp_mat4x4
 
+typedef vec< 1, uint, packed_lowp > packed_lowp_uvec1
 
+typedef vec< 2, uint, packed_lowp > packed_lowp_uvec2
 
+typedef vec< 3, uint, packed_lowp > packed_lowp_uvec3
 
+typedef vec< 4, uint, packed_lowp > packed_lowp_uvec4
 
+typedef vec< 1, float, packed_lowp > packed_lowp_vec1
 
+typedef vec< 2, float, packed_lowp > packed_lowp_vec2
 
+typedef vec< 3, float, packed_lowp > packed_lowp_vec3
 
+typedef vec< 4, float, packed_lowp > packed_lowp_vec4
 
+typedef packed_highp_mat2 packed_mat2
 
+typedef packed_highp_mat2x2 packed_mat2x2
 
+typedef packed_highp_mat2x3 packed_mat2x3
 
+typedef packed_highp_mat2x4 packed_mat2x4
 
+typedef packed_highp_mat3 packed_mat3
 
+typedef packed_highp_mat3x2 packed_mat3x2
 
+typedef packed_highp_mat3x3 packed_mat3x3
 
+typedef packed_highp_mat3x4 packed_mat3x4
 
+typedef packed_highp_mat4 packed_mat4
 
+typedef packed_highp_mat4x2 packed_mat4x2
 
+typedef packed_highp_mat4x3 packed_mat4x3
 
+typedef packed_highp_mat4x4 packed_mat4x4
 
+typedef vec< 1, bool, packed_mediump > packed_mediump_bvec1
 
+typedef vec< 2, bool, packed_mediump > packed_mediump_bvec2
 
+typedef vec< 3, bool, packed_mediump > packed_mediump_bvec3
 
+typedef vec< 4, bool, packed_mediump > packed_mediump_bvec4
 
+typedef mat< 2, 2, double, packed_mediump > packed_mediump_dmat2
 
+typedef mat< 2, 2, double, packed_mediump > packed_mediump_dmat2x2
 
+typedef mat< 2, 3, double, packed_mediump > packed_mediump_dmat2x3
 
+typedef mat< 2, 4, double, packed_mediump > packed_mediump_dmat2x4
 
+typedef mat< 3, 3, double, packed_mediump > packed_mediump_dmat3
 
+typedef mat< 3, 2, double, packed_mediump > packed_mediump_dmat3x2
 
+typedef mat< 3, 3, double, packed_mediump > packed_mediump_dmat3x3
 
+typedef mat< 3, 4, double, packed_mediump > packed_mediump_dmat3x4
 
+typedef mat< 4, 4, double, packed_mediump > packed_mediump_dmat4
 
+typedef mat< 4, 2, double, packed_mediump > packed_mediump_dmat4x2
 
+typedef mat< 4, 3, double, packed_mediump > packed_mediump_dmat4x3
 
+typedef mat< 4, 4, double, packed_mediump > packed_mediump_dmat4x4
 
+typedef vec< 1, double, packed_mediump > packed_mediump_dvec1
 
+typedef vec< 2, double, packed_mediump > packed_mediump_dvec2
 
+typedef vec< 3, double, packed_mediump > packed_mediump_dvec3
 
+typedef vec< 4, double, packed_mediump > packed_mediump_dvec4
 
+typedef vec< 1, int, packed_mediump > packed_mediump_ivec1
 
+typedef vec< 2, int, packed_mediump > packed_mediump_ivec2
 
+typedef vec< 3, int, packed_mediump > packed_mediump_ivec3
 
+typedef vec< 4, int, packed_mediump > packed_mediump_ivec4
 
+typedef mat< 2, 2, float, packed_mediump > packed_mediump_mat2
 
+typedef mat< 2, 2, float, packed_mediump > packed_mediump_mat2x2
 
+typedef mat< 2, 3, float, packed_mediump > packed_mediump_mat2x3
 
+typedef mat< 2, 4, float, packed_mediump > packed_mediump_mat2x4
 
+typedef mat< 3, 3, float, packed_mediump > packed_mediump_mat3
 
+typedef mat< 3, 2, float, packed_mediump > packed_mediump_mat3x2
 
+typedef mat< 3, 3, float, packed_mediump > packed_mediump_mat3x3
 
+typedef mat< 3, 4, float, packed_mediump > packed_mediump_mat3x4
 
+typedef mat< 4, 4, float, packed_mediump > packed_mediump_mat4
 
+typedef mat< 4, 2, float, packed_mediump > packed_mediump_mat4x2
 
+typedef mat< 4, 3, float, packed_mediump > packed_mediump_mat4x3
 
+typedef mat< 4, 4, float, packed_mediump > packed_mediump_mat4x4
 
+typedef vec< 1, uint, packed_mediump > packed_mediump_uvec1
 
+typedef vec< 2, uint, packed_mediump > packed_mediump_uvec2
 
+typedef vec< 3, uint, packed_mediump > packed_mediump_uvec3
 
+typedef vec< 4, uint, packed_mediump > packed_mediump_uvec4
 
+typedef vec< 1, float, packed_mediump > packed_mediump_vec1
 
+typedef vec< 2, float, packed_mediump > packed_mediump_vec2
 
+typedef vec< 3, float, packed_mediump > packed_mediump_vec3
 
+typedef vec< 4, float, packed_mediump > packed_mediump_vec4
 
+typedef packed_highp_uvec1 packed_uvec1
 
+typedef packed_highp_uvec2 packed_uvec2
 
+typedef packed_highp_uvec3 packed_uvec3
 
+typedef packed_highp_uvec4 packed_uvec4
 
+typedef packed_highp_vec1 packed_vec1
 
+typedef packed_highp_vec2 packed_vec2
 
+typedef packed_highp_vec3 packed_vec3
 
+typedef packed_highp_vec4 packed_vec4
 
+

Detailed Description

+

Include <glm/gtc/type_aligned.hpp> to use the features of this extension.

+

Aligned types allowing SIMD optimizations of vectors and matrices types

+
+ + + + diff --git a/doc/api/a00721.html b/doc/api/a00721.html new file mode 100644 index 00000000..47dec1b6 --- /dev/null +++ b/doc/api/a00721.html @@ -0,0 +1,9337 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_type_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTC_type_precision
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef float f32
 
typedef mat< 2, 2, f32, defaultp > f32mat2
 
typedef mat< 2, 2, f32, defaultp > f32mat2x2
 
typedef mat< 2, 3, f32, defaultp > f32mat2x3
 
typedef mat< 2, 4, f32, defaultp > f32mat2x4
 
typedef mat< 3, 3, f32, defaultp > f32mat3
 
typedef mat< 3, 2, f32, defaultp > f32mat3x2
 
typedef mat< 3, 3, f32, defaultp > f32mat3x3
 
typedef mat< 3, 4, f32, defaultp > f32mat3x4
 
typedef mat< 4, 4, f32, defaultp > f32mat4
 
typedef mat< 4, 2, f32, defaultp > f32mat4x2
 
typedef mat< 4, 3, f32, defaultp > f32mat4x3
 
typedef mat< 4, 4, f32, defaultp > f32mat4x4
 
typedef qua< f32, defaultp > f32quat
 
typedef vec< 1, f32, defaultp > f32vec1
 
typedef vec< 2, f32, defaultp > f32vec2
 
typedef vec< 3, f32, defaultp > f32vec3
 
typedef vec< 4, f32, defaultp > f32vec4
 
typedef double f64
 
typedef mat< 2, 2, f64, defaultp > f64mat2
 
typedef mat< 2, 2, f64, defaultp > f64mat2x2
 
typedef mat< 2, 3, f64, defaultp > f64mat2x3
 
typedef mat< 2, 4, f64, defaultp > f64mat2x4
 
typedef mat< 3, 3, f64, defaultp > f64mat3
 
typedef mat< 3, 2, f64, defaultp > f64mat3x2
 
typedef mat< 3, 3, f64, defaultp > f64mat3x3
 
typedef mat< 3, 4, f64, defaultp > f64mat3x4
 
typedef mat< 4, 4, f64, defaultp > f64mat4
 
typedef mat< 4, 2, f64, defaultp > f64mat4x2
 
typedef mat< 4, 3, f64, defaultp > f64mat4x3
 
typedef mat< 4, 4, f64, defaultp > f64mat4x4
 
typedef qua< f64, defaultp > f64quat
 
typedef vec< 1, f64, defaultp > f64vec1
 
typedef vec< 2, f64, defaultp > f64vec2
 
typedef vec< 3, f64, defaultp > f64vec3
 
typedef vec< 4, f64, defaultp > f64vec4
 
typedef float float32_t
 
typedef double float64_t
 
typedef mat< 2, 2, f32, defaultp > fmat2
 
typedef mat< 2, 2, f32, defaultp > fmat2x2
 
typedef mat< 2, 3, f32, defaultp > fmat2x3
 
typedef mat< 2, 4, f32, defaultp > fmat2x4
 
typedef mat< 3, 3, f32, defaultp > fmat3
 
typedef mat< 3, 2, f32, defaultp > fmat3x2
 
typedef mat< 3, 3, f32, defaultp > fmat3x3
 
typedef mat< 3, 4, f32, defaultp > fmat3x4
 
typedef mat< 4, 4, f32, defaultp > fmat4
 
typedef mat< 4, 2, f32, defaultp > fmat4x2
 
typedef mat< 4, 3, f32, defaultp > fmat4x3
 
typedef mat< 4, 4, f32, defaultp > fmat4x4
 
typedef vec< 1, f32, defaultp > fvec1
 
typedef vec< 2, f32, defaultp > fvec2
 
typedef vec< 3, f32, defaultp > fvec3
 
typedef vec< 4, f32, defaultp > fvec4
 
typedef float highp_f32
 
typedef mat< 2, 2, f32, highp > highp_f32mat2
 
typedef mat< 2, 2, f32, highp > highp_f32mat2x2
 
typedef mat< 2, 3, f32, highp > highp_f32mat2x3
 
typedef mat< 2, 4, f32, highp > highp_f32mat2x4
 
typedef mat< 3, 3, f32, highp > highp_f32mat3
 
typedef mat< 3, 2, f32, highp > highp_f32mat3x2
 
typedef mat< 3, 3, f32, highp > highp_f32mat3x3
 
typedef mat< 3, 4, f32, highp > highp_f32mat3x4
 
typedef mat< 4, 4, f32, highp > highp_f32mat4
 
typedef mat< 4, 2, f32, highp > highp_f32mat4x2
 
typedef mat< 4, 3, f32, highp > highp_f32mat4x3
 
typedef mat< 4, 4, f32, highp > highp_f32mat4x4
 
typedef qua< f32, highp > highp_f32quat
 
typedef vec< 1, f32, highp > highp_f32vec1
 
typedef vec< 2, f32, highp > highp_f32vec2
 
typedef vec< 3, f32, highp > highp_f32vec3
 
typedef vec< 4, f32, highp > highp_f32vec4
 
typedef double highp_f64
 
typedef mat< 2, 2, f64, highp > highp_f64mat2
 
typedef mat< 2, 2, f64, highp > highp_f64mat2x2
 
typedef mat< 2, 3, f64, highp > highp_f64mat2x3
 
typedef mat< 2, 4, f64, highp > highp_f64mat2x4
 
typedef mat< 3, 3, f64, highp > highp_f64mat3
 
typedef mat< 3, 2, f64, highp > highp_f64mat3x2
 
typedef mat< 3, 3, f64, highp > highp_f64mat3x3
 
typedef mat< 3, 4, f64, highp > highp_f64mat3x4
 
typedef mat< 4, 4, f64, highp > highp_f64mat4
 
typedef mat< 4, 2, f64, highp > highp_f64mat4x2
 
typedef mat< 4, 3, f64, highp > highp_f64mat4x3
 
typedef mat< 4, 4, f64, highp > highp_f64mat4x4
 
typedef qua< f64, highp > highp_f64quat
 
typedef vec< 1, f64, highp > highp_f64vec1
 
typedef vec< 2, f64, highp > highp_f64vec2
 
typedef vec< 3, f64, highp > highp_f64vec3
 
typedef vec< 4, f64, highp > highp_f64vec4
 
typedef float highp_float32
 
typedef float highp_float32_t
 
typedef double highp_float64
 
typedef double highp_float64_t
 
typedef mat< 2, 2, f32, highp > highp_fmat2
 
typedef mat< 2, 2, f32, highp > highp_fmat2x2
 
typedef mat< 2, 3, f32, highp > highp_fmat2x3
 
typedef mat< 2, 4, f32, highp > highp_fmat2x4
 
typedef mat< 3, 3, f32, highp > highp_fmat3
 
typedef mat< 3, 2, f32, highp > highp_fmat3x2
 
typedef mat< 3, 3, f32, highp > highp_fmat3x3
 
typedef mat< 3, 4, f32, highp > highp_fmat3x4
 
typedef mat< 4, 4, f32, highp > highp_fmat4
 
typedef mat< 4, 2, f32, highp > highp_fmat4x2
 
typedef mat< 4, 3, f32, highp > highp_fmat4x3
 
typedef mat< 4, 4, f32, highp > highp_fmat4x4
 
typedef vec< 1, float, highp > highp_fvec1
 
typedef vec< 2, float, highp > highp_fvec2
 
typedef vec< 3, float, highp > highp_fvec3
 
typedef vec< 4, float, highp > highp_fvec4
 
typedef int16 highp_i16
 
typedef vec< 1, i16, highp > highp_i16vec1
 
typedef vec< 2, i16, highp > highp_i16vec2
 
typedef vec< 3, i16, highp > highp_i16vec3
 
typedef vec< 4, i16, highp > highp_i16vec4
 
typedef int32 highp_i32
 
typedef vec< 1, i32, highp > highp_i32vec1
 
typedef vec< 2, i32, highp > highp_i32vec2
 
typedef vec< 3, i32, highp > highp_i32vec3
 
typedef vec< 4, i32, highp > highp_i32vec4
 
typedef int64 highp_i64
 
typedef vec< 1, i64, highp > highp_i64vec1
 
typedef vec< 2, i64, highp > highp_i64vec2
 
typedef vec< 3, i64, highp > highp_i64vec3
 
typedef vec< 4, i64, highp > highp_i64vec4
 
typedef int8 highp_i8
 
typedef vec< 1, i8, highp > highp_i8vec1
 
typedef vec< 2, i8, highp > highp_i8vec2
 
typedef vec< 3, i8, highp > highp_i8vec3
 
typedef vec< 4, i8, highp > highp_i8vec4
 
typedef int16 highp_int16
 
typedef int16 highp_int16_t
 
typedef int32 highp_int32
 
typedef int32 highp_int32_t
 
typedef int64 highp_int64
 
typedef int64 highp_int64_t
 
typedef int8 highp_int8
 
typedef int8 highp_int8_t
 
typedef uint16 highp_u16
 
typedef vec< 1, u16, highp > highp_u16vec1
 
typedef vec< 2, u16, highp > highp_u16vec2
 
typedef vec< 3, u16, highp > highp_u16vec3
 
typedef vec< 4, u16, highp > highp_u16vec4
 
typedef uint32 highp_u32
 
typedef vec< 1, u32, highp > highp_u32vec1
 
typedef vec< 2, u32, highp > highp_u32vec2
 
typedef vec< 3, u32, highp > highp_u32vec3
 
typedef vec< 4, u32, highp > highp_u32vec4
 
typedef uint64 highp_u64
 
typedef vec< 1, u64, highp > highp_u64vec1
 
typedef vec< 2, u64, highp > highp_u64vec2
 
typedef vec< 3, u64, highp > highp_u64vec3
 
typedef vec< 4, u64, highp > highp_u64vec4
 
typedef uint8 highp_u8
 
typedef vec< 1, u8, highp > highp_u8vec1
 
typedef vec< 2, u8, highp > highp_u8vec2
 
typedef vec< 3, u8, highp > highp_u8vec3
 
typedef vec< 4, u8, highp > highp_u8vec4
 
typedef uint16 highp_uint16
 
typedef uint16 highp_uint16_t
 
typedef uint32 highp_uint32
 
typedef uint32 highp_uint32_t
 
typedef uint64 highp_uint64
 
typedef uint64 highp_uint64_t
 
typedef uint8 highp_uint8
 
typedef uint8 highp_uint8_t
 
typedef int16 i16
 
typedef vec< 1, i16, defaultp > i16vec1
 
typedef vec< 2, i16, defaultp > i16vec2
 
typedef vec< 3, i16, defaultp > i16vec3
 
typedef vec< 4, i16, defaultp > i16vec4
 
typedef int32 i32
 
typedef vec< 1, i32, defaultp > i32vec1
 
typedef vec< 2, i32, defaultp > i32vec2
 
typedef vec< 3, i32, defaultp > i32vec3
 
typedef vec< 4, i32, defaultp > i32vec4
 
typedef int64 i64
 
typedef vec< 1, i64, defaultp > i64vec1
 
typedef vec< 2, i64, defaultp > i64vec2
 
typedef vec< 3, i64, defaultp > i64vec3
 
typedef vec< 4, i64, defaultp > i64vec4
 
typedef int8 i8
 
typedef vec< 1, i8, defaultp > i8vec1
 
typedef vec< 2, i8, defaultp > i8vec2
 
typedef vec< 3, i8, defaultp > i8vec3
 
typedef vec< 4, i8, defaultp > i8vec4
 
typedef int16 int16_t
 
typedef int32 int32_t
 
typedef int64 int64_t
 
typedef int8 int8_t
 
typedef float lowp_f32
 
typedef mat< 2, 2, f32, lowp > lowp_f32mat2
 
typedef mat< 2, 2, f32, lowp > lowp_f32mat2x2
 
typedef mat< 2, 3, f32, lowp > lowp_f32mat2x3
 
typedef mat< 2, 4, f32, lowp > lowp_f32mat2x4
 
typedef mat< 3, 3, f32, lowp > lowp_f32mat3
 
typedef mat< 3, 2, f32, lowp > lowp_f32mat3x2
 
typedef mat< 3, 3, f32, lowp > lowp_f32mat3x3
 
typedef mat< 3, 4, f32, lowp > lowp_f32mat3x4
 
typedef mat< 4, 4, f32, lowp > lowp_f32mat4
 
typedef mat< 4, 2, f32, lowp > lowp_f32mat4x2
 
typedef mat< 4, 3, f32, lowp > lowp_f32mat4x3
 
typedef mat< 4, 4, f32, lowp > lowp_f32mat4x4
 
typedef qua< f32, lowp > lowp_f32quat
 
typedef vec< 1, f32, lowp > lowp_f32vec1
 
typedef vec< 2, f32, lowp > lowp_f32vec2
 
typedef vec< 3, f32, lowp > lowp_f32vec3
 
typedef vec< 4, f32, lowp > lowp_f32vec4
 
typedef double lowp_f64
 
typedef mat< 2, 2, f64, lowp > lowp_f64mat2
 
typedef mat< 2, 2, f64, lowp > lowp_f64mat2x2
 
typedef mat< 2, 3, f64, lowp > lowp_f64mat2x3
 
typedef mat< 2, 4, f64, lowp > lowp_f64mat2x4
 
typedef mat< 3, 3, f64, lowp > lowp_f64mat3
 
typedef mat< 3, 2, f64, lowp > lowp_f64mat3x2
 
typedef mat< 3, 3, f64, lowp > lowp_f64mat3x3
 
typedef mat< 3, 4, f64, lowp > lowp_f64mat3x4
 
typedef mat< 4, 4, f64, lowp > lowp_f64mat4
 
typedef mat< 4, 2, f64, lowp > lowp_f64mat4x2
 
typedef mat< 4, 3, f64, lowp > lowp_f64mat4x3
 
typedef mat< 4, 4, f64, lowp > lowp_f64mat4x4
 
typedef qua< f64, lowp > lowp_f64quat
 
typedef vec< 1, f64, lowp > lowp_f64vec1
 
typedef vec< 2, f64, lowp > lowp_f64vec2
 
typedef vec< 3, f64, lowp > lowp_f64vec3
 
typedef vec< 4, f64, lowp > lowp_f64vec4
 
typedef float lowp_float32
 
typedef float lowp_float32_t
 
typedef double lowp_float64
 
typedef double lowp_float64_t
 
typedef mat< 2, 2, f32, lowp > lowp_fmat2
 
typedef mat< 2, 2, f32, lowp > lowp_fmat2x2
 
typedef mat< 2, 3, f32, lowp > lowp_fmat2x3
 
typedef mat< 2, 4, f32, lowp > lowp_fmat2x4
 
typedef mat< 3, 3, f32, lowp > lowp_fmat3
 
typedef mat< 3, 2, f32, lowp > lowp_fmat3x2
 
typedef mat< 3, 3, f32, lowp > lowp_fmat3x3
 
typedef mat< 3, 4, f32, lowp > lowp_fmat3x4
 
typedef mat< 4, 4, f32, lowp > lowp_fmat4
 
typedef mat< 4, 2, f32, lowp > lowp_fmat4x2
 
typedef mat< 4, 3, f32, lowp > lowp_fmat4x3
 
typedef mat< 4, 4, f32, lowp > lowp_fmat4x4
 
typedef vec< 1, float, lowp > lowp_fvec1
 
typedef vec< 2, float, lowp > lowp_fvec2
 
typedef vec< 3, float, lowp > lowp_fvec3
 
typedef vec< 4, float, lowp > lowp_fvec4
 
typedef int16 lowp_i16
 
typedef vec< 1, i16, lowp > lowp_i16vec1
 
typedef vec< 2, i16, lowp > lowp_i16vec2
 
typedef vec< 3, i16, lowp > lowp_i16vec3
 
typedef vec< 4, i16, lowp > lowp_i16vec4
 
typedef int32 lowp_i32
 
typedef vec< 1, i32, lowp > lowp_i32vec1
 
typedef vec< 2, i32, lowp > lowp_i32vec2
 
typedef vec< 3, i32, lowp > lowp_i32vec3
 
typedef vec< 4, i32, lowp > lowp_i32vec4
 
typedef int64 lowp_i64
 
typedef vec< 1, i64, lowp > lowp_i64vec1
 
typedef vec< 2, i64, lowp > lowp_i64vec2
 
typedef vec< 3, i64, lowp > lowp_i64vec3
 
typedef vec< 4, i64, lowp > lowp_i64vec4
 
typedef int8 lowp_i8
 
typedef vec< 1, i8, lowp > lowp_i8vec1
 
typedef vec< 2, i8, lowp > lowp_i8vec2
 
typedef vec< 3, i8, lowp > lowp_i8vec3
 
typedef vec< 4, i8, lowp > lowp_i8vec4
 
typedef int16 lowp_int16
 
typedef int16 lowp_int16_t
 
typedef int32 lowp_int32
 
typedef int32 lowp_int32_t
 
typedef int64 lowp_int64
 
typedef int64 lowp_int64_t
 
typedef int8 lowp_int8
 
typedef int8 lowp_int8_t
 
typedef uint16 lowp_u16
 
typedef vec< 1, u16, lowp > lowp_u16vec1
 
typedef vec< 2, u16, lowp > lowp_u16vec2
 
typedef vec< 3, u16, lowp > lowp_u16vec3
 
typedef vec< 4, u16, lowp > lowp_u16vec4
 
typedef uint32 lowp_u32
 
typedef vec< 1, u32, lowp > lowp_u32vec1
 
typedef vec< 2, u32, lowp > lowp_u32vec2
 
typedef vec< 3, u32, lowp > lowp_u32vec3
 
typedef vec< 4, u32, lowp > lowp_u32vec4
 
typedef uint64 lowp_u64
 
typedef vec< 1, u64, lowp > lowp_u64vec1
 
typedef vec< 2, u64, lowp > lowp_u64vec2
 
typedef vec< 3, u64, lowp > lowp_u64vec3
 
typedef vec< 4, u64, lowp > lowp_u64vec4
 
typedef uint8 lowp_u8
 
typedef vec< 1, u8, lowp > lowp_u8vec1
 
typedef vec< 2, u8, lowp > lowp_u8vec2
 
typedef vec< 3, u8, lowp > lowp_u8vec3
 
typedef vec< 4, u8, lowp > lowp_u8vec4
 
typedef uint16 lowp_uint16
 
typedef uint16 lowp_uint16_t
 
typedef uint32 lowp_uint32
 
typedef uint32 lowp_uint32_t
 
typedef uint64 lowp_uint64
 
typedef uint64 lowp_uint64_t
 
typedef uint8 lowp_uint8
 
typedef uint8 lowp_uint8_t
 
typedef float mediump_f32
 
typedef mat< 2, 2, f32, mediump > mediump_f32mat2
 
typedef mat< 2, 2, f32, mediump > mediump_f32mat2x2
 
typedef mat< 2, 3, f32, mediump > mediump_f32mat2x3
 
typedef mat< 2, 4, f32, mediump > mediump_f32mat2x4
 
typedef mat< 3, 3, f32, mediump > mediump_f32mat3
 
typedef mat< 3, 2, f32, mediump > mediump_f32mat3x2
 
typedef mat< 3, 3, f32, mediump > mediump_f32mat3x3
 
typedef mat< 3, 4, f32, mediump > mediump_f32mat3x4
 
typedef mat< 4, 4, f32, mediump > mediump_f32mat4
 
typedef mat< 4, 2, f32, mediump > mediump_f32mat4x2
 
typedef mat< 4, 3, f32, mediump > mediump_f32mat4x3
 
typedef mat< 4, 4, f32, mediump > mediump_f32mat4x4
 
typedef qua< f32, mediump > mediump_f32quat
 
typedef vec< 1, f32, mediump > mediump_f32vec1
 
typedef vec< 2, f32, mediump > mediump_f32vec2
 
typedef vec< 3, f32, mediump > mediump_f32vec3
 
typedef vec< 4, f32, mediump > mediump_f32vec4
 
typedef double mediump_f64
 
typedef mat< 2, 2, f64, mediump > mediump_f64mat2
 
typedef mat< 2, 2, f64, mediump > mediump_f64mat2x2
 
typedef mat< 2, 3, f64, mediump > mediump_f64mat2x3
 
typedef mat< 2, 4, f64, mediump > mediump_f64mat2x4
 
typedef mat< 3, 3, f64, mediump > mediump_f64mat3
 
typedef mat< 3, 2, f64, mediump > mediump_f64mat3x2
 
typedef mat< 3, 3, f64, mediump > mediump_f64mat3x3
 
typedef mat< 3, 4, f64, mediump > mediump_f64mat3x4
 
typedef mat< 4, 4, f64, mediump > mediump_f64mat4
 
typedef mat< 4, 2, f64, mediump > mediump_f64mat4x2
 
typedef mat< 4, 3, f64, mediump > mediump_f64mat4x3
 
typedef mat< 4, 4, f64, mediump > mediump_f64mat4x4
 
typedef qua< f64, mediump > mediump_f64quat
 
typedef vec< 1, f64, mediump > mediump_f64vec1
 
typedef vec< 2, f64, mediump > mediump_f64vec2
 
typedef vec< 3, f64, mediump > mediump_f64vec3
 
typedef vec< 4, f64, mediump > mediump_f64vec4
 
typedef float mediump_float32
 
typedef float mediump_float32_t
 
typedef double mediump_float64
 
typedef double mediump_float64_t
 
typedef mat< 2, 2, f32, mediump > mediump_fmat2
 
typedef mat< 2, 2, f32, mediump > mediump_fmat2x2
 
typedef mat< 2, 3, f32, mediump > mediump_fmat2x3
 
typedef mat< 2, 4, f32, mediump > mediump_fmat2x4
 
typedef mat< 3, 3, f32, mediump > mediump_fmat3
 
typedef mat< 3, 2, f32, mediump > mediump_fmat3x2
 
typedef mat< 3, 3, f32, mediump > mediump_fmat3x3
 
typedef mat< 3, 4, f32, mediump > mediump_fmat3x4
 
typedef mat< 4, 4, f32, mediump > mediump_fmat4
 
typedef mat< 4, 2, f32, mediump > mediump_fmat4x2
 
typedef mat< 4, 3, f32, mediump > mediump_fmat4x3
 
typedef mat< 4, 4, f32, mediump > mediump_fmat4x4
 
typedef vec< 1, float, mediump > mediump_fvec1
 
typedef vec< 2, float, mediump > mediump_fvec2
 
typedef vec< 3, float, mediump > mediump_fvec3
 
typedef vec< 4, float, mediump > mediump_fvec4
 
typedef int16 mediump_i16
 
typedef vec< 1, i16, mediump > mediump_i16vec1
 
typedef vec< 2, i16, mediump > mediump_i16vec2
 
typedef vec< 3, i16, mediump > mediump_i16vec3
 
typedef vec< 4, i16, mediump > mediump_i16vec4
 
typedef int32 mediump_i32
 
typedef vec< 1, i32, mediump > mediump_i32vec1
 
typedef vec< 2, i32, mediump > mediump_i32vec2
 
typedef vec< 3, i32, mediump > mediump_i32vec3
 
typedef vec< 4, i32, mediump > mediump_i32vec4
 
typedef int64 mediump_i64
 
typedef vec< 1, i64, mediump > mediump_i64vec1
 
typedef vec< 2, i64, mediump > mediump_i64vec2
 
typedef vec< 3, i64, mediump > mediump_i64vec3
 
typedef vec< 4, i64, mediump > mediump_i64vec4
 
typedef int8 mediump_i8
 
typedef vec< 1, i8, mediump > mediump_i8vec1
 
typedef vec< 2, i8, mediump > mediump_i8vec2
 
typedef vec< 3, i8, mediump > mediump_i8vec3
 
typedef vec< 4, i8, mediump > mediump_i8vec4
 
typedef int16 mediump_int16
 
typedef int16 mediump_int16_t
 
typedef int32 mediump_int32
 
typedef int32 mediump_int32_t
 
typedef int64 mediump_int64
 
typedef int64 mediump_int64_t
 
typedef int8 mediump_int8
 
typedef int8 mediump_int8_t
 
typedef uint16 mediump_u16
 
typedef vec< 1, u16, mediump > mediump_u16vec1
 
typedef vec< 2, u16, mediump > mediump_u16vec2
 
typedef vec< 3, u16, mediump > mediump_u16vec3
 
typedef vec< 4, u16, mediump > mediump_u16vec4
 
typedef uint32 mediump_u32
 
typedef vec< 1, u32, mediump > mediump_u32vec1
 
typedef vec< 2, u32, mediump > mediump_u32vec2
 
typedef vec< 3, u32, mediump > mediump_u32vec3
 
typedef vec< 4, u32, mediump > mediump_u32vec4
 
typedef uint64 mediump_u64
 
typedef vec< 1, u64, mediump > mediump_u64vec1
 
typedef vec< 2, u64, mediump > mediump_u64vec2
 
typedef vec< 3, u64, mediump > mediump_u64vec3
 
typedef vec< 4, u64, mediump > mediump_u64vec4
 
typedef uint8 mediump_u8
 
typedef vec< 1, u8, mediump > mediump_u8vec1
 
typedef vec< 2, u8, mediump > mediump_u8vec2
 
typedef vec< 3, u8, mediump > mediump_u8vec3
 
typedef vec< 4, u8, mediump > mediump_u8vec4
 
typedef uint16 mediump_uint16
 
typedef uint16 mediump_uint16_t
 
typedef uint32 mediump_uint32
 
typedef uint32 mediump_uint32_t
 
typedef uint64 mediump_uint64
 
typedef uint64 mediump_uint64_t
 
typedef uint8 mediump_uint8
 
typedef uint8 mediump_uint8_t
 
typedef uint16 u16
 
typedef vec< 1, u16, defaultp > u16vec1
 
typedef vec< 2, u16, defaultp > u16vec2
 
typedef vec< 3, u16, defaultp > u16vec3
 
typedef vec< 4, u16, defaultp > u16vec4
 
typedef uint32 u32
 
typedef vec< 1, u32, defaultp > u32vec1
 
typedef vec< 2, u32, defaultp > u32vec2
 
typedef vec< 3, u32, defaultp > u32vec3
 
typedef vec< 4, u32, defaultp > u32vec4
 
typedef uint64 u64
 
typedef vec< 1, u64, defaultp > u64vec1
 
typedef vec< 2, u64, defaultp > u64vec2
 
typedef vec< 3, u64, defaultp > u64vec3
 
typedef vec< 4, u64, defaultp > u64vec4
 
typedef uint8 u8
 
typedef vec< 1, u8, defaultp > u8vec1
 
typedef vec< 2, u8, defaultp > u8vec2
 
typedef vec< 3, u8, defaultp > u8vec3
 
typedef vec< 4, u8, defaultp > u8vec4
 
typedef uint16 uint16_t
 
typedef uint32 uint32_t
 
typedef uint64 uint64_t
 
typedef uint8 uint8_t
 
+

Detailed Description

+

Include <glm/gtc/type_precision.hpp> to use the features of this extension.

+

Defines specific C++-based qualifier types.

+

Typedef Documentation

+ +

◆ f32

+ +
+
+ + + + +
typedef float32 f32
+
+ +

Default 32 bit single-qualifier floating-point scalar.

+

32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 150 of file fwd.hpp.

+ +
+
+ +

◆ f32mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, defaultp > f32mat2
+
+ +

Single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 552 of file fwd.hpp.

+ +
+
+ +

◆ f32mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, defaultp > f32mat2x2
+
+ +

Single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 700 of file fwd.hpp.

+ +
+
+ +

◆ f32mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, defaultp > f32mat2x3
+
+ +

Single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 703 of file fwd.hpp.

+ +
+
+ +

◆ f32mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, defaultp > f32mat2x4
+
+ +

Single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 706 of file fwd.hpp.

+ +
+
+ +

◆ f32mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, defaultp > f32mat3
+
+ +

Single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 553 of file fwd.hpp.

+ +
+
+ +

◆ f32mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, defaultp > f32mat3x2
+
+ +

Single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 701 of file fwd.hpp.

+ +
+
+ +

◆ f32mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, defaultp > f32mat3x3
+
+ +

Single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 704 of file fwd.hpp.

+ +
+
+ +

◆ f32mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, defaultp > f32mat3x4
+
+ +

Single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 707 of file fwd.hpp.

+ +
+
+ +

◆ f32mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, defaultp > f32mat4
+
+ +

Single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 554 of file fwd.hpp.

+ +
+
+ +

◆ f32mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, defaultp > f32mat4x2
+
+ +

Single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 702 of file fwd.hpp.

+ +
+
+ +

◆ f32mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, defaultp > f32mat4x3
+
+ +

Single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 705 of file fwd.hpp.

+ +
+
+ +

◆ f32mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, defaultp > f32mat4x4
+
+ +

Single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 708 of file fwd.hpp.

+ +
+
+ +

◆ f32quat

+ +
+
+ + + + +
typedef qua< f32, defaultp > f32quat
+
+ +

Single-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 805 of file fwd.hpp.

+ +
+
+ +

◆ f32vec1

+ +
+
+ + + + +
typedef vec< 1, f32, defaultp > f32vec1
+
+ +

Single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 461 of file fwd.hpp.

+ +
+
+ +

◆ f32vec2

+ +
+
+ + + + +
typedef vec< 2, f32, defaultp > f32vec2
+
+ +

Single-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 462 of file fwd.hpp.

+ +
+
+ +

◆ f32vec3

+ +
+
+ + + + +
typedef vec< 3, f32, defaultp > f32vec3
+
+ +

Single-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 463 of file fwd.hpp.

+ +
+
+ +

◆ f32vec4

+ +
+
+ + + + +
typedef vec< 4, f32, defaultp > f32vec4
+
+ +

Single-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 464 of file fwd.hpp.

+ +
+
+ +

◆ f64

+ +
+
+ + + + +
typedef float64 f64
+
+ +

Default 64 bit double-qualifier floating-point scalar.

+

64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 166 of file fwd.hpp.

+ +
+
+ +

◆ f64mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, defaultp > f64mat2
+
+ +

Double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 584 of file fwd.hpp.

+ +
+
+ +

◆ f64mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, defaultp > f64mat2x2
+
+ +

Double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 780 of file fwd.hpp.

+ +
+
+ +

◆ f64mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f64, defaultp > f64mat2x3
+
+ +

Double-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 783 of file fwd.hpp.

+ +
+
+ +

◆ f64mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f64, defaultp > f64mat2x4
+
+ +

Double-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 786 of file fwd.hpp.

+ +
+
+ +

◆ f64mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, defaultp > f64mat3
+
+ +

Double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 585 of file fwd.hpp.

+ +
+
+ +

◆ f64mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f64, defaultp > f64mat3x2
+
+ +

Double-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 781 of file fwd.hpp.

+ +
+
+ +

◆ f64mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, defaultp > f64mat3x3
+
+ +

Double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 784 of file fwd.hpp.

+ +
+
+ +

◆ f64mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f64, defaultp > f64mat3x4
+
+ +

Double-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 787 of file fwd.hpp.

+ +
+
+ +

◆ f64mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, defaultp > f64mat4
+
+ +

Double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 586 of file fwd.hpp.

+ +
+
+ +

◆ f64mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f64, defaultp > f64mat4x2
+
+ +

Double-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 782 of file fwd.hpp.

+ +
+
+ +

◆ f64mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f64, defaultp > f64mat4x3
+
+ +

Double-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 785 of file fwd.hpp.

+ +
+
+ +

◆ f64mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, defaultp > f64mat4x4
+
+ +

Double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 788 of file fwd.hpp.

+ +
+
+ +

◆ f64quat

+ +
+
+ + + + +
typedef qua< f64, defaultp > f64quat
+
+ +

Double-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 815 of file fwd.hpp.

+ +
+
+ +

◆ f64vec1

+ +
+
+ + + + +
typedef vec< 1, f64, defaultp > f64vec1
+
+ +

Double-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 501 of file fwd.hpp.

+ +
+
+ +

◆ f64vec2

+ +
+
+ + + + +
typedef vec< 2, f64, defaultp > f64vec2
+
+ +

Double-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 502 of file fwd.hpp.

+ +
+
+ +

◆ f64vec3

+ +
+
+ + + + +
typedef vec< 3, f64, defaultp > f64vec3
+
+ +

Double-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 503 of file fwd.hpp.

+ +
+
+ +

◆ f64vec4

+ +
+
+ + + + +
typedef vec< 4, f64, defaultp > f64vec4
+
+ +

Double-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 504 of file fwd.hpp.

+ +
+
+ +

◆ float32_t

+ +
+
+ + + + +
typedef float32 float32_t
+
+ +

Default 32 bit single-qualifier floating-point scalar.

+

32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 160 of file fwd.hpp.

+ +
+
+ +

◆ float64_t

+ +
+
+ + + + +
typedef float64 float64_t
+
+ +

Default 64 bit double-qualifier floating-point scalar.

+

64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 176 of file fwd.hpp.

+ +
+
+ +

◆ fmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, defaultp > fmat2
+
+ +

Single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 536 of file fwd.hpp.

+ +
+
+ +

◆ fmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, defaultp > fmat2x2
+
+ +

Single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 660 of file fwd.hpp.

+ +
+
+ +

◆ fmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, defaultp > fmat2x3
+
+ +

Single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 663 of file fwd.hpp.

+ +
+
+ +

◆ fmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, defaultp > fmat2x4
+
+ +

Single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 666 of file fwd.hpp.

+ +
+
+ +

◆ fmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, defaultp > fmat3
+
+ +

Single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 537 of file fwd.hpp.

+ +
+
+ +

◆ fmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, defaultp > fmat3x2
+
+ +

Single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 661 of file fwd.hpp.

+ +
+
+ +

◆ fmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, defaultp > fmat3x3
+
+ +

Single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 664 of file fwd.hpp.

+ +
+
+ +

◆ fmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, defaultp > fmat3x4
+
+ +

Single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 667 of file fwd.hpp.

+ +
+
+ +

◆ fmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, defaultp > fmat4
+
+ +

Single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 538 of file fwd.hpp.

+ +
+
+ +

◆ fmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, defaultp > fmat4x2
+
+ +

Single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 662 of file fwd.hpp.

+ +
+
+ +

◆ fmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, defaultp > fmat4x3
+
+ +

Single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 665 of file fwd.hpp.

+ +
+
+ +

◆ fmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, defaultp > fmat4x4
+
+ +

Single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 668 of file fwd.hpp.

+ +
+
+ +

◆ fvec1

+ +
+
+ + + + +
typedef vec< 1, float, defaultp > fvec1
+
+ +

Single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 441 of file fwd.hpp.

+ +
+
+ +

◆ fvec2

+ +
+
+ + + + +
typedef vec< 2, float, defaultp > fvec2
+
+ +

Single-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 442 of file fwd.hpp.

+ +
+
+ +

◆ fvec3

+ +
+
+ + + + +
typedef vec< 3, float, defaultp > fvec3
+
+ +

Single-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 443 of file fwd.hpp.

+ +
+
+ +

◆ fvec4

+ +
+
+ + + + +
typedef vec< 4, float, defaultp > fvec4
+
+ +

Single-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 444 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32

+ +
+
+ + + + +
typedef float32 highp_f32
+
+ +

High 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 149 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat2

+ +
+
+ + + + +
typedef highp_f32mat2x2 highp_f32mat2
+
+ +

High single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision High single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 548 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, highp > highp_f32mat2x2
+
+ +

High single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision High single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 690 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, highp > highp_f32mat2x3
+
+ +

High single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 691 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, highp > highp_f32mat2x4
+
+ +

High single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 692 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat3

+ +
+
+ + + + +
typedef highp_f32mat3x3 highp_f32mat3
+
+ +

High single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 549 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, highp > highp_f32mat3x2
+
+ +

High single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 693 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, highp > highp_f32mat3x3
+
+ +

High single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 694 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, highp > highp_f32mat3x4
+
+ +

High single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 695 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat4

+ +
+
+ + + + +
typedef highp_f32mat4x4 highp_f32mat4
+
+ +

High single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 550 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, highp > highp_f32mat4x2
+
+ +

High single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 696 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, highp > highp_f32mat4x3
+
+ +

High single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 697 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, highp > highp_f32mat4x4
+
+ +

High single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 698 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32quat

+ +
+
+ + + + +
typedef qua< f32, highp > highp_f32quat
+
+ +

High single-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 804 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32vec1

+ +
+
+ + + + +
typedef vec< 1, f32, highp > highp_f32vec1
+
+ +

High single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 456 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32vec2

+ +
+
+ + + + +
typedef vec< 2, f32, highp > highp_f32vec2
+
+ +

High single-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 457 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32vec3

+ +
+
+ + + + +
typedef vec< 3, f32, highp > highp_f32vec3
+
+ +

High single-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 458 of file fwd.hpp.

+ +
+
+ +

◆ highp_f32vec4

+ +
+
+ + + + +
typedef vec< 4, f32, highp > highp_f32vec4
+
+ +

High single-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 459 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64

+ +
+
+ + + + +
typedef float64 highp_f64
+
+ +

High 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 165 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat2

+ +
+
+ + + + +
typedef highp_f64mat2x2 highp_f64mat2
+
+ +

High double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision High double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 580 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, highp > highp_f64mat2x2
+
+ +

High double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision High double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 770 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f64, highp > highp_f64mat2x3
+
+ +

High double-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 771 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f64, highp > highp_f64mat2x4
+
+ +

High double-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 772 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat3

+ +
+
+ + + + +
typedef highp_f64mat3x3 highp_f64mat3
+
+ +

High double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 581 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f64, highp > highp_f64mat3x2
+
+ +

High double-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 773 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, highp > highp_f64mat3x3
+
+ +

High double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 774 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f64, highp > highp_f64mat3x4
+
+ +

High double-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 775 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat4

+ +
+
+ + + + +
typedef highp_f64mat4x4 highp_f64mat4
+
+ +

High double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 582 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f64, highp > highp_f64mat4x2
+
+ +

High double-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 776 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f64, highp > highp_f64mat4x3
+
+ +

High double-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 777 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, highp > highp_f64mat4x4
+
+ +

High double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 778 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64quat

+ +
+
+ + + + +
typedef qua< f64, highp > highp_f64quat
+
+ +

High double-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 814 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64vec1

+ +
+
+ + + + +
typedef vec< 1, f64, highp > highp_f64vec1
+
+ +

High double-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 496 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64vec2

+ +
+
+ + + + +
typedef vec< 2, f64, highp > highp_f64vec2
+
+ +

High double-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 497 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64vec3

+ +
+
+ + + + +
typedef vec< 3, f64, highp > highp_f64vec3
+
+ +

High double-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 498 of file fwd.hpp.

+ +
+
+ +

◆ highp_f64vec4

+ +
+
+ + + + +
typedef vec< 4, f64, highp > highp_f64vec4
+
+ +

High double-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 499 of file fwd.hpp.

+ +
+
+ +

◆ highp_float32

+ +
+
+ + + + +
typedef float32 highp_float32
+
+ +

High 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 154 of file fwd.hpp.

+ +
+
+ +

◆ highp_float32_t

+ +
+
+ + + + +
typedef float32 highp_float32_t
+
+ +

High 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 159 of file fwd.hpp.

+ +
+
+ +

◆ highp_float64

+ +
+
+ + + + +
typedef float64 highp_float64
+
+ +

High 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 170 of file fwd.hpp.

+ +
+
+ +

◆ highp_float64_t

+ +
+
+ + + + +
typedef float64 highp_float64_t
+
+ +

High 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 175 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat2

+ +
+
+ + + + +
typedef highp_fmat2x2 highp_fmat2
+
+ +

High single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision High single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 532 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, highp > highp_fmat2x2
+
+ +

High single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision High single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 650 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, highp > highp_fmat2x3
+
+ +

High single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 651 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, highp > highp_fmat2x4
+
+ +

High single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 652 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat3

+ +
+
+ + + + +
typedef highp_fmat3x3 highp_fmat3
+
+ +

High single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 533 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, highp > highp_fmat3x2
+
+ +

High single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 653 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, highp > highp_fmat3x3
+
+ +

High single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 654 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, highp > highp_fmat3x4
+
+ +

High single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 655 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat4

+ +
+
+ + + + +
typedef highp_fmat4x4 highp_fmat4
+
+ +

High single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 534 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, highp > highp_fmat4x2
+
+ +

High single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 656 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, highp > highp_fmat4x3
+
+ +

High single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 657 of file fwd.hpp.

+ +
+
+ +

◆ highp_fmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, highp > highp_fmat4x4
+
+ +

High single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 658 of file fwd.hpp.

+ +
+
+ +

◆ highp_fvec1

+ +
+
+ + + + +
typedef vec< 1, float, highp > highp_fvec1
+
+ +

High single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 436 of file fwd.hpp.

+ +
+
+ +

◆ highp_fvec2

+ +
+
+ + + + +
typedef vec< 2, float, highp > highp_fvec2
+
+ +

High Single-qualifier floating-point vector of 2 components.

+
See also
core_precision
+ +

Definition at line 437 of file fwd.hpp.

+ +
+
+ +

◆ highp_fvec3

+ +
+
+ + + + +
typedef vec< 3, float, highp > highp_fvec3
+
+ +

High Single-qualifier floating-point vector of 3 components.

+
See also
core_precision
+ +

Definition at line 438 of file fwd.hpp.

+ +
+
+ +

◆ highp_fvec4

+ +
+
+ + + + +
typedef vec< 4, float, highp > highp_fvec4
+
+ +

High Single-qualifier floating-point vector of 4 components.

+
See also
core_precision
+ +

Definition at line 439 of file fwd.hpp.

+ +
+
+ +

◆ highp_i16

+ +
+
+ + + + +
typedef detail::int16 highp_i16
+
+ +

High qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 47 of file fwd.hpp.

+ +
+
+ +

◆ highp_i16vec1

+ +
+
+ + + + +
typedef vec< 1, i16, highp > highp_i16vec1
+
+ +

High qualifier 16 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 252 of file fwd.hpp.

+ +
+
+ +

◆ highp_i16vec2

+ +
+
+ + + + +
typedef vec< 2, i16, highp > highp_i16vec2
+
+ +

High qualifier 16 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 253 of file fwd.hpp.

+ +
+
+ +

◆ highp_i16vec3

+ +
+
+ + + + +
typedef vec< 3, i16, highp > highp_i16vec3
+
+ +

High qualifier 16 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 254 of file fwd.hpp.

+ +
+
+ +

◆ highp_i16vec4

+ +
+
+ + + + +
typedef vec< 4, i16, highp > highp_i16vec4
+
+ +

High qualifier 16 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 255 of file fwd.hpp.

+ +
+
+ +

◆ highp_i32

+ +
+
+ + + + +
typedef detail::int32 highp_i32
+
+ +

High qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 61 of file fwd.hpp.

+ +
+
+ +

◆ highp_i32vec1

+ +
+
+ + + + +
typedef vec< 1, i32, highp > highp_i32vec1
+
+ +

High qualifier 32 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 272 of file fwd.hpp.

+ +
+
+ +

◆ highp_i32vec2

+ +
+
+ + + + +
typedef vec< 2, i32, highp > highp_i32vec2
+
+ +

High qualifier 32 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 273 of file fwd.hpp.

+ +
+
+ +

◆ highp_i32vec3

+ +
+
+ + + + +
typedef vec< 3, i32, highp > highp_i32vec3
+
+ +

High qualifier 32 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 274 of file fwd.hpp.

+ +
+
+ +

◆ highp_i32vec4

+ +
+
+ + + + +
typedef vec< 4, i32, highp > highp_i32vec4
+
+ +

High qualifier 32 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 275 of file fwd.hpp.

+ +
+
+ +

◆ highp_i64

+ +
+
+ + + + +
typedef detail::int64 highp_i64
+
+ +

High qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 75 of file fwd.hpp.

+ +
+
+ +

◆ highp_i64vec1

+ +
+
+ + + + +
typedef vec< 1, i64, highp > highp_i64vec1
+
+ +

High qualifier 64 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 292 of file fwd.hpp.

+ +
+
+ +

◆ highp_i64vec2

+ +
+
+ + + + +
typedef vec< 2, i64, highp > highp_i64vec2
+
+ +

High qualifier 64 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 293 of file fwd.hpp.

+ +
+
+ +

◆ highp_i64vec3

+ +
+
+ + + + +
typedef vec< 3, i64, highp > highp_i64vec3
+
+ +

High qualifier 64 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 294 of file fwd.hpp.

+ +
+
+ +

◆ highp_i64vec4

+ +
+
+ + + + +
typedef vec< 4, i64, highp > highp_i64vec4
+
+ +

High qualifier 64 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 295 of file fwd.hpp.

+ +
+
+ +

◆ highp_i8

+ +
+
+ + + + +
typedef detail::int8 highp_i8
+
+ +

High qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 33 of file fwd.hpp.

+ +
+
+ +

◆ highp_i8vec1

+ +
+
+ + + + +
typedef vec< 1, i8, highp > highp_i8vec1
+
+ +

High qualifier 8 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 232 of file fwd.hpp.

+ +
+
+ +

◆ highp_i8vec2

+ +
+
+ + + + +
typedef vec< 2, i8, highp > highp_i8vec2
+
+ +

High qualifier 8 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 233 of file fwd.hpp.

+ +
+
+ +

◆ highp_i8vec3

+ +
+
+ + + + +
typedef vec< 3, i8, highp > highp_i8vec3
+
+ +

High qualifier 8 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 234 of file fwd.hpp.

+ +
+
+ +

◆ highp_i8vec4

+ +
+
+ + + + +
typedef vec< 4, i8, highp > highp_i8vec4
+
+ +

High qualifier 8 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 235 of file fwd.hpp.

+ +
+
+ +

◆ highp_int16

+ +
+
+ + + + +
typedef detail::int16 highp_int16
+
+ +

High qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 52 of file fwd.hpp.

+ +
+
+ +

◆ highp_int16_t

+ +
+
+ + + + +
typedef detail::int16 highp_int16_t
+
+ +

High qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 56 of file fwd.hpp.

+ +
+
+ +

◆ highp_int32

+ +
+
+ + + + +
typedef detail::int32 highp_int32
+
+ +

High qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 66 of file fwd.hpp.

+ +
+
+ +

◆ highp_int32_t

+ +
+
+ + + + +
typedef detail::int32 highp_int32_t
+
+ +

32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 70 of file fwd.hpp.

+ +
+
+ +

◆ highp_int64

+ +
+
+ + + + +
typedef detail::int64 highp_int64
+
+ +

High qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 80 of file fwd.hpp.

+ +
+
+ +

◆ highp_int64_t

+ +
+
+ + + + +
typedef detail::int64 highp_int64_t
+
+ +

High qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 84 of file fwd.hpp.

+ +
+
+ +

◆ highp_int8

+ +
+
+ + + + +
typedef detail::int8 highp_int8
+
+ +

High qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 38 of file fwd.hpp.

+ +
+
+ +

◆ highp_int8_t

+ +
+
+ + + + +
typedef detail::int8 highp_int8_t
+
+ +

High qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 42 of file fwd.hpp.

+ +
+
+ +

◆ highp_u16

+ +
+
+ + + + +
typedef detail::uint16 highp_u16
+
+ +

High qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 105 of file fwd.hpp.

+ +
+
+ +

◆ highp_u16vec1

+ +
+
+ + + + +
typedef vec< 1, u16, highp > highp_u16vec1
+
+ +

High qualifier 16 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 354 of file fwd.hpp.

+ +
+
+ +

◆ highp_u16vec2

+ +
+
+ + + + +
typedef vec< 2, u16, highp > highp_u16vec2
+
+ +

High qualifier 16 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 355 of file fwd.hpp.

+ +
+
+ +

◆ highp_u16vec3

+ +
+
+ + + + +
typedef vec< 3, u16, highp > highp_u16vec3
+
+ +

High qualifier 16 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 356 of file fwd.hpp.

+ +
+
+ +

◆ highp_u16vec4

+ +
+
+ + + + +
typedef vec< 4, u16, highp > highp_u16vec4
+
+ +

High qualifier 16 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 357 of file fwd.hpp.

+ +
+
+ +

◆ highp_u32

+ +
+
+ + + + +
typedef detail::uint32 highp_u32
+
+ +

High qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 119 of file fwd.hpp.

+ +
+
+ +

◆ highp_u32vec1

+ +
+
+ + + + +
typedef vec< 1, u32, highp > highp_u32vec1
+
+ +

High qualifier 32 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 374 of file fwd.hpp.

+ +
+
+ +

◆ highp_u32vec2

+ +
+
+ + + + +
typedef vec< 2, u32, highp > highp_u32vec2
+
+ +

High qualifier 32 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 375 of file fwd.hpp.

+ +
+
+ +

◆ highp_u32vec3

+ +
+
+ + + + +
typedef vec< 3, u32, highp > highp_u32vec3
+
+ +

High qualifier 32 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 376 of file fwd.hpp.

+ +
+
+ +

◆ highp_u32vec4

+ +
+
+ + + + +
typedef vec< 4, u32, highp > highp_u32vec4
+
+ +

High qualifier 32 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 377 of file fwd.hpp.

+ +
+
+ +

◆ highp_u64

+ +
+
+ + + + +
typedef detail::uint64 highp_u64
+
+ +

High qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 133 of file fwd.hpp.

+ +
+
+ +

◆ highp_u64vec1

+ +
+
+ + + + +
typedef vec< 1, u64, highp > highp_u64vec1
+
+ +

High qualifier 64 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 394 of file fwd.hpp.

+ +
+
+ +

◆ highp_u64vec2

+ +
+
+ + + + +
typedef vec< 2, u64, highp > highp_u64vec2
+
+ +

High qualifier 64 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 395 of file fwd.hpp.

+ +
+
+ +

◆ highp_u64vec3

+ +
+
+ + + + +
typedef vec< 3, u64, highp > highp_u64vec3
+
+ +

High qualifier 64 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 396 of file fwd.hpp.

+ +
+
+ +

◆ highp_u64vec4

+ +
+
+ + + + +
typedef vec< 4, u64, highp > highp_u64vec4
+
+ +

High qualifier 64 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 397 of file fwd.hpp.

+ +
+
+ +

◆ highp_u8

+ +
+
+ + + + +
typedef detail::uint8 highp_u8
+
+ +

High qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 91 of file fwd.hpp.

+ +
+
+ +

◆ highp_u8vec1

+ +
+
+ + + + +
typedef vec< 1, u8, highp > highp_u8vec1
+
+ +

High qualifier 8 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 334 of file fwd.hpp.

+ +
+
+ +

◆ highp_u8vec2

+ +
+
+ + + + +
typedef vec< 2, u8, highp > highp_u8vec2
+
+ +

High qualifier 8 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 335 of file fwd.hpp.

+ +
+
+ +

◆ highp_u8vec3

+ +
+
+ + + + +
typedef vec< 3, u8, highp > highp_u8vec3
+
+ +

High qualifier 8 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 336 of file fwd.hpp.

+ +
+
+ +

◆ highp_u8vec4

+ +
+
+ + + + +
typedef vec< 4, u8, highp > highp_u8vec4
+
+ +

High qualifier 8 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 337 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint16

+ +
+
+ + + + +
typedef detail::uint16 highp_uint16
+
+ +

High qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 110 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint16_t

+ +
+
+ + + + +
typedef detail::uint16 highp_uint16_t
+
+ +

High qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 114 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint32

+ +
+
+ + + + +
typedef detail::uint32 highp_uint32
+
+ +

High qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 124 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint32_t

+ +
+
+ + + + +
typedef detail::uint32 highp_uint32_t
+
+ +

High qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 128 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint64

+ +
+
+ + + + +
typedef detail::uint64 highp_uint64
+
+ +

High qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 138 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint64_t

+ +
+
+ + + + +
typedef detail::uint64 highp_uint64_t
+
+ +

High qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 142 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint8

+ +
+
+ + + + +
typedef detail::uint8 highp_uint8
+
+ +

High qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 96 of file fwd.hpp.

+ +
+
+ +

◆ highp_uint8_t

+ +
+
+ + + + +
typedef detail::uint8 highp_uint8_t
+
+ +

High qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 100 of file fwd.hpp.

+ +
+
+ +

◆ i16

+ +
+
+ + + + +
typedef detail::int16 i16
+
+ +

16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 48 of file fwd.hpp.

+ +
+
+ +

◆ i16vec1

+ +
+
+ + + + +
typedef vec< 1, i16, defaultp > i16vec1
+
+ +

16 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 257 of file fwd.hpp.

+ +
+
+ +

◆ i16vec2

+ +
+
+ + + + +
typedef vec< 2, i16, defaultp > i16vec2
+
+ +

16 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 258 of file fwd.hpp.

+ +
+
+ +

◆ i16vec3

+ +
+
+ + + + +
typedef vec< 3, i16, defaultp > i16vec3
+
+ +

16 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 259 of file fwd.hpp.

+ +
+
+ +

◆ i16vec4

+ +
+
+ + + + +
typedef vec< 4, i16, defaultp > i16vec4
+
+ +

16 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 260 of file fwd.hpp.

+ +
+
+ +

◆ i32

+ +
+
+ + + + +
typedef detail::int32 i32
+
+ +

32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 62 of file fwd.hpp.

+ +
+
+ +

◆ i32vec1

+ +
+
+ + + + +
typedef vec< 1, i32, defaultp > i32vec1
+
+ +

32 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 277 of file fwd.hpp.

+ +
+
+ +

◆ i32vec2

+ +
+
+ + + + +
typedef vec< 2, i32, defaultp > i32vec2
+
+ +

32 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 278 of file fwd.hpp.

+ +
+
+ +

◆ i32vec3

+ +
+
+ + + + +
typedef vec< 3, i32, defaultp > i32vec3
+
+ +

32 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 279 of file fwd.hpp.

+ +
+
+ +

◆ i32vec4

+ +
+
+ + + + +
typedef vec< 4, i32, defaultp > i32vec4
+
+ +

32 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 280 of file fwd.hpp.

+ +
+
+ +

◆ i64

+ +
+
+ + + + +
typedef detail::int64 i64
+
+ +

64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 76 of file fwd.hpp.

+ +
+
+ +

◆ i64vec1

+ +
+
+ + + + +
typedef vec< 1, i64, defaultp > i64vec1
+
+ +

64 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 297 of file fwd.hpp.

+ +
+
+ +

◆ i64vec2

+ +
+
+ + + + +
typedef vec< 2, i64, defaultp > i64vec2
+
+ +

64 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 298 of file fwd.hpp.

+ +
+
+ +

◆ i64vec3

+ +
+
+ + + + +
typedef vec< 3, i64, defaultp > i64vec3
+
+ +

64 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 299 of file fwd.hpp.

+ +
+
+ +

◆ i64vec4

+ +
+
+ + + + +
typedef vec< 4, i64, defaultp > i64vec4
+
+ +

64 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 300 of file fwd.hpp.

+ +
+
+ +

◆ i8

+ +
+
+ + + + +
typedef detail::int8 i8
+
+ +

8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 34 of file fwd.hpp.

+ +
+
+ +

◆ i8vec1

+ +
+
+ + + + +
typedef vec< 1, i8, defaultp > i8vec1
+
+ +

8 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 237 of file fwd.hpp.

+ +
+
+ +

◆ i8vec2

+ +
+
+ + + + +
typedef vec< 2, i8, defaultp > i8vec2
+
+ +

8 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 238 of file fwd.hpp.

+ +
+
+ +

◆ i8vec3

+ +
+
+ + + + +
typedef vec< 3, i8, defaultp > i8vec3
+
+ +

8 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 239 of file fwd.hpp.

+ +
+
+ +

◆ i8vec4

+ +
+
+ + + + +
typedef vec< 4, i8, defaultp > i8vec4
+
+ +

8 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 240 of file fwd.hpp.

+ +
+
+ +

◆ int16_t

+ +
+
+ + + + +
typedef detail::int16 int16_t
+
+ +

16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 57 of file fwd.hpp.

+ +
+
+ +

◆ int32_t

+ +
+
+ + + + +
typedef detail::int32 int32_t
+
+ +

32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 71 of file fwd.hpp.

+ +
+
+ +

◆ int64_t

+ +
+
+ + + + +
typedef detail::int64 int64_t
+
+ +

64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 85 of file fwd.hpp.

+ +
+
+ +

◆ int8_t

+ +
+
+ + + + +
typedef detail::int8 int8_t
+
+ +

8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 43 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32

+ +
+
+ + + + +
typedef float32 lowp_f32
+
+ +

Low 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 147 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat2

+ +
+
+ + + + +
typedef lowp_f32mat2x2 lowp_f32mat2
+
+ +

Low single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 540 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, lowp > lowp_f32mat2x2
+
+ +

Low single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 670 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, lowp > lowp_f32mat2x3
+
+ +

Low single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 671 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, lowp > lowp_f32mat2x4
+
+ +

Low single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 672 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat3

+ +
+
+ + + + +
typedef lowp_f32mat3x3 lowp_f32mat3
+
+ +

Low single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 541 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, lowp > lowp_f32mat3x2
+
+ +

Low single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 673 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, lowp > lowp_f32mat3x3
+
+ +

Low single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 674 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, lowp > lowp_f32mat3x4
+
+ +

Low single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 675 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat4

+ +
+
+ + + + +
typedef lowp_f32mat4x4 lowp_f32mat4
+
+ +

Low single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 542 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, lowp > lowp_f32mat4x2
+
+ +

Low single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 676 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, lowp > lowp_f32mat4x3
+
+ +

Low single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 677 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, lowp > lowp_f32mat4x4
+
+ +

Low single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 678 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32quat

+ +
+
+ + + + +
typedef qua< f32, lowp > lowp_f32quat
+
+ +

Low single-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 802 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32vec1

+ +
+
+ + + + +
typedef vec< 1, f32, lowp > lowp_f32vec1
+
+ +

Low single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 446 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32vec2

+ +
+
+ + + + +
typedef vec< 2, f32, lowp > lowp_f32vec2
+
+ +

Low single-qualifier floating-point vector of 2 components.

+
See also
core_precision
+ +

Definition at line 447 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32vec3

+ +
+
+ + + + +
typedef vec< 3, f32, lowp > lowp_f32vec3
+
+ +

Low single-qualifier floating-point vector of 3 components.

+
See also
core_precision
+ +

Definition at line 448 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f32vec4

+ +
+
+ + + + +
typedef vec< 4, f32, lowp > lowp_f32vec4
+
+ +

Low single-qualifier floating-point vector of 4 components.

+
See also
core_precision
+ +

Definition at line 449 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64

+ +
+
+ + + + +
typedef float64 lowp_f64
+
+ +

Low 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 163 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat2

+ +
+
+ + + + +
typedef lowp_f64mat2x2 lowp_f64mat2
+
+ +

Low double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 572 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, lowp > lowp_f64mat2x2
+
+ +

Low double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 750 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f64, lowp > lowp_f64mat2x3
+
+ +

Low double-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 751 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f64, lowp > lowp_f64mat2x4
+
+ +

Low double-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 752 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat3

+ +
+
+ + + + +
typedef lowp_f64mat3x3 lowp_f64mat3
+
+ +

Low double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 573 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f64, lowp > lowp_f64mat3x2
+
+ +

Low double-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 753 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, lowp > lowp_f64mat3x3
+
+ +

Low double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 754 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f64, lowp > lowp_f64mat3x4
+
+ +

Low double-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 755 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat4

+ +
+
+ + + + +
typedef lowp_f64mat4x4 lowp_f64mat4
+
+ +

Low double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 574 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f64, lowp > lowp_f64mat4x2
+
+ +

Low double-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 756 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f64, lowp > lowp_f64mat4x3
+
+ +

Low double-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 757 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, lowp > lowp_f64mat4x4
+
+ +

Low double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 758 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64quat

+ +
+
+ + + + +
typedef qua< f64, lowp > lowp_f64quat
+
+ +

Low double-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 812 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64vec1

+ +
+
+ + + + +
typedef vec< 1, f64, lowp > lowp_f64vec1
+
+ +

Low double-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 486 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64vec2

+ +
+
+ + + + +
typedef vec< 2, f64, lowp > lowp_f64vec2
+
+ +

Low double-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 487 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64vec3

+ +
+
+ + + + +
typedef vec< 3, f64, lowp > lowp_f64vec3
+
+ +

Low double-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 488 of file fwd.hpp.

+ +
+
+ +

◆ lowp_f64vec4

+ +
+
+ + + + +
typedef vec< 4, f64, lowp > lowp_f64vec4
+
+ +

Low double-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 489 of file fwd.hpp.

+ +
+
+ +

◆ lowp_float32

+ +
+
+ + + + +
typedef float32 lowp_float32
+
+ +

Low 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 152 of file fwd.hpp.

+ +
+
+ +

◆ lowp_float32_t

+ +
+
+ + + + +
typedef float32 lowp_float32_t
+
+ +

Low 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 157 of file fwd.hpp.

+ +
+
+ +

◆ lowp_float64

+ +
+
+ + + + +
typedef float64 lowp_float64
+
+ +

Low 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 168 of file fwd.hpp.

+ +
+
+ +

◆ lowp_float64_t

+ +
+
+ + + + +
typedef float64 lowp_float64_t
+
+ +

Low 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 173 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat2

+ +
+
+ + + + +
typedef lowp_fmat2x2 lowp_fmat2
+
+ +

Low single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 524 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, lowp > lowp_fmat2x2
+
+ +

Low single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 630 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, lowp > lowp_fmat2x3
+
+ +

Low single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 631 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, lowp > lowp_fmat2x4
+
+ +

Low single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 632 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat3

+ +
+
+ + + + +
typedef lowp_fmat3x3 lowp_fmat3
+
+ +

Low single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 525 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, lowp > lowp_fmat3x2
+
+ +

Low single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 633 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, lowp > lowp_fmat3x3
+
+ +

Low single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 634 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, lowp > lowp_fmat3x4
+
+ +

Low single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 635 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat4

+ +
+
+ + + + +
typedef lowp_fmat4x4 lowp_fmat4
+
+ +

Low single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 526 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, lowp > lowp_fmat4x2
+
+ +

Low single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 636 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, lowp > lowp_fmat4x3
+
+ +

Low single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 637 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, lowp > lowp_fmat4x4
+
+ +

Low single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 638 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fvec1

+ +
+
+ + + + +
typedef vec< 1, float, lowp > lowp_fvec1
+
+ +

Low single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 426 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fvec2

+ +
+
+ + + + +
typedef vec< 2, float, lowp > lowp_fvec2
+
+ +

Low single-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 427 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fvec3

+ +
+
+ + + + +
typedef vec< 3, float, lowp > lowp_fvec3
+
+ +

Low single-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 428 of file fwd.hpp.

+ +
+
+ +

◆ lowp_fvec4

+ +
+
+ + + + +
typedef vec< 4, float, lowp > lowp_fvec4
+
+ +

Low single-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 429 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i16

+ +
+
+ + + + +
typedef detail::int16 lowp_i16
+
+ +

Low qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 45 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i16vec1

+ +
+
+ + + + +
typedef vec< 1, i16, lowp > lowp_i16vec1
+
+ +

Low qualifier 16 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 242 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i16vec2

+ +
+
+ + + + +
typedef vec< 2, i16, lowp > lowp_i16vec2
+
+ +

Low qualifier 16 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 243 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i16vec3

+ +
+
+ + + + +
typedef vec< 3, i16, lowp > lowp_i16vec3
+
+ +

Low qualifier 16 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 244 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i16vec4

+ +
+
+ + + + +
typedef vec< 4, i16, lowp > lowp_i16vec4
+
+ +

Low qualifier 16 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 245 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i32

+ +
+
+ + + + +
typedef detail::int32 lowp_i32
+
+ +

Low qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 59 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i32vec1

+ +
+
+ + + + +
typedef vec< 1, i32, lowp > lowp_i32vec1
+
+ +

Low qualifier 32 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 262 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i32vec2

+ +
+
+ + + + +
typedef vec< 2, i32, lowp > lowp_i32vec2
+
+ +

Low qualifier 32 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 263 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i32vec3

+ +
+
+ + + + +
typedef vec< 3, i32, lowp > lowp_i32vec3
+
+ +

Low qualifier 32 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 264 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i32vec4

+ +
+
+ + + + +
typedef vec< 4, i32, lowp > lowp_i32vec4
+
+ +

Low qualifier 32 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 265 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i64

+ +
+
+ + + + +
typedef detail::int64 lowp_i64
+
+ +

Low qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 73 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i64vec1

+ +
+
+ + + + +
typedef vec< 1, i64, lowp > lowp_i64vec1
+
+ +

Low qualifier 64 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 282 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i64vec2

+ +
+
+ + + + +
typedef vec< 2, i64, lowp > lowp_i64vec2
+
+ +

Low qualifier 64 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 283 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i64vec3

+ +
+
+ + + + +
typedef vec< 3, i64, lowp > lowp_i64vec3
+
+ +

Low qualifier 64 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 284 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i64vec4

+ +
+
+ + + + +
typedef vec< 4, i64, lowp > lowp_i64vec4
+
+ +

Low qualifier 64 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 285 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i8

+ +
+
+ + + + +
typedef detail::int8 lowp_i8
+
+ +

Low qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 31 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i8vec1

+ +
+
+ + + + +
typedef vec< 1, i8, lowp > lowp_i8vec1
+
+ +

Low qualifier 8 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 222 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i8vec2

+ +
+
+ + + + +
typedef vec< 2, i8, lowp > lowp_i8vec2
+
+ +

Low qualifier 8 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 223 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i8vec3

+ +
+
+ + + + +
typedef vec< 3, i8, lowp > lowp_i8vec3
+
+ +

Low qualifier 8 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 224 of file fwd.hpp.

+ +
+
+ +

◆ lowp_i8vec4

+ +
+
+ + + + +
typedef vec< 4, i8, lowp > lowp_i8vec4
+
+ +

Low qualifier 8 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 225 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int16

+ +
+
+ + + + +
typedef detail::int16 lowp_int16
+
+ +

Low qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 50 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int16_t

+ +
+
+ + + + +
typedef detail::int16 lowp_int16_t
+
+ +

Low qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 54 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int32

+ +
+
+ + + + +
typedef detail::int32 lowp_int32
+
+ +

Low qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 64 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int32_t

+ +
+
+ + + + +
typedef detail::int32 lowp_int32_t
+
+ +

Low qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 68 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int64

+ +
+
+ + + + +
typedef detail::int64 lowp_int64
+
+ +

Low qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 78 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int64_t

+ +
+
+ + + + +
typedef detail::int64 lowp_int64_t
+
+ +

Low qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 82 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int8

+ +
+
+ + + + +
typedef detail::int8 lowp_int8
+
+ +

Low qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 36 of file fwd.hpp.

+ +
+
+ +

◆ lowp_int8_t

+ +
+
+ + + + +
typedef detail::int8 lowp_int8_t
+
+ +

Low qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 40 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u16

+ +
+
+ + + + +
typedef detail::uint16 lowp_u16
+
+ +

Low qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 103 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u16vec1

+ +
+
+ + + + +
typedef vec< 1, u16, lowp > lowp_u16vec1
+
+ +

Low qualifier 16 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 344 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u16vec2

+ +
+
+ + + + +
typedef vec< 2, u16, lowp > lowp_u16vec2
+
+ +

Low qualifier 16 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 345 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u16vec3

+ +
+
+ + + + +
typedef vec< 3, u16, lowp > lowp_u16vec3
+
+ +

Low qualifier 16 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 346 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u16vec4

+ +
+
+ + + + +
typedef vec< 4, u16, lowp > lowp_u16vec4
+
+ +

Low qualifier 16 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 347 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u32

+ +
+
+ + + + +
typedef detail::uint32 lowp_u32
+
+ +

Low qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 117 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u32vec1

+ +
+
+ + + + +
typedef vec< 1, u32, lowp > lowp_u32vec1
+
+ +

Low qualifier 32 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 364 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u32vec2

+ +
+
+ + + + +
typedef vec< 2, u32, lowp > lowp_u32vec2
+
+ +

Low qualifier 32 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 365 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u32vec3

+ +
+
+ + + + +
typedef vec< 3, u32, lowp > lowp_u32vec3
+
+ +

Low qualifier 32 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 366 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u32vec4

+ +
+
+ + + + +
typedef vec< 4, u32, lowp > lowp_u32vec4
+
+ +

Low qualifier 32 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 367 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u64

+ +
+
+ + + + +
typedef detail::uint64 lowp_u64
+
+ +

Low qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 131 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u64vec1

+ +
+
+ + + + +
typedef vec< 1, u64, lowp > lowp_u64vec1
+
+ +

Low qualifier 64 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 384 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u64vec2

+ +
+
+ + + + +
typedef vec< 2, u64, lowp > lowp_u64vec2
+
+ +

Low qualifier 64 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 385 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u64vec3

+ +
+
+ + + + +
typedef vec< 3, u64, lowp > lowp_u64vec3
+
+ +

Low qualifier 64 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 386 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u64vec4

+ +
+
+ + + + +
typedef vec< 4, u64, lowp > lowp_u64vec4
+
+ +

Low qualifier 64 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 387 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u8

+ +
+
+ + + + +
typedef detail::uint8 lowp_u8
+
+ +

Low qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 89 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u8vec1

+ +
+
+ + + + +
typedef vec< 1, u8, lowp > lowp_u8vec1
+
+ +

Low qualifier 8 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 324 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u8vec2

+ +
+
+ + + + +
typedef vec< 2, u8, lowp > lowp_u8vec2
+
+ +

Low qualifier 8 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 325 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u8vec3

+ +
+
+ + + + +
typedef vec< 3, u8, lowp > lowp_u8vec3
+
+ +

Low qualifier 8 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 326 of file fwd.hpp.

+ +
+
+ +

◆ lowp_u8vec4

+ +
+
+ + + + +
typedef vec< 4, u8, lowp > lowp_u8vec4
+
+ +

Low qualifier 8 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 327 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint16

+ +
+
+ + + + +
typedef detail::uint16 lowp_uint16
+
+ +

Low qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 108 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint16_t

+ +
+
+ + + + +
typedef detail::uint16 lowp_uint16_t
+
+ +

Low qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 112 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint32

+ +
+
+ + + + +
typedef detail::uint32 lowp_uint32
+
+ +

Low qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 122 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint32_t

+ +
+
+ + + + +
typedef detail::uint32 lowp_uint32_t
+
+ +

Low qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 126 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint64

+ +
+
+ + + + +
typedef detail::uint64 lowp_uint64
+
+ +

Low qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 136 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint64_t

+ +
+
+ + + + +
typedef detail::uint64 lowp_uint64_t
+
+ +

Low qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 140 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint8

+ +
+
+ + + + +
typedef detail::uint8 lowp_uint8
+
+ +

Low qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 94 of file fwd.hpp.

+ +
+
+ +

◆ lowp_uint8_t

+ +
+
+ + + + +
typedef detail::uint8 lowp_uint8_t
+
+ +

Low qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 98 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32

+ +
+
+ + + + +
typedef float32 mediump_f32
+
+ +

Medium 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 148 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat2

+ +
+
+ + + + +
typedef mediump_f32mat2x2 mediump_f32mat2
+
+ +

Medium single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Medium single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 544 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, mediump > mediump_f32mat2x2
+
+ +

High single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Low single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 680 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, mediump > mediump_f32mat2x3
+
+ +

Medium single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 681 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, mediump > mediump_f32mat2x4
+
+ +

Medium single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 682 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat3

+ +
+
+ + + + +
typedef mediump_f32mat3x3 mediump_f32mat3
+
+ +

Medium single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 545 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, mediump > mediump_f32mat3x2
+
+ +

Medium single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 683 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, mediump > mediump_f32mat3x3
+
+ +

Medium single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 684 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, mediump > mediump_f32mat3x4
+
+ +

Medium single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 685 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat4

+ +
+
+ + + + +
typedef mediump_f32mat4x4 mediump_f32mat4
+
+ +

Medium single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 546 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, mediump > mediump_f32mat4x2
+
+ +

Medium single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 686 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, mediump > mediump_f32mat4x3
+
+ +

Medium single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 687 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, mediump > mediump_f32mat4x4
+
+ +

Medium single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 688 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32quat

+ +
+
+ + + + +
typedef qua< f32, mediump > mediump_f32quat
+
+ +

Medium single-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 803 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32vec1

+ +
+
+ + + + +
typedef vec< 1, f32, mediump > mediump_f32vec1
+
+ +

Medium single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 451 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32vec2

+ +
+
+ + + + +
typedef vec< 2, f32, mediump > mediump_f32vec2
+
+ +

Medium single-qualifier floating-point vector of 2 components.

+
See also
core_precision
+ +

Definition at line 452 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32vec3

+ +
+
+ + + + +
typedef vec< 3, f32, mediump > mediump_f32vec3
+
+ +

Medium single-qualifier floating-point vector of 3 components.

+
See also
core_precision
+ +

Definition at line 453 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f32vec4

+ +
+
+ + + + +
typedef vec< 4, f32, mediump > mediump_f32vec4
+
+ +

Medium single-qualifier floating-point vector of 4 components.

+
See also
core_precision
+ +

Definition at line 454 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64

+ +
+
+ + + + +
typedef float64 mediump_f64
+
+ +

Medium 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 164 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat2

+ +
+
+ + + + +
typedef mediump_f64mat2x2 mediump_f64mat2
+
+ +

Medium double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Medium double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 576 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, mediump > mediump_f64mat2x2
+
+ +

Medium double-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Medium double-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 760 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f64, mediump > mediump_f64mat2x3
+
+ +

Medium double-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 761 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f64, mediump > mediump_f64mat2x4
+
+ +

Medium double-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 762 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat3

+ +
+
+ + + + +
typedef mediump_f64mat3x3 mediump_f64mat3
+
+ +

Medium double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 577 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f64, mediump > mediump_f64mat3x2
+
+ +

Medium double-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 763 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, mediump > mediump_f64mat3x3
+
+ +

Medium double-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 764 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f64, mediump > mediump_f64mat3x4
+
+ +

Medium double-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 765 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat4

+ +
+
+ + + + +
typedef mediump_f64mat4x4 mediump_f64mat4
+
+ +

Medium double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 578 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f64, mediump > mediump_f64mat4x2
+
+ +

Medium double-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 766 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f64, mediump > mediump_f64mat4x3
+
+ +

Medium double-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 767 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, mediump > mediump_f64mat4x4
+
+ +

Medium double-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 768 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64quat

+ +
+
+ + + + +
typedef qua< f64, mediump > mediump_f64quat
+
+ +

Medium double-qualifier floating-point quaternion.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 813 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64vec1

+ +
+
+ + + + +
typedef vec< 1, f64, mediump > mediump_f64vec1
+
+ +

Medium double-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 491 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64vec2

+ +
+
+ + + + +
typedef vec< 2, f64, mediump > mediump_f64vec2
+
+ +

Medium double-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 492 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64vec3

+ +
+
+ + + + +
typedef vec< 3, f64, mediump > mediump_f64vec3
+
+ +

Medium double-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 493 of file fwd.hpp.

+ +
+
+ +

◆ mediump_f64vec4

+ +
+
+ + + + +
typedef vec< 4, f64, mediump > mediump_f64vec4
+
+ +

Medium double-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 494 of file fwd.hpp.

+ +
+
+ +

◆ mediump_float32

+ +
+
+ + + + +
typedef float32 mediump_float32
+
+ +

Medium 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 153 of file fwd.hpp.

+ +
+
+ +

◆ mediump_float32_t

+ +
+
+ + + + +
typedef float32 mediump_float32_t
+
+ +

Medium 32 bit single-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 158 of file fwd.hpp.

+ +
+
+ +

◆ mediump_float64

+ +
+
+ + + + +
typedef float64 mediump_float64
+
+ +

Medium 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 169 of file fwd.hpp.

+ +
+
+ +

◆ mediump_float64_t

+ +
+
+ + + + +
typedef float64 mediump_float64_t
+
+ +

Medium 64 bit double-qualifier floating-point scalar.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 174 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat2

+ +
+
+ + + + +
typedef mediump_fmat2x2 mediump_fmat2
+
+ +

Medium single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Medium single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 528 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, mediump > mediump_fmat2x2
+
+ +

Medium single-qualifier floating-point 1x1 matrix.

+
See also
GLM_GTC_type_precision Medium single-qualifier floating-point 2x2 matrix.
+
+GLM_GTC_type_precision
+ +

Definition at line 640 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, mediump > mediump_fmat2x3
+
+ +

Medium single-qualifier floating-point 2x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 641 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, mediump > mediump_fmat2x4
+
+ +

Medium single-qualifier floating-point 2x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 642 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat3

+ +
+
+ + + + +
typedef mediump_fmat3x3 mediump_fmat3
+
+ +

Medium single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 529 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, mediump > mediump_fmat3x2
+
+ +

Medium single-qualifier floating-point 3x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 643 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, mediump > mediump_fmat3x3
+
+ +

Medium single-qualifier floating-point 3x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 644 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, mediump > mediump_fmat3x4
+
+ +

Medium single-qualifier floating-point 3x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 645 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat4

+ +
+
+ + + + +
typedef mediump_fmat4x4 mediump_fmat4
+
+ +

Medium single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 530 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, mediump > mediump_fmat4x2
+
+ +

Medium single-qualifier floating-point 4x2 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 646 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, mediump > mediump_fmat4x3
+
+ +

Medium single-qualifier floating-point 4x3 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 647 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, mediump > mediump_fmat4x4
+
+ +

Medium single-qualifier floating-point 4x4 matrix.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 648 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fvec1

+ +
+
+ + + + +
typedef vec< 1, float, mediump > mediump_fvec1
+
+ +

Medium single-qualifier floating-point vector of 1 component.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 431 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fvec2

+ +
+
+ + + + +
typedef vec< 2, float, mediump > mediump_fvec2
+
+ +

Medium Single-qualifier floating-point vector of 2 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 432 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fvec3

+ +
+
+ + + + +
typedef vec< 3, float, mediump > mediump_fvec3
+
+ +

Medium Single-qualifier floating-point vector of 3 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 433 of file fwd.hpp.

+ +
+
+ +

◆ mediump_fvec4

+ +
+
+ + + + +
typedef vec< 4, float, mediump > mediump_fvec4
+
+ +

Medium Single-qualifier floating-point vector of 4 components.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 434 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i16

+ +
+
+ + + + +
typedef detail::int16 mediump_i16
+
+ +

Medium qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 46 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i16vec1

+ +
+
+ + + + +
typedef vec< 1, i16, mediump > mediump_i16vec1
+
+ +

Medium qualifier 16 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 247 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i16vec2

+ +
+
+ + + + +
typedef vec< 2, i16, mediump > mediump_i16vec2
+
+ +

Medium qualifier 16 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 248 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i16vec3

+ +
+
+ + + + +
typedef vec< 3, i16, mediump > mediump_i16vec3
+
+ +

Medium qualifier 16 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 249 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i16vec4

+ +
+
+ + + + +
typedef vec< 4, i16, mediump > mediump_i16vec4
+
+ +

Medium qualifier 16 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 250 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i32

+ +
+
+ + + + +
typedef detail::int32 mediump_i32
+
+ +

Medium qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 60 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i32vec1

+ +
+
+ + + + +
typedef vec< 1, i32, mediump > mediump_i32vec1
+
+ +

Medium qualifier 32 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 267 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i32vec2

+ +
+
+ + + + +
typedef vec< 2, i32, mediump > mediump_i32vec2
+
+ +

Medium qualifier 32 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 268 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i32vec3

+ +
+
+ + + + +
typedef vec< 3, i32, mediump > mediump_i32vec3
+
+ +

Medium qualifier 32 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 269 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i32vec4

+ +
+
+ + + + +
typedef vec< 4, i32, mediump > mediump_i32vec4
+
+ +

Medium qualifier 32 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 270 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i64

+ +
+
+ + + + +
typedef detail::int64 mediump_i64
+
+ +

Medium qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 74 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i64vec1

+ +
+
+ + + + +
typedef vec< 1, i64, mediump > mediump_i64vec1
+
+ +

Medium qualifier 64 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 287 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i64vec2

+ +
+
+ + + + +
typedef vec< 2, i64, mediump > mediump_i64vec2
+
+ +

Medium qualifier 64 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 288 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i64vec3

+ +
+
+ + + + +
typedef vec< 3, i64, mediump > mediump_i64vec3
+
+ +

Medium qualifier 64 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 289 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i64vec4

+ +
+
+ + + + +
typedef vec< 4, i64, mediump > mediump_i64vec4
+
+ +

Medium qualifier 64 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 290 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i8

+ +
+
+ + + + +
typedef detail::int8 mediump_i8
+
+ +

Medium qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 32 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i8vec1

+ +
+
+ + + + +
typedef vec< 1, i8, mediump > mediump_i8vec1
+
+ +

Medium qualifier 8 bit signed integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 227 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i8vec2

+ +
+
+ + + + +
typedef vec< 2, i8, mediump > mediump_i8vec2
+
+ +

Medium qualifier 8 bit signed integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 228 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i8vec3

+ +
+
+ + + + +
typedef vec< 3, i8, mediump > mediump_i8vec3
+
+ +

Medium qualifier 8 bit signed integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 229 of file fwd.hpp.

+ +
+
+ +

◆ mediump_i8vec4

+ +
+
+ + + + +
typedef vec< 4, i8, mediump > mediump_i8vec4
+
+ +

Medium qualifier 8 bit signed integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 230 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int16

+ +
+
+ + + + +
typedef detail::int16 mediump_int16
+
+ +

Medium qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 51 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int16_t

+ +
+
+ + + + +
typedef detail::int16 mediump_int16_t
+
+ +

Medium qualifier 16 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 55 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int32

+ +
+
+ + + + +
typedef detail::int32 mediump_int32
+
+ +

Medium qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 65 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int32_t

+ +
+
+ + + + +
typedef detail::int32 mediump_int32_t
+
+ +

Medium qualifier 32 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 69 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int64

+ +
+
+ + + + +
typedef detail::int64 mediump_int64
+
+ +

Medium qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 79 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int64_t

+ +
+
+ + + + +
typedef detail::int64 mediump_int64_t
+
+ +

Medium qualifier 64 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 83 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int8

+ +
+
+ + + + +
typedef detail::int8 mediump_int8
+
+ +

Medium qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 37 of file fwd.hpp.

+ +
+
+ +

◆ mediump_int8_t

+ +
+
+ + + + +
typedef detail::int8 mediump_int8_t
+
+ +

Medium qualifier 8 bit signed integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 41 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u16

+ +
+
+ + + + +
typedef detail::uint16 mediump_u16
+
+ +

Medium qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 104 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u16vec1

+ +
+
+ + + + +
typedef vec< 1, u16, mediump > mediump_u16vec1
+
+ +

Medium qualifier 16 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 349 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u16vec2

+ +
+
+ + + + +
typedef vec< 2, u16, mediump > mediump_u16vec2
+
+ +

Medium qualifier 16 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 350 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u16vec3

+ +
+
+ + + + +
typedef vec< 3, u16, mediump > mediump_u16vec3
+
+ +

Medium qualifier 16 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 351 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u16vec4

+ +
+
+ + + + +
typedef vec< 4, u16, mediump > mediump_u16vec4
+
+ +

Medium qualifier 16 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 352 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u32

+ +
+
+ + + + +
typedef detail::uint32 mediump_u32
+
+ +

Medium qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 118 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u32vec1

+ +
+
+ + + + +
typedef vec< 1, u32, mediump > mediump_u32vec1
+
+ +

Medium qualifier 32 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 369 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u32vec2

+ +
+
+ + + + +
typedef vec< 2, u32, mediump > mediump_u32vec2
+
+ +

Medium qualifier 32 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 370 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u32vec3

+ +
+
+ + + + +
typedef vec< 3, u32, mediump > mediump_u32vec3
+
+ +

Medium qualifier 32 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 371 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u32vec4

+ +
+
+ + + + +
typedef vec< 4, u32, mediump > mediump_u32vec4
+
+ +

Medium qualifier 32 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 372 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u64

+ +
+
+ + + + +
typedef detail::uint64 mediump_u64
+
+ +

Medium qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 132 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u64vec1

+ +
+
+ + + + +
typedef vec< 1, u64, mediump > mediump_u64vec1
+
+ +

Medium qualifier 64 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 389 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u64vec2

+ +
+
+ + + + +
typedef vec< 2, u64, mediump > mediump_u64vec2
+
+ +

Medium qualifier 64 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 390 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u64vec3

+ +
+
+ + + + +
typedef vec< 3, u64, mediump > mediump_u64vec3
+
+ +

Medium qualifier 64 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 391 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u64vec4

+ +
+
+ + + + +
typedef vec< 4, u64, mediump > mediump_u64vec4
+
+ +

Medium qualifier 64 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 392 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u8

+ +
+
+ + + + +
typedef detail::uint8 mediump_u8
+
+ +

Medium qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 90 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u8vec1

+ +
+
+ + + + +
typedef vec< 1, u8, mediump > mediump_u8vec1
+
+ +

Medium qualifier 8 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 329 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u8vec2

+ +
+
+ + + + +
typedef vec< 2, u8, mediump > mediump_u8vec2
+
+ +

Medium qualifier 8 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 330 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u8vec3

+ +
+
+ + + + +
typedef vec< 3, u8, mediump > mediump_u8vec3
+
+ +

Medium qualifier 8 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 331 of file fwd.hpp.

+ +
+
+ +

◆ mediump_u8vec4

+ +
+
+ + + + +
typedef vec< 4, u8, mediump > mediump_u8vec4
+
+ +

Medium qualifier 8 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 332 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint16

+ +
+
+ + + + +
typedef detail::uint16 mediump_uint16
+
+ +

Medium qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 109 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint16_t

+ +
+
+ + + + +
typedef detail::uint16 mediump_uint16_t
+
+ +

Medium qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 113 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint32

+ +
+
+ + + + +
typedef detail::uint32 mediump_uint32
+
+ +

Medium qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 123 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint32_t

+ +
+
+ + + + +
typedef detail::uint32 mediump_uint32_t
+
+ +

Medium qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 127 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint64

+ +
+
+ + + + +
typedef detail::uint64 mediump_uint64
+
+ +

Medium qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 137 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint64_t

+ +
+
+ + + + +
typedef detail::uint64 mediump_uint64_t
+
+ +

Medium qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 141 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint8

+ +
+
+ + + + +
typedef detail::uint8 mediump_uint8
+
+ +

Medium qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 95 of file fwd.hpp.

+ +
+
+ +

◆ mediump_uint8_t

+ +
+
+ + + + +
typedef detail::uint8 mediump_uint8_t
+
+ +

Medium qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 99 of file fwd.hpp.

+ +
+
+ +

◆ u16

+ +
+
+ + + + +
typedef detail::uint16 u16
+
+ +

Default qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 106 of file fwd.hpp.

+ +
+
+ +

◆ u16vec1

+ +
+
+ + + + +
typedef vec< 1, u16, defaultp > u16vec1
+
+ +

Default qualifier 16 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 359 of file fwd.hpp.

+ +
+
+ +

◆ u16vec2

+ +
+
+ + + + +
typedef vec< 2, u16, defaultp > u16vec2
+
+ +

Default qualifier 16 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 360 of file fwd.hpp.

+ +
+
+ +

◆ u16vec3

+ +
+
+ + + + +
typedef vec< 3, u16, defaultp > u16vec3
+
+ +

Default qualifier 16 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 361 of file fwd.hpp.

+ +
+
+ +

◆ u16vec4

+ +
+
+ + + + +
typedef vec< 4, u16, defaultp > u16vec4
+
+ +

Default qualifier 16 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 362 of file fwd.hpp.

+ +
+
+ +

◆ u32

+ +
+
+ + + + +
typedef detail::uint32 u32
+
+ +

Default qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 120 of file fwd.hpp.

+ +
+
+ +

◆ u32vec1

+ +
+
+ + + + +
typedef vec< 1, u32, defaultp > u32vec1
+
+ +

Default qualifier 32 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 379 of file fwd.hpp.

+ +
+
+ +

◆ u32vec2

+ +
+
+ + + + +
typedef vec< 2, u32, defaultp > u32vec2
+
+ +

Default qualifier 32 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 380 of file fwd.hpp.

+ +
+
+ +

◆ u32vec3

+ +
+
+ + + + +
typedef vec< 3, u32, defaultp > u32vec3
+
+ +

Default qualifier 32 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 381 of file fwd.hpp.

+ +
+
+ +

◆ u32vec4

+ +
+
+ + + + +
typedef vec< 4, u32, defaultp > u32vec4
+
+ +

Default qualifier 32 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 382 of file fwd.hpp.

+ +
+
+ +

◆ u64

+ +
+
+ + + + +
typedef detail::uint64 u64
+
+ +

Default qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 134 of file fwd.hpp.

+ +
+
+ +

◆ u64vec1

+ +
+
+ + + + +
typedef vec< 1, u64, defaultp > u64vec1
+
+ +

Default qualifier 64 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 399 of file fwd.hpp.

+ +
+
+ +

◆ u64vec2

+ +
+
+ + + + +
typedef vec< 2, u64, defaultp > u64vec2
+
+ +

Default qualifier 64 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 400 of file fwd.hpp.

+ +
+
+ +

◆ u64vec3

+ +
+
+ + + + +
typedef vec< 3, u64, defaultp > u64vec3
+
+ +

Default qualifier 64 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 401 of file fwd.hpp.

+ +
+
+ +

◆ u64vec4

+ +
+
+ + + + +
typedef vec< 4, u64, defaultp > u64vec4
+
+ +

Default qualifier 64 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 402 of file fwd.hpp.

+ +
+
+ +

◆ u8

+ +
+
+ + + + +
typedef detail::uint8 u8
+
+ +

Default qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 92 of file fwd.hpp.

+ +
+
+ +

◆ u8vec1

+ +
+
+ + + + +
typedef vec< 1, u8, defaultp > u8vec1
+
+ +

Default qualifier 8 bit unsigned integer scalar type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 339 of file fwd.hpp.

+ +
+
+ +

◆ u8vec2

+ +
+
+ + + + +
typedef vec< 2, u8, defaultp > u8vec2
+
+ +

Default qualifier 8 bit unsigned integer vector of 2 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 340 of file fwd.hpp.

+ +
+
+ +

◆ u8vec3

+ +
+
+ + + + +
typedef vec< 3, u8, defaultp > u8vec3
+
+ +

Default qualifier 8 bit unsigned integer vector of 3 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 341 of file fwd.hpp.

+ +
+
+ +

◆ u8vec4

+ +
+
+ + + + +
typedef vec< 4, u8, defaultp > u8vec4
+
+ +

Default qualifier 8 bit unsigned integer vector of 4 components type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 342 of file fwd.hpp.

+ +
+
+ +

◆ uint16_t

+ +
+
+ + + + +
typedef detail::uint16 uint16_t
+
+ +

Default qualifier 16 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 115 of file fwd.hpp.

+ +
+
+ +

◆ uint32_t

+ +
+
+ + + + +
typedef detail::uint32 uint32_t
+
+ +

Default qualifier 32 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 129 of file fwd.hpp.

+ +
+
+ +

◆ uint64_t

+ +
+
+ + + + +
typedef detail::uint64 uint64_t
+
+ +

Default qualifier 64 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 143 of file fwd.hpp.

+ +
+
+ +

◆ uint8_t

+ +
+
+ + + + +
typedef detail::uint8 uint8_t
+
+ +

Default qualifier 8 bit unsigned integer type.

+
See also
GLM_GTC_type_precision
+ +

Definition at line 101 of file fwd.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00172.html b/doc/api/a00722.html similarity index 65% rename from doc/api/a00172.html rename to doc/api/a00722.html index 348fc590..9c452a98 100644 --- a/doc/api/a00172.html +++ b/doc/api/a00722.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_type_ptr @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTC_type_ptr
+
GLM_GTC_type_ptr
Recommended extensions
- -

Include <glm/gtc/type_ptr.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - + + + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2x2 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 2, 2, T, defaultp > make_mat2x2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 3, T, defaultp > make_mat2x3 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 2, 3, T, defaultp > make_mat2x3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 4, T, defaultp > make_mat2x4 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 2, 4, T, defaultp > make_mat2x4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 2, T, defaultp > make_mat3x2 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 3, 2, T, defaultp > make_mat3x2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3x3 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 3, 3, T, defaultp > make_mat3x3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 4, T, defaultp > make_mat3x4 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 3, 4, T, defaultp > make_mat3x4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 2, T, defaultp > make_mat4x2 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 4, 2, T, defaultp > make_mat4x2 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 3, T, defaultp > make_mat4x3 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 4, 3, T, defaultp > make_mat4x3 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4x4 (T const *const ptr)
 Build a matrix from a pointer. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > make_mat4x4 (T const *const ptr)
 
template<typename T >
GLM_FUNC_DECL tquat< T, defaultp > make_quat (T const *const ptr)
 Build a quaternion from a pointer. More...
 
template<typename T >
GLM_FUNC_DECL qua< T, defaultp > make_quat (T const *const ptr)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 1, T, Q > make_vec1 (vec< 4, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 2, T, Q > make_vec2 (vec< 4, T, Q > const &v)
 
template<typename T >
GLM_FUNC_DECL vec< 2, T, defaultp > make_vec2 (T const *const ptr)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 2, T, defaultp > make_vec2 (T const *const ptr)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 3, T, Q > make_vec3 (vec< 4, T, Q > const &v)
 
template<typename T >
GLM_FUNC_DECL vec< 3, T, defaultp > make_vec3 (T const *const ptr)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 3, T, defaultp > make_vec3 (T const *const ptr)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 1, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 1, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 2, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 3, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 4, T, Q > const &v)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 4, T, Q > make_vec4 (vec< 4, T, Q > const &v)
 
template<typename T >
GLM_FUNC_DECL vec< 4, T, defaultp > make_vec4 (T const *const ptr)
 Build a vector from a pointer. More...
GLM_FUNC_DECL vec< 4, T, defaultp > make_vec4 (T const *const ptr)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type const * value_ptr (genType const &v)
 Return the constant address to the data of the input parameter. More...
GLM_FUNC_DECL genType::value_type const * value_ptr (genType const &v)
 

Detailed Description

-

Include <glm/gtc/type_ptr.hpp> to use the features of this extension.

+

Include <glm/gtc/type_ptr.hpp> to use the features of this extension.

Handles the interaction between pointers and vector, matrix types.

-

This extension defines an overloaded function, glm::value_ptr, which takes any of the core template types. It returns a pointer to the memory layout of the object. Matrix types store their values in column-major order.

+

This extension defines an overloaded function, glm::value_ptr. It returns a pointer to the memory layout of the object. Matrix types store their values in column-major order.

This is useful for uploading data to matrices or copying data to buffer objects.

-

Example:

#include <glm/glm.hpp>
- -
-
glm::vec3 aVector(3);
-
glm::mat4 someMatrix(1.0);
-
-
glUniform3fv(uniformLoc, 1, glm::value_ptr(aVector));
-
glUniformMatrix4fv(uniformMatrixLoc, 1, GL_FALSE, glm::value_ptr(someMatrix));
-

<glm/gtc/type_ptr.hpp> need to be included to use the features of this extension.

+

Example:

#include <glm/glm.hpp>
glm::vec3 aVector(3);
glm::mat4 someMatrix(1.0);
glUniform3fv(uniformLoc, 1, glm::value_ptr(aVector));
glUniformMatrix4fv(uniformMatrixLoc, 1, GL_FALSE, glm::value_ptr(someMatrix));

<glm/gtc/type_ptr.hpp> need to be included to use the features of this extension.

Function Documentation

- + +

◆ make_mat2()

+
@@ -250,11 +195,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat2x2()

+
@@ -269,11 +216,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat2x3()

+
@@ -288,11 +237,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat2x4()

+
@@ -307,11 +258,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat3()

+
@@ -326,11 +279,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat3x2()

+
@@ -345,11 +300,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat3x3()

+
@@ -364,11 +321,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat3x4()

+
@@ -383,11 +342,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat4()

+
@@ -402,11 +363,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat4x2()

+
@@ -421,11 +384,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat4x3()

+
@@ -440,11 +405,13 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_mat4x4()

+
@@ -459,16 +426,18 @@ Functions

Build a matrix from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_quat()

+
- + @@ -478,11 +447,13 @@ Functions

Build a quaternion from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec1() [1/4]

+
GLM_FUNC_DECL tquat<T, defaultp> glm::make_quat GLM_FUNC_DECL qua<T, defaultp> glm::make_quat ( T const *const  ptr)
@@ -497,11 +468,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec1() [2/4]

+
@@ -516,11 +489,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec1() [3/4]

+
@@ -535,11 +510,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec1() [4/4]

+
@@ -554,11 +531,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec2() [1/5]

+
@@ -573,11 +552,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec2() [2/5]

+
@@ -592,11 +573,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec2() [3/5]

+
@@ -611,11 +594,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec2() [4/5]

+
@@ -630,11 +615,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec2() [5/5]

+
@@ -649,11 +636,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec3() [1/5]

+
@@ -668,11 +657,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec3() [2/5]

+
@@ -687,11 +678,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec3() [3/5]

+
@@ -706,11 +699,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec3() [4/5]

+
@@ -725,11 +720,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec3() [5/5]

+
@@ -744,11 +741,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec4() [1/5]

+
@@ -763,11 +762,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec4() [2/5]

+
@@ -782,11 +783,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec4() [3/5]

+
@@ -801,11 +804,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec4() [4/5]

+
@@ -820,11 +825,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ make_vec4() [5/5]

+
@@ -839,11 +846,13 @@ Functions

Build a vector from a pointer.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
- + +

◆ value_ptr()

+
@@ -858,7 +867,7 @@ Functions

Return the constant address to the data of the input parameter.

-
See also
GLM_GTC_type_ptr
+
See also
GLM_GTC_type_ptr
@@ -867,7 +876,7 @@ Functions diff --git a/doc/api/a00723.html b/doc/api/a00723.html new file mode 100644 index 00000000..99d84bd9 --- /dev/null +++ b/doc/api/a00723.html @@ -0,0 +1,271 @@ + + + + + + + +0.9.9 API documenation: GLM_GTC_ulp + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T >
GLM_FUNC_DECL uint float_distance (T const &x, T const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, uint, Q > float_distance (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL genType next_float (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType next_float (genType const &x, uint const &Distance)
 
template<typename genType >
GLM_FUNC_DECL genType prev_float (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType prev_float (genType const &x, uint const &Distance)
 
+

Detailed Description

+

Include <glm/gtc/ulp.hpp> to use the features of this extension.

+

Allow the measurement of the accuracy of a function against a reference implementation. This extension works on floating-point data and provide results in ULP.

+

Function Documentation

+ +

◆ float_distance() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint glm::float_distance (T const & x,
T const & y 
)
+
+ +

Return the distance in the number of ULP between 2 scalars.

+
See also
GLM_GTC_ulp
+ +
+
+ +

◆ float_distance() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<2, uint, Q> glm::float_distance (vec< 2, T, Q > const & x,
vec< 2, T, Q > const & y 
)
+
+ +

Return the distance in the number of ULP between 2 vectors.

+
See also
GLM_GTC_ulp
+ +
+
+ +

◆ next_float() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::next_float (genType const & x)
+
+ +

Return the next ULP value(s) after the input value(s).

+
See also
GLM_GTC_ulp
+ +
+
+ +

◆ next_float() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::next_float (genType const & x,
uint const & Distance 
)
+
+ +

Return the value(s) ULP distance after the input value(s).

+
See also
GLM_GTC_ulp
+ +
+
+ +

◆ prev_float() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::prev_float (genType const & x)
+
+ +

Return the previous ULP value(s) before the input value(s).

+
See also
GLM_GTC_ulp
+ +
+
+ +

◆ prev_float() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::prev_float (genType const & x,
uint const & Distance 
)
+
+ +

Return the value(s) ULP distance before the input value(s).

+
See also
GLM_GTC_ulp
+ +
+
+
+ + + + diff --git a/doc/api/a00174.html b/doc/api/a00724.html similarity index 62% rename from doc/api/a00174.html rename to doc/api/a00724.html index 943f764f..2117fabf 100644 --- a/doc/api/a00174.html +++ b/doc/api/a00724.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTC_vec1 @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
-
+
GLM_GTC_vec1
- -

Include <glm/gtc/vec1.hpp> to use the features of this extension. -More...

-

Include <glm/gtc/vec1.hpp> to use the features of this extension.

+

Include <glm/gtc/vec1.hpp> to use the features of this extension.

Add vec1, ivec1, uvec1 and bvec1 types.

diff --git a/doc/api/a00175.html b/doc/api/a00725.html similarity index 79% rename from doc/api/a00175.html rename to doc/api/a00725.html index d1ff375f..6cc2cb98 100644 --- a/doc/api/a00175.html +++ b/doc/api/a00725.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_associated_min_max @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
GLM_GTX_associated_min_max
+
GLM_GTX_associated_min_max
Experimental extensions
- -

Include <glm/gtx/associated_min_max.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , typename U >
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 2, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< 2, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 Maximum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, T, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c)
 Maximum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c, T w, U d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL U associatedMax (T x, U a, T y, U b, T z, U c, T w, U d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 Maximum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMax (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 
template<typename T , typename U , qualifier Q>
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< 2, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< 2, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, const vec< L, U, Q > &a, T y, const vec< L, U, Q > &b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, const vec< L, U, Q > &a, T y, const vec< L, U, Q > &b)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 Minimum comparison between 2 variables and returns 2 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c)
 Minimum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 Minimum comparison between 3 variables and returns 3 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c)
 
template<typename T , typename U >
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c, T w, U d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL U associatedMin (T x, U a, T y, U b, T z, U c, T w, U d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, vec< L, U, Q > const &a, vec< L, T, Q > const &y, vec< L, U, Q > const &b, vec< L, T, Q > const &z, vec< L, U, Q > const &c, vec< L, T, Q > const &w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (T x, vec< L, U, Q > const &a, T y, vec< L, U, Q > const &b, T z, vec< L, U, Q > const &c, T w, vec< L, U, Q > const &d)
 
template<length_t L, typename T , typename U , qualifier Q>
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 Minimum comparison between 4 variables and returns 4 associated variable values. More...
GLM_FUNC_DECL vec< L, U, Q > associatedMin (vec< L, T, Q > const &x, U a, vec< L, T, Q > const &y, U b, vec< L, T, Q > const &z, U c, vec< L, T, Q > const &w, U d)
 

Detailed Description

-

Include <glm/gtx/associated_min_max.hpp> to use the features of this extension.

+

Include <glm/gtx/associated_min_max.hpp> to use the features of this extension.

Min and max functions that return associated values not the compared onces.

Function Documentation

- + +

◆ associatedMax() [1/12]

+
@@ -217,11 +181,13 @@ Functions

Maximum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [2/12]

+
@@ -258,11 +224,13 @@ Functions

Maximum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [3/12]

+
@@ -299,11 +267,13 @@ Functions

Maximum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [4/12]

+
@@ -340,11 +310,13 @@ Functions

Maximum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [5/12]

+
@@ -393,11 +365,13 @@ Functions

Maximum comparison between 3 variables and returns 3 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [6/12]

+
@@ -446,11 +420,13 @@ Functions

Maximum comparison between 3 variables and returns 3 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [7/12]

+
@@ -499,11 +475,13 @@ Functions

Maximum comparison between 3 variables and returns 3 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [8/12]

+
@@ -552,11 +530,13 @@ Functions

Maximum comparison between 3 variables and returns 3 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [9/12]

+
@@ -617,11 +597,13 @@ Functions

Maximum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [10/12]

+
@@ -682,11 +664,13 @@ Functions

Maximum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [11/12]

+
@@ -747,11 +731,13 @@ Functions

Maximum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMax() [12/12]

+
@@ -812,11 +798,13 @@ Functions

Maximum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [1/10]

+
@@ -853,11 +841,13 @@ Functions

Minimum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [2/10]

+
@@ -894,11 +884,13 @@ Functions

Minimum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [3/10]

+
@@ -935,11 +927,13 @@ Functions

Minimum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [4/10]

+
@@ -976,11 +970,13 @@ Functions

Minimum comparison between 2 variables and returns 2 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [5/10]

+
@@ -1029,11 +1025,13 @@ Functions

Minimum comparison between 3 variables and returns 3 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [6/10]

+
@@ -1082,11 +1080,13 @@ Functions

Minimum comparison between 3 variables and returns 3 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [7/10]

+
@@ -1147,11 +1147,13 @@ Functions

Minimum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [8/10]

+
@@ -1212,11 +1214,13 @@ Functions

Minimum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [9/10]

+
@@ -1277,11 +1281,13 @@ Functions

Minimum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
- + +

◆ associatedMin() [10/10]

+
@@ -1342,7 +1348,7 @@ Functions

Minimum comparison between 4 variables and returns 4 associated variable values.

-
See also
GLM_GTX_associated_min_max
+
See also
GLM_GTX_associated_min_max
@@ -1351,7 +1357,7 @@ Functions diff --git a/doc/api/a00726.html b/doc/api/a00726.html new file mode 100644 index 00000000..79cb4bd6 --- /dev/null +++ b/doc/api/a00726.html @@ -0,0 +1,317 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_bit + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genIUType >
GLM_FUNC_DECL genIUType highestBitValue (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > highestBitValue (vec< L, T, Q > const &value)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType lowestBitValue (genIUType Value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoAbove (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoAbove (vec< L, T, Q > const &value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoBelow (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoBelow (vec< L, T, Q > const &value)
 
template<typename genIUType >
GLM_DEPRECATED GLM_FUNC_DECL genIUType powerOfTwoNearest (genIUType Value)
 
template<length_t L, typename T , qualifier Q>
GLM_DEPRECATED GLM_FUNC_DECL vec< L, T, Q > powerOfTwoNearest (vec< L, T, Q > const &value)
 
+

Detailed Description

+

Include <glm/gtx/bit.hpp> to use the features of this extension.

+

Allow to perform bit operations on integer values

+

Function Documentation

+ +

◆ highestBitValue() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genIUType glm::highestBitValue (genIUType Value)
+
+
See also
GLM_GTX_bit
+ +
+
+ +

◆ highestBitValue() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::highestBitValue (vec< L, T, Q > const & value)
+
+ +

Find the highest bit set to 1 in a integer variable and return its value.

+
See also
GLM_GTX_bit
+ +
+
+ +

◆ lowestBitValue()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genIUType glm::lowestBitValue (genIUType Value)
+
+
See also
GLM_GTX_bit
+ +
+
+ +

◆ powerOfTwoAbove() [1/2]

+ +
+
+ + + + + + + + +
GLM_DEPRECATED GLM_FUNC_DECL genIUType glm::powerOfTwoAbove (genIUType Value)
+
+ +

Return the power of two number which value is just higher the input value.

+

Deprecated, use ceilPowerOfTwo from GTC_round instead

+
See also
GLM_GTC_round
+
+GLM_GTX_bit
+ +
+
+ +

◆ powerOfTwoAbove() [2/2]

+ +
+
+ + + + + + + + +
GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> glm::powerOfTwoAbove (vec< L, T, Q > const & value)
+
+ +

Return the power of two number which value is just higher the input value.

+

Deprecated, use ceilPowerOfTwo from GTC_round instead

+
See also
GLM_GTC_round
+
+GLM_GTX_bit
+ +
+
+ +

◆ powerOfTwoBelow() [1/2]

+ +
+
+ + + + + + + + +
GLM_DEPRECATED GLM_FUNC_DECL genIUType glm::powerOfTwoBelow (genIUType Value)
+
+ +

Return the power of two number which value is just lower the input value.

+

Deprecated, use floorPowerOfTwo from GTC_round instead

+
See also
GLM_GTC_round
+
+GLM_GTX_bit
+ +
+
+ +

◆ powerOfTwoBelow() [2/2]

+ +
+
+ + + + + + + + +
GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> glm::powerOfTwoBelow (vec< L, T, Q > const & value)
+
+ +

Return the power of two number which value is just lower the input value.

+

Deprecated, use floorPowerOfTwo from GTC_round instead

+
See also
GLM_GTC_round
+
+GLM_GTX_bit
+ +
+
+ +

◆ powerOfTwoNearest() [1/2]

+ +
+
+ + + + + + + + +
GLM_DEPRECATED GLM_FUNC_DECL genIUType glm::powerOfTwoNearest (genIUType Value)
+
+ +

Return the power of two number which value is the closet to the input value.

+

Deprecated, use roundPowerOfTwo from GTC_round instead

+
See also
GLM_GTC_round
+
+GLM_GTX_bit
+ +
+
+ +

◆ powerOfTwoNearest() [2/2]

+ +
+
+ + + + + + + + +
GLM_DEPRECATED GLM_FUNC_DECL vec<L, T, Q> glm::powerOfTwoNearest (vec< L, T, Q > const & value)
+
+ +

Return the power of two number which value is the closet to the input value.

+

Deprecated, use roundPowerOfTwo from GTC_round instead

+
See also
GLM_GTC_round
+
+GLM_GTX_bit
+ +
+
+
+ + + + diff --git a/doc/api/a00177.html b/doc/api/a00727.html similarity index 68% rename from doc/api/a00177.html rename to doc/api/a00727.html index 5de45c43..2d885fd7 100644 --- a/doc/api/a00177.html +++ b/doc/api/a00727.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_closest_point @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_closest_point
+
GLM_GTX_closest_point
Experimental extensions
- -

Include <glm/gtx/closest_point.hpp> to use the features of this extension. -More...

- - + - - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > closestPointOnLine (vec< 3, T, Q > const &point, vec< 3, T, Q > const &a, vec< 3, T, Q > const &b)
 Find the point on a straight line which is the closet of a point. More...
GLM_FUNC_DECL vec< 3, T, Q > closestPointOnLine (vec< 3, T, Q > const &point, vec< 3, T, Q > const &a, vec< 3, T, Q > const &b)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > closestPointOnLine (vec< 2, T, Q > const &point, vec< 2, T, Q > const &a, vec< 2, T, Q > const &b)
 2d lines work as well
GLM_FUNC_DECL vec< 2, T, Q > closestPointOnLine (vec< 2, T, Q > const &point, vec< 2, T, Q > const &a, vec< 2, T, Q > const &b)
 

Detailed Description

-

Include <glm/gtx/closest_point.hpp> to use the features of this extension.

+

Include <glm/gtx/closest_point.hpp> to use the features of this extension.

Find the point on a straight line which is the closet of a point.

Function Documentation

- + +

◆ closestPointOnLine()

+
@@ -132,7 +116,7 @@ template<typename T , qualifier Q>

Find the point on a straight line which is the closet of a point.

-
See also
GLM_GTX_closest_point
+
See also
GLM_GTX_closest_point
@@ -141,7 +125,7 @@ template<typename T , qualifier Q> diff --git a/doc/api/a00178.html b/doc/api/a00728.html similarity index 63% rename from doc/api/a00178.html rename to doc/api/a00728.html index cd40bcdf..f19b30dc 100644 --- a/doc/api/a00178.html +++ b/doc/api/a00728.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_color_encoding @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_color_encoding
+
GLM_GTX_color_encoding
- -

Include <glm/gtx/color_encoding.hpp> to use the features of this extension. -More...

- - - + - - - + - - - + - - - +

Functions

+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ (vec< 3, T, Q > const &ColorD65XYZ)
 Convert a D65 YUV color to D50 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToD50XYZ (vec< 3, T, Q > const &ColorD65XYZ)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB (vec< 3, T, Q > const &ColorD65XYZ)
 Convert a D65 YUV color to linear sRGB.
GLM_FUNC_DECL vec< 3, T, Q > convertD65XYZToLinearSRGB (vec< 3, T, Q > const &ColorD65XYZ)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 Convert a linear sRGB color to D50 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD50XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 
+
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 Convert a linear sRGB color to D65 YUV.
GLM_FUNC_DECL vec< 3, T, Q > convertLinearSRGBToD65XYZ (vec< 3, T, Q > const &ColorLinearSRGB)
 

Detailed Description

-

Include <glm/gtx/color_encoding.hpp> to use the features of this extension.

+

Include <glm/gtx/color_encoding.hpp> to use the features of this extension.

Allow to perform bit operations on integer values

diff --git a/doc/api/a00179.html b/doc/api/a00729.html similarity index 68% rename from doc/api/a00179.html rename to doc/api/a00729.html index 5dd57299..e48d0baf 100644 --- a/doc/api/a00179.html +++ b/doc/api/a00729.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_color_space @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
GLM_GTX_color_space
+
GLM_GTX_color_space
Experimental extensions
- -

Include <glm/gtx/color_space.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > hsvColor (vec< 3, T, Q > const &rgbValue)
 Converts a color from RGB color space to its color in HSV color space. More...
GLM_FUNC_DECL vec< 3, T, Q > hsvColor (vec< 3, T, Q > const &rgbValue)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T luminosity (vec< 3, T, Q > const &color)
 Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals. More...
GLM_FUNC_DECL T luminosity (vec< 3, T, Q > const &color)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgbColor (vec< 3, T, Q > const &hsvValue)
 Converts a color from HSV color space to its color in RGB color space. More...
GLM_FUNC_DECL vec< 3, T, Q > rgbColor (vec< 3, T, Q > const &hsvValue)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > saturation (T const s)
 Build a saturation matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > saturation (T const s)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > saturation (T const s, vec< 3, T, Q > const &color)
 Modify the saturation of a color. More...
GLM_FUNC_DECL vec< 3, T, Q > saturation (T const s, vec< 3, T, Q > const &color)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > saturation (T const s, vec< 4, T, Q > const &color)
 Modify the saturation of a color. More...
GLM_FUNC_DECL vec< 4, T, Q > saturation (T const s, vec< 4, T, Q > const &color)
 

Detailed Description

-

Include <glm/gtx/color_space.hpp> to use the features of this extension.

+

Include <glm/gtx/color_space.hpp> to use the features of this extension.

Related to RGB to HSV conversions and operations.

Function Documentation

- + +

◆ hsvColor()

+
@@ -131,11 +111,13 @@ Functions

Converts a color from RGB color space to its color in HSV color space.

-
See also
GLM_GTX_color_space
+
See also
GLM_GTX_color_space
- + +

◆ luminosity()

+
@@ -150,11 +132,13 @@ Functions

Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.

-
See also
GLM_GTX_color_space
+
See also
GLM_GTX_color_space
- + +

◆ rgbColor()

+
@@ -169,11 +153,13 @@ Functions

Converts a color from HSV color space to its color in RGB color space.

-
See also
GLM_GTX_color_space
+
See also
GLM_GTX_color_space
- + +

◆ saturation() [1/3]

+
@@ -188,11 +174,13 @@ Functions

Build a saturation matrix.

-
See also
GLM_GTX_color_space
+
See also
GLM_GTX_color_space
- + +

◆ saturation() [2/3]

+
@@ -217,11 +205,13 @@ Functions

Modify the saturation of a color.

-
See also
GLM_GTX_color_space
+
See also
GLM_GTX_color_space
- + +

◆ saturation() [3/3]

+
@@ -246,7 +236,7 @@ Functions

Modify the saturation of a color.

-
See also
GLM_GTX_color_space
+
See also
GLM_GTX_color_space
@@ -255,7 +245,7 @@ Functions diff --git a/doc/api/a00180.html b/doc/api/a00730.html similarity index 66% rename from doc/api/a00180.html rename to doc/api/a00730.html index 224d3a89..6dc3874b 100644 --- a/doc/api/a00180.html +++ b/doc/api/a00730.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_color_space_YCoCg @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_color_space_YCoCg
+
GLM_GTX_color_space_YCoCg
- -

Include <glm/gtx/color_space_YCoCg.hpp> to use the features of this extension. -More...

- - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCg (vec< 3, T, Q > const &rgbColor)
 Convert a color from RGB color space to YCoCg color space. More...
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCg (vec< 3, T, Q > const &rgbColor)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCgR (vec< 3, T, Q > const &rgbColor)
 Convert a color from RGB color space to YCoCgR color space. More...
GLM_FUNC_DECL vec< 3, T, Q > rgb2YCoCgR (vec< 3, T, Q > const &rgbColor)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > YCoCg2rgb (vec< 3, T, Q > const &YCoCgColor)
 Convert a color from YCoCg color space to RGB color space. More...
GLM_FUNC_DECL vec< 3, T, Q > YCoCg2rgb (vec< 3, T, Q > const &YCoCgColor)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > YCoCgR2rgb (vec< 3, T, Q > const &YCoCgColor)
 Convert a color from YCoCgR color space to RGB color space. More...
GLM_FUNC_DECL vec< 3, T, Q > YCoCgR2rgb (vec< 3, T, Q > const &YCoCgColor)
 

Detailed Description

-

Include <glm/gtx/color_space_YCoCg.hpp> to use the features of this extension.

+

Include <glm/gtx/color_space_YCoCg.hpp> to use the features of this extension.

RGB to YCoCg conversions and operations

Function Documentation

- + +

◆ rgb2YCoCg()

+
@@ -123,11 +105,13 @@ Functions

Convert a color from RGB color space to YCoCg color space.

-
See also
GLM_GTX_color_space_YCoCg
+
See also
GLM_GTX_color_space_YCoCg
- + +

◆ rgb2YCoCgR()

+
@@ -144,11 +128,13 @@ Functions

Convert a color from RGB color space to YCoCgR color space.

See also
"YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range"
-GLM_GTX_color_space_YCoCg
+GLM_GTX_color_space_YCoCg - + +

◆ YCoCg2rgb()

+
@@ -163,11 +149,13 @@ Functions

Convert a color from YCoCg color space to RGB color space.

-
See also
GLM_GTX_color_space_YCoCg
+
See also
GLM_GTX_color_space_YCoCg
- + +

◆ YCoCgR2rgb()

+
@@ -184,7 +172,7 @@ Functions

Convert a color from YCoCgR color space to RGB color space.

See also
"YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range"
-GLM_GTX_color_space_YCoCg
+GLM_GTX_color_space_YCoCg @@ -193,7 +181,7 @@ Functions diff --git a/doc/api/a00181.html b/doc/api/a00731.html similarity index 74% rename from doc/api/a00181.html rename to doc/api/a00731.html index 4869862e..706077bf 100644 --- a/doc/api/a00181.html +++ b/doc/api/a00731.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_common @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
+
GLM_GTX_common
- -

Include <glm/gtx/common.hpp> to use the features of this extension. -More...

- - + - - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > closeBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Returns whether vector components values are within an interval. More...
GLM_FUNC_DECL vec< L, bool, Q > closeBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmod (vec< L, T, Q > const &v)
 Similar to 'mod' but with a different rounding and integer support. More...
GLM_FUNC_DECL vec< L, T, Q > fmod (vec< L, T, Q > const &v)
 
template<typename genType >
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 represented in the normal format are represented in an alternate, denormalized format. More...
GLM_FUNC_DECL genType::bool_type isdenormal (genType const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > openBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Returns whether vector components values are within an interval. More...
GLM_FUNC_DECL vec< L, bool, Q > openBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 

Detailed Description

-

Include <glm/gtx/common.hpp> to use the features of this extension.

+

Include <glm/gtx/common.hpp> to use the features of this extension.

Provide functions to increase the compatibility with Cg and HLSL languages

Function Documentation

- + +

◆ closeBounded()

+
@@ -148,11 +130,13 @@ Functions
-
See also
GLM_EXT_vector_relational
+
See also
GLM_EXT_vector_relational
- + +

◆ fmod()

+
@@ -174,7 +158,9 @@ Functions - + +

◆ isdenormal()

+
@@ -202,7 +188,9 @@ Functions - + +

◆ openBounded()

+
@@ -242,7 +230,7 @@ Functions
-
See also
GLM_EXT_vector_relational
+
See also
GLM_EXT_vector_relational
@@ -251,7 +239,7 @@ Functions diff --git a/doc/api/a00732.html b/doc/api/a00732.html new file mode 100644 index 00000000..335562d1 --- /dev/null +++ b/doc/api/a00732.html @@ -0,0 +1,338 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_compatibility + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_compatibility
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef bool bool1
 
+typedef bool bool1x1
 
+typedef vec< 2, bool, highp > bool2
 
+typedef mat< 2, 2, bool, highp > bool2x2
 
+typedef mat< 2, 3, bool, highp > bool2x3
 
+typedef mat< 2, 4, bool, highp > bool2x4
 
+typedef vec< 3, bool, highp > bool3
 
+typedef mat< 3, 2, bool, highp > bool3x2
 
+typedef mat< 3, 3, bool, highp > bool3x3
 
+typedef mat< 3, 4, bool, highp > bool3x4
 
+typedef vec< 4, bool, highp > bool4
 
+typedef mat< 4, 2, bool, highp > bool4x2
 
+typedef mat< 4, 3, bool, highp > bool4x3
 
+typedef mat< 4, 4, bool, highp > bool4x4
 
+typedef double double1
 
+typedef double double1x1
 
+typedef vec< 2, double, highp > double2
 
+typedef mat< 2, 2, double, highp > double2x2
 
+typedef mat< 2, 3, double, highp > double2x3
 
+typedef mat< 2, 4, double, highp > double2x4
 
+typedef vec< 3, double, highp > double3
 
+typedef mat< 3, 2, double, highp > double3x2
 
+typedef mat< 3, 3, double, highp > double3x3
 
+typedef mat< 3, 4, double, highp > double3x4
 
+typedef vec< 4, double, highp > double4
 
+typedef mat< 4, 2, double, highp > double4x2
 
+typedef mat< 4, 3, double, highp > double4x3
 
+typedef mat< 4, 4, double, highp > double4x4
 
+typedef float float1
 
+typedef float float1x1
 
+typedef vec< 2, float, highp > float2
 
+typedef mat< 2, 2, float, highp > float2x2
 
+typedef mat< 2, 3, float, highp > float2x3
 
+typedef mat< 2, 4, float, highp > float2x4
 
+typedef vec< 3, float, highp > float3
 
+typedef mat< 3, 2, float, highp > float3x2
 
+typedef mat< 3, 3, float, highp > float3x3
 
+typedef mat< 3, 4, float, highp > float3x4
 
+typedef vec< 4, float, highp > float4
 
+typedef mat< 4, 2, float, highp > float4x2
 
+typedef mat< 4, 3, float, highp > float4x3
 
+typedef mat< 4, 4, float, highp > float4x4
 
+typedef int int1
 
+typedef int int1x1
 
+typedef vec< 2, int, highp > int2
 
+typedef mat< 2, 2, int, highp > int2x2
 
+typedef mat< 2, 3, int, highp > int2x3
 
+typedef mat< 2, 4, int, highp > int2x4
 
+typedef vec< 3, int, highp > int3
 
+typedef mat< 3, 2, int, highp > int3x2
 
+typedef mat< 3, 3, int, highp > int3x3
 
+typedef mat< 3, 4, int, highp > int3x4
 
+typedef vec< 4, int, highp > int4
 
+typedef mat< 4, 2, int, highp > int4x2
 
+typedef mat< 4, 3, int, highp > int4x3
 
+typedef mat< 4, 4, int, highp > int4x4
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T atan2 (T x, T y)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > atan2 (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > atan2 (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > atan2 (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y)
 
+template<typename genType >
GLM_FUNC_DECL bool isfinite (genType const &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 1, bool, Q > isfinite (const vec< 1, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, bool, Q > isfinite (const vec< 2, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, bool, Q > isfinite (const vec< 3, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > isfinite (const vec< 4, T, Q > &x)
 
+template<typename T >
GLM_FUNC_QUALIFIER T lerp (T x, T y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, T a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > lerp (const vec< 2, T, Q > &x, const vec< 2, T, Q > &y, const vec< 2, T, Q > &a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > lerp (const vec< 3, T, Q > &x, const vec< 3, T, Q > &y, const vec< 3, T, Q > &a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > lerp (const vec< 4, T, Q > &x, const vec< 4, T, Q > &y, const vec< 4, T, Q > &a)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER T saturate (T x)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 2, T, Q > saturate (const vec< 2, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 3, T, Q > saturate (const vec< 3, T, Q > &x)
 
+template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER vec< 4, T, Q > saturate (const vec< 4, T, Q > &x)
 
+

Detailed Description

+

Include <glm/gtx/compatibility.hpp> to use the features of this extension.

+

Provide functions to increase the compatibility with Cg and HLSL languages

+
+ + + + diff --git a/doc/api/a00183.html b/doc/api/a00733.html similarity index 66% rename from doc/api/a00183.html rename to doc/api/a00733.html index c63eb686..e5604be7 100644 --- a/doc/api/a00183.html +++ b/doc/api/a00733.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_component_wise @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_component_wise
+
GLM_GTX_component_wise
Experimental extensions
- -

Include <glm/gtx/component_wise.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType::value_type compAdd (genType const &v)
 Add all vector components together. More...
GLM_FUNC_DECL genType::value_type compAdd (genType const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type compMax (genType const &v)
 Find the maximum value between single vector components. More...
GLM_FUNC_DECL genType::value_type compMax (genType const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type compMin (genType const &v)
 Find the minimum value between single vector components. More...
GLM_FUNC_DECL genType::value_type compMin (genType const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::value_type compMul (genType const &v)
 Multiply all vector components together. More...
GLM_FUNC_DECL genType::value_type compMul (genType const &v)
 
template<typename floatType , length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > compNormalize (vec< L, T, Q > const &v)
 Convert an integer vector to a normalized float vector. More...
GLM_FUNC_DECL vec< L, floatType, Q > compNormalize (vec< L, T, Q > const &v)
 
template<length_t L, typename T , typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > compScale (vec< L, floatType, Q > const &v)
 Convert a normalized float vector to an integer vector. More...
GLM_FUNC_DECL vec< L, T, Q > compScale (vec< L, floatType, Q > const &v)
 

Detailed Description

-

Include <glm/gtx/component_wise.hpp> to use the features of this extension.

+

Include <glm/gtx/component_wise.hpp> to use the features of this extension.

Operations between components of a type

Function Documentation

- + +

◆ compAdd()

+
@@ -131,11 +111,13 @@ Functions

Add all vector components together.

-
See also
GLM_GTX_component_wise
+
See also
GLM_GTX_component_wise
- + +

◆ compMax()

+
@@ -150,11 +132,13 @@ Functions

Find the maximum value between single vector components.

-
See also
GLM_GTX_component_wise
+
See also
GLM_GTX_component_wise
- + +

◆ compMin()

+
@@ -169,11 +153,13 @@ Functions

Find the minimum value between single vector components.

-
See also
GLM_GTX_component_wise
+
See also
GLM_GTX_component_wise
- + +

◆ compMul()

+
@@ -188,11 +174,13 @@ Functions

Multiply all vector components together.

-
See also
GLM_GTX_component_wise
+
See also
GLM_GTX_component_wise
- + +

◆ compNormalize()

+
@@ -207,11 +195,13 @@ Functions

Convert an integer vector to a normalized float vector.

-

If the parameter value type is already a floating qualifier type, the value is passed through.

See also
GLM_GTX_component_wise
+

If the parameter value type is already a floating qualifier type, the value is passed through.

See also
GLM_GTX_component_wise
- + +

◆ compScale()

+
@@ -226,7 +216,7 @@ Functions

Convert a normalized float vector to an integer vector.

-

If the parameter value type is already a floating qualifier type, the value is passed through.

See also
GLM_GTX_component_wise
+

If the parameter value type is already a floating qualifier type, the value is passed through.

See also
GLM_GTX_component_wise
@@ -235,7 +225,7 @@ Functions diff --git a/doc/api/a00184.html b/doc/api/a00734.html similarity index 57% rename from doc/api/a00184.html rename to doc/api/a00734.html index 5d1ccdb4..2ac1b22b 100644 --- a/doc/api/a00184.html +++ b/doc/api/a00734.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_dual_quaternion @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Typedefs | Functions
-
GLM_GTX_dual_quaternion
+
GLM_GTX_dual_quaternion
- -

Include <glm/gtx/dual_quaternion.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Typedefs

typedef highp_ddualquat ddualquat
 Dual-quaternion of default double-qualifier floating-point numbers. More...
typedef highp_ddualquat ddualquat
 
typedef highp_fdualquat dualquat
 Dual-quaternion of floating-point numbers. More...
typedef highp_fdualquat dualquat
 
typedef highp_fdualquat fdualquat
 Dual-quaternion of single-qualifier floating-point numbers. More...
typedef highp_fdualquat fdualquat
 
typedef tdualquat< double, highp > highp_ddualquat
 Dual-quaternion of high double-qualifier floating-point numbers. More...
typedef tdualquat< double, highp > highp_ddualquat
 
typedef tdualquat< float, highp > highp_dualquat
 Dual-quaternion of high single-qualifier floating-point numbers. More...
typedef tdualquat< float, highp > highp_dualquat
 
typedef tdualquat< float, highp > highp_fdualquat
 Dual-quaternion of high single-qualifier floating-point numbers. More...
typedef tdualquat< float, highp > highp_fdualquat
 
typedef tdualquat< double, lowp > lowp_ddualquat
 Dual-quaternion of low double-qualifier floating-point numbers. More...
typedef tdualquat< double, lowp > lowp_ddualquat
 
typedef tdualquat< float, lowp > lowp_dualquat
 Dual-quaternion of low single-qualifier floating-point numbers. More...
typedef tdualquat< float, lowp > lowp_dualquat
 
typedef tdualquat< float, lowp > lowp_fdualquat
 Dual-quaternion of low single-qualifier floating-point numbers. More...
typedef tdualquat< float, lowp > lowp_fdualquat
 
typedef tdualquat< double, mediump > mediump_ddualquat
 Dual-quaternion of medium double-qualifier floating-point numbers. More...
typedef tdualquat< double, mediump > mediump_ddualquat
 
typedef tdualquat< float, mediump > mediump_dualquat
 Dual-quaternion of medium single-qualifier floating-point numbers. More...
typedef tdualquat< float, mediump > mediump_dualquat
 
typedef tdualquat< float, mediump > mediump_fdualquat
 Dual-quaternion of medium single-qualifier floating-point numbers. More...
typedef tdualquat< float, mediump > mediump_fdualquat
 
- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > dual_quat_identity ()
 Creates an identity dual quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > dual_quat_identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 2, 4, T, Q > const &x)
 Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 2, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 3, 4, T, Q > const &x)
 Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > dualquat_cast (mat< 3, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > inverse (tdualquat< T, Q > const &q)
 Returns the q inverse. More...
GLM_FUNC_DECL tdualquat< T, Q > inverse (tdualquat< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > lerp (tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
 Returns the linear interpolation of two dual quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > lerp (tdualquat< T, Q > const &x, tdualquat< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 4, T, Q > mat2x4_cast (tdualquat< T, Q > const &x)
 Converts a quaternion to a 2 * 4 matrix. More...
GLM_FUNC_DECL mat< 2, 4, T, Q > mat2x4_cast (tdualquat< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 4, T, Q > mat3x4_cast (tdualquat< T, Q > const &x)
 Converts a quaternion to a 3 * 4 matrix. More...
GLM_FUNC_DECL mat< 3, 4, T, Q > mat3x4_cast (tdualquat< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tdualquat< T, Q > normalize (tdualquat< T, Q > const &q)
 Returns the normalized quaternion. More...
GLM_FUNC_DECL tdualquat< T, Q > normalize (tdualquat< T, Q > const &q)
 

Detailed Description

-

Include <glm/gtx/dual_quaternion.hpp> to use the features of this extension.

+

Include <glm/gtx/dual_quaternion.hpp> to use the features of this extension.

Defines a templated dual-quaternion type and several dual-quaternion operations.

Typedef Documentation

- + +

◆ ddualquat

+
- +
typedef highp_ddualquat ddualquattypedef highp_ddualquat ddualquat

Dual-quaternion of default double-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 260 of file dual_quaternion.hpp.

+

Definition at line 260 of file dual_quaternion.hpp.

- + +

◆ dualquat

+
- +
typedef highp_fdualquat dualquattypedef highp_fdualquat dualquat

Dual-quaternion of floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 236 of file dual_quaternion.hpp.

+

Definition at line 236 of file dual_quaternion.hpp.

- + +

◆ fdualquat

+
- +
typedef highp_fdualquat fdualquattypedef highp_fdualquat fdualquat

Dual-quaternion of single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 241 of file dual_quaternion.hpp.

+

Definition at line 241 of file dual_quaternion.hpp.

- + +

◆ highp_ddualquat

+
- +
typedef tdualquat<double, highp> highp_ddualquattypedef tdualquat<double, highp> highp_ddualquat

Dual-quaternion of high double-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 229 of file dual_quaternion.hpp.

+

Definition at line 229 of file dual_quaternion.hpp.

- + +

◆ highp_dualquat

+
- +
typedef tdualquat<float, highp> highp_dualquattypedef tdualquat<float, highp> highp_dualquat

Dual-quaternion of high single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 197 of file dual_quaternion.hpp.

+

Definition at line 197 of file dual_quaternion.hpp.

- + +

◆ highp_fdualquat

+
- +
typedef tdualquat<float, highp> highp_fdualquattypedef tdualquat<float, highp> highp_fdualquat

Dual-quaternion of high single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 213 of file dual_quaternion.hpp.

+

Definition at line 213 of file dual_quaternion.hpp.

- + +

◆ lowp_ddualquat

+
- +
typedef tdualquat<double, lowp> lowp_ddualquattypedef tdualquat<double, lowp> lowp_ddualquat

Dual-quaternion of low double-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 219 of file dual_quaternion.hpp.

+

Definition at line 219 of file dual_quaternion.hpp.

- + +

◆ lowp_dualquat

+
- +
typedef tdualquat<float, lowp> lowp_dualquattypedef tdualquat<float, lowp> lowp_dualquat

Dual-quaternion of low single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 187 of file dual_quaternion.hpp.

+

Definition at line 187 of file dual_quaternion.hpp.

- + +

◆ lowp_fdualquat

+
- +
typedef tdualquat<float, lowp> lowp_fdualquattypedef tdualquat<float, lowp> lowp_fdualquat

Dual-quaternion of low single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 203 of file dual_quaternion.hpp.

+

Definition at line 203 of file dual_quaternion.hpp.

- + +

◆ mediump_ddualquat

+
- +
typedef tdualquat<double, mediump> mediump_ddualquattypedef tdualquat<double, mediump> mediump_ddualquat

Dual-quaternion of medium double-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 224 of file dual_quaternion.hpp.

+

Definition at line 224 of file dual_quaternion.hpp.

- + +

◆ mediump_dualquat

+
- +
typedef tdualquat<float, mediump> mediump_dualquattypedef tdualquat<float, mediump> mediump_dualquat

Dual-quaternion of medium single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 192 of file dual_quaternion.hpp.

+

Definition at line 192 of file dual_quaternion.hpp.

- + +

◆ mediump_fdualquat

+
- +
typedef tdualquat<float, mediump> mediump_fdualquattypedef tdualquat<float, mediump> mediump_fdualquat

Dual-quaternion of medium single-qualifier floating-point numbers.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
-

Definition at line 208 of file dual_quaternion.hpp.

+

Definition at line 208 of file dual_quaternion.hpp.

Function Documentation

- + +

◆ dual_quat_identity()

+
@@ -383,11 +373,13 @@ Functions

Creates an identity dual quaternion.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
- + +

◆ dualquat_cast() [1/2]

+
@@ -402,11 +394,13 @@ Functions

Converts a 2 * 4 matrix (matrix which holds real and dual parts) to a quaternion.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
- + +

◆ dualquat_cast() [2/2]

+
@@ -421,11 +415,13 @@ Functions

Converts a 3 * 4 matrix (augmented matrix rotation + translation) to a quaternion.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
- + +

◆ inverse()

+
@@ -440,11 +436,13 @@ Functions

Returns the q inverse.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
- + +

◆ lerp()

+
@@ -479,7 +477,9 @@ Functions - + +

◆ mat2x4_cast()

+
@@ -494,11 +494,13 @@ Functions

Converts a quaternion to a 2 * 4 matrix.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
- + +

◆ mat3x4_cast()

+
@@ -513,11 +515,13 @@ Functions

Converts a quaternion to a 3 * 4 matrix.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
- + +

◆ normalize()

+
@@ -532,7 +536,7 @@ Functions

Returns the normalized quaternion.

-
See also
GLM_GTX_dual_quaternion
+
See also
GLM_GTX_dual_quaternion
@@ -541,7 +545,7 @@ Functions diff --git a/doc/api/a00735.html b/doc/api/a00735.html new file mode 100644 index 00000000..4bc9327f --- /dev/null +++ b/doc/api/a00735.html @@ -0,0 +1,917 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_easing + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType backEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseIn (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseInOut (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType backEaseOut (genType const &a, genType const &o)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType bounceEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType circularEaseOut (genType const &a)
 
+template<typename genType >
GLM_FUNC_DECL genType cubicEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType cubicEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType cubicEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType elasticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType exponentialEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType linearInterpolation (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quadraticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quarticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType quinticEaseOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseIn (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseInOut (genType const &a)
 
template<typename genType >
GLM_FUNC_DECL genType sineEaseOut (genType const &a)
 
+

Detailed Description

+

Include <glm/gtx/easing.hpp> to use the features of this extension.

+

Easing functions for animations and transitons All functions take a parameter x in the range [0.0,1.0]

+

Based on the AHEasing project of Warren Moore (https://github.com/warrenm/AHEasing)

+

Function Documentation

+ +

◆ backEaseIn() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::backEaseIn (genType const & a)
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ backEaseIn() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::backEaseIn (genType const & a,
genType const & o 
)
+
+
Parameters
+ + + +
aparameter
oOptional overshoot modifier
+
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ backEaseInOut() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::backEaseInOut (genType const & a)
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ backEaseInOut() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::backEaseInOut (genType const & a,
genType const & o 
)
+
+
Parameters
+ + + +
aparameter
oOptional overshoot modifier
+
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ backEaseOut() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::backEaseOut (genType const & a)
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ backEaseOut() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::backEaseOut (genType const & a,
genType const & o 
)
+
+
Parameters
+ + + +
aparameter
oOptional overshoot modifier
+
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ bounceEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::bounceEaseIn (genType const & a)
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ bounceEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::bounceEaseInOut (genType const & a)
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ bounceEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::bounceEaseOut (genType const & a)
+
+
See also
GLM_GTX_easing
+ +
+
+ +

◆ circularEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::circularEaseIn (genType const & a)
+
+ +

Modelled after shifted quadrant IV of unit circle.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ circularEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::circularEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise circular function y = (1/2)(1 - sqrt(1 - 4x^2)) ; [0, 0.5) y = (1/2)(sqrt(-(2x - 3)*(2x - 1)) + 1) ; [0.5, 1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ circularEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::circularEaseOut (genType const & a)
+
+ +

Modelled after shifted quadrant II of unit circle.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ cubicEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::cubicEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise cubic y = (1/2)((2x)^3) ; [0, 0.5) y = (1/2)((2x-2)^3 + 2) ; [0.5, 1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ cubicEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::cubicEaseOut (genType const & a)
+
+ +

Modelled after the cubic y = (x - 1)^3 + 1.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ elasticEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::elasticEaseIn (genType const & a)
+
+ +

Modelled after the damped sine wave y = sin(13pi/2*x)*pow(2, 10 * (x - 1))

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ elasticEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::elasticEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise exponentially-damped sine wave: y = (1/2)*sin(13pi/2*(2*x))*pow(2, 10 * ((2*x) - 1)) ; [0,0.5) y = (1/2)*(sin(-13pi/2*((2x-1)+1))*pow(2,-10(2*x-1)) + 2) ; [0.5, 1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ elasticEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::elasticEaseOut (genType const & a)
+
+ +

Modelled after the damped sine wave y = sin(-13pi/2*(x + 1))*pow(2, -10x) + 1.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ exponentialEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::exponentialEaseIn (genType const & a)
+
+ +

Modelled after the exponential function y = 2^(10(x - 1))

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ exponentialEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::exponentialEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise exponential y = (1/2)2^(10(2x - 1)) ; [0,0.5) y = -(1/2)*2^(-10(2x - 1))) + 1 ; [0.5,1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ exponentialEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::exponentialEaseOut (genType const & a)
+
+ +

Modelled after the exponential function y = -2^(-10x) + 1.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ linearInterpolation()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::linearInterpolation (genType const & a)
+
+ +

Modelled after the line y = x.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quadraticEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quadraticEaseIn (genType const & a)
+
+ +

Modelled after the parabola y = x^2.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quadraticEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quadraticEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise quadratic y = (1/2)((2x)^2) ; [0, 0.5) y = -(1/2)((2x-1)*(2x-3) - 1) ; [0.5, 1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quadraticEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quadraticEaseOut (genType const & a)
+
+ +

Modelled after the parabola y = -x^2 + 2x.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quarticEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quarticEaseIn (genType const & a)
+
+ +

Modelled after the quartic x^4.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quarticEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quarticEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise quartic y = (1/2)((2x)^4) ; [0, 0.5) y = -(1/2)((2x-2)^4 - 2) ; [0.5, 1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quarticEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quarticEaseOut (genType const & a)
+
+ +

Modelled after the quartic y = 1 - (x - 1)^4.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quinticEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quinticEaseIn (genType const & a)
+
+ +

Modelled after the quintic y = x^5.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quinticEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quinticEaseInOut (genType const & a)
+
+ +

Modelled after the piecewise quintic y = (1/2)((2x)^5) ; [0, 0.5) y = (1/2)((2x-2)^5 + 2) ; [0.5, 1].

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ quinticEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::quinticEaseOut (genType const & a)
+
+ +

Modelled after the quintic y = (x - 1)^5 + 1.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ sineEaseIn()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::sineEaseIn (genType const & a)
+
+ +

Modelled after quarter-cycle of sine wave.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ sineEaseInOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::sineEaseInOut (genType const & a)
+
+ +

Modelled after half sine wave.

+
See also
GLM_GTX_easing
+ +
+
+ +

◆ sineEaseOut()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::sineEaseOut (genType const & a)
+
+ +

Modelled after quarter-cycle of sine wave (different phase)

+
See also
GLM_GTX_easing
+ +
+
+
+ + + + diff --git a/doc/api/a00186.html b/doc/api/a00736.html similarity index 73% rename from doc/api/a00186.html rename to doc/api/a00736.html index bfcd073d..55efdec0 100644 --- a/doc/api/a00186.html +++ b/doc/api/a00736.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_euler_angles @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_euler_angles
+
GLM_GTX_euler_angles
Experimental extensions
- -

Include <glm/gtx/euler_angles.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleX (T const &angleX, T const &angularVelocityX)
 Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about X-axis. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleX (T const &angleX, T const &angularVelocityX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleY (T const &angleY, T const &angularVelocityY)
 Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Y-axis. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleY (T const &angleY, T const &angularVelocityY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleZ (T const &angleZ, T const &angularVelocityZ)
 Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Z-axis. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > derivedEulerAngleZ (T const &angleZ, T const &angularVelocityZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleX (T const &angleX)
 Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle X. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleX (T const &angleX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXY (T const &angleX, T const &angleY)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXY (T const &angleX, T const &angleY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYZ (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXYZ (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZ (T const &angleX, T const &angleZ)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZ (T const &angleX, T const &angleZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleXZY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleY (T const &angleY)
 Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Y. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleY (T const &angleY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYX (T const &angleY, T const &angleX)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYX (T const &angleY, T const &angleX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXZ (T const &yaw, T const &pitch, T const &roll)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYXZ (T const &yaw, T const &pitch, T const &roll)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZ (T const &angleY, T const &angleZ)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZ (T const &angleY, T const &angleZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleYZY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZ (T const &angleZ)
 Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Z. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZ (T const &angleZ)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZX (T const &angle, T const &angleX)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZX (T const &angle, T const &angleX)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXY (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXY (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXZ (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZXZ (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZY (T const &angleZ, T const &angleY)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZY (T const &angleZ, T const &angleY)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYX (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * X). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYX (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYZ (T const &t1, T const &t2, T const &t3)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > eulerAngleZYZ (T const &t1, T const &t2, T const &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Y * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Y * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Z * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleXZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (X * Z * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleXZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * X * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * X * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * Z * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYZX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleYZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Y * Z * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleYZY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * X * Y) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZXY (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * X * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZXZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * Y * X) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZYX (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL void extractEulerAngleZYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 Extracts the (Z * Y * Z) Euler angles from the rotation matrix M. More...
GLM_FUNC_DECL void extractEulerAngleZYZ (mat< 4, 4, T, defaultp > const &M, T &t1, T &t2, T &t3)
 
template<typename T >
GLM_FUNC_DECL mat< 2, 2, T, defaultp > orientate2 (T const &angle)
 Creates a 2D 2 * 2 rotation matrix from an euler angle. More...
GLM_FUNC_DECL mat< 2, 2, T, defaultp > orientate2 (T const &angle)
 
template<typename T >
GLM_FUNC_DECL mat< 3, 3, T, defaultp > orientate3 (T const &angle)
 Creates a 2D 4 * 4 homogeneous rotation matrix from an euler angle. More...
GLM_FUNC_DECL mat< 3, 3, T, defaultp > orientate3 (T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > orientate3 (vec< 3, T, Q > const &angles)
 Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 3, 3, T, Q > orientate3 (vec< 3, T, Q > const &angles)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > orientate4 (vec< 3, T, Q > const &angles)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, Q > orientate4 (vec< 3, T, Q > const &angles)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > yawPitchRoll (T const &yaw, T const &pitch, T const &roll)
 Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z). More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > yawPitchRoll (T const &yaw, T const &pitch, T const &roll)
 

Detailed Description

-

Include <glm/gtx/euler_angles.hpp> to use the features of this extension.

+

Include <glm/gtx/euler_angles.hpp> to use the features of this extension.

Build matrices from Euler angles.

Extraction of Euler angles from rotation matrix. Based on the original paper 2014 Mike Day - Extracting Euler Angles from a Rotation Matrix.

Function Documentation

- + +

◆ derivedEulerAngleX()

+
@@ -282,11 +227,13 @@ Functions

Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about X-axis.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ derivedEulerAngleY()

+
@@ -311,11 +258,13 @@ Functions

Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Y-axis.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ derivedEulerAngleZ()

+
@@ -340,11 +289,13 @@ Functions

Creates a 3D 4 * 4 homogeneous derived matrix from the rotation matrix about Z-axis.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleX()

+
@@ -359,11 +310,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle X.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleXY()

+
@@ -388,11 +341,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleXYX()

+
@@ -423,11 +378,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * X).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleXYZ()

+
@@ -458,11 +415,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Y * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleXZ()

+
@@ -487,11 +446,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleXZX()

+
@@ -522,11 +483,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * X).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleXZY()

+
@@ -557,11 +520,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (X * Z * Y).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleY()

+
@@ -576,11 +541,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Y.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleYX()

+
@@ -605,11 +572,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleYXY()

+
@@ -640,11 +609,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Y).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleYXZ()

+
@@ -675,11 +646,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleYZ()

+
@@ -704,11 +677,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleYZX()

+
@@ -739,11 +714,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * X).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleYZY()

+
@@ -774,11 +751,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * Z * Y).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZ()

+
@@ -793,11 +772,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from an euler angle Z.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZX()

+
@@ -822,11 +803,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZXY()

+
@@ -857,11 +840,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Y).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZXZ()

+
@@ -892,11 +877,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * X * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZY()

+
@@ -921,11 +908,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZYX()

+
@@ -956,11 +945,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * X).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ eulerAngleZYZ()

+
@@ -991,11 +982,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Z * Y * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleXYX()

+
@@ -1032,11 +1025,13 @@ Functions

Extracts the (X * Y * X) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleXYZ()

+
@@ -1073,11 +1068,13 @@ Functions

Extracts the (X * Y * Z) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleXZX()

+
@@ -1114,11 +1111,13 @@ Functions

Extracts the (X * Z * X) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleXZY()

+
@@ -1155,11 +1154,13 @@ Functions

Extracts the (X * Z * Y) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleYXY()

+
@@ -1196,11 +1197,13 @@ Functions

Extracts the (Y * X * Y) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleYXZ()

+
@@ -1237,11 +1240,13 @@ Functions

Extracts the (Y * X * Z) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleYZX()

+
@@ -1278,11 +1283,13 @@ Functions

Extracts the (Y * Z * X) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleYZY()

+
@@ -1319,11 +1326,13 @@ Functions

Extracts the (Y * Z * Y) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleZXY()

+
@@ -1360,11 +1369,13 @@ Functions

Extracts the (Z * X * Y) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleZXZ()

+
@@ -1401,11 +1412,13 @@ Functions

Extracts the (Z * X * Z) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleZYX()

+
@@ -1442,11 +1455,13 @@ Functions

Extracts the (Z * Y * X) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ extractEulerAngleZYZ()

+
@@ -1483,11 +1498,13 @@ Functions

Extracts the (Z * Y * Z) Euler angles from the rotation matrix M.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ orientate2()

+
@@ -1502,11 +1519,13 @@ Functions

Creates a 2D 2 * 2 rotation matrix from an euler angle.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ orientate3() [1/2]

+
@@ -1521,11 +1540,13 @@ Functions

Creates a 2D 4 * 4 homogeneous rotation matrix from an euler angle.

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ orientate3() [2/2]

+
@@ -1540,11 +1561,13 @@ Functions

Creates a 3D 3 * 3 rotation matrix from euler angles (Y * X * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ orientate4()

+
@@ -1559,11 +1582,13 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
- + +

◆ yawPitchRoll()

+
@@ -1594,7 +1619,7 @@ Functions

Creates a 3D 4 * 4 homogeneous rotation matrix from euler angles (Y * X * Z).

-
See also
GLM_GTX_euler_angles
+
See also
GLM_GTX_euler_angles
@@ -1603,7 +1628,7 @@ Functions diff --git a/doc/api/a00187.html b/doc/api/a00737.html similarity index 68% rename from doc/api/a00187.html rename to doc/api/a00737.html index 9e4c6870..b1575c2e 100644 --- a/doc/api/a00187.html +++ b/doc/api/a00737.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_extend @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
+
GLM_GTX_extend
- -

Include <glm/gtx/extend.hpp> to use the features of this extension. -More...

- - +

Functions

template<typename genType >
GLM_FUNC_DECL genType extend (genType const &Origin, genType const &Source, typename genType::value_type const Length)
 Extends of Length the Origin position using the (Source - Origin) direction. More...
GLM_FUNC_DECL genType extend (genType const &Origin, genType const &Source, typename genType::value_type const Length)
 

Detailed Description

-

Include <glm/gtx/extend.hpp> to use the features of this extension.

+

Include <glm/gtx/extend.hpp> to use the features of this extension.

Extend a position from a source to a position at a defined length.

Function Documentation

- + +

◆ extend()

+
@@ -127,7 +112,7 @@ Functions

Extends of Length the Origin position using the (Source - Origin) direction.

-
See also
GLM_GTX_extend
+
See also
GLM_GTX_extend
@@ -136,7 +121,7 @@ Functions diff --git a/doc/api/a00738.html b/doc/api/a00738.html new file mode 100644 index 00000000..ec36d7d3 --- /dev/null +++ b/doc/api/a00738.html @@ -0,0 +1,832 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_extented_min_max + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_extented_min_max
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType fclamp (genType x, genType minVal, genType maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, T minVal, T maxVal)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fclamp (vec< L, T, Q > const &x, vec< L, T, Q > const &minVal, vec< L, T, Q > const &maxVal)
 
template<typename genType >
GLM_FUNC_DECL genType fmax (genType x, genType y)
 
template<typename genType >
GLM_FUNC_DECL genType fmin (genType x, genType y)
 
template<typename T >
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z)
 
template<typename T >
GLM_FUNC_DECL T max (T const &x, T const &y, T const &z, T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > max (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 
template<typename T >
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z)
 
template<typename T >
GLM_FUNC_DECL T min (T const &x, T const &y, T const &z, T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, typename C< T >::T const &y, typename C< T >::T const &z, typename C< T >::T const &w)
 
template<typename T , template< typename > class C>
GLM_FUNC_DECL C< T > min (C< T > const &x, C< T > const &y, C< T > const &z, C< T > const &w)
 
+

Detailed Description

+

Include <glm/gtx/extented_min_max.hpp> to use the features of this extension.

+

Min and max functions for 3 to 4 parameters.

+

Function Documentation

+ +

◆ fclamp() [1/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::fclamp (genType x,
genType minVal,
genType maxVal 
)
+
+ +

Returns min(max(x, minVal), maxVal) for each component in x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
genTypeFloating-point scalar or vector types.
+
+
+
See also
gtx_extented_min_max
+ +
+
+ +

◆ fclamp() [2/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fclamp (vec< L, T, Q > const & x,
minVal,
maxVal 
)
+
+ +

Returns min(max(x, minVal), maxVal) for each component in x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
gtx_extented_min_max
+ +
+
+ +

◆ fclamp() [3/3]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fclamp (vec< L, T, Q > const & x,
vec< L, T, Q > const & minVal,
vec< L, T, Q > const & maxVal 
)
+
+ +

Returns min(max(x, minVal), maxVal) for each component in x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
gtx_extented_min_max
+ +
+
+ +

◆ fmax()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::fmax (genType x,
genType y 
)
+
+ +

Returns y if x < y; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
genTypeFloating-point; scalar or vector types.
+
+
+
See also
gtx_extented_min_max
+
+std::fmax documentation
+ +
+
+ +

◆ fmin()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::fmin (genType x,
genType y 
)
+
+ +

Returns y if y < x; otherwise, it returns x.

+

If one of the two arguments is NaN, the value of the other argument is returned.

+
Template Parameters
+ + +
genTypeFloating-point or integer; scalar or vector types.
+
+
+
See also
gtx_extented_min_max
+ +
+
+ +

◆ max() [1/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::max (T const & x,
T const & y,
T const & z 
)
+
+ +

Return the maximum component-wise values of 3 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ max() [2/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z 
)
+
+ +

Return the maximum component-wise values of 3 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ max() [3/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
C< T > const & y,
C< T > const & z 
)
+
+ +

Return the maximum component-wise values of 3 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ max() [4/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::max (T const & x,
T const & y,
T const & z,
T const & w 
)
+
+ +

Return the maximum component-wise values of 4 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ max() [5/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z,
typename C< T >::T const & w 
)
+
+ +

Return the maximum component-wise values of 4 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ max() [6/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::max (C< T > const & x,
C< T > const & y,
C< T > const & z,
C< T > const & w 
)
+
+ +

Return the maximum component-wise values of 4 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ min() [1/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::min (T const & x,
T const & y,
T const & z 
)
+
+ +

Return the minimum component-wise values of 3 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ min() [2/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z 
)
+
+ +

Return the minimum component-wise values of 3 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ min() [3/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
C< T > const & y,
C< T > const & z 
)
+
+ +

Return the minimum component-wise values of 3 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ min() [4/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::min (T const & x,
T const & y,
T const & z,
T const & w 
)
+
+ +

Return the minimum component-wise values of 4 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ min() [5/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
typename C< T >::T const & y,
typename C< T >::T const & z,
typename C< T >::T const & w 
)
+
+ +

Return the minimum component-wise values of 4 inputs.

+
See also
gtx_extented_min_max
+ +
+
+ +

◆ min() [6/6]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL C<T> glm::min (C< T > const & x,
C< T > const & y,
C< T > const & z,
C< T > const & w 
)
+
+ +

Return the minimum component-wise values of 4 inputs.

+
See also
gtx_extented_min_max
+ +
+
+
+ + + + diff --git a/doc/api/a00189.html b/doc/api/a00739.html similarity index 70% rename from doc/api/a00189.html rename to doc/api/a00739.html index 151aeeac..95e63d37 100644 --- a/doc/api/a00189.html +++ b/doc/api/a00739.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_exterior_product @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_exterior_product
+
GLM_GTX_exterior_product
Experimental extensions
- -

Include <glm/gtx/exterior_product.hpp> to use the features of this extension. -More...

- - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T cross (vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
 Returns the cross product of x and y. More...
GLM_FUNC_DECL T cross (vec< 2, T, Q > const &v, vec< 2, T, Q > const &u)
 

Detailed Description

-

Include <glm/gtx/exterior_product.hpp> to use the features of this extension.

+

Include <glm/gtx/exterior_product.hpp> to use the features of this extension.

Allow to perform bit operations on integer values

Function Documentation

- + +

◆ cross()

+
@@ -137,7 +122,7 @@ Functions diff --git a/doc/api/a00190.html b/doc/api/a00740.html similarity index 67% rename from doc/api/a00190.html rename to doc/api/a00740.html index 5d1a1070..f5aa0f67 100644 --- a/doc/api/a00190.html +++ b/doc/api/a00740.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_fast_exponential @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_fast_exponential
+
GLM_GTX_fast_exponential
- -

Include <glm/gtx/fast_exponential.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL T fastExp (T x)
 Faster than the common exp function but less accurate. More...
GLM_FUNC_DECL T fastExp (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastExp (vec< L, T, Q > const &x)
 Faster than the common exp function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastExp (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T fastExp2 (T x)
 Faster than the common exp2 function but less accurate. More...
GLM_FUNC_DECL T fastExp2 (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastExp2 (vec< L, T, Q > const &x)
 Faster than the common exp2 function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastExp2 (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T fastLog (T x)
 Faster than the common log function but less accurate. More...
GLM_FUNC_DECL T fastLog (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastLog (vec< L, T, Q > const &x)
 Faster than the common exp2 function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastLog (vec< L, T, Q > const &x)
 
template<typename T >
GLM_FUNC_DECL T fastLog2 (T x)
 Faster than the common log2 function but less accurate. More...
GLM_FUNC_DECL T fastLog2 (T x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastLog2 (vec< L, T, Q > const &x)
 Faster than the common log2 function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastLog2 (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastPow (genType x, genType y)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL genType fastPow (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genTypeT , typename genTypeU >
GLM_FUNC_DECL genTypeT fastPow (genTypeT x, genTypeU y)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL genTypeT fastPow (genTypeT x, genTypeU y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x)
 Faster than the common pow function but less accurate. More...
GLM_FUNC_DECL vec< L, T, Q > fastPow (vec< L, T, Q > const &x)
 

Detailed Description

-

Include <glm/gtx/fast_exponential.hpp> to use the features of this extension.

+

Include <glm/gtx/fast_exponential.hpp> to use the features of this extension.

Fast but less accurate implementations of exponential based functions.

Function Documentation

- + +

◆ fastExp() [1/2]

+
@@ -155,11 +129,13 @@ Functions

Faster than the common exp function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastExp() [2/2]

+
@@ -174,11 +150,13 @@ Functions

Faster than the common exp function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastExp2() [1/2]

+
@@ -193,11 +171,13 @@ Functions

Faster than the common exp2 function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastExp2() [2/2]

+
@@ -212,11 +192,13 @@ Functions

Faster than the common exp2 function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastLog() [1/2]

+
@@ -231,11 +213,13 @@ Functions

Faster than the common log function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastLog() [2/2]

+
@@ -250,11 +234,13 @@ Functions

Faster than the common exp2 function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastLog2() [1/2]

+
@@ -269,11 +255,13 @@ Functions

Faster than the common log2 function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastLog2() [2/2]

+
@@ -288,11 +276,13 @@ Functions

Faster than the common log2 function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastPow() [1/4]

+
@@ -317,11 +307,13 @@ Functions

Faster than the common pow function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastPow() [2/4]

+
@@ -346,11 +338,13 @@ Functions

Faster than the common pow function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastPow() [3/4]

+
@@ -375,11 +369,13 @@ Functions

Faster than the common pow function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
- + +

◆ fastPow() [4/4]

+
@@ -394,7 +390,7 @@ Functions

Faster than the common pow function but less accurate.

-
See also
GLM_GTX_fast_exponential
+
See also
GLM_GTX_fast_exponential
@@ -403,7 +399,7 @@ Functions diff --git a/doc/api/a00741.html b/doc/api/a00741.html new file mode 100644 index 00000000..5110aa79 --- /dev/null +++ b/doc/api/a00741.html @@ -0,0 +1,325 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_fast_square_root + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_fast_square_root
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType fastDistance (genType x, genType y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastDistance (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename genType >
GLM_FUNC_DECL genType fastInverseSqrt (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastInverseSqrt (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastLength (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastLength (vec< L, T, Q > const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastNormalize (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType fastSqrt (genType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fastSqrt (vec< L, T, Q > const &x)
 
+

Detailed Description

+

Include <glm/gtx/fast_square_root.hpp> to use the features of this extension.

+

Fast but less accurate implementations of square root based functions.

+

Function Documentation

+ +

◆ fastDistance() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::fastDistance (genType x,
genType y 
)
+
+ +

Faster than the common distance function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastDistance() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fastDistance (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Faster than the common distance function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastInverseSqrt() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::fastInverseSqrt (genType x)
+
+ +

Faster than the common inversesqrt function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastInverseSqrt() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fastInverseSqrt (vec< L, T, Q > const & x)
+
+ +

Faster than the common inversesqrt function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastLength() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::fastLength (genType x)
+
+ +

Faster than the common length function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastLength() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::fastLength (vec< L, T, Q > const & x)
+
+ +

Faster than the common length function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastNormalize()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::fastNormalize (genType const & x)
+
+ +

Faster than the common normalize function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastSqrt() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::fastSqrt (genType x)
+
+ +

Faster than the common sqrt function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+ +

◆ fastSqrt() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::fastSqrt (vec< L, T, Q > const & x)
+
+ +

Faster than the common sqrt function but less accurate.

+
See also
GLM_GTX_fast_square_root extension.
+ +
+
+
+ + + + diff --git a/doc/api/a00192.html b/doc/api/a00742.html similarity index 70% rename from doc/api/a00192.html rename to doc/api/a00742.html index a2b135e9..c35968cd 100644 --- a/doc/api/a00192.html +++ b/doc/api/a00742.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_fast_trigonometry @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_fast_trigonometry
+
GLM_GTX_fast_trigonometry
Experimental extensions
- -

Include <glm/gtx/fast_trigonometry.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T >
GLM_FUNC_DECL T fastAcos (T angle)
 Faster than the common acos function but less accurate. More...
GLM_FUNC_DECL T fastAcos (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastAsin (T angle)
 Faster than the common asin function but less accurate. More...
GLM_FUNC_DECL T fastAsin (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastAtan (T y, T x)
 Faster than the common atan function but less accurate. More...
GLM_FUNC_DECL T fastAtan (T y, T x)
 
template<typename T >
GLM_FUNC_DECL T fastAtan (T angle)
 Faster than the common atan function but less accurate. More...
GLM_FUNC_DECL T fastAtan (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastCos (T angle)
 Faster than the common cos function but less accurate. More...
GLM_FUNC_DECL T fastCos (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastSin (T angle)
 Faster than the common sin function but less accurate. More...
GLM_FUNC_DECL T fastSin (T angle)
 
template<typename T >
GLM_FUNC_DECL T fastTan (T angle)
 Faster than the common tan function but less accurate. More...
GLM_FUNC_DECL T fastTan (T angle)
 
template<typename T >
GLM_FUNC_DECL T wrapAngle (T angle)
 Wrap an angle to [0 2pi[ From GLM_GTX_fast_trigonometry extension. More...
GLM_FUNC_DECL T wrapAngle (T angle)
 

Detailed Description

-

Include <glm/gtx/fast_trigonometry.hpp> to use the features of this extension.

+

Include <glm/gtx/fast_trigonometry.hpp> to use the features of this extension.

Fast but less accurate implementations of trigonometric functions.

Function Documentation

- + +

◆ fastAcos()

+
@@ -143,7 +121,9 @@ Functions - + +

◆ fastAsin()

+
@@ -162,7 +142,9 @@ Functions - + +

◆ fastAtan() [1/2]

+
@@ -191,7 +173,9 @@ Functions - + +

◆ fastAtan() [2/2]

+
@@ -210,7 +194,9 @@ Functions - + +

◆ fastCos()

+
@@ -229,7 +215,9 @@ Functions - + +

◆ fastSin()

+
@@ -248,7 +236,9 @@ Functions - + +

◆ fastTan()

+
@@ -267,7 +257,9 @@ Functions - + +

◆ wrapAngle()

+
@@ -290,7 +282,7 @@ Functions diff --git a/doc/api/a00193.html b/doc/api/a00743.html similarity index 70% rename from doc/api/a00193.html rename to doc/api/a00743.html index 65fdad66..4b730cb7 100644 --- a/doc/api/a00193.html +++ b/doc/api/a00743.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_functions
+
GLM_GTX_functions
- -

Include <glm/gtx/functions.hpp> to use the features of this extension. -More...

- - + - - +

Functions

template<typename T >
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 1D gauss function More...
GLM_FUNC_DECL T gauss (T x, T ExpectedValue, T StandardDeviation)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T gauss (vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
 2D gauss function More...
GLM_FUNC_DECL T gauss (vec< 2, T, Q > const &Coord, vec< 2, T, Q > const &ExpectedValue, vec< 2, T, Q > const &StandardDeviation)
 

Detailed Description

-

Include <glm/gtx/functions.hpp> to use the features of this extension.

+

Include <glm/gtx/functions.hpp> to use the features of this extension.

List of useful common functions.

Function Documentation

- + +

◆ gauss() [1/2]

+
@@ -131,11 +115,13 @@ Functions

1D gauss function

-
See also
GLM_GTC_epsilon
+
See also
GLM_GTC_epsilon
- + +

◆ gauss() [2/2]

+
@@ -166,7 +152,7 @@ Functions

2D gauss function

-
See also
GLM_GTC_epsilon
+
See also
GLM_GTC_epsilon
@@ -175,7 +161,7 @@ Functions diff --git a/doc/api/a00744.html b/doc/api/a00744.html new file mode 100644 index 00000000..185af632 --- /dev/null +++ b/doc/api/a00744.html @@ -0,0 +1,173 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_gradient_paint + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_gradient_paint
+
+
+ + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL T linearGradient (vec< 2, T, Q > const &Point0, vec< 2, T, Q > const &Point1, vec< 2, T, Q > const &Position)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T radialGradient (vec< 2, T, Q > const &Center, T const &Radius, vec< 2, T, Q > const &Focal, vec< 2, T, Q > const &Position)
 
+

Detailed Description

+

Include <glm/gtx/gradient_paint.hpp> to use the features of this extension.

+

Functions that return the color of procedural gradient for specific coordinates.

+

Function Documentation

+ +

◆ linearGradient()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::linearGradient (vec< 2, T, Q > const & Point0,
vec< 2, T, Q > const & Point1,
vec< 2, T, Q > const & Position 
)
+
+ +

Return a color from a linear gradient.

+
See also
- GLM_GTX_gradient_paint
+ +
+
+ +

◆ radialGradient()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::radialGradient (vec< 2, T, Q > const & Center,
T const & Radius,
vec< 2, T, Q > const & Focal,
vec< 2, T, Q > const & Position 
)
+
+ +

Return a color from a radial gradient.

+
See also
- GLM_GTX_gradient_paint
+ +
+
+
+ + + + diff --git a/doc/api/a00195.html b/doc/api/a00745.html similarity index 74% rename from doc/api/a00195.html rename to doc/api/a00745.html index b4898694..1c67ebc1 100644 --- a/doc/api/a00195.html +++ b/doc/api/a00745.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_handed_coordinate_space @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_handed_coordinate_space
+
GLM_GTX_handed_coordinate_space
Experimental extensions
- -

Include <glm/gtx/handed_coordinate_system.hpp> to use the features of this extension. -More...

- - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL bool leftHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 Return if a trihedron left handed or not. More...
GLM_FUNC_DECL bool leftHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool rightHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 Return if a trihedron right handed or not. More...
GLM_FUNC_DECL bool rightHanded (vec< 3, T, Q > const &tangent, vec< 3, T, Q > const &binormal, vec< 3, T, Q > const &normal)
 

Detailed Description

Include <glm/gtx/handed_coordinate_system.hpp> to use the features of this extension.

To know if a set of three basis vectors defines a right or left-handed coordinate system.

Function Documentation

- + +

◆ leftHanded()

+
@@ -135,7 +119,9 @@ Functions - + +

◆ rightHanded()

+
@@ -175,7 +161,7 @@ Functions diff --git a/doc/api/a00196.html b/doc/api/a00746.html similarity index 61% rename from doc/api/a00196.html rename to doc/api/a00746.html index 26fe2181..3d7523d9 100644 --- a/doc/api/a00196.html +++ b/doc/api/a00746.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_hash @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
+
- -

Include <glm/gtx/hash.hpp> to use the features of this extension. -More...

-

Include <glm/gtx/hash.hpp> to use the features of this extension.

+

Include <glm/gtx/hash.hpp> to use the features of this extension.

Add std::hash support for glm types

diff --git a/doc/api/a00747.html b/doc/api/a00747.html new file mode 100644 index 00000000..14ac4a22 --- /dev/null +++ b/doc/api/a00747.html @@ -0,0 +1,360 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_integer + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs | +Functions
+
+
+
+
+ + + + +

+Typedefs

typedef signed int sint
 
+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType factorial (genType const &x)
 
GLM_FUNC_DECL unsigned int floor_log2 (unsigned int x)
 
GLM_FUNC_DECL int mod (int x, int y)
 
GLM_FUNC_DECL uint mod (uint x, uint y)
 
GLM_FUNC_DECL uint nlz (uint x)
 
GLM_FUNC_DECL int pow (int x, uint y)
 
GLM_FUNC_DECL uint pow (uint x, uint y)
 
GLM_FUNC_DECL int sqrt (int x)
 
GLM_FUNC_DECL uint sqrt (uint x)
 
+

Detailed Description

+

Include <glm/gtx/integer.hpp> to use the features of this extension.

+

Add support for integer for core functions

+

Typedef Documentation

+ +

◆ sint

+ +
+
+ + + + +
typedef signed int sint
+
+ +

32bit signed integer.

+

From GLM_GTX_integer extension.

+ +

Definition at line 55 of file gtx/integer.hpp.

+ +
+
+

Function Documentation

+ +

◆ factorial()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::factorial (genType const & x)
+
+ +

Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension.

+ +
+
+ +

◆ floor_log2()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL unsigned int glm::floor_log2 (unsigned int x)
+
+ +

Returns the floor log2 of x.

+

From GLM_GTX_integer extension.

+ +
+
+ +

◆ mod() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int glm::mod (int x,
int y 
)
+
+ +

Modulus.

+

Returns x - y * floor(x / y) for each component in x using the floating point value y. From GLM_GTX_integer extension.

+ +
+
+ +

◆ mod() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint glm::mod (uint x,
uint y 
)
+
+ +

Modulus.

+

Returns x - y * floor(x / y) for each component in x using the floating point value y. From GLM_GTX_integer extension.

+ +
+
+ +

◆ nlz()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::nlz (uint x)
+
+ +

Returns the number of leading zeros.

+

From GLM_GTX_integer extension.

+ +
+
+ +

◆ pow() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL int glm::pow (int x,
uint y 
)
+
+ +

Returns x raised to the y power.

+

From GLM_GTX_integer extension.

+ +
+
+ +

◆ pow() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL uint glm::pow (uint x,
uint y 
)
+
+ +

Returns x raised to the y power.

+

From GLM_GTX_integer extension.

+ +
+
+ +

◆ sqrt() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL int glm::sqrt (int x)
+
+ +

Returns the positive square root of x.

+

From GLM_GTX_integer extension.

+ +
+
+ +

◆ sqrt() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::sqrt (uint x)
+
+ +

Returns the positive square root of x.

+

From GLM_GTX_integer extension.

+ +
+
+
+ + + + diff --git a/doc/api/a00198.html b/doc/api/a00748.html similarity index 82% rename from doc/api/a00198.html rename to doc/api/a00748.html index 79643c0d..12985e26 100644 --- a/doc/api/a00198.html +++ b/doc/api/a00748.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_intersect @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
GLM_GTX_intersect
+
GLM_GTX_intersect
Experimental extensions
- -

Include <glm/gtx/intersect.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL bool intersectLineSphere (genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())
 Compute the intersection of a line and a sphere. More...
GLM_FUNC_DECL bool intersectLineSphere (genType const &point0, genType const &point1, genType const &sphereCenter, typename genType::value_type sphereRadius, genType &intersectionPosition1, genType &intersectionNormal1, genType &intersectionPosition2=genType(), genType &intersectionNormal2=genType())
 
template<typename genType >
GLM_FUNC_DECL bool intersectLineTriangle (genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)
 Compute the intersection of a line and a triangle. More...
GLM_FUNC_DECL bool intersectLineTriangle (genType const &orig, genType const &dir, genType const &vert0, genType const &vert1, genType const &vert2, genType &position)
 
template<typename genType >
GLM_FUNC_DECL bool intersectRayPlane (genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)
 Compute the intersection of a ray and a plane. More...
GLM_FUNC_DECL bool intersectRayPlane (genType const &orig, genType const &dir, genType const &planeOrig, genType const &planeNormal, typename genType::value_type &intersectionDistance)
 
template<typename genType >
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, typename genType::value_type const sphereRadiusSquered, typename genType::value_type &intersectionDistance)
 Compute the intersection distance of a ray and a sphere. More...
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, typename genType::value_type const sphereRadiusSquered, typename genType::value_type &intersectionDistance)
 
template<typename genType >
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)
 Compute the intersection of a ray and a sphere. More...
GLM_FUNC_DECL bool intersectRaySphere (genType const &rayStarting, genType const &rayNormalizedDirection, genType const &sphereCenter, const typename genType::value_type sphereRadius, genType &intersectionPosition, genType &intersectionNormal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool intersectRayTriangle (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dir, vec< 3, T, Q > const &v0, vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 2, T, Q > &baryPosition, T &distance)
 Compute the intersection of a ray and a triangle. More...
GLM_FUNC_DECL bool intersectRayTriangle (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dir, vec< 3, T, Q > const &v0, vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 2, T, Q > &baryPosition, T &distance)
 

Detailed Description

-

Include <glm/gtx/intersect.hpp> to use the features of this extension.

+

Include <glm/gtx/intersect.hpp> to use the features of this extension.

Add intersection functions

Function Documentation

- + +

◆ intersectLineSphere()

+
@@ -181,7 +161,9 @@ Functions - + +

◆ intersectLineTriangle()

+
@@ -234,7 +216,9 @@ Functions - + +

◆ intersectRayPlane()

+
@@ -281,7 +265,9 @@ Functions - + +

◆ intersectRaySphere() [1/2]

+
@@ -328,7 +314,9 @@ Functions - + +

◆ intersectRaySphere() [2/2]

+
@@ -381,7 +369,9 @@ Functions - + +

◆ intersectRayTriangle()

+
@@ -445,7 +435,7 @@ Functions diff --git a/doc/api/a00199.html b/doc/api/a00749.html similarity index 65% rename from doc/api/a00199.html rename to doc/api/a00749.html index a73c5f42..995e0cfe 100644 --- a/doc/api/a00199.html +++ b/doc/api/a00749.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_io @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
+
- -

Include <glm/gtx/io.hpp> to use the features of this extension. -More...

Detailed Description

-

Include <glm/gtx/io.hpp> to use the features of this extension.

+

Include <glm/gtx/io.hpp> to use the features of this extension.

std::[w]ostream support for glm types

std::[w]ostream support for glm types + qualifier/width/etc. manipulators based on howard hinnant's std::chrono io proposal [http://home.roadrunner.com/~hinnant/bloomington/chrono_io.html]

@@ -91,7 +75,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/api/a00200.html b/doc/api/a00750.html similarity index 71% rename from doc/api/a00200.html rename to doc/api/a00750.html index ec7286ce..29e8952a 100644 --- a/doc/api/a00200.html +++ b/doc/api/a00750.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_log_base @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
GLM_GTX_log_base
+
GLM_GTX_log_base
Experimental extensions
- -

Include <glm/gtx/log_base.hpp> to use the features of this extension. -More...

- - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType log (genType const &x, genType const &base)
 Logarithm for any base. More...
GLM_FUNC_DECL genType log (genType const &x, genType const &base)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x, vec< L, T, Q > const &base)
 Logarithm for any base. More...
GLM_FUNC_DECL vec< L, T, Q > sign (vec< L, T, Q > const &x, vec< L, T, Q > const &base)
 

Detailed Description

-

Include <glm/gtx/log_base.hpp> to use the features of this extension.

+

Include <glm/gtx/log_base.hpp> to use the features of this extension.

Logarithm for any base. base can be a vector or a scalar.

Function Documentation

- + +

◆ log()

+
@@ -129,7 +113,9 @@ Functions - + +

◆ sign()

+
@@ -163,7 +149,7 @@ Functions diff --git a/doc/api/a00201.html b/doc/api/a00751.html similarity index 68% rename from doc/api/a00201.html rename to doc/api/a00751.html index 57a6d671..e52e23ba 100644 --- a/doc/api/a00201.html +++ b/doc/api/a00751.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_matrix_cross_product @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_matrix_cross_product
+
GLM_GTX_matrix_cross_product
- -

Include <glm/gtx/matrix_cross_product.hpp> to use the features of this extension. -More...

- - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3 (vec< 3, T, Q > const &x)
 Build a cross product matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > matrixCross3 (vec< 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4 (vec< 3, T, Q > const &x)
 Build a cross product matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > matrixCross4 (vec< 3, T, Q > const &x)
 

Detailed Description

-

Include <glm/gtx/matrix_cross_product.hpp> to use the features of this extension.

+

Include <glm/gtx/matrix_cross_product.hpp> to use the features of this extension.

Build cross product matrices

Function Documentation

- + +

◆ matrixCross3()

+
@@ -119,7 +103,9 @@ Functions - + +

◆ matrixCross4()

+
@@ -143,7 +129,7 @@ Functions diff --git a/doc/api/a00202.html b/doc/api/a00752.html similarity index 65% rename from doc/api/a00202.html rename to doc/api/a00752.html index ae5712dc..a240b34d 100644 --- a/doc/api/a00202.html +++ b/doc/api/a00752.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_matrix_decompose @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_matrix_decompose
+
GLM_GTX_matrix_decompose
- -

Include <glm/gtx/matrix_decompose.hpp> to use the features of this extension. -More...

- - - - + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL bool decompose (mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, tquat< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective)
 Decomposes a model matrix to translations, rotation and scale components. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool decompose (mat< 4, 4, T, Q > const &modelMatrix, vec< 3, T, Q > &scale, qua< T, Q > &orientation, vec< 3, T, Q > &translation, vec< 3, T, Q > &skew, vec< 4, T, Q > &perspective)
 

Detailed Description

-

Include <glm/gtx/matrix_decompose.hpp> to use the features of this extension.

+

Include <glm/gtx/matrix_decompose.hpp> to use the features of this extension.

Decomposes a model matrix to translations, rotation and scale components

Function Documentation

- + +

◆ decompose()

+
@@ -115,7 +100,7 @@ Functions - + @@ -145,7 +130,7 @@ Functions

Decomposes a model matrix to translations, rotation and scale components.

-
See also
GLM_GTX_matrix_decompose
+
See also
GLM_GTX_matrix_decompose
@@ -154,7 +139,7 @@ Functions diff --git a/doc/api/a00753.html b/doc/api/a00753.html new file mode 100644 index 00000000..64091313 --- /dev/null +++ b/doc/api/a00753.html @@ -0,0 +1,185 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_matrix_factorisation + + + + + + + + + +
+
+
tquat< T, Q > & qua< T, Q > &  orientation,
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_matrix_factorisation
+
+
+ + + + + + + + + + + + + + +

+Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > fliplr (mat< C, R, T, Q > const &in)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > flipud (mat< C, R, T, Q > const &in)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void qr_decompose (mat< C, R, T, Q > const &in, mat<(C< R ? C :R), R, T, Q > &q, mat< C,(C< R ? C :R), T, Q > &r)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL void rq_decompose (mat< C, R, T, Q > const &in, mat<(C< R ? C :R), R, T, Q > &r, mat< C,(C< R ? C :R), T, Q > &q)
 
+

Detailed Description

+

Include <glm/gtx/matrix_factorisation.hpp> to use the features of this extension.

+

Functions to factor matrices in various forms

+

Function Documentation

+ +

◆ fliplr()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<C, R, T, Q> glm::fliplr (mat< C, R, T, Q > const & in)
+
+ +

Flips the matrix columns right and left.

+

From GLM_GTX_matrix_factorisation extension.

+ +
+
+ +

◆ flipud()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<C, R, T, Q> glm::flipud (mat< C, R, T, Q > const & in)
+
+ +

Flips the matrix rows up and down.

+

From GLM_GTX_matrix_factorisation extension.

+ +
+
+ +

◆ qr_decompose()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL void glm::qr_decompose (mat< C, R, T, Q > const & in)
+
+ +

Performs QR factorisation of a matrix.

+

Returns 2 matrices, q and r, such that the columns of q are orthonormal and span the same subspace than those of the input matrix, r is an upper triangular matrix, and q*r=in. Given an n-by-m input matrix, q has dimensions min(n,m)-by-m, and r has dimensions n-by-min(n,m).

+

From GLM_GTX_matrix_factorisation extension.

+ +
+
+ +

◆ rq_decompose()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL void glm::rq_decompose (mat< C, R, T, Q > const & in)
+
+ +

Performs RQ factorisation of a matrix.

+

Returns 2 matrices, r and q, such that r is an upper triangular matrix, the rows of q are orthonormal and span the same subspace than those of the input matrix, and r*q=in. Note that in the context of RQ factorisation, the diagonal is seen as starting in the lower-right corner of the matrix, instead of the usual upper-left. Given an n-by-m input matrix, r has dimensions min(n,m)-by-m, and q has dimensions n-by-min(n,m).

+

From GLM_GTX_matrix_factorisation extension.

+ +
+
+
+ + + + diff --git a/doc/api/a00204.html b/doc/api/a00754.html similarity index 60% rename from doc/api/a00204.html rename to doc/api/a00754.html index 676579e6..86b41166 100644 --- a/doc/api/a00204.html +++ b/doc/api/a00754.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_matrix_interpolation @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_matrix_interpolation
+
GLM_GTX_matrix_interpolation
Experimental extensions
- -

Include <glm/gtx/matrix_interpolation.hpp> to use the features of this extension. -More...

- - - - - - - - - - - - - - - - + + + + + + + + + + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL void axisAngle (mat< 4, 4, T, Q > const &mat, vec< 3, T, Q > &axis, T &angle)
 Get the axis and angle of the rotation from a matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix (vec< 3, T, Q > const &axis, T const angle)
 Build a matrix from axis and angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation (mat< 4, 4, T, Q > const &mat)
 Extracts the rotation part of a matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate (mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const delta)
 Build a interpolation of 4 * 4 matrixes. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL void axisAngle (mat< 4, 4, T, Q > const &Mat, vec< 3, T, Q > &Axis, T &Angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > axisAngleMatrix (vec< 3, T, Q > const &Axis, T const Angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > extractMatrixRotation (mat< 4, 4, T, Q > const &Mat)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > interpolate (mat< 4, 4, T, Q > const &m1, mat< 4, 4, T, Q > const &m2, T const Delta)
 

Detailed Description

-

Include <glm/gtx/matrix_interpolation.hpp> to use the features of this extension.

+

Include <glm/gtx/matrix_interpolation.hpp> to use the features of this extension.

Allows to directly interpolate two matrices.

Function Documentation

- + +

◆ axisAngle()

+
@@ -116,19 +98,19 @@ Functions - + - + - + @@ -143,7 +125,9 @@ Functions - + +

◆ axisAngleMatrix()

+
GLM_FUNC_DECL void glm::axisAngle ( mat< 4, 4, T, Q > const & mat, Mat,
vec< 3, T, Q > & axis, Axis,
T & angle Angle 
@@ -151,13 +135,13 @@ Functions - + - + @@ -172,7 +156,9 @@ Functions - + +

◆ extractMatrixRotation()

+
GLM_FUNC_DECL mat<4, 4, T, Q> glm::axisAngleMatrix ( vec< 3, T, Q > const & axis, Axis,
T const angle Angle 
@@ -180,7 +166,7 @@ Functions - +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::extractMatrixRotation ( mat< 4, 4, T, Q > const & mat)Mat)
@@ -191,7 +177,9 @@ Functions
- + +

◆ interpolate()

+
@@ -211,7 +199,7 @@ Functions - + @@ -231,7 +219,7 @@ Functions diff --git a/doc/api/a00205.html b/doc/api/a00755.html similarity index 76% rename from doc/api/a00205.html rename to doc/api/a00755.html index deb58a26..3577baca 100644 --- a/doc/api/a00205.html +++ b/doc/api/a00755.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_matrix_major_storage @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
T const delta Delta 
- + - + + + +
Functions
-
GLM_GTX_matrix_major_storage
+
GLM_GTX_matrix_major_storage
- -

Include <glm/gtx/matrix_major_storage.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 Build a column major matrix from column vectors. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (mat< 2, 2, T, Q > const &m)
 Build a column major matrix from other matrix. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > colMajor2 (mat< 2, 2, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 Build a column major matrix from column vectors. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (mat< 3, 3, T, Q > const &m)
 Build a column major matrix from other matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > colMajor3 (mat< 3, 3, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 Build a column major matrix from column vectors. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (mat< 4, 4, T, Q > const &m)
 Build a column major matrix from other matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > colMajor4 (mat< 4, 4, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 Build a row major matrix from row vectors. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (vec< 2, T, Q > const &v1, vec< 2, T, Q > const &v2)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (mat< 2, 2, T, Q > const &m)
 Build a row major matrix from other matrix. More...
GLM_FUNC_DECL mat< 2, 2, T, Q > rowMajor2 (mat< 2, 2, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 Build a row major matrix from row vectors. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (mat< 3, 3, T, Q > const &m)
 Build a row major matrix from other matrix. More...
GLM_FUNC_DECL mat< 3, 3, T, Q > rowMajor3 (mat< 3, 3, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 Build a row major matrix from row vectors. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (vec< 4, T, Q > const &v1, vec< 4, T, Q > const &v2, vec< 4, T, Q > const &v3, vec< 4, T, Q > const &v4)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (mat< 4, 4, T, Q > const &m)
 Build a row major matrix from other matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rowMajor4 (mat< 4, 4, T, Q > const &m)
 

Detailed Description

-

Include <glm/gtx/matrix_major_storage.hpp> to use the features of this extension.

+

Include <glm/gtx/matrix_major_storage.hpp> to use the features of this extension.

Build matrices with specific matrix order, row or column

Function Documentation

- + +

◆ colMajor2() [1/2]

+
@@ -169,7 +143,9 @@ Functions - + +

◆ colMajor2() [2/2]

+
@@ -188,7 +164,9 @@ Functions - + +

◆ colMajor3() [1/2]

+
@@ -223,7 +201,9 @@ Functions - + +

◆ colMajor3() [2/2]

+
@@ -242,7 +222,9 @@ Functions - + +

◆ colMajor4() [1/2]

+
@@ -283,7 +265,9 @@ Functions - + +

◆ colMajor4() [2/2]

+
@@ -302,7 +286,9 @@ Functions - + +

◆ rowMajor2() [1/2]

+
@@ -331,7 +317,9 @@ Functions - + +

◆ rowMajor2() [2/2]

+
@@ -350,7 +338,9 @@ Functions - + +

◆ rowMajor3() [1/2]

+
@@ -385,7 +375,9 @@ Functions - + +

◆ rowMajor3() [2/2]

+
@@ -404,7 +396,9 @@ Functions - + +

◆ rowMajor4() [1/2]

+
@@ -445,7 +439,9 @@ Functions - + +

◆ rowMajor4() [2/2]

+
@@ -469,7 +465,7 @@ Functions diff --git a/doc/api/a00756.html b/doc/api/a00756.html new file mode 100644 index 00000000..a6fe7ebc --- /dev/null +++ b/doc/api/a00756.html @@ -0,0 +1,303 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_matrix_operation + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_matrix_operation
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 2, T, Q > diagonal2x2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 3, T, Q > diagonal2x3 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 2, 4, T, Q > diagonal2x4 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 2, T, Q > diagonal3x2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > diagonal3x3 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 4, T, Q > diagonal3x4 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 2, T, Q > diagonal4x2 (vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 3, T, Q > diagonal4x3 (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > diagonal4x4 (vec< 4, T, Q > const &v)
 
+

Detailed Description

+

Include <glm/gtx/matrix_operation.hpp> to use the features of this extension.

+

Build diagonal matrices from vectors.

+

Function Documentation

+ +

◆ diagonal2x2()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<2, 2, T, Q> glm::diagonal2x2 (vec< 2, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal2x3()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<2, 3, T, Q> glm::diagonal2x3 (vec< 2, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal2x4()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<2, 4, T, Q> glm::diagonal2x4 (vec< 2, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal3x2()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<3, 2, T, Q> glm::diagonal3x2 (vec< 2, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal3x3()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::diagonal3x3 (vec< 3, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal3x4()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<3, 4, T, Q> glm::diagonal3x4 (vec< 3, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal4x2()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<4, 2, T, Q> glm::diagonal4x2 (vec< 2, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal4x3()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<4, 3, T, Q> glm::diagonal4x3 (vec< 3, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+ +

◆ diagonal4x4()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::diagonal4x4 (vec< 4, T, Q > const & v)
+
+ +

Build a diagonal matrix.

+

From GLM_GTX_matrix_operation extension.

+ +
+
+
+ + + + diff --git a/doc/api/a00207.html b/doc/api/a00757.html similarity index 75% rename from doc/api/a00207.html rename to doc/api/a00757.html index 46812ebb..30522c42 100644 --- a/doc/api/a00207.html +++ b/doc/api/a00757.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_matrix_query @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_matrix_query
+
GLM_GTX_matrix_query
Experimental extensions
- -

Include <glm/gtx/matrix_query.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<length_t C, length_t R, typename T , qualifier Q, template< length_t, length_t, typename, qualifier > class matType>
GLM_FUNC_DECL bool isIdentity (matType< C, R, T, Q > const &m, T const &epsilon)
 Return whether a matrix is an identity matrix. More...
GLM_FUNC_DECL bool isIdentity (matType< C, R, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (mat< 2, 2, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
GLM_FUNC_DECL bool isNormalized (mat< 2, 2, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (mat< 3, 3, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
GLM_FUNC_DECL bool isNormalized (mat< 3, 3, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (mat< 4, 4, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a normalized matrix. More...
GLM_FUNC_DECL bool isNormalized (mat< 4, 4, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (mat< 2, 2, T, Q > const &m, T const &epsilon)
 Return whether a matrix a null matrix. More...
GLM_FUNC_DECL bool isNull (mat< 2, 2, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (mat< 3, 3, T, Q > const &m, T const &epsilon)
 Return whether a matrix a null matrix. More...
GLM_FUNC_DECL bool isNull (mat< 3, 3, T, Q > const &m, T const &epsilon)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (mat< 4, 4, T, Q > const &m, T const &epsilon)
 Return whether a matrix is a null matrix. More...
GLM_FUNC_DECL bool isNull (mat< 4, 4, T, Q > const &m, T const &epsilon)
 
template<length_t C, length_t R, typename T , qualifier Q, template< length_t, length_t, typename, qualifier > class matType>
GLM_FUNC_DECL bool isOrthogonal (matType< C, R, T, Q > const &m, T const &epsilon)
 Return whether a matrix is an orthonormalized matrix. More...
GLM_FUNC_DECL bool isOrthogonal (matType< C, R, T, Q > const &m, T const &epsilon)
 

Detailed Description

-

Include <glm/gtx/matrix_query.hpp> to use the features of this extension.

+

Include <glm/gtx/matrix_query.hpp> to use the features of this extension.

Query to evaluate matrix properties

Function Documentation

- + +

◆ isIdentity()

+
@@ -153,7 +131,9 @@ Functions - + +

◆ isNormalized() [1/3]

+
@@ -182,7 +162,9 @@ Functions - + +

◆ isNormalized() [2/3]

+
@@ -211,7 +193,9 @@ Functions - + +

◆ isNormalized() [3/3]

+
@@ -240,7 +224,9 @@ Functions - + +

◆ isNull() [1/3]

+
@@ -269,7 +255,9 @@ Functions - + +

◆ isNull() [2/3]

+
@@ -298,7 +286,9 @@ Functions - + +

◆ isNull() [3/3]

+
@@ -327,7 +317,9 @@ Functions - + +

◆ isOrthogonal()

+
@@ -361,7 +353,7 @@ Functions diff --git a/doc/api/a00208.html b/doc/api/a00758.html similarity index 75% rename from doc/api/a00208.html rename to doc/api/a00758.html index ec21248a..78b4d548 100644 --- a/doc/api/a00208.html +++ b/doc/api/a00758.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_matrix_transform_2d @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_matrix_transform_2d
+
GLM_GTX_matrix_transform_2d
- -

Include <glm/gtx/matrix_transform_2d.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > rotate (mat< 3, 3, T, Q > const &m, T angle)
 Builds a rotation 3 * 3 matrix created from an angle. More...
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > rotate (mat< 3, 3, T, Q > const &m, T angle)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > scale (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 Builds a scale 3 * 3 matrix created from a vector of 2 components. More...
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > scale (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearX (mat< 3, 3, T, Q > const &m, T y)
 Builds an horizontal (parallel to the x axis) shear 3 * 3 matrix. More...
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearX (mat< 3, 3, T, Q > const &m, T y)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearY (mat< 3, 3, T, Q > const &m, T x)
 Builds a vertical (parallel to the y axis) shear 3 * 3 matrix. More...
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > shearY (mat< 3, 3, T, Q > const &m, T x)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > translate (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 Builds a translation 3 * 3 matrix created from a vector of 2 components. More...
GLM_FUNC_QUALIFIER mat< 3, 3, T, Q > translate (mat< 3, 3, T, Q > const &m, vec< 2, T, Q > const &v)
 

Detailed Description

-

Include <glm/gtx/matrix_transform_2d.hpp> to use the features of this extension.

+

Include <glm/gtx/matrix_transform_2d.hpp> to use the features of this extension.

Defines functions that generate common 2d transformation matrices.

Function Documentation

- + +

◆ rotate()

+
@@ -147,7 +128,9 @@ Functions - + +

◆ scale()

+
@@ -182,7 +165,9 @@ Functions - + +

◆ shearX()

+
@@ -217,7 +202,9 @@ Functions - + +

◆ shearY()

+
@@ -252,7 +239,9 @@ Functions - + +

◆ translate()

+
@@ -292,7 +281,7 @@ Functions diff --git a/doc/api/a00759.html b/doc/api/a00759.html new file mode 100644 index 00000000..77a0a2f6 --- /dev/null +++ b/doc/api/a00759.html @@ -0,0 +1,90 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_mixed_producte + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_mixed_producte
+
+
+ + + + + +

+Functions

+template<typename T , qualifier Q>
GLM_FUNC_DECL T mixedProduct (vec< 3, T, Q > const &v1, vec< 3, T, Q > const &v2, vec< 3, T, Q > const &v3)
 
+

Detailed Description

+

Include <glm/gtx/mixed_product.hpp> to use the features of this extension.

+

Mixed product of 3 vectors.

+
+ + + + diff --git a/doc/api/a00210.html b/doc/api/a00760.html similarity index 74% rename from doc/api/a00210.html rename to doc/api/a00760.html index 9752f5ae..559265e8 100644 --- a/doc/api/a00210.html +++ b/doc/api/a00760.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_norm @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_norm
+
GLM_GTX_norm
Experimental extensions
- -

Include <glm/gtx/norm.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T distance2 (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 Returns the squared distance between p0 and p1, i.e., length2(p0 - p1). More...
GLM_FUNC_DECL T distance2 (vec< L, T, Q > const &p0, vec< L, T, Q > const &p1)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Returns the L1 norm between x and y. More...
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &v)
 Returns the L1 norm of v. More...
GLM_FUNC_DECL T l1Norm (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 Returns the L2 norm between x and y. More...
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x)
 Returns the L2 norm of v. More...
GLM_FUNC_DECL T l2Norm (vec< 3, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T length2 (vec< L, T, Q > const &x)
 Returns the squared length of x. More...
GLM_FUNC_DECL T length2 (vec< L, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, unsigned int Depth)
 Returns the L norm between x and y. More...
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, unsigned int Depth)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, unsigned int Depth)
 Returns the L norm of v. More...
GLM_FUNC_DECL T lxNorm (vec< 3, T, Q > const &x, unsigned int Depth)
 

Detailed Description

-

Include <glm/gtx/norm.hpp> to use the features of this extension.

+

Include <glm/gtx/norm.hpp> to use the features of this extension.

Various ways to compute vector norms.

Function Documentation

- + +

◆ distance2()

+
@@ -153,7 +131,9 @@ Functions - + +

◆ l1Norm() [1/2]

+
@@ -182,7 +162,9 @@ Functions - + +

◆ l1Norm() [2/2]

+
@@ -201,7 +183,9 @@ Functions - + +

◆ l2Norm() [1/2]

+
@@ -230,7 +214,9 @@ Functions - + +

◆ l2Norm() [2/2]

+
@@ -249,7 +235,9 @@ Functions - + +

◆ length2()

+
@@ -268,7 +256,9 @@ Functions - + +

◆ lxNorm() [1/2]

+
@@ -303,7 +293,9 @@ Functions - + +

◆ lxNorm() [2/2]

+
@@ -337,7 +329,7 @@ Functions diff --git a/doc/api/a00211.html b/doc/api/a00761.html similarity index 69% rename from doc/api/a00211.html rename to doc/api/a00761.html index a78c16f6..90f09ba2 100644 --- a/doc/api/a00211.html +++ b/doc/api/a00761.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_normal @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
+
GLM_GTX_normal
- -

Include <glm/gtx/normal.hpp> to use the features of this extension. -More...

- - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal (vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
 Computes triangle normal from triangle points. More...
GLM_FUNC_DECL vec< 3, T, Q > triangleNormal (vec< 3, T, Q > const &p1, vec< 3, T, Q > const &p2, vec< 3, T, Q > const &p3)
 

Detailed Description

-

Include <glm/gtx/normal.hpp> to use the features of this extension.

+

Include <glm/gtx/normal.hpp> to use the features of this extension.

Compute the normal of a triangle.

Function Documentation

- + +

◆ triangleNormal()

+
@@ -127,7 +112,7 @@ Functions

Computes triangle normal from triangle points.

-
See also
GLM_GTX_normal
+
See also
GLM_GTX_normal
@@ -136,7 +121,7 @@ Functions diff --git a/doc/api/a00762.html b/doc/api/a00762.html new file mode 100644 index 00000000..19f51c2f --- /dev/null +++ b/doc/api/a00762.html @@ -0,0 +1,157 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_normalize_dot + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_normalize_dot
+
+
+ + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T fastNormalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T normalizeDot (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
+

Detailed Description

+

Include <glm/gtx/normalized_dot.hpp> to use the features of this extension.

+

Dot product of vectors that need to be normalize with a single square root.

+

Function Documentation

+ +

◆ fastNormalizeDot()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::fastNormalizeDot (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Normalize parameters and returns the dot product of x and y.

+

Faster that dot(fastNormalize(x), fastNormalize(y)).

+
See also
GLM_GTX_normalize_dot extension.
+ +
+
+ +

◆ normalizeDot()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL T glm::normalizeDot (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Normalize parameters and returns the dot product of x and y.

+

It's faster that dot(normalize(x), normalize(y)).

+
See also
GLM_GTX_normalize_dot extension.
+ +
+
+
+ + + + diff --git a/doc/api/a00763.html b/doc/api/a00763.html new file mode 100644 index 00000000..e29cb239 --- /dev/null +++ b/doc/api/a00763.html @@ -0,0 +1,116 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_number_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_number_precision
+
+
+ + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef f32 f32mat1
 
+typedef f32 f32mat1x1
 
+typedef f32 f32vec1
 
+typedef f64 f64mat1
 
+typedef f64 f64mat1x1
 
+typedef f64 f64vec1
 
+typedef u16 u16vec1
 
+typedef u32 u32vec1
 
+typedef u64 u64vec1
 
+typedef u8 u8vec1
 
+

Detailed Description

+

Include <glm/gtx/number_precision.hpp> to use the features of this extension.

+

Defined size types.

+
+ + + + diff --git a/doc/api/a00214.html b/doc/api/a00764.html similarity index 66% rename from doc/api/a00214.html rename to doc/api/a00764.html index a14e670f..42a8beb9 100644 --- a/doc/api/a00214.html +++ b/doc/api/a00764.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_optimum_pow @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_optimum_pow
+
GLM_GTX_optimum_pow
Experimental extensions
- -

Include <glm/gtx/optimum_pow.hpp> to use the features of this extension. -More...

- - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType pow2 (genType const &x)
 Returns x raised to the power of 2. More...
GLM_FUNC_DECL genType pow2 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType pow3 (genType const &x)
 Returns x raised to the power of 3. More...
GLM_FUNC_DECL genType pow3 (genType const &x)
 
template<typename genType >
GLM_FUNC_DECL genType pow4 (genType const &x)
 Returns x raised to the power of 4. More...
GLM_FUNC_DECL genType pow4 (genType const &x)
 

Detailed Description

-

Include <glm/gtx/optimum_pow.hpp> to use the features of this extension.

+

Include <glm/gtx/optimum_pow.hpp> to use the features of this extension.

Integer exponentiation of power functions.

Function Documentation

- + +

◆ pow2()

+
@@ -119,11 +102,13 @@ Functions

Returns x raised to the power of 2.

-
See also
GLM_GTX_optimum_pow
+
See also
GLM_GTX_optimum_pow
- + +

◆ pow3()

+
@@ -138,11 +123,13 @@ Functions

Returns x raised to the power of 3.

-
See also
GLM_GTX_optimum_pow
+
See also
GLM_GTX_optimum_pow
- + +

◆ pow4()

+
@@ -157,7 +144,7 @@ Functions

Returns x raised to the power of 4.

-
See also
GLM_GTX_optimum_pow
+
See also
GLM_GTX_optimum_pow
@@ -166,7 +153,7 @@ Functions diff --git a/doc/api/a00765.html b/doc/api/a00765.html new file mode 100644 index 00000000..fca4a0e1 --- /dev/null +++ b/doc/api/a00765.html @@ -0,0 +1,145 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_orthonormalize + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_orthonormalize
+
+
+ + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > orthonormalize (mat< 3, 3, T, Q > const &m)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > orthonormalize (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y)
 
+

Detailed Description

+

Include <glm/gtx/orthonormalize.hpp> to use the features of this extension.

+

Orthonormalize matrices.

+

Function Documentation

+ +

◆ orthonormalize() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::orthonormalize (mat< 3, 3, T, Q > const & m)
+
+ +

Returns the orthonormalized matrix of m.

+
See also
GLM_GTX_orthonormalize
+ +
+
+ +

◆ orthonormalize() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::orthonormalize (vec< 3, T, Q > const & x,
vec< 3, T, Q > const & y 
)
+
+ +

Orthonormalizes x according y.

+
See also
GLM_GTX_orthonormalize
+ +
+
+
+ + + + diff --git a/doc/api/a00216.html b/doc/api/a00766.html similarity index 68% rename from doc/api/a00216.html rename to doc/api/a00766.html index 234c2fc3..d2013e26 100644 --- a/doc/api/a00216.html +++ b/doc/api/a00766.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_perpendicular @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_perpendicular
+
GLM_GTX_perpendicular
Experimental extensions
- -

Include <glm/gtx/perpendicular.hpp> to use the features of this extension. -More...

- - +

Functions

template<typename genType >
GLM_FUNC_DECL genType perp (genType const &x, genType const &Normal)
 Projects x a perpendicular axis of Normal. More...
GLM_FUNC_DECL genType perp (genType const &x, genType const &Normal)
 

Detailed Description

-

Include <glm/gtx/perpendicular.hpp> to use the features of this extension.

+

Include <glm/gtx/perpendicular.hpp> to use the features of this extension.

Perpendicular of a vector from other one

Function Documentation

- + +

◆ perp()

+
@@ -130,7 +115,7 @@ Functions diff --git a/doc/api/a00217.html b/doc/api/a00767.html similarity index 66% rename from doc/api/a00217.html rename to doc/api/a00767.html index 313ffe7b..99d5211e 100644 --- a/doc/api/a00217.html +++ b/doc/api/a00767.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_polar_coordinates @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_polar_coordinates
+
GLM_GTX_polar_coordinates
- -

Include <glm/gtx/polar_coordinates.hpp> to use the features of this extension. -More...

- - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > euclidean (vec< 2, T, Q > const &polar)
 Convert Polar to Euclidean coordinates. More...
GLM_FUNC_DECL vec< 3, T, Q > euclidean (vec< 2, T, Q > const &polar)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > polar (vec< 3, T, Q > const &euclidean)
 Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude. More...
GLM_FUNC_DECL vec< 3, T, Q > polar (vec< 3, T, Q > const &euclidean)
 

Detailed Description

-

Include <glm/gtx/polar_coordinates.hpp> to use the features of this extension.

+

Include <glm/gtx/polar_coordinates.hpp> to use the features of this extension.

Conversion from Euclidean space to polar space and revert.

Function Documentation

- + +

◆ euclidean()

+
@@ -115,11 +99,13 @@ Functions

Convert Polar to Euclidean coordinates.

-
See also
GLM_GTX_polar_coordinates
+
See also
GLM_GTX_polar_coordinates
- + +

◆ polar()

+
@@ -134,7 +120,7 @@ Functions

Convert Euclidean to Polar coordinates, x is the xz distance, y, the latitude and z the longitude.

-
See also
GLM_GTX_polar_coordinates
+
See also
GLM_GTX_polar_coordinates
@@ -143,7 +129,7 @@ Functions diff --git a/doc/api/a00768.html b/doc/api/a00768.html new file mode 100644 index 00000000..30214983 --- /dev/null +++ b/doc/api/a00768.html @@ -0,0 +1,121 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_projection + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_projection
+
+
+ + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType proj (genType const &x, genType const &Normal)
 
+

Detailed Description

+

Include <glm/gtx/projection.hpp> to use the features of this extension.

+

Projection of a vector to other one

+

Function Documentation

+ +

◆ proj()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL genType glm::proj (genType const & x,
genType const & Normal 
)
+
+ +

Projects x on Normal.

+
See also
GLM_GTX_projection
+ +
+
+
+ + + + diff --git a/doc/api/a00769.html b/doc/api/a00769.html new file mode 100644 index 00000000..27ad9165 --- /dev/null +++ b/doc/api/a00769.html @@ -0,0 +1,616 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_quaternion + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_quaternion
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &v, qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T extractRealComponent (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > fastMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > intermediate (qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length2 (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (qua< T, Q > const &q, vec< 4, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotation (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > shortMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > squad (qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3 (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4 (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 3, 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 4, 4, T, Q > const &x)
 
+

Detailed Description

+

Include <glm/gtx/quaternion.hpp> to use the features of this extension.

+

Extented quaternion types and functions

+

Function Documentation

+ +

◆ cross() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::cross (qua< T, Q > const & q,
vec< 3, T, Q > const & v 
)
+
+ +

Compute a cross product between a quaternion and a vector.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ cross() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::cross (vec< 3, T, Q > const & v,
qua< T, Q > const & q 
)
+
+ +

Compute a cross product between a vector and a quaternion.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ extractRealComponent()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::extractRealComponent (qua< T, Q > const & q)
+
+ +

Extract the real component of a quaternion.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ fastMix()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::fastMix (qua< T, Q > const & x,
qua< T, Q > const & y,
T const & a 
)
+
+ +

Quaternion normalized linear interpolation.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ intermediate()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::intermediate (qua< T, Q > const & prev,
qua< T, Q > const & curr,
qua< T, Q > const & next 
)
+
+ +

Returns an intermediate control point for squad interpolation.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ length2()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL T glm::length2 (qua< T, Q > const & q)
+
+ +

Returns the squared length of x.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ quat_identity()

+ +
+
+ + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::quat_identity ()
+
+ +

Create an identity quaternion.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ rotate() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<3, T, Q> glm::rotate (qua< T, Q > const & q,
vec< 3, T, Q > const & v 
)
+
+ +

Returns quarternion square root.

+
See also
GLM_GTX_quaternion Rotates a 3 components vector by a quaternion.
+
+GLM_GTX_quaternion
+ +
+
+ +

◆ rotate() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<4, T, Q> glm::rotate (qua< T, Q > const & q,
vec< 4, T, Q > const & v 
)
+
+ +

Rotates a 4 components vector by a quaternion.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ rotation()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::rotation (vec< 3, T, Q > const & orig,
vec< 3, T, Q > const & dest 
)
+
+ +

Compute the rotation between two vectors.

+

param orig vector, needs to be normalized param dest vector, needs to be normalized

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ shortMix()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::shortMix (qua< T, Q > const & x,
qua< T, Q > const & y,
T const & a 
)
+
+ +

Quaternion interpolation using the rotation short path.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ squad()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::squad (qua< T, Q > const & q1,
qua< T, Q > const & q2,
qua< T, Q > const & s1,
qua< T, Q > const & s2,
T const & h 
)
+
+ +

Compute a point on a path according squad equation.

+

q1 and q2 are control points; s1 and s2 are intermediate control points.

+
See also
GLM_GTX_quaternion
+ +
+
+ +

◆ toMat3()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::toMat3 (qua< T, Q > const & x)
+
+ +

Converts a quaternion to a 3 * 3 matrix.

+
See also
GLM_GTX_quaternion
+ +

Definition at line 113 of file gtx/quaternion.hpp.

+ +

References glm::mat3_cast().

+ +
+
+ +

◆ toMat4()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::toMat4 (qua< T, Q > const & x)
+
+ +

Converts a quaternion to a 4 * 4 matrix.

+
See also
GLM_GTX_quaternion
+ +

Definition at line 120 of file gtx/quaternion.hpp.

+ +

References glm::mat4_cast().

+ +
+
+ +

◆ toQuat() [1/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::toQuat (mat< 3, 3, T, Q > const & x)
+
+ +

Converts a 3 * 3 matrix to a quaternion.

+
See also
GLM_GTX_quaternion
+ +

Definition at line 127 of file gtx/quaternion.hpp.

+ +

References glm::quat_cast().

+ +
+
+ +

◆ toQuat() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL qua<T, Q> glm::toQuat (mat< 4, 4, T, Q > const & x)
+
+ +

Converts a 4 * 4 matrix to a quaternion.

+
See also
GLM_GTX_quaternion
+ +

Definition at line 134 of file gtx/quaternion.hpp.

+ +

References glm::quat_cast().

+ +
+
+
+ + + + diff --git a/doc/api/a00220.html b/doc/api/a00770.html similarity index 64% rename from doc/api/a00220.html rename to doc/api/a00770.html index f445306f..6041ec40 100644 --- a/doc/api/a00220.html +++ b/doc/api/a00770.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_range @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
-
+
GLM_GTX_range
- -

Include <glm/gtx/range.hpp> to use the features of this extension. -More...

Detailed Description

-

Include <glm/gtx/range.hpp> to use the features of this extension.

+

Include <glm/gtx/range.hpp> to use the features of this extension.

Defines begin and end for vectors and matrices. Useful for range-based for loop. The range is defined over the elements, not over columns or rows (e.g. mat4 has 16 elements).

diff --git a/doc/api/a00771.html b/doc/api/a00771.html new file mode 100644 index 00000000..bfe9f796 --- /dev/null +++ b/doc/api/a00771.html @@ -0,0 +1,171 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_raw_data + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+Typedefs
+
+
GLM_GTX_raw_data
+
+
+ + + + + + + + + + +

+Typedefs

typedef detail::uint8 byte
 
typedef detail::uint32 dword
 
typedef detail::uint64 qword
 
typedef detail::uint16 word
 
+

Detailed Description

+

Include <glm/gtx/raw_data.hpp> to use the features of this extension.

+

Projection of a vector to other one

+

Typedef Documentation

+ +

◆ byte

+ +
+
+ + + + +
typedef detail::uint8 byte
+
+ +

Type for byte numbers.

+

From GLM_GTX_raw_data extension.

+ +

Definition at line 34 of file raw_data.hpp.

+ +
+
+ +

◆ dword

+ +
+
+ + + + +
typedef detail::uint32 dword
+
+ +

Type for dword numbers.

+

From GLM_GTX_raw_data extension.

+ +

Definition at line 42 of file raw_data.hpp.

+ +
+
+ +

◆ qword

+ +
+
+ + + + +
typedef detail::uint64 qword
+
+ +

Type for qword numbers.

+

From GLM_GTX_raw_data extension.

+ +

Definition at line 46 of file raw_data.hpp.

+ +
+
+ +

◆ word

+ +
+
+ + + + +
typedef detail::uint16 word
+
+ +

Type for word numbers.

+

From GLM_GTX_raw_data extension.

+ +

Definition at line 38 of file raw_data.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00222.html b/doc/api/a00772.html similarity index 67% rename from doc/api/a00222.html rename to doc/api/a00772.html index 908303a5..e124b075 100644 --- a/doc/api/a00222.html +++ b/doc/api/a00772.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_rotate_normalized_axis @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
GLM_GTX_rotate_normalized_axis
+
GLM_GTX_rotate_normalized_axis
Experimental extensions
- -

Include <glm/gtx/rotate_normalized_axis.hpp> to use the features of this extension. -More...

- - + - - - - + + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotateNormalizedAxis (mat< 4, 4, T, Q > const &m, T const &angle, vec< 3, T, Q > const &axis)
 Builds a rotation 4 * 4 matrix created from a normalized axis and an angle. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rotateNormalizedAxis (mat< 4, 4, T, Q > const &m, T const &angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL tquat< T, Q > rotateNormalizedAxis (tquat< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 Rotates a quaternion from a vector of 3 components normalized axis and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotateNormalizedAxis (qua< T, Q > const &q, T const &angle, vec< 3, T, Q > const &axis)
 

Detailed Description

-

Include <glm/gtx/rotate_normalized_axis.hpp> to use the features of this extension.

+

Include <glm/gtx/rotate_normalized_axis.hpp> to use the features of this extension.

Quaternions and matrices rotations around normalized axis.

Function Documentation

- + +

◆ rotateNormalizedAxis() [1/2]

+
@@ -145,7 +129,7 @@ Functions
-
See also
GLM_GTX_rotate_normalized_axis
+
See also
GLM_GTX_rotate_normalized_axis
- rotate(T angle, T x, T y, T z)
@@ -155,14 +139,16 @@ Functions
- + +

◆ rotateNormalizedAxis() [2/2]

+
- + - + @@ -194,7 +180,7 @@ Functions
GLM_FUNC_DECL tquat<T, Q> glm::rotateNormalizedAxis GLM_FUNC_DECL qua<T, Q> glm::rotateNormalizedAxis (tquat< T, Q > const & qua< T, Q > const &  q,
-
See also
GLM_GTX_rotate_normalized_axis
+
See also
GLM_GTX_rotate_normalized_axis
@@ -203,7 +189,7 @@ Functions diff --git a/doc/api/a00223.html b/doc/api/a00773.html similarity index 76% rename from doc/api/a00223.html rename to doc/api/a00773.html index c3114c7b..530f8f50 100644 --- a/doc/api/a00223.html +++ b/doc/api/a00773.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_rotate_vector @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_rotate_vector
+
GLM_GTX_rotate_vector
Experimental extensions
- -

Include <glm/gtx/rotate_vector.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation (vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
 Build a rotation matrix from a normal and a up vector. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > orientation (vec< 3, T, Q > const &Normal, vec< 3, T, Q > const &Up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 2, T, Q > rotate (vec< 2, T, Q > const &v, T const &angle)
 Rotate a two dimensional vector. More...
GLM_FUNC_DECL vec< 2, T, Q > rotate (vec< 2, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (vec< 3, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 Rotate a three dimensional vector around an axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotate (vec< 3, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (vec< 4, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 Rotate a four dimensional vector around an axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotate (vec< 4, T, Q > const &v, T const &angle, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotateX (vec< 3, T, Q > const &v, T const &angle)
 Rotate a three dimensional vector around the X axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotateX (vec< 3, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotateX (vec< 4, T, Q > const &v, T const &angle)
 Rotate a four dimensional vector around the X axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotateX (vec< 4, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotateY (vec< 3, T, Q > const &v, T const &angle)
 Rotate a three dimensional vector around the Y axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotateY (vec< 3, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotateY (vec< 4, T, Q > const &v, T const &angle)
 Rotate a four dimensional vector around the Y axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotateY (vec< 4, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotateZ (vec< 3, T, Q > const &v, T const &angle)
 Rotate a three dimensional vector around the Z axis. More...
GLM_FUNC_DECL vec< 3, T, Q > rotateZ (vec< 3, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotateZ (vec< 4, T, Q > const &v, T const &angle)
 Rotate a four dimensional vector around the Z axis. More...
GLM_FUNC_DECL vec< 4, T, Q > rotateZ (vec< 4, T, Q > const &v, T const &angle)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > slerp (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)
 Returns Spherical interpolation between two vectors. More...
GLM_FUNC_DECL vec< 3, T, Q > slerp (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, T const &a)
 

Detailed Description

-

Include <glm/gtx/rotate_vector.hpp> to use the features of this extension.

+

Include <glm/gtx/rotate_vector.hpp> to use the features of this extension.

Function to directly rotate a vector

Function Documentation

- + +

◆ orientation()

+
@@ -165,7 +140,9 @@ Functions - + +

◆ rotate() [1/3]

+
@@ -194,7 +171,9 @@ Functions - + +

◆ rotate() [2/3]

+
@@ -229,7 +208,9 @@ Functions - + +

◆ rotate() [3/3]

+
@@ -264,7 +245,9 @@ Functions - + +

◆ rotateX() [1/2]

+
@@ -293,7 +276,9 @@ Functions - + +

◆ rotateX() [2/2]

+
@@ -322,7 +307,9 @@ Functions - + +

◆ rotateY() [1/2]

+
@@ -351,7 +338,9 @@ Functions - + +

◆ rotateY() [2/2]

+
@@ -380,7 +369,9 @@ Functions - + +

◆ rotateZ() [1/2]

+
@@ -409,7 +400,9 @@ Functions - + +

◆ rotateZ() [2/2]

+
@@ -438,7 +431,9 @@ Functions - + +

◆ slerp()

+
@@ -477,7 +472,7 @@ Functions
-
See also
GLM_GTX_rotate_vector
+
See also
GLM_GTX_rotate_vector
@@ -486,7 +481,7 @@ Functions diff --git a/doc/api/a00774.html b/doc/api/a00774.html new file mode 100644 index 00000000..b99a3a4a --- /dev/null +++ b/doc/api/a00774.html @@ -0,0 +1,79 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_scalar_relational + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
GLM_GTX_scalar_relational
+
+
+

Include <glm/gtx/scalar_relational.hpp> to use the features of this extension.

+

Extend a position from a source to a position at a defined length.

+
+ + + + diff --git a/doc/api/a00225.html b/doc/api/a00775.html similarity index 74% rename from doc/api/a00225.html rename to doc/api/a00775.html index 73ac4e63..77ec9f15 100644 --- a/doc/api/a00225.html +++ b/doc/api/a00775.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_spline @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_spline
+
GLM_GTX_spline
Experimental extensions
- -

Include <glm/gtx/spline.hpp> to use the features of this extension. -More...

- - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL genType catmullRom (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 Return a point from a catmull rom curve. More...
GLM_FUNC_DECL genType catmullRom (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 
template<typename genType >
GLM_FUNC_DECL genType cubic (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 Return a point from a cubic curve. More...
GLM_FUNC_DECL genType cubic (genType const &v1, genType const &v2, genType const &v3, genType const &v4, typename genType::value_type const &s)
 
template<typename genType >
GLM_FUNC_DECL genType hermite (genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
 Return a point from a hermite curve. More...
GLM_FUNC_DECL genType hermite (genType const &v1, genType const &t1, genType const &v2, genType const &t2, typename genType::value_type const &s)
 

Detailed Description

-

Include <glm/gtx/spline.hpp> to use the features of this extension.

+

Include <glm/gtx/spline.hpp> to use the features of this extension.

Spline functions

Function Documentation

- + +

◆ catmullRom()

+
@@ -147,11 +130,13 @@ Functions

Return a point from a catmull rom curve.

-
See also
GLM_GTX_spline extension.
+
See also
GLM_GTX_spline extension.
- + +

◆ cubic()

+
@@ -194,11 +179,13 @@ Functions

Return a point from a cubic curve.

-
See also
GLM_GTX_spline extension.
+
See also
GLM_GTX_spline extension.
- + +

◆ hermite()

+
@@ -241,7 +228,7 @@ Functions

Return a point from a hermite curve.

-
See also
GLM_GTX_spline extension.
+
See also
GLM_GTX_spline extension.
@@ -250,7 +237,7 @@ Functions diff --git a/doc/api/a00226.html b/doc/api/a00776.html similarity index 58% rename from doc/api/a00226.html rename to doc/api/a00776.html index b95b7a41..7bf15516 100644 --- a/doc/api/a00226.html +++ b/doc/api/a00776.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_std_based_type @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Typedefs
-
GLM_GTX_std_based_type
+
GLM_GTX_std_based_type
- -

Include <glm/gtx/std_based_type.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - +

Typedefs

typedef vec< 1, std::size_t, defaultp > size1
 Vector type based of one std::size_t component. More...
typedef vec< 1, std::size_t, defaultp > size1
 
typedef vec< 1, std::size_t, defaultp > size1_t
 Vector type based of one std::size_t component. More...
typedef vec< 1, std::size_t, defaultp > size1_t
 
typedef vec< 2, std::size_t, defaultp > size2
 Vector type based of two std::size_t components. More...
typedef vec< 2, std::size_t, defaultp > size2
 
typedef vec< 2, std::size_t, defaultp > size2_t
 Vector type based of two std::size_t components. More...
typedef vec< 2, std::size_t, defaultp > size2_t
 
typedef vec< 3, std::size_t, defaultp > size3
 Vector type based of three std::size_t components. More...
typedef vec< 3, std::size_t, defaultp > size3
 
typedef vec< 3, std::size_t, defaultp > size3_t
 Vector type based of three std::size_t components. More...
typedef vec< 3, std::size_t, defaultp > size3_t
 
typedef vec< 4, std::size_t, defaultp > size4
 Vector type based of four std::size_t components. More...
typedef vec< 4, std::size_t, defaultp > size4
 
typedef vec< 4, std::size_t, defaultp > size4_t
 Vector type based of four std::size_t components. More...
typedef vec< 4, std::size_t, defaultp > size4_t
 

Detailed Description

-

Include <glm/gtx/std_based_type.hpp> to use the features of this extension.

+

Include <glm/gtx/std_based_type.hpp> to use the features of this extension.

Adds vector types based on STL value types.

Typedef Documentation

- + +

◆ size1

+
- +
typedef vec<1, std::size_t, defaultp> size1typedef vec<1, std::size_t, defaultp> size1
@@ -129,16 +107,18 @@ Typedefs

Vector type based of one std::size_t component.

See also
GLM_GTX_std_based_type
-

Definition at line 35 of file std_based_type.hpp.

+

Definition at line 35 of file std_based_type.hpp.

- + +

◆ size1_t

+
- +
typedef vec<1, std::size_t, defaultp> size1_ttypedef vec<1, std::size_t, defaultp> size1_t
@@ -146,16 +126,18 @@ Typedefs

Vector type based of one std::size_t component.

See also
GLM_GTX_std_based_type
-

Definition at line 51 of file std_based_type.hpp.

+

Definition at line 51 of file std_based_type.hpp.

- + +

◆ size2

+
- +
typedef vec<2, std::size_t, defaultp> size2typedef vec<2, std::size_t, defaultp> size2
@@ -163,16 +145,18 @@ Typedefs

Vector type based of two std::size_t components.

See also
GLM_GTX_std_based_type
-

Definition at line 39 of file std_based_type.hpp.

+

Definition at line 39 of file std_based_type.hpp.

- + +

◆ size2_t

+
- +
typedef vec<2, std::size_t, defaultp> size2_ttypedef vec<2, std::size_t, defaultp> size2_t
@@ -180,16 +164,18 @@ Typedefs

Vector type based of two std::size_t components.

See also
GLM_GTX_std_based_type
-

Definition at line 55 of file std_based_type.hpp.

+

Definition at line 55 of file std_based_type.hpp.

- + +

◆ size3

+
- +
typedef vec<3, std::size_t, defaultp> size3typedef vec<3, std::size_t, defaultp> size3
@@ -197,16 +183,18 @@ Typedefs

Vector type based of three std::size_t components.

See also
GLM_GTX_std_based_type
-

Definition at line 43 of file std_based_type.hpp.

+

Definition at line 43 of file std_based_type.hpp.

- + +

◆ size3_t

+
- +
typedef vec<3, std::size_t, defaultp> size3_ttypedef vec<3, std::size_t, defaultp> size3_t
@@ -214,16 +202,18 @@ Typedefs

Vector type based of three std::size_t components.

See also
GLM_GTX_std_based_type
-

Definition at line 59 of file std_based_type.hpp.

+

Definition at line 59 of file std_based_type.hpp.

- + +

◆ size4

+
- +
typedef vec<4, std::size_t, defaultp> size4typedef vec<4, std::size_t, defaultp> size4
@@ -231,16 +221,18 @@ Typedefs

Vector type based of four std::size_t components.

See also
GLM_GTX_std_based_type
-

Definition at line 47 of file std_based_type.hpp.

+

Definition at line 47 of file std_based_type.hpp.

- + +

◆ size4_t

+
- +
typedef vec<4, std::size_t, defaultp> size4_ttypedef vec<4, std::size_t, defaultp> size4_t
@@ -248,7 +240,7 @@ Typedefs

Vector type based of four std::size_t components.

See also
GLM_GTX_std_based_type
-

Definition at line 63 of file std_based_type.hpp.

+

Definition at line 63 of file std_based_type.hpp.

@@ -257,7 +249,7 @@ Typedefs diff --git a/doc/api/a00777.html b/doc/api/a00777.html new file mode 100644 index 00000000..4a0327a6 --- /dev/null +++ b/doc/api/a00777.html @@ -0,0 +1,112 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_string_cast + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_string_cast
+
+
+ + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL std::string to_string (genType const &x)
 
+

Detailed Description

+

Include <glm/gtx/string_cast.hpp> to use the features of this extension.

+

Setup strings for GLM type values

+

This extension is not supported with CUDA

+

Function Documentation

+ +

◆ to_string()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL std::string glm::to_string (genType const & x)
+
+ +

Create a string from a GLM vector or matrix typed variable.

+
See also
GLM_GTX_string_cast extension.
+ +
+
+
+ + + + diff --git a/doc/api/a00228.html b/doc/api/a00778.html similarity index 69% rename from doc/api/a00228.html rename to doc/api/a00778.html index 698f91d7..2c9e8271 100644 --- a/doc/api/a00228.html +++ b/doc/api/a00778.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_texture @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_texture
+
GLM_GTX_texture
Experimental extensions
- -

Include <glm/gtx/texture.hpp> to use the features of this extension. -More...

- - +

Functions

template<length_t L, typename T , qualifier Q>
levels (vec< L, T, Q > const &Extent)
 Compute the number of mipmaps levels necessary to create a mipmap complete texture. More...
levels (vec< L, T, Q > const &Extent)
 

Detailed Description

-

Include <glm/gtx/texture.hpp> to use the features of this extension.

+

Include <glm/gtx/texture.hpp> to use the features of this extension.

Wrapping mode of texture coordinates.

Function Documentation

- + +

◆ levels()

+
@@ -133,7 +118,7 @@ Functions diff --git a/doc/api/a00229.html b/doc/api/a00779.html similarity index 64% rename from doc/api/a00229.html rename to doc/api/a00779.html index c507c122..a3121579 100644 --- a/doc/api/a00229.html +++ b/doc/api/a00779.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_transform @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_transform
+
GLM_GTX_transform
- -

Include <glm/gtx/transform.hpp> to use the features of this extension. -More...

- - + - - + - - +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (T angle, vec< 3, T, Q > const &v)
 Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (T angle, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (vec< 3, T, Q > const &v)
 Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (vec< 3, T, Q > const &v)
 Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars. More...
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (vec< 3, T, Q > const &v)
 

Detailed Description

-

Include <glm/gtx/transform.hpp> to use the features of this extension.

+

Include <glm/gtx/transform.hpp> to use the features of this extension.

Add transformation matrices

Function Documentation

- + +

◆ rotate()

+
@@ -129,13 +112,15 @@ Functions

Builds a rotation 4 * 4 matrix created from an axis of 3 scalars and an angle expressed in radians.

-
See also
GLM_GTC_matrix_transform
+
See also
GLM_GTC_matrix_transform
-GLM_GTX_transform
+GLM_GTX_transform
- + +

◆ scale()

+
@@ -150,13 +135,15 @@ Functions

Transforms a matrix with a scale 4 * 4 matrix created from a vector of 3 components.

-
See also
GLM_GTC_matrix_transform
+
See also
GLM_GTC_matrix_transform
-GLM_GTX_transform
+GLM_GTX_transform
- + +

◆ translate()

+
@@ -171,9 +158,9 @@ Functions

Transforms a matrix with a translation 4 * 4 matrix created from 3 scalars.

-
See also
GLM_GTC_matrix_transform
+
See also
GLM_GTC_matrix_transform
-GLM_GTX_transform
+GLM_GTX_transform
@@ -182,7 +169,7 @@ Functions diff --git a/doc/api/a00780.html b/doc/api/a00780.html new file mode 100644 index 00000000..7ba60cbb --- /dev/null +++ b/doc/api/a00780.html @@ -0,0 +1,416 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_transform2 + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
GLM_GTX_transform2
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > proj2D (mat< 3, 3, T, Q > const &m, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > proj3D (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &normal)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (T scale, T bias)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scaleBias (mat< 4, 4, T, Q > const &m, T scale, T bias)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > shearX2D (mat< 3, 3, T, Q > const &m, T y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearX3D (mat< 4, 4, T, Q > const &m, T y, T z)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > shearY2D (mat< 3, 3, T, Q > const &m, T x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearY3D (mat< 4, 4, T, Q > const &m, T x, T z)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > shearZ3D (mat< 4, 4, T, Q > const &m, T x, T y)
 
+

Detailed Description

+

Include <glm/gtx/transform2.hpp> to use the features of this extension.

+

Add extra transformation matrices

+

Function Documentation

+ +

◆ proj2D()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::proj2D (mat< 3, 3, T, Q > const & m,
vec< 3, T, Q > const & normal 
)
+
+ +

Build planar projection matrix along normal axis.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ proj3D()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::proj3D (mat< 4, 4, T, Q > const & m,
vec< 3, T, Q > const & normal 
)
+
+ +

Build planar projection matrix along normal axis.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ scaleBias() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::scaleBias (scale,
bias 
)
+
+ +

Build a scale bias matrix.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ scaleBias() [2/2]

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::scaleBias (mat< 4, 4, T, Q > const & m,
scale,
bias 
)
+
+ +

Build a scale bias matrix.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ shearX2D()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::shearX2D (mat< 3, 3, T, Q > const & m,
y 
)
+
+ +

Transforms a matrix with a shearing on X axis.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ shearX3D()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::shearX3D (mat< 4, 4, T, Q > const & m,
y,
z 
)
+
+ +

Transforms a matrix with a shearing on X axis From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ shearY2D()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<3, 3, T, Q> glm::shearY2D (mat< 3, 3, T, Q > const & m,
x 
)
+
+ +

Transforms a matrix with a shearing on Y axis.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ shearY3D()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::shearY3D (mat< 4, 4, T, Q > const & m,
x,
z 
)
+
+ +

Transforms a matrix with a shearing on Y axis.

+

From GLM_GTX_transform2 extension.

+ +
+
+ +

◆ shearZ3D()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL mat<4, 4, T, Q> glm::shearZ3D (mat< 4, 4, T, Q > const & m,
x,
y 
)
+
+ +

Transforms a matrix with a shearing on Z axis.

+

From GLM_GTX_transform2 extension.

+ +
+
+
+ + + + diff --git a/doc/api/a00231.html b/doc/api/a00781.html similarity index 61% rename from doc/api/a00231.html rename to doc/api/a00781.html index 85db50a4..88b0b34d 100644 --- a/doc/api/a00231.html +++ b/doc/api/a00781.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_type_aligned @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_type_aligned
+
GLM_GTX_type_aligned
Experimental extensions
- -

Include <glm/gtx/type_aligned.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - - - - - - - - - - - - - - - - - + + + + + + + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - - - - + + + - - + - - +

Functions

 GLM_ALIGNED_TYPEDEF (lowp_int8, aligned_lowp_int8, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int8, aligned_lowp_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_int16, aligned_lowp_int16, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int16, aligned_lowp_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_int32, aligned_lowp_int32, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int32, aligned_lowp_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_int64, aligned_lowp_int64, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int64, aligned_lowp_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_int8_t, aligned_lowp_int8_t, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int8_t, aligned_lowp_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_int16_t, aligned_lowp_int16_t, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int16_t, aligned_lowp_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_int32_t, aligned_lowp_int32_t, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int32_t, aligned_lowp_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_int64_t, aligned_lowp_int64_t, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int64_t, aligned_lowp_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_i8, aligned_lowp_i8, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i8, aligned_lowp_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_i16, aligned_lowp_i16, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i16, aligned_lowp_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_i32, aligned_lowp_i32, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i32, aligned_lowp_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_i64, aligned_lowp_i64, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i64, aligned_lowp_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_int8, aligned_mediump_int8, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int8, aligned_mediump_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_int16, aligned_mediump_int16, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int16, aligned_mediump_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_int32, aligned_mediump_int32, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int32, aligned_mediump_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_int64, aligned_mediump_int64, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int64, aligned_mediump_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_int8_t, aligned_mediump_int8_t, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int8_t, aligned_mediump_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_int16_t, aligned_mediump_int16_t, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int16_t, aligned_mediump_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_int32_t, aligned_mediump_int32_t, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int32_t, aligned_mediump_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_int64_t, aligned_mediump_int64_t, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int64_t, aligned_mediump_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_i8, aligned_mediump_i8, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i8, aligned_mediump_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_i16, aligned_mediump_i16, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i16, aligned_mediump_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_i32, aligned_mediump_i32, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i32, aligned_mediump_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_i64, aligned_mediump_i64, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i64, aligned_mediump_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_int8, aligned_highp_int8, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int8, aligned_highp_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_int16, aligned_highp_int16, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int16, aligned_highp_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_int32, aligned_highp_int32, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int32, aligned_highp_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_int64, aligned_highp_int64, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int64, aligned_highp_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_int8_t, aligned_highp_int8_t, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int8_t, aligned_highp_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_int16_t, aligned_highp_int16_t, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int16_t, aligned_highp_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_int32_t, aligned_highp_int32_t, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int32_t, aligned_highp_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_int64_t, aligned_highp_int64_t, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int64_t, aligned_highp_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_i8, aligned_highp_i8, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i8, aligned_highp_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_i16, aligned_highp_i16, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i16, aligned_highp_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_i32, aligned_highp_i32, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i32, aligned_highp_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_i64, aligned_highp_i64, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i64, aligned_highp_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (int8, aligned_int8, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int8, aligned_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (int16, aligned_int16, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int16, aligned_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (int32, aligned_int32, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int32, aligned_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (int64, aligned_int64, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int64, aligned_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (int8_t, aligned_int8_t, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int8_t, aligned_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (int16_t, aligned_int16_t, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int16_t, aligned_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (int32_t, aligned_int32_t, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int32_t, aligned_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (int64_t, aligned_int64_t, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int64_t, aligned_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (i8, aligned_i8, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i8, aligned_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (i16, aligned_i16, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i16, aligned_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (i32, aligned_i32, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i32, aligned_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (i64, aligned_i64, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i64, aligned_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (ivec1, aligned_ivec1, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (ivec1, aligned_ivec1, 4)
 
 GLM_ALIGNED_TYPEDEF (ivec2, aligned_ivec2, 8)
 Default qualifier 32 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (ivec2, aligned_ivec2, 8)
 
 GLM_ALIGNED_TYPEDEF (ivec3, aligned_ivec3, 16)
 Default qualifier 32 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (ivec3, aligned_ivec3, 16)
 
 GLM_ALIGNED_TYPEDEF (ivec4, aligned_ivec4, 16)
 Default qualifier 32 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (ivec4, aligned_ivec4, 16)
 
 GLM_ALIGNED_TYPEDEF (i8vec1, aligned_i8vec1, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i8vec1, aligned_i8vec1, 1)
 
 GLM_ALIGNED_TYPEDEF (i8vec2, aligned_i8vec2, 2)
 Default qualifier 8 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i8vec2, aligned_i8vec2, 2)
 
 GLM_ALIGNED_TYPEDEF (i8vec3, aligned_i8vec3, 4)
 Default qualifier 8 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i8vec3, aligned_i8vec3, 4)
 
 GLM_ALIGNED_TYPEDEF (i8vec4, aligned_i8vec4, 4)
 Default qualifier 8 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i8vec4, aligned_i8vec4, 4)
 
 GLM_ALIGNED_TYPEDEF (i16vec1, aligned_i16vec1, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i16vec1, aligned_i16vec1, 2)
 
 GLM_ALIGNED_TYPEDEF (i16vec2, aligned_i16vec2, 4)
 Default qualifier 16 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i16vec2, aligned_i16vec2, 4)
 
 GLM_ALIGNED_TYPEDEF (i16vec3, aligned_i16vec3, 8)
 Default qualifier 16 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i16vec3, aligned_i16vec3, 8)
 
 GLM_ALIGNED_TYPEDEF (i16vec4, aligned_i16vec4, 8)
 Default qualifier 16 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i16vec4, aligned_i16vec4, 8)
 
 GLM_ALIGNED_TYPEDEF (i32vec1, aligned_i32vec1, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i32vec1, aligned_i32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (i32vec2, aligned_i32vec2, 8)
 Default qualifier 32 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i32vec2, aligned_i32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (i32vec3, aligned_i32vec3, 16)
 Default qualifier 32 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i32vec3, aligned_i32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (i32vec4, aligned_i32vec4, 16)
 Default qualifier 32 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i32vec4, aligned_i32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (i64vec1, aligned_i64vec1, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i64vec1, aligned_i64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (i64vec2, aligned_i64vec2, 16)
 Default qualifier 64 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i64vec2, aligned_i64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (i64vec3, aligned_i64vec3, 32)
 Default qualifier 64 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i64vec3, aligned_i64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (i64vec4, aligned_i64vec4, 32)
 Default qualifier 64 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i64vec4, aligned_i64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8, aligned_lowp_uint8, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint8, aligned_lowp_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16, aligned_lowp_uint16, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint16, aligned_lowp_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32, aligned_lowp_uint32, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint32, aligned_lowp_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64, aligned_lowp_uint64, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint64, aligned_lowp_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8_t, aligned_lowp_uint8_t, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint8_t, aligned_lowp_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16_t, aligned_lowp_uint16_t, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint16_t, aligned_lowp_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32_t, aligned_lowp_uint32_t, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint32_t, aligned_lowp_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64_t, aligned_lowp_uint64_t, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint64_t, aligned_lowp_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_u8, aligned_lowp_u8, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u8, aligned_lowp_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_u16, aligned_lowp_u16, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u16, aligned_lowp_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_u32, aligned_lowp_u32, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u32, aligned_lowp_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_u64, aligned_lowp_u64, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u64, aligned_lowp_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8, aligned_mediump_uint8, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint8, aligned_mediump_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16, aligned_mediump_uint16, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint16, aligned_mediump_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32, aligned_mediump_uint32, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint32, aligned_mediump_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64, aligned_mediump_uint64, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint64, aligned_mediump_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8_t, aligned_mediump_uint8_t, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint8_t, aligned_mediump_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16_t, aligned_mediump_uint16_t, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint16_t, aligned_mediump_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32_t, aligned_mediump_uint32_t, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint32_t, aligned_mediump_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64_t, aligned_mediump_uint64_t, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint64_t, aligned_mediump_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_u8, aligned_mediump_u8, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u8, aligned_mediump_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_u16, aligned_mediump_u16, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u16, aligned_mediump_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_u32, aligned_mediump_u32, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u32, aligned_mediump_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_u64, aligned_mediump_u64, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u64, aligned_mediump_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_uint8, aligned_highp_uint8, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint8, aligned_highp_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_uint16, aligned_highp_uint16, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint16, aligned_highp_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_uint32, aligned_highp_uint32, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint32, aligned_highp_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_uint64, aligned_highp_uint64, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint64, aligned_highp_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_uint8_t, aligned_highp_uint8_t, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint8_t, aligned_highp_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_uint16_t, aligned_highp_uint16_t, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint16_t, aligned_highp_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_uint32_t, aligned_highp_uint32_t, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint32_t, aligned_highp_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_uint64_t, aligned_highp_uint64_t, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint64_t, aligned_highp_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_u8, aligned_highp_u8, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u8, aligned_highp_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_u16, aligned_highp_u16, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u16, aligned_highp_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_u32, aligned_highp_u32, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u32, aligned_highp_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_u64, aligned_highp_u64, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u64, aligned_highp_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (uint8, aligned_uint8, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint8, aligned_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (uint16, aligned_uint16, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint16, aligned_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (uint32, aligned_uint32, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint32, aligned_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (uint64, aligned_uint64, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint64, aligned_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (uint8_t, aligned_uint8_t, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint8_t, aligned_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (uint16_t, aligned_uint16_t, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint16_t, aligned_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (uint32_t, aligned_uint32_t, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint32_t, aligned_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (uint64_t, aligned_uint64_t, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint64_t, aligned_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (u8, aligned_u8, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u8, aligned_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (u16, aligned_u16, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u16, aligned_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (u32, aligned_u32, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u32, aligned_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (u64, aligned_u64, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u64, aligned_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (uvec1, aligned_uvec1, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uvec1, aligned_uvec1, 4)
 
 GLM_ALIGNED_TYPEDEF (uvec2, aligned_uvec2, 8)
 Default qualifier 32 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (uvec2, aligned_uvec2, 8)
 
 GLM_ALIGNED_TYPEDEF (uvec3, aligned_uvec3, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (uvec3, aligned_uvec3, 16)
 
 GLM_ALIGNED_TYPEDEF (uvec4, aligned_uvec4, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (uvec4, aligned_uvec4, 16)
 
 GLM_ALIGNED_TYPEDEF (u8vec1, aligned_u8vec1, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u8vec1, aligned_u8vec1, 1)
 
 GLM_ALIGNED_TYPEDEF (u8vec2, aligned_u8vec2, 2)
 Default qualifier 8 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u8vec2, aligned_u8vec2, 2)
 
 GLM_ALIGNED_TYPEDEF (u8vec3, aligned_u8vec3, 4)
 Default qualifier 8 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u8vec3, aligned_u8vec3, 4)
 
 GLM_ALIGNED_TYPEDEF (u8vec4, aligned_u8vec4, 4)
 Default qualifier 8 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u8vec4, aligned_u8vec4, 4)
 
 GLM_ALIGNED_TYPEDEF (u16vec1, aligned_u16vec1, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u16vec1, aligned_u16vec1, 2)
 
 GLM_ALIGNED_TYPEDEF (u16vec2, aligned_u16vec2, 4)
 Default qualifier 16 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u16vec2, aligned_u16vec2, 4)
 
 GLM_ALIGNED_TYPEDEF (u16vec3, aligned_u16vec3, 8)
 Default qualifier 16 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u16vec3, aligned_u16vec3, 8)
 
 GLM_ALIGNED_TYPEDEF (u16vec4, aligned_u16vec4, 8)
 Default qualifier 16 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u16vec4, aligned_u16vec4, 8)
 
 GLM_ALIGNED_TYPEDEF (u32vec1, aligned_u32vec1, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u32vec1, aligned_u32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (u32vec2, aligned_u32vec2, 8)
 Default qualifier 32 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u32vec2, aligned_u32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (u32vec3, aligned_u32vec3, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u32vec3, aligned_u32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (u32vec4, aligned_u32vec4, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u32vec4, aligned_u32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (u64vec1, aligned_u64vec1, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u64vec1, aligned_u64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (u64vec2, aligned_u64vec2, 16)
 Default qualifier 64 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u64vec2, aligned_u64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (u64vec3, aligned_u64vec3, 32)
 Default qualifier 64 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u64vec3, aligned_u64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (u64vec4, aligned_u64vec4, 32)
 Default qualifier 64 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u64vec4, aligned_u64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_float32, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float32, aligned_float32, 4)
 
 GLM_ALIGNED_TYPEDEF (float32_t, aligned_float32_t, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float32_t, aligned_float32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_f32, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float32, aligned_f32, 4)
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_float64, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float64, aligned_float64, 8)
 
 GLM_ALIGNED_TYPEDEF (float64_t, aligned_float64_t, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float64_t, aligned_float64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_f64, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float64, aligned_f64, 8)
 
 GLM_ALIGNED_TYPEDEF (vec1, aligned_vec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (vec1, aligned_vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (vec2, aligned_vec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (vec2, aligned_vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (vec3, aligned_vec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (vec3, aligned_vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (vec4, aligned_vec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (vec4, aligned_vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (fvec1, aligned_fvec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (fvec1, aligned_fvec1, 4)
 
 GLM_ALIGNED_TYPEDEF (fvec2, aligned_fvec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (fvec2, aligned_fvec2, 8)
 
 GLM_ALIGNED_TYPEDEF (fvec3, aligned_fvec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (fvec3, aligned_fvec3, 16)
 
 GLM_ALIGNED_TYPEDEF (fvec4, aligned_fvec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (fvec4, aligned_fvec4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32vec1, aligned_f32vec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (f32vec1, aligned_f32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (f32vec2, aligned_f32vec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (f32vec2, aligned_f32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (f32vec3, aligned_f32vec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (f32vec3, aligned_f32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32vec4, aligned_f32vec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (f32vec4, aligned_f32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (dvec1, aligned_dvec1, 8)
 Double-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (dvec1, aligned_dvec1, 8)
 
 GLM_ALIGNED_TYPEDEF (dvec2, aligned_dvec2, 16)
 Double-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (dvec2, aligned_dvec2, 16)
 
 GLM_ALIGNED_TYPEDEF (dvec3, aligned_dvec3, 32)
 Double-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (dvec3, aligned_dvec3, 32)
 
 GLM_ALIGNED_TYPEDEF (dvec4, aligned_dvec4, 32)
 Double-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (dvec4, aligned_dvec4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64vec1, aligned_f64vec1, 8)
 Double-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (f64vec1, aligned_f64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (f64vec2, aligned_f64vec2, 16)
 Double-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (f64vec2, aligned_f64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (f64vec3, aligned_f64vec3, 32)
 Double-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (f64vec3, aligned_f64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64vec4, aligned_f64vec4, 32)
 Double-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (f64vec4, aligned_f64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (mat2, aligned_mat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat3, aligned_mat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat4, aligned_mat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat2x2, aligned_mat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat3x3, aligned_mat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat4x4, aligned_mat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (mat2, aligned_mat2, 16)
 
 GLM_ALIGNED_TYPEDEF (mat3, aligned_mat3, 16)
 
 GLM_ALIGNED_TYPEDEF (mat4, aligned_mat4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x3, aligned_fmat2x3, 16)
 Single-qualifier floating-point aligned 2x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat2x3, aligned_fmat2x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x4, aligned_fmat2x4, 16)
 Single-qualifier floating-point aligned 2x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat2x4, aligned_fmat2x4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x2, aligned_fmat3x2, 16)
 Single-qualifier floating-point aligned 3x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x2, aligned_fmat3x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x4, aligned_fmat3x4, 16)
 Single-qualifier floating-point aligned 3x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x4, aligned_fmat3x4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x2, aligned_fmat4x2, 16)
 Single-qualifier floating-point aligned 4x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x2, aligned_fmat4x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x3, aligned_fmat4x3, 16)
 Single-qualifier floating-point aligned 4x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x3, aligned_fmat4x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x3, aligned_f32mat2x3, 16)
 Single-qualifier floating-point aligned 2x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x3, aligned_f32mat2x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x4, aligned_f32mat2x4, 16)
 Single-qualifier floating-point aligned 2x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x4, aligned_f32mat2x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x2, aligned_f32mat3x2, 16)
 Single-qualifier floating-point aligned 3x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x2, aligned_f32mat3x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x4, aligned_f32mat3x4, 16)
 Single-qualifier floating-point aligned 3x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x4, aligned_f32mat3x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x2, aligned_f32mat4x2, 16)
 Single-qualifier floating-point aligned 4x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x2, aligned_f32mat4x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x3, aligned_f32mat4x3, 16)
 Single-qualifier floating-point aligned 4x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x3, aligned_f32mat4x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2, 32)
 Double-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3, 32)
 Double-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4, 32)
 Double-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2x2, 32)
 Double-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x3, aligned_f64mat2x3, 32)
 Double-qualifier floating-point aligned 2x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x3, aligned_f64mat2x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x4, aligned_f64mat2x4, 32)
 Double-qualifier floating-point aligned 2x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x4, aligned_f64mat2x4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x2, aligned_f64mat3x2, 32)
 Double-qualifier floating-point aligned 3x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x2, aligned_f64mat3x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3x3, 32)
 Double-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x4, aligned_f64mat3x4, 32)
 Double-qualifier floating-point aligned 3x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x4, aligned_f64mat3x4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x2, aligned_f64mat4x2, 32)
 Double-qualifier floating-point aligned 4x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x2, aligned_f64mat4x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x3, aligned_f64mat4x3, 32)
 Double-qualifier floating-point aligned 4x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x3, aligned_f64mat4x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4x4, 32)
 Double-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4x4, 32)
 
 GLM_ALIGNED_TYPEDEF (quat, aligned_quat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (quat, aligned_quat, 16)
 
 GLM_ALIGNED_TYPEDEF (fquat, aligned_fquat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 
 GLM_ALIGNED_TYPEDEF (dquat, aligned_dquat, 32)
 Double-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (quat, aligned_fquat, 16)
 
 GLM_ALIGNED_TYPEDEF (dquat, aligned_dquat, 32)
 
 GLM_ALIGNED_TYPEDEF (f32quat, aligned_f32quat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (f32quat, aligned_f32quat, 16)
 
 GLM_ALIGNED_TYPEDEF (f64quat, aligned_f64quat, 32)
 Double-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (f64quat, aligned_f64quat, 32)
 

Detailed Description

-

Include <glm/gtx/type_aligned.hpp> to use the features of this extension.

-

Defines aligned types.

-

Precision types defines aligned types.

+

Include <glm/gtx/type_aligned.hpp> to use the features of this extension.

+

Defines aligned types.

Function Documentation

- + +

◆ GLM_ALIGNED_TYPEDEF() [1/206]

+
- + @@ -751,18 +521,20 @@ Functions

Low qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [2/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int8 lowp_int8  ,
- + @@ -786,18 +558,20 @@ Functions

Low qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [3/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int16 lowp_int16  ,
- + @@ -821,18 +595,20 @@ Functions

Low qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [4/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int32 lowp_int32  ,
- + @@ -856,18 +632,20 @@ Functions

Low qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [5/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int64 lowp_int64  ,
- + @@ -891,18 +669,20 @@ Functions

Low qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [6/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int8_t lowp_int8_t  ,
- + @@ -926,18 +706,20 @@ Functions

Low qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [7/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int16_t lowp_int16_t  ,
- + @@ -961,18 +743,20 @@ Functions

Low qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [8/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int32_t lowp_int32_t  ,
- + @@ -996,18 +780,20 @@ Functions

Low qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [9/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_int64_t lowp_int64_t  ,
- + @@ -1031,18 +817,20 @@ Functions

Low qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [10/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_i8 lowp_i8  ,
- + @@ -1066,18 +854,20 @@ Functions

Low qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [11/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_i16 lowp_i16  ,
- + @@ -1101,18 +891,20 @@ Functions

Low qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [12/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_i32 lowp_i32  ,
- + @@ -1136,18 +928,20 @@ Functions

Low qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [13/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_i64 lowp_i64  ,
- + @@ -1171,18 +965,20 @@ Functions

Medium qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [14/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int8 mediump_int8  ,
- + @@ -1206,18 +1002,20 @@ Functions

Medium qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [15/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int16 mediump_int16  ,
- + @@ -1241,18 +1039,20 @@ Functions

Medium qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [16/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int32 mediump_int32  ,
- + @@ -1276,18 +1076,20 @@ Functions

Medium qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [17/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int64 mediump_int64  ,
- + @@ -1311,18 +1113,20 @@ Functions

Medium qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [18/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int8_t mediump_int8_t  ,
- + @@ -1346,18 +1150,20 @@ Functions

Medium qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [19/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int16_t mediump_int16_t  ,
- + @@ -1381,18 +1187,20 @@ Functions

Medium qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [20/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int32_t mediump_int32_t  ,
- + @@ -1416,18 +1224,20 @@ Functions

Medium qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [21/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_int64_t mediump_int64_t  ,
- + @@ -1451,18 +1261,20 @@ Functions

Medium qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [22/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_i8 mediump_i8  ,
- + @@ -1486,18 +1298,20 @@ Functions

Medium qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [23/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_i16 mediump_i16  ,
- + @@ -1521,18 +1335,20 @@ Functions

Medium qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [24/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_i32 mediump_i32  ,
- + @@ -1556,18 +1372,20 @@ Functions

Medium qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [25/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_i64 mediump_i64  ,
- + @@ -1591,18 +1409,20 @@ Functions

High qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [26/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int8 highp_int8  ,
- + @@ -1626,18 +1446,20 @@ Functions

High qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [27/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int16 highp_int16  ,
- + @@ -1661,18 +1483,20 @@ Functions

High qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [28/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int32 highp_int32  ,
- + @@ -1696,18 +1520,20 @@ Functions

High qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [29/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int64 highp_int64  ,
- + @@ -1731,18 +1557,20 @@ Functions

High qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [30/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int8_t highp_int8_t  ,
- + @@ -1766,18 +1594,20 @@ Functions

High qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [31/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int16_t highp_int16_t  ,
- + @@ -1801,18 +1631,20 @@ Functions

High qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [32/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int32_t highp_int32_t  ,
- + @@ -1836,18 +1668,20 @@ Functions

High qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [33/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_int64_t highp_int64_t  ,
- + @@ -1871,18 +1705,20 @@ Functions

High qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [34/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_i8 highp_i8  ,
- + @@ -1906,18 +1742,20 @@ Functions

High qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [35/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_i16 highp_i16  ,
- + @@ -1941,18 +1779,20 @@ Functions

High qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [36/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_i32 highp_i32  ,
- + @@ -1976,18 +1816,20 @@ Functions

High qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [37/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_i64 highp_i64  ,
- + @@ -2011,18 +1853,20 @@ Functions

Default qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [38/206]

+
glm::GLM_ALIGNED_TYPEDEF (int8 int8  ,
- + @@ -2046,18 +1890,20 @@ Functions

Default qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [39/206]

+
glm::GLM_ALIGNED_TYPEDEF (int16 int16  ,
- + @@ -2081,18 +1927,20 @@ Functions

Default qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [40/206]

+
glm::GLM_ALIGNED_TYPEDEF (int32 int32  ,
- + @@ -2116,18 +1964,20 @@ Functions

Default qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [41/206]

+
glm::GLM_ALIGNED_TYPEDEF (int64 int64  ,
- + @@ -2151,18 +2001,20 @@ Functions

Default qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [42/206]

+
glm::GLM_ALIGNED_TYPEDEF (int8_t int8_t  ,
- + @@ -2186,18 +2038,20 @@ Functions

Default qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [43/206]

+
glm::GLM_ALIGNED_TYPEDEF (int16_t int16_t  ,
- + @@ -2221,18 +2075,20 @@ Functions

Default qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [44/206]

+
glm::GLM_ALIGNED_TYPEDEF (int32_t int32_t  ,
- + @@ -2256,18 +2112,20 @@ Functions

Default qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [45/206]

+
glm::GLM_ALIGNED_TYPEDEF (int64_t int64_t  ,
- + @@ -2291,18 +2149,20 @@ Functions

Default qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [46/206]

+
glm::GLM_ALIGNED_TYPEDEF (i8 i8  ,
- + @@ -2326,18 +2186,20 @@ Functions

Default qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [47/206]

+
glm::GLM_ALIGNED_TYPEDEF (i16 i16  ,
- + @@ -2361,18 +2223,20 @@ Functions

Default qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [48/206]

+
glm::GLM_ALIGNED_TYPEDEF (i32 i32  ,
- + @@ -2396,24 +2260,26 @@ Functions

Default qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [49/206]

+
glm::GLM_ALIGNED_TYPEDEF (i64 i64  ,
- + - + @@ -2431,24 +2297,26 @@ Functions

Default qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [50/206]

+
glm::GLM_ALIGNED_TYPEDEF (ivec1 ivec1  ,
aligned_ivec1 aligned_ivec1  ,
- + - + @@ -2466,24 +2334,26 @@ Functions

Default qualifier 32 bit signed integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [51/206]

+
glm::GLM_ALIGNED_TYPEDEF (ivec2 ivec2  ,
aligned_ivec2 aligned_ivec2  ,
- + - + @@ -2501,24 +2371,26 @@ Functions

Default qualifier 32 bit signed integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [52/206]

+
glm::GLM_ALIGNED_TYPEDEF (ivec3 ivec3  ,
aligned_ivec3 aligned_ivec3  ,
- + - + @@ -2536,18 +2408,20 @@ Functions

Default qualifier 32 bit signed integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [53/206]

+
glm::GLM_ALIGNED_TYPEDEF (ivec4 ivec4  ,
aligned_ivec4 aligned_ivec4  ,
- + @@ -2571,18 +2445,20 @@ Functions

Default qualifier 8 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [54/206]

+
glm::GLM_ALIGNED_TYPEDEF (i8vec1 i8vec1  ,
- + @@ -2606,18 +2482,20 @@ Functions

Default qualifier 8 bit signed integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [55/206]

+
glm::GLM_ALIGNED_TYPEDEF (i8vec2 i8vec2  ,
- + @@ -2641,18 +2519,20 @@ Functions

Default qualifier 8 bit signed integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [56/206]

+
glm::GLM_ALIGNED_TYPEDEF (i8vec3 i8vec3  ,
- + @@ -2676,18 +2556,20 @@ Functions

Default qualifier 8 bit signed integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [57/206]

+
glm::GLM_ALIGNED_TYPEDEF (i8vec4 i8vec4  ,
- + @@ -2711,18 +2593,20 @@ Functions

Default qualifier 16 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [58/206]

+
glm::GLM_ALIGNED_TYPEDEF (i16vec1 i16vec1  ,
- + @@ -2746,18 +2630,20 @@ Functions

Default qualifier 16 bit signed integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [59/206]

+
glm::GLM_ALIGNED_TYPEDEF (i16vec2 i16vec2  ,
- + @@ -2781,18 +2667,20 @@ Functions

Default qualifier 16 bit signed integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [60/206]

+
glm::GLM_ALIGNED_TYPEDEF (i16vec3 i16vec3  ,
- + @@ -2816,18 +2704,20 @@ Functions

Default qualifier 16 bit signed integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [61/206]

+
glm::GLM_ALIGNED_TYPEDEF (i16vec4 i16vec4  ,
- + @@ -2851,18 +2741,20 @@ Functions

Default qualifier 32 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [62/206]

+
glm::GLM_ALIGNED_TYPEDEF (i32vec1 i32vec1  ,
- + @@ -2886,18 +2778,20 @@ Functions

Default qualifier 32 bit signed integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [63/206]

+
glm::GLM_ALIGNED_TYPEDEF (i32vec2 i32vec2  ,
- + @@ -2921,18 +2815,20 @@ Functions

Default qualifier 32 bit signed integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [64/206]

+
glm::GLM_ALIGNED_TYPEDEF (i32vec3 i32vec3  ,
- + @@ -2956,18 +2852,20 @@ Functions

Default qualifier 32 bit signed integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [65/206]

+
glm::GLM_ALIGNED_TYPEDEF (i32vec4 i32vec4  ,
- + @@ -2991,18 +2889,20 @@ Functions

Default qualifier 64 bit signed integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [66/206]

+
glm::GLM_ALIGNED_TYPEDEF (i64vec1 i64vec1  ,
- + @@ -3026,18 +2926,20 @@ Functions

Default qualifier 64 bit signed integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [67/206]

+
glm::GLM_ALIGNED_TYPEDEF (i64vec2 i64vec2  ,
- + @@ -3061,18 +2963,20 @@ Functions

Default qualifier 64 bit signed integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [68/206]

+
glm::GLM_ALIGNED_TYPEDEF (i64vec3 i64vec3  ,
- + @@ -3096,18 +3000,20 @@ Functions

Default qualifier 64 bit signed integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [69/206]

+
glm::GLM_ALIGNED_TYPEDEF (i64vec4 i64vec4  ,
- + @@ -3131,18 +3037,20 @@ Functions

Low qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [70/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint8 lowp_uint8  ,
- + @@ -3166,18 +3074,20 @@ Functions

Low qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [71/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint16 lowp_uint16  ,
- + @@ -3201,18 +3111,20 @@ Functions

Low qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [72/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint32 lowp_uint32  ,
- + @@ -3236,18 +3148,20 @@ Functions

Low qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [73/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint64 lowp_uint64  ,
- + @@ -3271,18 +3185,20 @@ Functions

Low qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [74/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint8_t lowp_uint8_t  ,
- + @@ -3306,18 +3222,20 @@ Functions

Low qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [75/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint16_t lowp_uint16_t  ,
- + @@ -3341,18 +3259,20 @@ Functions

Low qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [76/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint32_t lowp_uint32_t  ,
- + @@ -3376,18 +3296,20 @@ Functions

Low qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [77/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_uint64_t lowp_uint64_t  ,
- + @@ -3411,18 +3333,20 @@ Functions

Low qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [78/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_u8 lowp_u8  ,
- + @@ -3446,18 +3370,20 @@ Functions

Low qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [79/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_u16 lowp_u16  ,
- + @@ -3481,18 +3407,20 @@ Functions

Low qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [80/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_u32 lowp_u32  ,
- + @@ -3516,18 +3444,20 @@ Functions

Low qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [81/206]

+
glm::GLM_ALIGNED_TYPEDEF (lowp_u64 lowp_u64  ,
- + @@ -3551,18 +3481,20 @@ Functions

Medium qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [82/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint8 mediump_uint8  ,
- + @@ -3586,18 +3518,20 @@ Functions

Medium qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [83/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint16 mediump_uint16  ,
- + @@ -3621,18 +3555,20 @@ Functions

Medium qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [84/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint32 mediump_uint32  ,
- + @@ -3656,18 +3592,20 @@ Functions

Medium qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [85/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint64 mediump_uint64  ,
- + @@ -3691,18 +3629,20 @@ Functions

Medium qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [86/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint8_t mediump_uint8_t  ,
- + @@ -3726,18 +3666,20 @@ Functions

Medium qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [87/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint16_t mediump_uint16_t  ,
- + @@ -3761,18 +3703,20 @@ Functions

Medium qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [88/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint32_t mediump_uint32_t  ,
- + @@ -3796,18 +3740,20 @@ Functions

Medium qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [89/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_uint64_t mediump_uint64_t  ,
- + @@ -3831,18 +3777,20 @@ Functions

Medium qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [90/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_u8 mediump_u8  ,
- + @@ -3866,18 +3814,20 @@ Functions

Medium qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [91/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_u16 mediump_u16  ,
- + @@ -3901,18 +3851,20 @@ Functions

Medium qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [92/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_u32 mediump_u32  ,
- + @@ -3936,18 +3888,20 @@ Functions

Medium qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [93/206]

+
glm::GLM_ALIGNED_TYPEDEF (mediump_u64 mediump_u64  ,
- + @@ -3971,18 +3925,20 @@ Functions

High qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [94/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint8 highp_uint8  ,
- + @@ -4006,18 +3962,20 @@ Functions

High qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [95/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint16 highp_uint16  ,
- + @@ -4041,18 +3999,20 @@ Functions

High qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [96/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint32 highp_uint32  ,
- + @@ -4076,18 +4036,20 @@ Functions

High qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [97/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint64 highp_uint64  ,
- + @@ -4111,18 +4073,20 @@ Functions

High qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [98/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint8_t highp_uint8_t  ,
- + @@ -4146,18 +4110,20 @@ Functions

High qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [99/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint16_t highp_uint16_t  ,
- + @@ -4181,18 +4147,20 @@ Functions

High qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [100/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint32_t highp_uint32_t  ,
- + @@ -4216,18 +4184,20 @@ Functions

High qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [101/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_uint64_t highp_uint64_t  ,
- + @@ -4251,18 +4221,20 @@ Functions

High qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [102/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_u8 highp_u8  ,
- + @@ -4286,18 +4258,20 @@ Functions

High qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [103/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_u16 highp_u16  ,
- + @@ -4321,18 +4295,20 @@ Functions

High qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [104/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_u32 highp_u32  ,
- + @@ -4356,18 +4332,20 @@ Functions

High qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [105/206]

+
glm::GLM_ALIGNED_TYPEDEF (highp_u64 highp_u64  ,
- + @@ -4391,18 +4369,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [106/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint8 uint8  ,
- + @@ -4426,18 +4406,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [107/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint16 uint16  ,
- + @@ -4461,18 +4443,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [108/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint32 uint32  ,
- + @@ -4496,18 +4480,20 @@ Functions

Default qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [109/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint64 uint64  ,
- + @@ -4531,18 +4517,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [110/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint8_t uint8_t  ,
- + @@ -4566,18 +4554,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [111/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint16_t uint16_t  ,
- + @@ -4601,18 +4591,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [112/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint32_t uint32_t  ,
- + @@ -4636,18 +4628,20 @@ Functions

Default qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [113/206]

+
glm::GLM_ALIGNED_TYPEDEF (uint64_t uint64_t  ,
- + @@ -4671,18 +4665,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [114/206]

+
glm::GLM_ALIGNED_TYPEDEF (u8 u8  ,
- + @@ -4706,18 +4702,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [115/206]

+
glm::GLM_ALIGNED_TYPEDEF (u16 u16  ,
- + @@ -4741,18 +4739,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [116/206]

+
glm::GLM_ALIGNED_TYPEDEF (u32 u32  ,
- + @@ -4776,24 +4776,26 @@ Functions

Default qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [117/206]

+
glm::GLM_ALIGNED_TYPEDEF (u64 u64  ,
- + - + @@ -4811,24 +4813,26 @@ Functions

Default qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [118/206]

+
glm::GLM_ALIGNED_TYPEDEF (uvec1 uvec1  ,
aligned_uvec1 aligned_uvec1  ,
- + - + @@ -4846,24 +4850,26 @@ Functions

Default qualifier 32 bit unsigned integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [119/206]

+
glm::GLM_ALIGNED_TYPEDEF (uvec2 uvec2  ,
aligned_uvec2 aligned_uvec2  ,
- + - + @@ -4881,24 +4887,26 @@ Functions

Default qualifier 32 bit unsigned integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [120/206]

+
glm::GLM_ALIGNED_TYPEDEF (uvec3 uvec3  ,
aligned_uvec3 aligned_uvec3  ,
- + - + @@ -4916,18 +4924,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [121/206]

+
glm::GLM_ALIGNED_TYPEDEF (uvec4 uvec4  ,
aligned_uvec4 aligned_uvec4  ,
- + @@ -4951,18 +4961,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [122/206]

+
glm::GLM_ALIGNED_TYPEDEF (u8vec1 u8vec1  ,
- + @@ -4986,18 +4998,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [123/206]

+
glm::GLM_ALIGNED_TYPEDEF (u8vec2 u8vec2  ,
- + @@ -5021,18 +5035,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [124/206]

+
glm::GLM_ALIGNED_TYPEDEF (u8vec3 u8vec3  ,
- + @@ -5056,18 +5072,20 @@ Functions

Default qualifier 8 bit unsigned integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [125/206]

+
glm::GLM_ALIGNED_TYPEDEF (u8vec4 u8vec4  ,
- + @@ -5091,18 +5109,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [126/206]

+
glm::GLM_ALIGNED_TYPEDEF (u16vec1 u16vec1  ,
- + @@ -5126,18 +5146,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [127/206]

+
glm::GLM_ALIGNED_TYPEDEF (u16vec2 u16vec2  ,
- + @@ -5161,18 +5183,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [128/206]

+
glm::GLM_ALIGNED_TYPEDEF (u16vec3 u16vec3  ,
- + @@ -5196,18 +5220,20 @@ Functions

Default qualifier 16 bit unsigned integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [129/206]

+
glm::GLM_ALIGNED_TYPEDEF (u16vec4 u16vec4  ,
- + @@ -5231,18 +5257,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [130/206]

+
glm::GLM_ALIGNED_TYPEDEF (u32vec1 u32vec1  ,
- + @@ -5266,18 +5294,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [131/206]

+
glm::GLM_ALIGNED_TYPEDEF (u32vec2 u32vec2  ,
- + @@ -5301,18 +5331,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [132/206]

+
glm::GLM_ALIGNED_TYPEDEF (u32vec3 u32vec3  ,
- + @@ -5336,18 +5368,20 @@ Functions

Default qualifier 32 bit unsigned integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [133/206]

+
glm::GLM_ALIGNED_TYPEDEF (u32vec4 u32vec4  ,
- + @@ -5371,18 +5405,20 @@ Functions

Default qualifier 64 bit unsigned integer aligned scalar type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [134/206]

+
glm::GLM_ALIGNED_TYPEDEF (u64vec1 u64vec1  ,
- + @@ -5406,18 +5442,20 @@ Functions

Default qualifier 64 bit unsigned integer aligned vector of 2 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [135/206]

+
glm::GLM_ALIGNED_TYPEDEF (u64vec2 u64vec2  ,
- + @@ -5441,18 +5479,20 @@ Functions

Default qualifier 64 bit unsigned integer aligned vector of 3 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [136/206]

+
glm::GLM_ALIGNED_TYPEDEF (u64vec3 u64vec3  ,
- + @@ -5476,18 +5516,20 @@ Functions

Default qualifier 64 bit unsigned integer aligned vector of 4 components type.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [137/206]

+
glm::GLM_ALIGNED_TYPEDEF (u64vec4 u64vec4  ,
- + @@ -5511,18 +5553,20 @@ Functions

32 bit single-qualifier floating-point aligned scalar.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [138/206]

+
glm::GLM_ALIGNED_TYPEDEF (float32 float32  ,
- + @@ -5546,18 +5590,20 @@ Functions

32 bit single-qualifier floating-point aligned scalar.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [139/206]

+
glm::GLM_ALIGNED_TYPEDEF (float32_t float32_t  ,
- + @@ -5581,18 +5627,20 @@ Functions

32 bit single-qualifier floating-point aligned scalar.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [140/206]

+
glm::GLM_ALIGNED_TYPEDEF (float32 float32  ,
- + @@ -5616,18 +5664,20 @@ Functions

64 bit double-qualifier floating-point aligned scalar.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [141/206]

+
glm::GLM_ALIGNED_TYPEDEF (float64 float64  ,
- + @@ -5651,18 +5701,20 @@ Functions

64 bit double-qualifier floating-point aligned scalar.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [142/206]

+
glm::GLM_ALIGNED_TYPEDEF (float64_t float64_t  ,
- + @@ -5686,24 +5738,26 @@ Functions

64 bit double-qualifier floating-point aligned scalar.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [143/206]

+
glm::GLM_ALIGNED_TYPEDEF (float64 float64  ,
- + - + @@ -5721,24 +5775,26 @@ Functions

Single-qualifier floating-point aligned vector of 1 component.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [144/206]

+
glm::GLM_ALIGNED_TYPEDEF (vec1 vec1  ,
aligned_vec1 aligned_vec1  ,
- + - + @@ -5756,24 +5812,26 @@ Functions

Single-qualifier floating-point aligned vector of 2 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [145/206]

+
glm::GLM_ALIGNED_TYPEDEF (vec2 vec2  ,
aligned_vec2 aligned_vec2  ,
- + - + @@ -5791,24 +5849,26 @@ Functions

Single-qualifier floating-point aligned vector of 3 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [146/206]

+
glm::GLM_ALIGNED_TYPEDEF (vec3 vec3  ,
aligned_vec3 aligned_vec3  ,
- + - + @@ -5826,18 +5886,20 @@ Functions

Single-qualifier floating-point aligned vector of 4 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [147/206]

+
glm::GLM_ALIGNED_TYPEDEF (vec4 vec4  ,
aligned_vec4 aligned_vec4  ,
- + @@ -5861,18 +5923,20 @@ Functions

Single-qualifier floating-point aligned vector of 1 component.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [148/206]

+
glm::GLM_ALIGNED_TYPEDEF (fvec1 fvec1  ,
- + @@ -5896,18 +5960,20 @@ Functions

Single-qualifier floating-point aligned vector of 2 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [149/206]

+
glm::GLM_ALIGNED_TYPEDEF (fvec2 fvec2  ,
- + @@ -5931,18 +5997,20 @@ Functions

Single-qualifier floating-point aligned vector of 3 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [150/206]

+
glm::GLM_ALIGNED_TYPEDEF (fvec3 fvec3  ,
- + @@ -5966,18 +6034,20 @@ Functions

Single-qualifier floating-point aligned vector of 4 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [151/206]

+
glm::GLM_ALIGNED_TYPEDEF (fvec4 fvec4  ,
- + @@ -6001,18 +6071,20 @@ Functions

Single-qualifier floating-point aligned vector of 1 component.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [152/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32vec1 f32vec1  ,
- + @@ -6036,18 +6108,20 @@ Functions

Single-qualifier floating-point aligned vector of 2 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [153/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32vec2 f32vec2  ,
- + @@ -6071,18 +6145,20 @@ Functions

Single-qualifier floating-point aligned vector of 3 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [154/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32vec3 f32vec3  ,
- + @@ -6106,24 +6182,26 @@ Functions

Single-qualifier floating-point aligned vector of 4 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [155/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32vec4 f32vec4  ,
- + - + @@ -6141,24 +6219,26 @@ Functions

Double-qualifier floating-point aligned vector of 1 component.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [156/206]

+
glm::GLM_ALIGNED_TYPEDEF (dvec1 dvec1  ,
aligned_dvec1 aligned_dvec1  ,
- + - + @@ -6176,24 +6256,26 @@ Functions

Double-qualifier floating-point aligned vector of 2 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [157/206]

+
glm::GLM_ALIGNED_TYPEDEF (dvec2 dvec2  ,
aligned_dvec2 aligned_dvec2  ,
- + - + @@ -6211,24 +6293,26 @@ Functions

Double-qualifier floating-point aligned vector of 3 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [158/206]

+
glm::GLM_ALIGNED_TYPEDEF (dvec3 dvec3  ,
aligned_dvec3 aligned_dvec3  ,
- + - + @@ -6246,18 +6330,20 @@ Functions

Double-qualifier floating-point aligned vector of 4 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [159/206]

+
glm::GLM_ALIGNED_TYPEDEF (dvec4 dvec4  ,
aligned_dvec4 aligned_dvec4  ,
- + @@ -6281,18 +6367,20 @@ Functions

Double-qualifier floating-point aligned vector of 1 component.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [160/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64vec1 f64vec1  ,
- + @@ -6316,18 +6404,20 @@ Functions

Double-qualifier floating-point aligned vector of 2 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [161/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64vec2 f64vec2  ,
- + @@ -6351,18 +6441,20 @@ Functions

Double-qualifier floating-point aligned vector of 3 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [162/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64vec3 f64vec3  ,
- + @@ -6386,24 +6478,26 @@ Functions

Double-qualifier floating-point aligned vector of 4 components.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [163/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64vec4 f64vec4  ,
- + - + - + @@ -6421,26 +6515,28 @@ Functions

Single-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [164/206]

+
glm::GLM_ALIGNED_TYPEDEF GLM_ALIGNED_TYPEDEF (mat2 mat2  ,
aligned_mat2 aligned_mat2  ,
- + - + - + @@ -6458,24 +6554,26 @@ Functions

Single-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [165/206]

+
glm::GLM_ALIGNED_TYPEDEF GLM_ALIGNED_TYPEDEF (mat3 mat3  ,
aligned_mat3 aligned_mat3  ,
- + - + - + @@ -6493,125 +6591,20 @@ Functions

Single-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [166/206]

+
glm::GLM_ALIGNED_TYPEDEF GLM_ALIGNED_TYPEDEF (mat4 mat4  ,
aligned_mat4 aligned_mat4  ,
- - - - - - - - - - - - - - - - - - - - -
glm::GLM_ALIGNED_TYPEDEF (mat2x2 ,
aligned_mat2x2 ,
16  
)
-
- -

Single-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
-
-GLM_GTX_type_aligned
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
glm::GLM_ALIGNED_TYPEDEF (mat3x3 ,
aligned_mat3x3 ,
16  
)
-
- -

Single-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
- -
-
- -
-
- - - - - - - - - - - - - - - - - - - - - - - - -
glm::GLM_ALIGNED_TYPEDEF (mat4x4 ,
aligned_mat4x4 ,
16  
)
-
- -

Single-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
- -
-
- -
-
- - - - - + @@ -6635,20 +6628,22 @@ Functions

Single-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [167/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat2x2 fmat2x2  ,
- + @@ -6672,18 +6667,20 @@ Functions

Single-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [168/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat3x3 fmat3x3  ,
- + @@ -6707,18 +6704,20 @@ Functions

Single-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [169/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat4x4 fmat4x4  ,
- + @@ -6742,20 +6741,22 @@ Functions

Single-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [170/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat2x2 fmat2x2  ,
- + @@ -6779,18 +6780,20 @@ Functions

Single-qualifier floating-point aligned 2x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [171/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat2x3 fmat2x3  ,
- + @@ -6814,18 +6817,20 @@ Functions

Single-qualifier floating-point aligned 2x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [172/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat2x4 fmat2x4  ,
- + @@ -6849,18 +6854,20 @@ Functions

Single-qualifier floating-point aligned 3x2 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [173/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat3x2 fmat3x2  ,
- + @@ -6884,18 +6891,20 @@ Functions

Single-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [174/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat3x3 fmat3x3  ,
- + @@ -6919,18 +6928,20 @@ Functions

Single-qualifier floating-point aligned 3x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [175/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat3x4 fmat3x4  ,
- + @@ -6954,18 +6965,20 @@ Functions

Single-qualifier floating-point aligned 4x2 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [176/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat4x2 fmat4x2  ,
- + @@ -6989,18 +7002,20 @@ Functions

Single-qualifier floating-point aligned 4x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [177/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat4x3 fmat4x3  ,
- + @@ -7024,18 +7039,20 @@ Functions

Single-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [178/206]

+
glm::GLM_ALIGNED_TYPEDEF (fmat4x4 fmat4x4  ,
- + @@ -7059,20 +7076,22 @@ Functions

Single-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [179/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat2x2 f32mat2x2  ,
- + @@ -7096,18 +7115,20 @@ Functions

Single-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [180/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat3x3 f32mat3x3  ,
- + @@ -7131,18 +7152,20 @@ Functions

Single-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [181/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat4x4 f32mat4x4  ,
- + @@ -7166,20 +7189,22 @@ Functions

Single-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Single-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [182/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat2x2 f32mat2x2  ,
- + @@ -7203,18 +7228,20 @@ Functions

Single-qualifier floating-point aligned 2x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [183/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat2x3 f32mat2x3  ,
- + @@ -7238,18 +7265,20 @@ Functions

Single-qualifier floating-point aligned 2x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [184/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat2x4 f32mat2x4  ,
- + @@ -7273,18 +7302,20 @@ Functions

Single-qualifier floating-point aligned 3x2 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [185/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat3x2 f32mat3x2  ,
- + @@ -7308,18 +7339,20 @@ Functions

Single-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [186/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat3x3 f32mat3x3  ,
- + @@ -7343,18 +7376,20 @@ Functions

Single-qualifier floating-point aligned 3x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [187/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat3x4 f32mat3x4  ,
- + @@ -7378,18 +7413,20 @@ Functions

Single-qualifier floating-point aligned 4x2 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [188/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat4x2 f32mat4x2  ,
- + @@ -7413,18 +7450,20 @@ Functions

Single-qualifier floating-point aligned 4x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [189/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat4x3 f32mat4x3  ,
- + @@ -7448,18 +7487,20 @@ Functions

Single-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [190/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32mat4x4 f32mat4x4  ,
- + @@ -7483,20 +7524,22 @@ Functions

Double-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Double-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Double-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [191/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat2x2 f64mat2x2  ,
- + @@ -7520,18 +7563,20 @@ Functions

Double-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [192/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat3x3 f64mat3x3  ,
- + @@ -7555,18 +7600,20 @@ Functions

Double-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [193/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat4x4 f64mat4x4  ,
- + @@ -7590,20 +7637,22 @@ Functions

Double-qualifier floating-point aligned 1x1 matrix.

-
See also
GLM_GTX_type_aligned Double-qualifier floating-point aligned 2x2 matrix.
+
See also
GLM_GTX_type_aligned Double-qualifier floating-point aligned 2x2 matrix.
-GLM_GTX_type_aligned
+GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [194/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat2x2 f64mat2x2  ,
- + @@ -7627,18 +7676,20 @@ Functions

Double-qualifier floating-point aligned 2x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [195/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat2x3 f64mat2x3  ,
- + @@ -7662,18 +7713,20 @@ Functions

Double-qualifier floating-point aligned 2x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [196/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat2x4 f64mat2x4  ,
- + @@ -7697,18 +7750,20 @@ Functions

Double-qualifier floating-point aligned 3x2 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [197/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat3x2 f64mat3x2  ,
- + @@ -7732,18 +7787,20 @@ Functions

Double-qualifier floating-point aligned 3x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [198/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat3x3 f64mat3x3  ,
- + @@ -7767,18 +7824,20 @@ Functions

Double-qualifier floating-point aligned 3x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [199/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat3x4 f64mat3x4  ,
- + @@ -7802,18 +7861,20 @@ Functions

Double-qualifier floating-point aligned 4x2 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [200/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat4x2 f64mat4x2  ,
- + @@ -7837,18 +7898,20 @@ Functions

Double-qualifier floating-point aligned 4x3 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [201/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat4x3 f64mat4x3  ,
- + @@ -7872,18 +7935,20 @@ Functions

Double-qualifier floating-point aligned 4x4 matrix.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [202/206]

+
glm::GLM_ALIGNED_TYPEDEF (f64mat4x4 f64mat4x4  ,
- + @@ -7907,18 +7972,20 @@ Functions

Single-qualifier floating-point aligned quaternion.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [203/206]

+
glm::GLM_ALIGNED_TYPEDEF (quat quat  ,
- + @@ -7942,18 +8009,20 @@ Functions

Single-qualifier floating-point aligned quaternion.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [204/206]

+
glm::GLM_ALIGNED_TYPEDEF (fquat quat  ,
- + @@ -7977,18 +8046,20 @@ Functions

Double-qualifier floating-point aligned quaternion.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [205/206]

+
glm::GLM_ALIGNED_TYPEDEF (dquat dquat  ,
- + @@ -8012,18 +8083,20 @@ Functions

Single-qualifier floating-point aligned quaternion.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
- + +

◆ GLM_ALIGNED_TYPEDEF() [206/206]

+
glm::GLM_ALIGNED_TYPEDEF (f32quat f32quat  ,
- + @@ -8047,7 +8120,7 @@ Functions

Double-qualifier floating-point aligned quaternion.

-
See also
GLM_GTX_type_aligned
+
See also
GLM_GTX_type_aligned
@@ -8056,7 +8129,7 @@ Functions diff --git a/doc/api/a00232.html b/doc/api/a00782.html similarity index 62% rename from doc/api/a00232.html rename to doc/api/a00782.html index 820a47ec..9667825e 100644 --- a/doc/api/a00232.html +++ b/doc/api/a00782.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_type_trait @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
glm::GLM_ALIGNED_TYPEDEF (f64quat f64quat  ,
- + - + + + +
-
GLM_GTX_type_trait
+
GLM_GTX_type_trait
- -

Include <glm/gtx/type_trait.hpp> to use the features of this extension. -More...

Detailed Description

-

Include <glm/gtx/type_trait.hpp> to use the features of this extension.

+

Include <glm/gtx/type_trait.hpp> to use the features of this extension.

Defines traits for each type.

diff --git a/doc/api/a00783.html b/doc/api/a00783.html new file mode 100644 index 00000000..61718fe5 --- /dev/null +++ b/doc/api/a00783.html @@ -0,0 +1,79 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_vec_swizzle + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+
+
GLM_GTX_vec_swizzle
+
+
+

Include <glm/gtx/vec_swizzle.hpp> to use the features of this extension.

+

Functions to perform swizzle operation.

+
+ + + + diff --git a/doc/api/a00234.html b/doc/api/a00784.html similarity index 69% rename from doc/api/a00234.html rename to doc/api/a00784.html index 061cd642..c8634238 100644 --- a/doc/api/a00234.html +++ b/doc/api/a00784.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: GLM_GTX_vector_angle @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + +
Functions
-
GLM_GTX_vector_angle
+
GLM_GTX_vector_angle
Experimental extensions
- -

Include <glm/gtx/vector_angle.hpp> to use the features of this extension. -More...

- - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL T angle (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the absolute angle between two vectors. More...
GLM_FUNC_DECL T angle (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T orientedAngle (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 Returns the oriented angle between two 2d vectors. More...
GLM_FUNC_DECL T orientedAngle (vec< 2, T, Q > const &x, vec< 2, T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T orientedAngle (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref)
 Returns the oriented angle between two 3d vectors based from a reference axis. More...
GLM_FUNC_DECL T orientedAngle (vec< 3, T, Q > const &x, vec< 3, T, Q > const &y, vec< 3, T, Q > const &ref)
 

Detailed Description

-

Include <glm/gtx/vector_angle.hpp> to use the features of this extension.

+

Include <glm/gtx/vector_angle.hpp> to use the features of this extension.

Compute angle between vectors

Function Documentation

- + +

◆ angle()

+
@@ -129,11 +112,13 @@ Functions

Returns the absolute angle between two vectors.

-

Parameters need to be normalized.

See also
GLM_GTX_vector_angle extension.
+

Parameters need to be normalized.

See also
GLM_GTX_vector_angle extension.
- + +

◆ orientedAngle() [1/2]

+
@@ -158,11 +143,13 @@ Functions

Returns the oriented angle between two 2d vectors.

-

Parameters need to be normalized.

See also
GLM_GTX_vector_angle extension.
+

Parameters need to be normalized.

See also
GLM_GTX_vector_angle extension.
- + +

◆ orientedAngle() [2/2]

+
@@ -193,7 +180,7 @@ Functions

Returns the oriented angle between two 3d vectors based from a reference axis.

-

Parameters need to be normalized.

See also
GLM_GTX_vector_angle extension.
+

Parameters need to be normalized.

See also
GLM_GTX_vector_angle extension.
@@ -202,7 +189,7 @@ Functions diff --git a/doc/api/a00235.html b/doc/api/a00785.html similarity index 71% rename from doc/api/a00235.html rename to doc/api/a00785.html index 451f495d..f2f81c33 100644 --- a/doc/api/a00235.html +++ b/doc/api/a00785.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: GLM_GTX_vector_query @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
GLM_GTX_vector_query
+
GLM_GTX_vector_query
- -

Include <glm/gtx/vector_query.hpp> to use the features of this extension. -More...

- - + - - + - - + - - + - - + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areCollinear (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 Check whether two vectors are collinears. More...
GLM_FUNC_DECL bool areCollinear (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areOrthogonal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 Check whether two vectors are orthogonals. More...
GLM_FUNC_DECL bool areOrthogonal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool areOrthonormal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 Check whether two vectors are orthonormal. More...
GLM_FUNC_DECL bool areOrthonormal (vec< L, T, Q > const &v0, vec< L, T, Q > const &v1, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > isCompNull (vec< L, T, Q > const &v, T const &epsilon)
 Check whether a each component of a vector is null. More...
GLM_FUNC_DECL vec< L, bool, Q > isCompNull (vec< L, T, Q > const &v, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool isNormalized (vec< L, T, Q > const &v, T const &epsilon)
 Check whether a vector is normalized. More...
GLM_FUNC_DECL bool isNormalized (vec< L, T, Q > const &v, T const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL bool isNull (vec< L, T, Q > const &v, T const &epsilon)
 Check whether a vector is null. More...
GLM_FUNC_DECL bool isNull (vec< L, T, Q > const &v, T const &epsilon)
 

Detailed Description

-

Include <glm/gtx/vector_query.hpp> to use the features of this extension.

+

Include <glm/gtx/vector_query.hpp> to use the features of this extension.

Query informations of vector types

Function Documentation

- + +

◆ areCollinear()

+
@@ -147,11 +127,13 @@ Functions

Check whether two vectors are collinears.

-
See also
GLM_GTX_vector_query extensions.
+
See also
GLM_GTX_vector_query extensions.
- + +

◆ areOrthogonal()

+
@@ -182,11 +164,13 @@ Functions

Check whether two vectors are orthogonals.

-
See also
GLM_GTX_vector_query extensions.
+
See also
GLM_GTX_vector_query extensions.
- + +

◆ areOrthonormal()

+
@@ -217,11 +201,13 @@ Functions

Check whether two vectors are orthonormal.

-
See also
GLM_GTX_vector_query extensions.
+
See also
GLM_GTX_vector_query extensions.
- + +

◆ isCompNull()

+
@@ -246,11 +232,13 @@ Functions

Check whether a each component of a vector is null.

-
See also
GLM_GTX_vector_query extensions.
+
See also
GLM_GTX_vector_query extensions.
- + +

◆ isNormalized()

+
@@ -275,11 +263,13 @@ Functions

Check whether a vector is normalized.

-
See also
GLM_GTX_vector_query extensions.
+
See also
GLM_GTX_vector_query extensions.
- + +

◆ isNull()

+
@@ -304,7 +294,7 @@ Functions

Check whether a vector is null.

-
See also
GLM_GTX_vector_query extensions.
+
See also
GLM_GTX_vector_query extensions.
@@ -313,7 +303,7 @@ Functions diff --git a/doc/api/a00786.html b/doc/api/a00786.html new file mode 100644 index 00000000..0ca5b5ef --- /dev/null +++ b/doc/api/a00786.html @@ -0,0 +1,183 @@ + + + + + + + +0.9.9 API documenation: GLM_GTX_wrap + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ + +
+
+ + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType clamp (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType mirrorClamp (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType mirrorRepeat (genType const &Texcoord)
 
template<typename genType >
GLM_FUNC_DECL genType repeat (genType const &Texcoord)
 
+

Detailed Description

+

Include <glm/gtx/wrap.hpp> to use the features of this extension.

+

Wrapping mode of texture coordinates.

+

Function Documentation

+ +

◆ clamp()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::clamp (genType const & Texcoord)
+
+ +

Simulate GL_CLAMP OpenGL wrap mode.

+
See also
GLM_GTX_wrap extension.
+ +
+
+ +

◆ mirrorClamp()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::mirrorClamp (genType const & Texcoord)
+
+ +

Simulate GL_MIRRORED_REPEAT OpenGL wrap mode.

+
See also
GLM_GTX_wrap extension.
+ +
+
+ +

◆ mirrorRepeat()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::mirrorRepeat (genType const & Texcoord)
+
+ +

Simulate GL_MIRROR_REPEAT OpenGL wrap mode.

+
See also
GLM_GTX_wrap extension.
+ +
+
+ +

◆ repeat()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL genType glm::repeat (genType const & Texcoord)
+
+ +

Simulate GL_REPEAT OpenGL wrap mode.

+
See also
GLM_GTX_wrap extension.
+ +
+
+
+ + + + diff --git a/doc/api/a00237.html b/doc/api/a00787.html similarity index 77% rename from doc/api/a00237.html rename to doc/api/a00787.html index e9bcc109..13727c10 100644 --- a/doc/api/a00237.html +++ b/doc/api/a00787.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: Integer functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
Integer functions
+
Integer functions
Core features
- -

Include <glm/integer.hpp> to use these core features. -More...

- - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - + - - +

Functions

template<typename genType >
GLM_FUNC_DECL int bitCount (genType v)
 Returns the number of bits set to 1 in the binary representation of value. More...
GLM_FUNC_DECL int bitCount (genType v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > bitCount (vec< L, T, Q > const &v)
 Returns the number of bits set to 1 in the binary representation of value. More...
GLM_FUNC_DECL vec< L, int, Q > bitCount (vec< L, T, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldExtract (vec< L, T, Q > const &Value, int Offset, int Bits)
 Extracts bits [offset, offset + bits - 1] from value, returning them in the least significant bits of the result. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldExtract (vec< L, T, Q > const &Value, int Offset, int Bits)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldInsert (vec< L, T, Q > const &Base, vec< L, T, Q > const &Insert, int Offset, int Bits)
 Returns the insertion the bits least-significant bits of insert into base. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldInsert (vec< L, T, Q > const &Base, vec< L, T, Q > const &Insert, int Offset, int Bits)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > bitfieldReverse (vec< L, T, Q > const &v)
 Returns the reversal of the bits of value. More...
GLM_FUNC_DECL vec< L, T, Q > bitfieldReverse (vec< L, T, Q > const &v)
 
template<typename genIUType >
GLM_FUNC_DECL int findLSB (genIUType x)
 Returns the bit number of the least significant bit set to 1 in the binary representation of value. More...
GLM_FUNC_DECL int findLSB (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > findLSB (vec< L, T, Q > const &v)
 Returns the bit number of the least significant bit set to 1 in the binary representation of value. More...
GLM_FUNC_DECL vec< L, int, Q > findLSB (vec< L, T, Q > const &v)
 
template<typename genIUType >
GLM_FUNC_DECL int findMSB (genIUType x)
 Returns the bit number of the most significant bit in the binary representation of value. More...
GLM_FUNC_DECL int findMSB (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > findMSB (vec< L, T, Q > const &v)
 Returns the bit number of the most significant bit in the binary representation of value. More...
GLM_FUNC_DECL vec< L, int, Q > findMSB (vec< L, T, Q > const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL void imulExtended (vec< L, int, Q > const &x, vec< L, int, Q > const &y, vec< L, int, Q > &msb, vec< L, int, Q > &lsb)
 Multiplies 32-bit integers x and y, producing a 64-bit result. More...
GLM_FUNC_DECL void imulExtended (vec< L, int, Q > const &x, vec< L, int, Q > const &y, vec< L, int, Q > &msb, vec< L, int, Q > &lsb)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uaddCarry (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &carry)
 Adds 32-bit unsigned integer x and y, returning the sum modulo pow(2, 32). More...
GLM_FUNC_DECL vec< L, uint, Q > uaddCarry (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &carry)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL void umulExtended (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &msb, vec< L, uint, Q > &lsb)
 Multiplies 32-bit integers x and y, producing a 64-bit result. More...
GLM_FUNC_DECL void umulExtended (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &msb, vec< L, uint, Q > &lsb)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > usubBorrow (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &borrow)
 Subtracts the 32-bit unsigned integer y from x, returning the difference if non-negative, or pow(2, 32) plus the difference otherwise. More...
GLM_FUNC_DECL vec< L, uint, Q > usubBorrow (vec< L, uint, Q > const &x, vec< L, uint, Q > const &y, vec< L, uint, Q > &borrow)
 

Detailed Description

-

Include <glm/integer.hpp> to use these core features.

-

These all operate component-wise. The description is per component. The notation [a, b] means the set of bits from bit-number a through bit-number b, inclusive. The lowest-order bit is bit 0.

+

Provides GLSL functions on integer types.

+

These all operate component-wise. The description is per component. The notation [a, b] means the set of bits from bit-number a through bit-number b, inclusive. The lowest-order bit is bit 0.

+

Include <glm/integer.hpp> to use these core features.

Function Documentation

- + +

◆ bitCount() [1/2]

+
@@ -171,7 +145,9 @@ Functions - + +

◆ bitCount() [2/2]

+
@@ -199,7 +175,9 @@ Functions - + +

◆ bitfieldExtract()

+
@@ -245,7 +223,9 @@ Functions - + +

◆ bitfieldInsert()

+
@@ -296,7 +276,9 @@ Functions - + +

◆ bitfieldReverse()

+
@@ -325,7 +307,9 @@ Functions - + +

◆ findLSB() [1/2]

+
@@ -353,7 +337,9 @@ Functions - + +

◆ findLSB() [2/2]

+
@@ -382,7 +368,9 @@ Functions - + +

◆ findMSB() [1/2]

+
@@ -410,7 +398,9 @@ Functions - + +

◆ findMSB() [2/2]

+
@@ -439,7 +429,9 @@ Functions - + +

◆ imulExtended()

+
@@ -489,26 +481,28 @@ Functions - + +

◆ uaddCarry()

+
- + - + - + @@ -533,32 +527,34 @@ Functions - + +

◆ umulExtended()

+
GLM_FUNC_DECL vec<L, uint, Q> glm::uaddCarry (vec< L, uint, Q > const & vec< L, uint, Q > const &  x,
vec< L, uint, Q > const & vec< L, uint, Q > const &  y,
vec< L, uint, Q > & vec< L, uint, Q > &  carry 
- + - + - + - + @@ -583,26 +579,28 @@ Functions - + +

◆ usubBorrow()

+
GLM_FUNC_DECL void glm::umulExtended (vec< L, uint, Q > const & vec< L, uint, Q > const &  x,
vec< L, uint, Q > const & vec< L, uint, Q > const &  y,
vec< L, uint, Q > & vec< L, uint, Q > &  msb,
vec< L, uint, Q > & vec< L, uint, Q > &  lsb 
- + - + - + @@ -632,7 +630,7 @@ Functions diff --git a/doc/api/a00238.html b/doc/api/a00788.html similarity index 74% rename from doc/api/a00238.html rename to doc/api/a00788.html index ff269f96..20edfce1 100644 --- a/doc/api/a00238.html +++ b/doc/api/a00788.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: Matrix functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
GLM_FUNC_DECL vec<L, uint, Q> glm::usubBorrow (vec< L, uint, Q > const & vec< L, uint, Q > const &  x,
vec< L, uint, Q > const & vec< L, uint, Q > const &  y,
vec< L, uint, Q > & vec< L, uint, Q > &  borrow 
- + - + + + +
Functions
-
Matrix functions
+
Matrix functions
- -

Include <glm/matrix.hpp> to use these core features. -More...

- - + - - - - + + + - - + - - + - - +

Functions

template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL T determinant (mat< C, R, T, Q > const &m)
 Return the determinant of a squared matrix. More...
GLM_FUNC_DECL T determinant (mat< C, R, T, Q > const &m)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse (mat< C, R, T, Q > const &m)
 Return the inverse of a squared matrix. More...
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > inverse (mat< C, R, T, Q > const &m)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q > matrixCompMult (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 Multiply matrix x by matrix y component-wise, i.e., result[i][j] is the scalar product of x[i][j] and y[i][j]. More...
GLM_FUNC_DECL mat< C, R, T, Q > matrixCompMult (mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::type outerProduct (vec< C, T, Q > const &c, vec< R, T, Q > const &r)
 Treats the first parameter c as a column vector and the second parameter r as a row vector and does a linear algebraic matrix multiply c * r. More...
GLM_FUNC_DECL detail::outerProduct_trait< C, R, T, Q >::type outerProduct (vec< C, T, Q > const &c, vec< R, T, Q > const &r)
 
template<length_t C, length_t R, typename T , qualifier Q>
GLM_FUNC_DECL mat< C, R, T, Q >::transpose_type transpose (mat< C, R, T, Q > const &x)
 Returns the transposed matrix of x. More...
GLM_FUNC_DECL mat< C, R, T, Q >::transpose_type transpose (mat< C, R, T, Q > const &x)
 

Detailed Description

-

Include <glm/matrix.hpp> to use these core features.

-

For each of the following built-in matrix functions, there is both a single-qualifier floating point version, where all arguments and return values are single qualifier, and a double-qualifier floating version, where all arguments and return values are double qualifier. Only the single-qualifier floating point version is shown.

+

Provides GLSL matrix functions.

+

Include <glm/matrix.hpp> to use these core features.

Function Documentation

- + +

◆ determinant()

+
@@ -142,12 +123,14 @@ Functions - + +

◆ inverse()

+
- + @@ -172,7 +155,9 @@ Functions - + +

◆ matrixCompMult()

+
GLM_FUNC_DECL mat< C, R, T, Q > inverse GLM_FUNC_DECL mat<C, R, T, Q> glm::inverse ( mat< C, R, T, Q > const &  m)
@@ -212,7 +197,9 @@ Functions - + +

◆ outerProduct()

+
@@ -252,7 +239,9 @@ Functions - + +

◆ transpose()

+
@@ -287,7 +276,7 @@ Functions diff --git a/doc/api/a00789.html b/doc/api/a00789.html new file mode 100644 index 00000000..f8d99aca --- /dev/null +++ b/doc/api/a00789.html @@ -0,0 +1,416 @@ + + + + + + + +0.9.9 API documenation: Floating-Point Pack and Unpack Functions + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Floating-Point Pack and Unpack Functions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL double packDouble2x32 (uvec2 const &v)
 
GLM_FUNC_DECL uint packHalf2x16 (vec2 const &v)
 
GLM_FUNC_DECL uint packSnorm2x16 (vec2 const &v)
 
GLM_FUNC_DECL uint packSnorm4x8 (vec4 const &v)
 
GLM_FUNC_DECL uint packUnorm2x16 (vec2 const &v)
 
GLM_FUNC_DECL uint packUnorm4x8 (vec4 const &v)
 
GLM_FUNC_DECL uvec2 unpackDouble2x32 (double v)
 
GLM_FUNC_DECL vec2 unpackHalf2x16 (uint v)
 
GLM_FUNC_DECL vec2 unpackSnorm2x16 (uint p)
 
GLM_FUNC_DECL vec4 unpackSnorm4x8 (uint p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x16 (uint p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x8 (uint p)
 
+

Detailed Description

+

Provides GLSL functions to pack and unpack half, single and double-precision floating point values into more compact integer types.

+

These functions do not operate component-wise, rather as described in each case.

+

Include <glm/packing.hpp> to use these core features.

+

Function Documentation

+ +

◆ packDouble2x32()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL double glm::packDouble2x32 (uvec2 const & v)
+
+ +

Returns a double-qualifier value obtained by packing the components of v into a 64-bit value.

+

If an IEEE 754 Inf or NaN is created, it will not signal, and the resulting floating point value is unspecified. Otherwise, the bit- level representation of v is preserved. The first vector component specifies the 32 least significant bits; the second component specifies the 32 most significant bits.

+
See also
GLSL packDouble2x32 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ packHalf2x16()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::packHalf2x16 (vec2 const & v)
+
+ +

Returns an unsigned integer obtained by converting the components of a two-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these two 16- bit integers into a 32-bit unsigned integer.

+

The first vector component specifies the 16 least-significant bits of the result; the second component specifies the 16 most-significant bits.

+
See also
GLSL packHalf2x16 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ packSnorm2x16()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::packSnorm2x16 (vec2 const & v)
+
+ +

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

+

Then, the results are packed into the returned 32-bit unsigned integer.

+

The conversion for component c of v to fixed point is done as follows: packSnorm2x16: round(clamp(v, -1, +1) * 32767.0)

+

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

+
See also
GLSL packSnorm2x16 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ packSnorm4x8()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::packSnorm4x8 (vec4 const & v)
+
+ +

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

+

Then, the results are packed into the returned 32-bit unsigned integer.

+

The conversion for component c of v to fixed point is done as follows: packSnorm4x8: round(clamp(c, -1, +1) * 127.0)

+

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

+
See also
GLSL packSnorm4x8 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ packUnorm2x16()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::packUnorm2x16 (vec2 const & v)
+
+ +

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

+

Then, the results are packed into the returned 32-bit unsigned integer.

+

The conversion for component c of v to fixed point is done as follows: packUnorm2x16: round(clamp(c, 0, +1) * 65535.0)

+

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

+
See also
GLSL packUnorm2x16 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ packUnorm4x8()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uint glm::packUnorm4x8 (vec4 const & v)
+
+ +

First, converts each component of the normalized floating-point value v into 8- or 16-bit integer values.

+

Then, the results are packed into the returned 32-bit unsigned integer.

+

The conversion for component c of v to fixed point is done as follows: packUnorm4x8: round(clamp(c, 0, +1) * 255.0)

+

The first component of the vector will be written to the least significant bits of the output; the last component will be written to the most significant bits.

+
See also
GLSL packUnorm4x8 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ unpackDouble2x32()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL uvec2 glm::unpackDouble2x32 (double v)
+
+ +

Returns a two-component unsigned integer vector representation of v.

+

The bit-level representation of v is preserved. The first component of the vector contains the 32 least significant bits of the double; the second component consists the 32 most significant bits.

+
See also
GLSL unpackDouble2x32 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ unpackHalf2x16()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec2 glm::unpackHalf2x16 (uint v)
+
+ +

Returns a two-component floating-point vector with components obtained by unpacking a 32-bit unsigned integer into a pair of 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values.

+

The first component of the vector is obtained from the 16 least-significant bits of v; the second component is obtained from the 16 most-significant bits of v.

+
See also
GLSL unpackHalf2x16 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ unpackSnorm2x16()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec2 glm::unpackSnorm2x16 (uint p)
+
+ +

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

+

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

+

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm2x16: clamp(f / 32767.0, -1, +1)

+

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

+
See also
GLSL unpackSnorm2x16 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ unpackSnorm4x8()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec4 glm::unpackSnorm4x8 (uint p)
+
+ +

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

+

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

+

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackSnorm4x8: clamp(f / 127.0, -1, +1)

+

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

+
See also
GLSL unpackSnorm4x8 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ unpackUnorm2x16()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec2 glm::unpackUnorm2x16 (uint p)
+
+ +

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

+

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

+

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm2x16: f / 65535.0

+

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

+
See also
GLSL unpackUnorm2x16 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+ +

◆ unpackUnorm4x8()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec4 glm::unpackUnorm4x8 (uint p)
+
+ +

First, unpacks a single 32-bit unsigned integer p into a pair of 16-bit unsigned integers, four 8-bit unsigned integers, or four 8-bit signed integers.

+

Then, each component is converted to a normalized floating-point value to generate the returned two- or four-component vector.

+

The conversion for unpacked fixed-point value f to floating point is done as follows: unpackUnorm4x8: f / 255.0

+

The first component of the returned vector will be extracted from the least significant bits of the input; the last component will be extracted from the most significant bits.

+
See also
GLSL unpackUnorm4x8 man page
+
+GLSL 4.20.8 specification, section 8.4 Floating-Point Pack and Unpack Functions
+ +
+
+
+ + + + diff --git a/doc/api/a00790.html b/doc/api/a00790.html new file mode 100644 index 00000000..e95dd033 --- /dev/null +++ b/doc/api/a00790.html @@ -0,0 +1,620 @@ + + + + + + + +0.9.9 API documenation: Angle and Trigonometry Functions + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Angle and Trigonometry Functions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acos (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acosh (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asin (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asinh (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y, vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y_over_x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atanh (vec< L, T, Q > const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cos (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cosh (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees (vec< L, T, Q > const &radians)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians (vec< L, T, Q > const &degrees)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sin (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sinh (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tan (vec< L, T, Q > const &angle)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tanh (vec< L, T, Q > const &angle)
 
+

Detailed Description

+

Function parameters specified as angle are assumed to be in units of radians.

+

In no case will any of these functions result in a divide by zero error. If the divisor of a ratio is 0, then results will be undefined.

+

These all operate component-wise. The description is per component.

+

Include <glm/trigonometric.hpp> to use these core features.

+
See also
ext_vector_trigonometric
+

Function Documentation

+ +

◆ acos()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::acos (vec< L, T, Q > const & x)
+
+ +

Arc cosine.

+

Returns an angle whose sine is x. The range of values returned by this function is [0, PI]. Results are undefined if |x| > 1.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL acos man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ acosh()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::acosh (vec< L, T, Q > const & x)
+
+ +

Arc hyperbolic cosine; returns the non-negative inverse of cosh.

+

Results are undefined if x < 1.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL acosh man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ asin()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::asin (vec< L, T, Q > const & x)
+
+ +

Arc sine.

+

Returns an angle whose sine is x. The range of values returned by this function is [-PI/2, PI/2]. Results are undefined if |x| > 1.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL asin man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ asinh()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::asinh (vec< L, T, Q > const & x)
+
+ +

Arc hyperbolic sine; returns the inverse of sinh.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL asinh man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ atan() [1/2]

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::atan (vec< L, T, Q > const & y,
vec< L, T, Q > const & x 
)
+
+ +

Arc tangent.

+

Returns an angle whose tangent is y/x. The signs of x and y are used to determine what quadrant the angle is in. The range of values returned by this function is [-PI, PI]. Results are undefined if x and y are both 0.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL atan man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +

Referenced by glm::atan2().

+ +
+
+ +

◆ atan() [2/2]

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::atan (vec< L, T, Q > const & y_over_x)
+
+ +

Arc tangent.

+

Returns an angle whose tangent is y_over_x. The range of values returned by this function is [-PI/2, PI/2].

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL atan man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ atanh()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::atanh (vec< L, T, Q > const & x)
+
+ +

Arc hyperbolic tangent; returns the inverse of tanh.

+

Results are undefined if abs(x) >= 1.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL atanh man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ cos()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::cos (vec< L, T, Q > const & angle)
+
+ +

The standard trigonometric cosine function.

+

The values returned by this function will range from [-1, 1].

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL cos man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ cosh()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::cosh (vec< L, T, Q > const & angle)
+
+ +

Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL cosh man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ degrees()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::degrees (vec< L, T, Q > const & radians)
+
+ +

Converts radians to degrees and returns the result.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL degrees man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ radians()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, T, Q> glm::radians (vec< L, T, Q > const & degrees)
+
+ +

Converts degrees to radians and returns the result.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL radians man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ sin()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::sin (vec< L, T, Q > const & angle)
+
+ +

The standard trigonometric sine function.

+

The values returned by this function will range from [-1, 1].

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL sin man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ sinh()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::sinh (vec< L, T, Q > const & angle)
+
+ +

Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL sinh man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ tan()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::tan (vec< L, T, Q > const & angle)
+
+ +

The standard trigonometric tangent function.

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL tan man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+ +

◆ tanh()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL vec<L, T, Q> glm::tanh (vec< L, T, Q > const & angle)
+
+ +

Returns the hyperbolic tangent function, sinh(angle) / cosh(angle)

+
Template Parameters
+ + + + +
LInteger between 1 and 4 included that qualify the dimension of the vector
TFloating-point scalar types
QValue from qualifier enum
+
+
+
See also
GLSL tanh man page
+
+GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
+ +
+
+
+ + + + diff --git a/doc/api/a00791.html b/doc/api/a00791.html new file mode 100644 index 00000000..174646d0 --- /dev/null +++ b/doc/api/a00791.html @@ -0,0 +1,445 @@ + + + + + + + +0.9.9 API documenation: Vector Relational Functions + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Vector Relational Functions
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool all (vec< L, bool, Q > const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool any (vec< L, bool, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > not_ (vec< L, bool, Q > const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 
+

Detailed Description

+

Relational and equality operators (<, <=, >, >=, ==, !=) are defined to operate on scalars and produce scalar Boolean results.

+

For vector results, use the following built-in functions.

+

In all cases, the sizes of all the input and return vectors for any particular call must match.

+

Include <glm/vector_relational.hpp> to use these core features.

+
See also
GLM_EXT_vector_relational
+

Function Documentation

+ +

◆ all()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::all (vec< L, bool, Q > const & v)
+
+ +

Returns true if all components of x are true.

+
Template Parameters
+ + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
+
+
+
See also
GLSL all man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ any()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::any (vec< L, bool, Q > const & v)
+
+ +

Returns true if any component of x is true.

+
Template Parameters
+ + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
+
+
+
See also
GLSL any man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ equal()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::equal (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x == y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point, integer or bool scalar type.
+
+
+
See also
GLSL equal man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ greaterThan()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::greaterThan (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x > y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL greaterThan man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ greaterThanEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::greaterThanEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x >= y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL greaterThanEqual man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ lessThan()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::lessThan (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison result of x < y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL lessThan man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ lessThanEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::lessThanEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x <= y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL lessThanEqual man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ not_()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::not_ (vec< L, bool, Q > const & v)
+
+ +

Returns the component-wise logical complement of x.

+

/!\ Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.

+
Template Parameters
+ + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
+
+
+
See also
GLSL not man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ notEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::notEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x != y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point, integer or bool scalar type.
+
+
+
See also
GLSL notEqual man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+
+ + + + diff --git a/doc/api/a00792.html b/doc/api/a00792.html new file mode 100644 index 00000000..a908c8f0 --- /dev/null +++ b/doc/api/a00792.html @@ -0,0 +1,1741 @@ + + + + + + + +0.9.9 API documenation: Core_precision + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Core_precision
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

typedef mat< 2, 2, double, highp > highp_dmat2
 
typedef mat< 2, 2, double, highp > highp_dmat2x2
 
typedef mat< 2, 3, double, highp > highp_dmat2x3
 
typedef mat< 2, 4, double, highp > highp_dmat2x4
 
typedef mat< 3, 3, double, highp > highp_dmat3
 
typedef mat< 3, 2, double, highp > highp_dmat3x2
 
typedef mat< 3, 3, double, highp > highp_dmat3x3
 
typedef mat< 3, 4, double, highp > highp_dmat3x4
 
typedef mat< 4, 4, double, highp > highp_dmat4
 
typedef mat< 4, 2, double, highp > highp_dmat4x2
 
typedef mat< 4, 3, double, highp > highp_dmat4x3
 
typedef mat< 4, 4, double, highp > highp_dmat4x4
 
typedef mat< 2, 2, float, highp > highp_mat2
 
typedef mat< 2, 2, float, highp > highp_mat2x2
 
typedef mat< 2, 3, float, highp > highp_mat2x3
 
typedef mat< 2, 4, float, highp > highp_mat2x4
 
typedef mat< 3, 3, float, highp > highp_mat3
 
typedef mat< 3, 2, float, highp > highp_mat3x2
 
typedef mat< 3, 3, float, highp > highp_mat3x3
 
typedef mat< 3, 4, float, highp > highp_mat3x4
 
typedef mat< 4, 4, float, highp > highp_mat4
 
typedef mat< 4, 2, float, highp > highp_mat4x2
 
typedef mat< 4, 3, float, highp > highp_mat4x3
 
typedef mat< 4, 4, float, highp > highp_mat4x4
 
typedef mat< 2, 2, double, lowp > lowp_dmat2
 
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
 
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
 
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
 
typedef mat< 3, 3, double, lowp > lowp_dmat3
 
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
 
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
 
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
 
typedef mat< 4, 4, double, lowp > lowp_dmat4
 
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
 
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
 
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
 
typedef mat< 2, 2, float, lowp > lowp_mat2
 
typedef mat< 2, 2, float, lowp > lowp_mat2x2
 
typedef mat< 2, 3, float, lowp > lowp_mat2x3
 
typedef mat< 2, 4, float, lowp > lowp_mat2x4
 
typedef mat< 3, 3, float, lowp > lowp_mat3
 
typedef mat< 3, 2, float, lowp > lowp_mat3x2
 
typedef mat< 3, 3, float, lowp > lowp_mat3x3
 
typedef mat< 3, 4, float, lowp > lowp_mat3x4
 
typedef mat< 4, 4, float, lowp > lowp_mat4
 
typedef mat< 4, 2, float, lowp > lowp_mat4x2
 
typedef mat< 4, 3, float, lowp > lowp_mat4x3
 
typedef mat< 4, 4, float, lowp > lowp_mat4x4
 
typedef mat< 2, 2, double, mediump > mediump_dmat2
 
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
 
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
 
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
 
typedef mat< 3, 3, double, mediump > mediump_dmat3
 
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
 
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
 
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
 
typedef mat< 4, 4, double, mediump > mediump_dmat4
 
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
 
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
 
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
 
typedef mat< 2, 2, float, mediump > mediump_mat2
 
typedef mat< 2, 2, float, mediump > mediump_mat2x2
 
typedef mat< 2, 3, float, mediump > mediump_mat2x3
 
typedef mat< 2, 4, float, mediump > mediump_mat2x4
 
typedef mat< 3, 3, float, mediump > mediump_mat3
 
typedef mat< 3, 2, float, mediump > mediump_mat3x2
 
typedef mat< 3, 3, float, mediump > mediump_mat3x3
 
typedef mat< 3, 4, float, mediump > mediump_mat3x4
 
typedef mat< 4, 4, float, mediump > mediump_mat4
 
typedef mat< 4, 2, float, mediump > mediump_mat4x2
 
typedef mat< 4, 3, float, mediump > mediump_mat4x3
 
typedef mat< 4, 4, float, mediump > mediump_mat4x4
 
+

Detailed Description

+

Typedef Documentation

+ +

◆ highp_dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, highp > highp_dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, highp > highp_dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, highp > highp_dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double2x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, highp > highp_dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double2x4_precision.hpp.

+ +
+
+ +

◆ highp_dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, highp > highp_dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, highp > highp_dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double3x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, highp > highp_dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, highp > highp_dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double3x4_precision.hpp.

+ +
+
+ +

◆ highp_dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, highp > highp_dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ highp_dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, highp > highp_dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double4x2_precision.hpp.

+ +
+
+ +

◆ highp_dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, highp > highp_dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_double4x3_precision.hpp.

+ +
+
+ +

◆ highp_dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, highp > highp_dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ highp_mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, highp > highp_mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ highp_mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, highp > highp_mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ highp_mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, highp > highp_mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float2x3_precision.hpp.

+ +
+
+ +

◆ highp_mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, highp > highp_mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float2x4_precision.hpp.

+ +
+
+ +

◆ highp_mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, highp > highp_mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ highp_mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, highp > highp_mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float3x2_precision.hpp.

+ +
+
+ +

◆ highp_mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, highp > highp_mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ highp_mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, highp > highp_mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float3x4_precision.hpp.

+ +
+
+ +

◆ highp_mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, highp > highp_mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ highp_mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, highp > highp_mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float4x2_precision.hpp.

+ +
+
+ +

◆ highp_mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, highp > highp_mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 28 of file matrix_float4x3_precision.hpp.

+ +
+
+ +

◆ highp_mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, highp > highp_mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using high precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 46 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, lowp > lowp_dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, lowp > lowp_dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, lowp > lowp_dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double2x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, lowp > lowp_dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double2x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, lowp > lowp_dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, lowp > lowp_dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double3x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, lowp > lowp_dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, lowp > lowp_dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double3x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, lowp > lowp_dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, lowp > lowp_dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double4x2_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, lowp > lowp_dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_double4x3_precision.hpp.

+ +
+
+ +

◆ lowp_dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, lowp > lowp_dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, lowp > lowp_mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, lowp > lowp_mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, lowp > lowp_mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float2x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, lowp > lowp_mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float2x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, lowp > lowp_mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, lowp > lowp_mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float3x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, lowp > lowp_mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, lowp > lowp_mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float3x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, lowp > lowp_mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ lowp_mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, lowp > lowp_mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float4x2_precision.hpp.

+ +
+
+ +

◆ lowp_mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, lowp > lowp_mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 16 of file matrix_float4x3_precision.hpp.

+ +
+
+ +

◆ lowp_mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, lowp > lowp_mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using low precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 34 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2

+ +
+
+ + + + +
typedef mat< 2, 2, f64, mediump > mediump_dmat2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, double, mediump > mediump_dmat2x2
+
+ +

2 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_double2x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, double, mediump > mediump_dmat2x3
+
+ +

2 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double2x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, double, mediump > mediump_dmat2x4
+
+ +

2 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double2x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3

+ +
+
+ + + + +
typedef mat< 3, 3, f64, mediump > mediump_dmat3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, double, mediump > mediump_dmat3x2
+
+ +

3 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double3x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, double, mediump > mediump_dmat3x3
+
+ +

3 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_double3x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, double, mediump > mediump_dmat3x4
+
+ +

3 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double3x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4

+ +
+
+ + + + +
typedef mat< 4, 4, f64, mediump > mediump_dmat4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, double, mediump > mediump_dmat4x2
+
+ +

4 columns of 2 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double4x2_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, double, mediump > mediump_dmat4x3
+
+ +

4 columns of 3 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_double4x3_precision.hpp.

+ +
+
+ +

◆ mediump_dmat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, double, mediump > mediump_dmat4x4
+
+ +

4 columns of 4 components matrix of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_double4x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, mediump > mediump_mat2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat2x2

+ +
+
+ + + + +
typedef mat< 2, 2, f32, mediump > mediump_mat2x2
+
+ +

2 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_float2x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat2x3

+ +
+
+ + + + +
typedef mat< 2, 3, f32, mediump > mediump_mat2x3
+
+ +

2 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float2x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat2x4

+ +
+
+ + + + +
typedef mat< 2, 4, f32, mediump > mediump_mat2x4
+
+ +

2 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float2x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, mediump > mediump_mat3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat3x2

+ +
+
+ + + + +
typedef mat< 3, 2, f32, mediump > mediump_mat3x2
+
+ +

3 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float3x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat3x3

+ +
+
+ + + + +
typedef mat< 3, 3, f32, mediump > mediump_mat3x3
+
+ +

3 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_float3x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat3x4

+ +
+
+ + + + +
typedef mat< 3, 4, f32, mediump > mediump_mat3x4
+
+ +

3 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float3x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, mediump > mediump_mat4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float4x4_precision.hpp.

+ +
+
+ +

◆ mediump_mat4x2

+ +
+
+ + + + +
typedef mat< 4, 2, f32, mediump > mediump_mat4x2
+
+ +

4 columns of 2 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float4x2_precision.hpp.

+ +
+
+ +

◆ mediump_mat4x3

+ +
+
+ + + + +
typedef mat< 4, 3, f32, mediump > mediump_mat4x3
+
+ +

4 columns of 3 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 22 of file matrix_float4x3_precision.hpp.

+ +
+
+ +

◆ mediump_mat4x4

+ +
+
+ + + + +
typedef mat< 4, 4, f32, mediump > mediump_mat4x4
+
+ +

4 columns of 4 components matrix of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.

+
See also
GLSL 4.20.8 specification, section 4.1.6 Matrices
+
+GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier
+ +

Definition at line 40 of file matrix_float4x4_precision.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00241.html b/doc/api/a00793.html similarity index 62% rename from doc/api/a00241.html rename to doc/api/a00793.html index 5260d29f..e5606389 100644 --- a/doc/api/a00241.html +++ b/doc/api/a00793.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: Vector Relational Functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
- + - + + + +
Functions
-
Vector Relational Functions
+
Vector Relational Functions
Core features
-

Include <glm/vector_relational.hpp> to use these core features. +

Include <glm/vector_relational.hpp> to use these core features. More...

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Functions

template<length_t L, qualifier Q>
GLM_FUNC_DECL bool all (vec< L, bool, Q > const &v)
 Returns true if all components of x are true. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL bool any (vec< L, bool, Q > const &v)
 Returns true if any component of x is true. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x == y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > greaterThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > greaterThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > lessThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > lessThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > not_ (vec< L, bool, Q > const &v)
 Returns the component-wise logical complement of x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x != y. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool all (vec< L, bool, Q > const &v)
 Returns true if all components of x are true. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool any (vec< L, bool, Q > const &v)
 Returns true if any component of x is true. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x == y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > not_ (vec< L, bool, Q > const &v)
 Returns the component-wise logical complement of x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x != y. More...
 

Detailed Description

-

Include <glm/vector_relational.hpp> to use these core features.

+

Include <glm/vector_relational.hpp> to use these core features.

Relational and equality operators (<, <=, >, >=, ==, !=) are defined to operate on scalars and produce scalar Boolean results. For vector results, use the following built-in functions.

In all cases, the sizes of all the input and return vectors for any particular call must match.

Function Documentation

- + +

◆ all()

+
- + @@ -156,12 +145,14 @@ Functions - + +

◆ any()

+
GLM_FUNC_DECL bool glm::all GLM_FUNC_DECL GLM_CONSTEXPR bool glm::all ( vec< L, bool, Q > const &  v)
- + @@ -183,12 +174,14 @@ Functions - + +

◆ equal()

+
GLM_FUNC_DECL bool glm::any GLM_FUNC_DECL GLM_CONSTEXPR bool glm::any ( vec< L, bool, Q > const &  v)
- + @@ -221,12 +214,14 @@ Functions - + +

◆ greaterThan()

+
GLM_FUNC_DECL vec<L, bool, Q> glm::equal GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::equal ( vec< L, T, Q > const &  x,
- + @@ -259,12 +254,14 @@ Functions - + +

◆ greaterThanEqual()

+
GLM_FUNC_DECL vec<L, bool, Q> glm::greaterThan GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::greaterThan ( vec< L, T, Q > const &  x,
- + @@ -297,12 +294,14 @@ Functions - + +

◆ lessThan()

+
GLM_FUNC_DECL vec<L, bool, Q> glm::greaterThanEqual GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::greaterThanEqual ( vec< L, T, Q > const &  x,
- + @@ -335,12 +334,14 @@ Functions - + +

◆ lessThanEqual()

+
GLM_FUNC_DECL vec<L, bool, Q> glm::lessThan GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::lessThan ( vec< L, T, Q > const &  x,
- + @@ -373,12 +374,14 @@ Functions - + +

◆ not_()

+
GLM_FUNC_DECL vec<L, bool, Q> glm::lessThanEqual GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::lessThanEqual ( vec< L, T, Q > const &  x,
- + @@ -401,12 +404,14 @@ Functions - + +

◆ notEqual()

+
GLM_FUNC_DECL vec<L, bool, Q> glm::not_ GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::not_ ( vec< L, bool, Q > const &  v)
- + @@ -444,7 +449,7 @@ Functions diff --git a/doc/api/a00240.html b/doc/api/a00794.html similarity index 85% rename from doc/api/a00240.html rename to doc/api/a00794.html index 70a49443..00bf582a 100644 --- a/doc/api/a00240.html +++ b/doc/api/a00794.html @@ -3,7 +3,8 @@ - + +0.9.9 API documenation: Angle and Trigonometry Functions @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@
GLM_FUNC_DECL vec<L, bool, Q> glm::notEqual GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::notEqual ( vec< L, T, Q > const &  x,
- + - + + + +
Functions
-
Angle and Trigonometry Functions
+
Angle and Trigonometry Functions
-

Include <glm/trigonometric.hpp> to use these core features. +

Include <glm/trigonometric.hpp> to use these core features. More...

- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acos (vec< L, T, Q > const &x)
 Arc cosine. More...
GLM_FUNC_DECL vec< L, T, Q > acos (vec< L, T, Q > const &x)
 Arc cosine. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > acosh (vec< L, T, Q > const &x)
 Arc hyperbolic cosine; returns the non-negative inverse of cosh. More...
GLM_FUNC_DECL vec< L, T, Q > acosh (vec< L, T, Q > const &x)
 Arc hyperbolic cosine; returns the non-negative inverse of cosh. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asin (vec< L, T, Q > const &x)
 Arc sine. More...
GLM_FUNC_DECL vec< L, T, Q > asin (vec< L, T, Q > const &x)
 Arc sine. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > asinh (vec< L, T, Q > const &x)
 Arc hyperbolic sine; returns the inverse of sinh. More...
GLM_FUNC_DECL vec< L, T, Q > asinh (vec< L, T, Q > const &x)
 Arc hyperbolic sine; returns the inverse of sinh. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y, vec< L, T, Q > const &x)
 Arc tangent. More...
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y, vec< L, T, Q > const &x)
 Arc tangent. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y_over_x)
 Arc tangent. More...
GLM_FUNC_DECL vec< L, T, Q > atan (vec< L, T, Q > const &y_over_x)
 Arc tangent. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > atanh (vec< L, T, Q > const &x)
 Arc hyperbolic tangent; returns the inverse of tanh. More...
GLM_FUNC_DECL vec< L, T, Q > atanh (vec< L, T, Q > const &x)
 Arc hyperbolic tangent; returns the inverse of tanh. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cos (vec< L, T, Q > const &angle)
 The standard trigonometric cosine function. More...
GLM_FUNC_DECL vec< L, T, Q > cos (vec< L, T, Q > const &angle)
 The standard trigonometric cosine function. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > cosh (vec< L, T, Q > const &angle)
 Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. More...
GLM_FUNC_DECL vec< L, T, Q > cosh (vec< L, T, Q > const &angle)
 Returns the hyperbolic cosine function, (exp(x) + exp(-x)) / 2. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees (vec< L, T, Q > const &radians)
 Converts radians to degrees and returns the result. More...
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > degrees (vec< L, T, Q > const &radians)
 Converts radians to degrees and returns the result. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians (vec< L, T, Q > const &degrees)
 Converts degrees to radians and returns the result. More...
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, T, Q > radians (vec< L, T, Q > const &degrees)
 Converts degrees to radians and returns the result. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sin (vec< L, T, Q > const &angle)
 The standard trigonometric sine function. More...
GLM_FUNC_DECL vec< L, T, Q > sin (vec< L, T, Q > const &angle)
 The standard trigonometric sine function. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > sinh (vec< L, T, Q > const &angle)
 Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. More...
GLM_FUNC_DECL vec< L, T, Q > sinh (vec< L, T, Q > const &angle)
 Returns the hyperbolic sine function, (exp(x) - exp(-x)) / 2. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tan (vec< L, T, Q > const &angle)
 The standard trigonometric tangent function. More...
GLM_FUNC_DECL vec< L, T, Q > tan (vec< L, T, Q > const &angle)
 The standard trigonometric tangent function. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > tanh (vec< L, T, Q > const &angle)
 Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) More...
GLM_FUNC_DECL vec< L, T, Q > tanh (vec< L, T, Q > const &angle)
 Returns the hyperbolic tangent function, sinh(angle) / cosh(angle) More...
 

Detailed Description

-

Include <glm/trigonometric.hpp> to use these core features.

+

Include <glm/trigonometric.hpp> to use these core features.

Function parameters specified as angle are assumed to be in units of radians. In no case will any of these functions result in a divide by zero error. If the divisor of a ratio is 0, then results will be undefined.

These all operate component-wise. The description is per component.

Function Documentation

- + +

◆ acos()

+
@@ -183,7 +172,9 @@ Functions - + +

◆ acosh()

+
@@ -213,7 +204,9 @@ Functions - + +

◆ asin()

+
@@ -243,7 +236,9 @@ Functions - + +

◆ asinh()

+
@@ -272,7 +267,9 @@ Functions - + +

◆ atan() [1/2]

+
@@ -310,11 +307,13 @@ Functions
GLSL 4.20.8 specification, section 8.1 Angle and Trigonometry Functions
-

Referenced by glm::atan2().

+

Referenced by glm::atan2().

- + +

◆ atan() [2/2]

+
@@ -344,7 +343,9 @@ Functions - + +

◆ atanh()

+
@@ -374,7 +375,9 @@ Functions - + +

◆ cos()

+
@@ -404,7 +407,9 @@ Functions - + +

◆ cosh()

+
@@ -433,7 +438,9 @@ Functions - + +

◆ degrees()

+
@@ -462,7 +469,9 @@ Functions - + +

◆ radians()

+
@@ -491,7 +500,9 @@ Functions - + +

◆ sin()

+
@@ -521,7 +532,9 @@ Functions - + +

◆ sinh()

+
@@ -550,7 +563,9 @@ Functions - + +

◆ tan()

+
@@ -579,7 +594,9 @@ Functions - + +

◆ tanh()

+
@@ -613,7 +630,7 @@ Functions diff --git a/doc/api/a00795.html b/doc/api/a00795.html new file mode 100644 index 00000000..fd1c3038 --- /dev/null +++ b/doc/api/a00795.html @@ -0,0 +1,455 @@ + + + + + + + +0.9.9 API documenation: Vector Relational Functions + + + + + + + + + +
+
+
+ + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Vector Relational Functions
+
+
+ +

Include <glm/vector_relational.hpp> to use these core features. +More...

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool all (vec< L, bool, Q > const &v)
 Returns true if all components of x are true. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR bool any (vec< L, bool, Q > const &v)
 Returns true if any component of x is true. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x == y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > greaterThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThan (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > lessThanEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > not_ (vec< L, bool, Q > const &v)
 Returns the component-wise logical complement of x. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y)
 Returns the component-wise comparison of result x != y. More...
 
+

Detailed Description

+

Include <glm/vector_relational.hpp> to use these core features.

+

Relational and equality operators (<, <=, >, >=, ==, !=) are defined to operate on scalars and produce scalar Boolean results. For vector results, use the following built-in functions.

+

In all cases, the sizes of all the input and return vectors for any particular call must match.

+

Function Documentation

+ +

◆ all()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::all (vec< L, bool, Q > const & v)
+
+ +

Returns true if all components of x are true.

+
Template Parameters
+ + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
+
+
+
See also
GLSL all man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ any()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::any (vec< L, bool, Q > const & v)
+
+ +

Returns true if any component of x is true.

+
Template Parameters
+ + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
+
+
+
See also
GLSL any man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ equal()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::equal (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x == y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point, integer or bool scalar type.
+
+
+
See also
GLSL equal man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ greaterThan()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::greaterThan (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x > y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL greaterThan man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ greaterThanEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::greaterThanEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x >= y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL greaterThanEqual man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ lessThan()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::lessThan (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison result of x < y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL lessThan man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ lessThanEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::lessThanEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x <= y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point or integer scalar type.
+
+
+
See also
GLSL lessThanEqual man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ not_()

+ +
+
+ + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::not_ (vec< L, bool, Q > const & v)
+
+ +

Returns the component-wise logical complement of x.

+

/!\ Because of language incompatibilities between C++ and GLSL, GLM defines the function not but not_ instead.

+
Template Parameters
+ + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
+
+
+
See also
GLSL not man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+ +

◆ notEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> glm::notEqual (vec< L, T, Q > const & x,
vec< L, T, Q > const & y 
)
+
+ +

Returns the component-wise comparison of result x != y.

+
Template Parameters
+ + + +
LAn integer between 1 and 4 included that qualify the dimension of the vector.
TA floating-point, integer or bool scalar type.
+
+
+
See also
GLSL notEqual man page
+
+GLSL 4.20.8 specification, section 8.7 Vector Relational Functions
+ +
+
+
+ + + + diff --git a/doc/api/a00796.html b/doc/api/a00796.html new file mode 100644 index 00000000..bd6112ce --- /dev/null +++ b/doc/api/a00796.html @@ -0,0 +1,107 @@ + + + + + + + +0.9.9 API documenation: Ext_bvec1 + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Ext_bvec1
+
+
+ + + + + +

+Typedefs

typedef vec< 1, bool, defaultp > bvec1
 1 components vector of boolean. More...
 
+

Detailed Description

+

Typedef Documentation

+ +

◆ bvec1

+ +
+
+ + + + +
typedef vec< 1, bool, defaultp > bvec1
+
+ +

1 components vector of boolean.

+
See also
GLM_EXT_vector_bool1 extension.
+ +

Definition at line 29 of file vector_bool1.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a00797.html b/doc/api/a00797.html new file mode 100644 index 00000000..0bd3d6eb --- /dev/null +++ b/doc/api/a00797.html @@ -0,0 +1,107 @@ + + + + + + + +0.9.9 API documenation: Ext_vector_uint1 + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + +
+ +
+
+ + +
+ +
+ +
+ +
+
Ext_vector_uint1
+
+
+ + + + + +

+Typedefs

typedef vec< 1, unsigned int, defaultp > uvec1
 1 component vector of unsigned integer numbers. More...
 
+

Detailed Description

+

Typedef Documentation

+ +

◆ uvec1

+ +
+
+ + + + +
typedef vec< 1, u32, defaultp > uvec1
+
+ +

1 component vector of unsigned integer numbers.

+
See also
Ext_vector_uint1 extension.
+ +

Definition at line 29 of file vector_uint1.hpp.

+ +
+
+
+ + + + diff --git a/doc/api/a01343.html b/doc/api/a01343.html new file mode 100644 index 00000000..a7cdd9c8 --- /dev/null +++ b/doc/api/a01343.html @@ -0,0 +1,104 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/color_space.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 
+

Detailed Description

+
See also
Core features (dependence)
+
+GLM_GTC_color_space (dependence)
+ +

Definition in file gtc/color_space.hpp.

+
+ + + + diff --git a/doc/api/a01343_source.html b/doc/api/a01343_source.html new file mode 100644 index 00000000..db9126ed --- /dev/null +++ b/doc/api/a01343_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/color_space.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../exponential.hpp"
20 #include "../vec3.hpp"
21 #include "../vec4.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_color_space extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear, T Gamma);
42 
45  template<length_t L, typename T, qualifier Q>
46  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB);
47 
49  // IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
50  template<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB, T Gamma);
52 
54 } //namespace glm
55 
56 #include "color_space.inl"
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear(vec< L, T, Q > const &ColorSRGB, T Gamma)
Convert a sRGB color to linear color using a custom gamma correction.
+
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB(vec< L, T, Q > const &ColorLinear, T Gamma)
Convert a linear color to sRGB color using a custom gamma correction.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01346.html b/doc/api/a01346.html new file mode 100644 index 00000000..098b9166 --- /dev/null +++ b/doc/api/a01346.html @@ -0,0 +1,109 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/color_space.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 
+template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB, T Gamma)
 
+

Detailed Description

+

GLM_GTC_color_space

+
See also
Core features (dependence)
+
+GLM_GTC_color_space (dependence)
+ +

Definition in file gtc/color_space.hpp.

+
+ + + + diff --git a/doc/api/a01346_source.html b/doc/api/a01346_source.html new file mode 100644 index 00000000..8c6d9ad2 --- /dev/null +++ b/doc/api/a01346_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/color_space.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../exponential.hpp"
20 #include "../vec3.hpp"
21 #include "../vec4.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_color_space extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear, T Gamma);
42 
45  template<length_t L, typename T, qualifier Q>
46  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB);
47 
49  // IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
50  template<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB, T Gamma);
52 
54 } //namespace glm
55 
56 #include "color_space.inl"
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear(vec< L, T, Q > const &ColorSRGB, T Gamma)
Convert a sRGB color to linear color using a custom gamma correction.
+
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB(vec< L, T, Q > const &ColorLinear, T Gamma)
Convert a linear color to sRGB color using a custom gamma correction.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01347.html b/doc/api/a01347.html new file mode 100644 index 00000000..e859fe69 --- /dev/null +++ b/doc/api/a01347.html @@ -0,0 +1,104 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/color_space.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 
+

Detailed Description

+
See also
Core features (dependence)
+
+GLM_GTC_color_space (dependence)
+ +

Definition in file gtc/color_space.hpp.

+
+ + + + diff --git a/doc/api/a01347_source.html b/doc/api/a01347_source.html new file mode 100644 index 00000000..3ba8d660 --- /dev/null +++ b/doc/api/a01347_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/color_space.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../exponential.hpp"
20 #include "../vec3.hpp"
21 #include "../vec4.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_color_space extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear, T Gamma);
42 
45  template<length_t L, typename T, qualifier Q>
46  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB);
47 
49  // IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
50  template<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB, T Gamma);
52 
54 } //namespace glm
55 
56 #include "color_space.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear(vec< L, T, Q > const &ColorSRGB, T Gamma)
Convert a sRGB color to linear color using a custom gamma correction.
+
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB(vec< L, T, Q > const &ColorLinear, T Gamma)
Convert a linear color to sRGB color using a custom gamma correction.
+
+ + + + diff --git a/doc/api/a00012.html b/doc/api/a01348.html similarity index 66% rename from doc/api/a00012.html rename to doc/api/a01348.html index c53447c0..64148f5b 100644 --- a/doc/api/a00012.html +++ b/doc/api/a01348.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: color_space.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,44 +73,44 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_color_space +

GLM_GTC_color_space More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + + - - +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 Convert a linear color to sRGB color using a standard gamma correction. More...
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear)
 Convert a linear color to sRGB color using a standard gamma correction. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 Convert a linear color to sRGB color using a custom gamma correction. More...
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB (vec< L, T, Q > const &ColorLinear, T Gamma)
 Convert a linear color to sRGB color using a custom gamma correction. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 Convert a sRGB color to linear color using a standard gamma correction. More...
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB)
 Convert a sRGB color to linear color using a standard gamma correction. More...
 
+
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB, T Gamma)
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear (vec< L, T, Q > const &ColorSRGB, T Gamma)
 Convert a sRGB color to linear color using a custom gamma correction.
 

Detailed Description

-

GLM_GTC_color_space

-
See also
Core features (dependence)
+

GLM_GTC_color_space

+
See also
Core features (dependence)
-GLM_GTC_color_space (dependence)
+GLM_GTC_color_space (dependence)
-

Definition in file gtc/color_space.hpp.

+

Definition in file gtc/color_space.hpp.

diff --git a/doc/api/a01348_source.html b/doc/api/a01348_source.html new file mode 100644 index 00000000..9d3f1948 --- /dev/null +++ b/doc/api/a01348_source.html @@ -0,0 +1,84 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/color_space.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../exponential.hpp"
20 #include "../vec3.hpp"
21 #include "../vec4.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_color_space extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear);
37 
40  template<length_t L, typename T, qualifier Q>
41  GLM_FUNC_DECL vec<L, T, Q> convertLinearToSRGB(vec<L, T, Q> const& ColorLinear, T Gamma);
42 
45  template<length_t L, typename T, qualifier Q>
46  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB);
47 
49  // IEC 61966-2-1:1999 / Rec. 709 specification https://www.w3.org/Graphics/Color/srgb
50  template<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> convertSRGBToLinear(vec<L, T, Q> const& ColorSRGB, T Gamma);
52 
54 } //namespace glm
55 
56 #include "color_space.inl"
GLM_FUNC_DECL vec< L, T, Q > convertLinearToSRGB(vec< L, T, Q > const &ColorLinear, T Gamma)
Convert a linear color to sRGB color using a custom gamma correction.
+
GLM_FUNC_DECL vec< L, T, Q > convertSRGBToLinear(vec< L, T, Q > const &ColorSRGB, T Gamma)
Convert a sRGB color to linear color using a custom gamma correction.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01349.html b/doc/api/a01349.html new file mode 100644 index 00000000..8ecbc284 --- /dev/null +++ b/doc/api/a01349.html @@ -0,0 +1,112 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
gtx/color_space.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > hsvColor (vec< 3, T, Q > const &rgbValue)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T luminosity (vec< 3, T, Q > const &color)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgbColor (vec< 3, T, Q > const &hsvValue)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > saturation (T const s)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > saturation (T const s, vec< 3, T, Q > const &color)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > saturation (T const s, vec< 4, T, Q > const &color)
 
+

Detailed Description

+

GLM_GTX_color_space

+
See also
Core features (dependence)
+ +

Definition in file gtx/color_space.hpp.

+
+ + + + diff --git a/doc/api/a01349_source.html b/doc/api/a01349_source.html new file mode 100644 index 00000000..f33884e4 --- /dev/null +++ b/doc/api/a01349_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/color_space.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_color_space is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_color_space extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL vec<3, T, Q> rgbColor(
35  vec<3, T, Q> const& hsvValue);
36 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL vec<3, T, Q> hsvColor(
41  vec<3, T, Q> const& rgbValue);
42 
45  template<typename T>
46  GLM_FUNC_DECL mat<4, 4, T, defaultp> saturation(
47  T const s);
48 
51  template<typename T, qualifier Q>
52  GLM_FUNC_DECL vec<3, T, Q> saturation(
53  T const s,
54  vec<3, T, Q> const& color);
55 
58  template<typename T, qualifier Q>
59  GLM_FUNC_DECL vec<4, T, Q> saturation(
60  T const s,
61  vec<4, T, Q> const& color);
62 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T luminosity(
67  vec<3, T, Q> const& color);
68 
70 }//namespace glm
71 
72 #include "color_space.inl"
GLM_FUNC_DECL vec< 3, T, Q > rgbColor(vec< 3, T, Q > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.
+
GLM_FUNC_DECL vec< 3, T, Q > hsvColor(vec< 3, T, Q > const &rgbValue)
Converts a color from RGB color space to its color in HSV color space.
+
GLM_FUNC_DECL vec< 4, T, Q > saturation(T const s, vec< 4, T, Q > const &color)
Modify the saturation of a color.
+
GLM_FUNC_DECL T luminosity(vec< 3, T, Q > const &color)
Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01350.html b/doc/api/a01350.html new file mode 100644 index 00000000..d50b3972 --- /dev/null +++ b/doc/api/a01350.html @@ -0,0 +1,111 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
gtx/color_space.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > hsvColor (vec< 3, T, Q > const &rgbValue)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T luminosity (vec< 3, T, Q > const &color)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgbColor (vec< 3, T, Q > const &hsvValue)
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > saturation (T const s)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > saturation (T const s, vec< 3, T, Q > const &color)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > saturation (T const s, vec< 4, T, Q > const &color)
 
+

Detailed Description

+
See also
Core features (dependence)
+ +

Definition in file gtx/color_space.hpp.

+
+ + + + diff --git a/doc/api/a01350_source.html b/doc/api/a01350_source.html new file mode 100644 index 00000000..0c74b88f --- /dev/null +++ b/doc/api/a01350_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/color_space.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_color_space is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_color_space extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL vec<3, T, Q> rgbColor(
35  vec<3, T, Q> const& hsvValue);
36 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL vec<3, T, Q> hsvColor(
41  vec<3, T, Q> const& rgbValue);
42 
45  template<typename T>
46  GLM_FUNC_DECL mat<4, 4, T, defaultp> saturation(
47  T const s);
48 
51  template<typename T, qualifier Q>
52  GLM_FUNC_DECL vec<3, T, Q> saturation(
53  T const s,
54  vec<3, T, Q> const& color);
55 
58  template<typename T, qualifier Q>
59  GLM_FUNC_DECL vec<4, T, Q> saturation(
60  T const s,
61  vec<4, T, Q> const& color);
62 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T luminosity(
67  vec<3, T, Q> const& color);
68 
70 }//namespace glm
71 
72 #include "color_space.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL vec< 3, T, Q > rgbColor(vec< 3, T, Q > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.
+
GLM_FUNC_DECL vec< 3, T, Q > hsvColor(vec< 3, T, Q > const &rgbValue)
Converts a color from RGB color space to its color in HSV color space.
+
GLM_FUNC_DECL vec< 4, T, Q > saturation(T const s, vec< 4, T, Q > const &color)
Modify the saturation of a color.
+
GLM_FUNC_DECL T luminosity(vec< 3, T, Q > const &color)
Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.
+
+ + + + diff --git a/doc/api/a00013.html b/doc/api/a01351.html similarity index 70% rename from doc/api/a00013.html rename to doc/api/a01351.html index 6249623f..7596c10c 100644 --- a/doc/api/a00013.html +++ b/doc/api/a01351.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: color_space.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
@@ -91,49 +73,49 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_color_space +

GLM_GTX_color_space More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + + - - + + - - + + - - + +

Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > hsvColor (vec< 3, T, Q > const &rgbValue)
 Converts a color from RGB color space to its color in HSV color space. More...
GLM_FUNC_DECL vec< 3, T, Q > hsvColor (vec< 3, T, Q > const &rgbValue)
 Converts a color from RGB color space to its color in HSV color space. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T luminosity (vec< 3, T, Q > const &color)
 Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals. More...
GLM_FUNC_DECL T luminosity (vec< 3, T, Q > const &color)
 Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rgbColor (vec< 3, T, Q > const &hsvValue)
 Converts a color from HSV color space to its color in RGB color space. More...
GLM_FUNC_DECL vec< 3, T, Q > rgbColor (vec< 3, T, Q > const &hsvValue)
 Converts a color from HSV color space to its color in RGB color space. More...
 
template<typename T >
GLM_FUNC_DECL mat< 4, 4, T, defaultp > saturation (T const s)
 Build a saturation matrix. More...
GLM_FUNC_DECL mat< 4, 4, T, defaultp > saturation (T const s)
 Build a saturation matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > saturation (T const s, vec< 3, T, Q > const &color)
 Modify the saturation of a color. More...
GLM_FUNC_DECL vec< 3, T, Q > saturation (T const s, vec< 3, T, Q > const &color)
 Modify the saturation of a color. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > saturation (T const s, vec< 4, T, Q > const &color)
 Modify the saturation of a color. More...
GLM_FUNC_DECL vec< 4, T, Q > saturation (T const s, vec< 4, T, Q > const &color)
 Modify the saturation of a color. More...
 

Detailed Description

-

GLM_GTX_color_space

-
See also
Core features (dependence)
+

GLM_GTX_color_space

+
See also
Core features (dependence)
-

Definition in file gtx/color_space.hpp.

+

Definition in file gtx/color_space.hpp.

diff --git a/doc/api/a01351_source.html b/doc/api/a01351_source.html new file mode 100644 index 00000000..5a59ca73 --- /dev/null +++ b/doc/api/a01351_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: color_space.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/color_space.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_color_space is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_color_space extension included")
24 #endif
25 
26 namespace glm
27 {
30 
33  template<typename T, qualifier Q>
34  GLM_FUNC_DECL vec<3, T, Q> rgbColor(
35  vec<3, T, Q> const& hsvValue);
36 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL vec<3, T, Q> hsvColor(
41  vec<3, T, Q> const& rgbValue);
42 
45  template<typename T>
46  GLM_FUNC_DECL mat<4, 4, T, defaultp> saturation(
47  T const s);
48 
51  template<typename T, qualifier Q>
52  GLM_FUNC_DECL vec<3, T, Q> saturation(
53  T const s,
54  vec<3, T, Q> const& color);
55 
58  template<typename T, qualifier Q>
59  GLM_FUNC_DECL vec<4, T, Q> saturation(
60  T const s,
61  vec<4, T, Q> const& color);
62 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T luminosity(
67  vec<3, T, Q> const& color);
68 
70 }//namespace glm
71 
72 #include "color_space.inl"
GLM_FUNC_DECL vec< 3, T, Q > rgbColor(vec< 3, T, Q > const &hsvValue)
Converts a color from HSV color space to its color in RGB color space.
+
GLM_FUNC_DECL vec< 3, T, Q > hsvColor(vec< 3, T, Q > const &rgbValue)
Converts a color from RGB color space to its color in HSV color space.
+
GLM_FUNC_DECL vec< 4, T, Q > saturation(T const s, vec< 4, T, Q > const &color)
Modify the saturation of a color.
+
GLM_FUNC_DECL T luminosity(vec< 3, T, Q > const &color)
Compute color luminosity associating ratios (0.33, 0.59, 0.11) to RGB canals.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01352.html b/doc/api/a01352.html new file mode 100644 index 00000000..503c361b --- /dev/null +++ b/doc/api/a01352.html @@ -0,0 +1,106 @@ + + + + + + + +0.9.9 API documenation: common.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/common.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > closeBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmod (vec< L, T, Q > const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::bool_type isdenormal (genType const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > openBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
+

Detailed Description

+

GLM_GTX_common

+
See also
Core features (dependence)
+ +

Definition in file gtx/common.hpp.

+
+ + + + diff --git a/doc/api/a01352_source.html b/doc/api/a01352_source.html new file mode 100644 index 00000000..032dad6f --- /dev/null +++ b/doc/api/a01352_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: common.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
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 experimental 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_ENABLE && !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<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> fmod(vec<L, T, Q> const& v);
52 
60  template <length_t L, typename T, qualifier Q>
61  GLM_FUNC_DECL vec<L, bool, Q> openBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
62 
70  template <length_t L, typename T, qualifier Q>
71  GLM_FUNC_DECL vec<L, bool, Q> closeBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
72 
74 }//namespace glm
75 
76 #include "common.inl"
GLM_FUNC_DECL vec< L, bool, Q > openBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
+
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_FUNC_DECL vec< L, bool, Q > closeBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
+
GLM_FUNC_DECL vec< L, T, Q > fmod(vec< L, T, Q > const &v)
Similar to &#39;mod&#39; but with a different rounding and integer support.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01353.html b/doc/api/a01353.html new file mode 100644 index 00000000..91f803bf --- /dev/null +++ b/doc/api/a01353.html @@ -0,0 +1,105 @@ + + + + + + + +0.9.9 API documenation: common.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/common.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > closeBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmod (vec< L, T, Q > const &v)
 
template<typename genType >
GLM_FUNC_DECL genType::bool_type isdenormal (genType const &x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > openBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 
+

Detailed Description

+
See also
Core features (dependence)
+ +

Definition in file gtx/common.hpp.

+
+ + + + diff --git a/doc/api/a01353_source.html b/doc/api/a01353_source.html new file mode 100644 index 00000000..3cc86cb9 --- /dev/null +++ b/doc/api/a01353_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: common.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
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 experimental 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_ENABLE && !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<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> fmod(vec<L, T, Q> const& v);
52 
60  template <length_t L, typename T, qualifier Q>
61  GLM_FUNC_DECL vec<L, bool, Q> openBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
62 
70  template <length_t L, typename T, qualifier Q>
71  GLM_FUNC_DECL vec<L, bool, Q> closeBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
72 
74 }//namespace glm
75 
76 #include "common.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL vec< L, bool, Q > openBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
+
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_FUNC_DECL vec< L, bool, Q > closeBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
+
GLM_FUNC_DECL vec< L, T, Q > fmod(vec< L, T, Q > const &v)
Similar to &#39;mod&#39; but with a different rounding and integer support.
+
+ + + + diff --git a/doc/api/a00016.html b/doc/api/a01354.html similarity index 68% rename from doc/api/a00016.html rename to doc/api/a01354.html index 2f82fb58..27a360da 100644 --- a/doc/api/a00016.html +++ b/doc/api/a01354.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: common.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,41 +73,41 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_common +

GLM_GTX_common More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + + - - + +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > closeBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Returns whether vector components values are within an interval. More...
GLM_FUNC_DECL vec< L, bool, Q > closeBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Returns whether vector components values are within an interval. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, T, Q > fmod (vec< L, T, Q > const &v)
 Similar to 'mod' but with a different rounding and integer support. More...
GLM_FUNC_DECL vec< L, T, Q > fmod (vec< L, T, Q > const &v)
 Similar to 'mod' but with a different rounding and integer support. More...
 
template<typename genType >
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 represented in the normal format are represented in an alternate, denormalized format. More...
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 represented in the normal format are represented in an alternate, denormalized format. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, bool, Q > openBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Returns whether vector components values are within an interval. More...
GLM_FUNC_DECL vec< L, bool, Q > openBounded (vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
 Returns whether vector components values are within an interval. More...
 

Detailed Description

-

GLM_GTX_common

-
See also
Core features (dependence)
+

GLM_GTX_common

+
See also
Core features (dependence)
-

Definition in file gtx/common.hpp.

+

Definition in file gtx/common.hpp.

diff --git a/doc/api/a01354_source.html b/doc/api/a01354_source.html new file mode 100644 index 00000000..7fefe681 --- /dev/null +++ b/doc/api/a01354_source.html @@ -0,0 +1,86 @@ + + + + + + + +0.9.9 API documenation: common.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
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 experimental 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_ENABLE && !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<length_t L, typename T, qualifier Q>
51  GLM_FUNC_DECL vec<L, T, Q> fmod(vec<L, T, Q> const& v);
52 
60  template <length_t L, typename T, qualifier Q>
61  GLM_FUNC_DECL vec<L, bool, Q> openBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
62 
70  template <length_t L, typename T, qualifier Q>
71  GLM_FUNC_DECL vec<L, bool, Q> closeBounded(vec<L, T, Q> const& Value, vec<L, T, Q> const& Min, vec<L, T, Q> const& Max);
72 
74 }//namespace glm
75 
76 #include "common.inl"
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_FUNC_DECL vec< L, T, Q > fmod(vec< L, T, Q > const &v)
Similar to &#39;mod&#39; but with a different rounding and integer support.
+
GLM_FUNC_DECL vec< L, bool, Q > openBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
+
GLM_FUNC_DECL vec< L, bool, Q > closeBounded(vec< L, T, Q > const &Value, vec< L, T, Q > const &Min, vec< L, T, Q > const &Max)
Returns whether vector components values are within an interval.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01355.html b/doc/api/a01355.html new file mode 100644 index 00000000..c022f51e --- /dev/null +++ b/doc/api/a01355.html @@ -0,0 +1,105 @@ + + + + + + + +0.9.9 API documenation: integer.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/integer.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType log2 (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 
+

Detailed Description

+

GLM_GTC_integer

+
See also
Core features (dependence)
+
+GLM_GTC_integer (dependence)
+ +

Definition in file gtc/integer.hpp.

+
+ + + + diff --git a/doc/api/a01355_source.html b/doc/api/a01355_source.html new file mode 100644 index 00000000..1affe35d --- /dev/null +++ b/doc/api/a01355_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/integer.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../common.hpp"
20 #include "../integer.hpp"
21 #include "../exponential.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_integer extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<typename genIUType>
36  GLM_FUNC_DECL genIUType log2(genIUType x);
37 
47  template<length_t L, typename T, qualifier Q>
48  GLM_FUNC_DECL vec<L, int, Q> iround(vec<L, T, Q> const& x);
49 
59  template<length_t L, typename T, qualifier Q>
60  GLM_FUNC_DECL vec<L, uint, Q> uround(vec<L, T, Q> const& x);
61 
63 } //namespace glm
64 
65 #include "integer.inl"
GLM_FUNC_DECL vec< L, int, Q > iround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
GLM_FUNC_DECL genIUType log2(genIUType x)
Returns the log2 of x for integer values.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec< L, uint, Q > uround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
+ + + + diff --git a/doc/api/a01356.html b/doc/api/a01356.html new file mode 100644 index 00000000..e3384eec --- /dev/null +++ b/doc/api/a01356.html @@ -0,0 +1,104 @@ + + + + + + + +0.9.9 API documenation: integer.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/integer.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 
template<typename genIUType >
GLM_FUNC_DECL genIUType log2 (genIUType x)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 
+

Detailed Description

+
See also
Core features (dependence)
+
+GLM_GTC_integer (dependence)
+ +

Definition in file gtc/integer.hpp.

+
+ + + + diff --git a/doc/api/a01356_source.html b/doc/api/a01356_source.html new file mode 100644 index 00000000..86926921 --- /dev/null +++ b/doc/api/a01356_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/integer.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../common.hpp"
20 #include "../integer.hpp"
21 #include "../exponential.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_integer extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<typename genIUType>
36  GLM_FUNC_DECL genIUType log2(genIUType x);
37 
47  template<length_t L, typename T, qualifier Q>
48  GLM_FUNC_DECL vec<L, int, Q> iround(vec<L, T, Q> const& x);
49 
59  template<length_t L, typename T, qualifier Q>
60  GLM_FUNC_DECL vec<L, uint, Q> uround(vec<L, T, Q> const& x);
61 
63 } //namespace glm
64 
65 #include "integer.inl"
GLM_FUNC_DECL vec< L, int, Q > iround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL genIUType log2(genIUType x)
Returns the log2 of x for integer values.
+
GLM_FUNC_DECL vec< L, uint, Q > uround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
+ + + + diff --git a/doc/api/a00040.html b/doc/api/a01357.html similarity index 63% rename from doc/api/a00040.html rename to doc/api/a01357.html index b9efa206..f66a25b2 100644 --- a/doc/api/a00040.html +++ b/doc/api/a01357.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: integer.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,39 +73,39 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTC_integer +

GLM_GTC_integer More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + +

Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
GLM_FUNC_DECL vec< L, int, Q > iround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 
template<typename genIUType >
GLM_FUNC_DECL genIUType log2 (genIUType x)
 Returns the log2 of x for integer values. More...
GLM_FUNC_DECL genIUType log2 (genIUType x)
 Returns the log2 of x for integer values. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
GLM_FUNC_DECL vec< L, uint, Q > uround (vec< L, T, Q > const &x)
 Returns a value equal to the nearest integer to x. More...
 

Detailed Description

-

GLM_GTC_integer

-
See also
Core features (dependence)
+

GLM_GTC_integer

+
See also
Core features (dependence)
-GLM_GTC_integer (dependence)
+GLM_GTC_integer (dependence)
-

Definition in file gtc/integer.hpp.

+

Definition in file gtc/integer.hpp.

diff --git a/doc/api/a01357_source.html b/doc/api/a01357_source.html new file mode 100644 index 00000000..a482dd42 --- /dev/null +++ b/doc/api/a01357_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/integer.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependencies
17 #include "../detail/setup.hpp"
18 #include "../detail/qualifier.hpp"
19 #include "../common.hpp"
20 #include "../integer.hpp"
21 #include "../exponential.hpp"
22 #include <limits>
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTC_integer extension included")
26 #endif
27 
28 namespace glm
29 {
32 
35  template<typename genIUType>
36  GLM_FUNC_DECL genIUType log2(genIUType x);
37 
47  template<length_t L, typename T, qualifier Q>
48  GLM_FUNC_DECL vec<L, int, Q> iround(vec<L, T, Q> const& x);
49 
59  template<length_t L, typename T, qualifier Q>
60  GLM_FUNC_DECL vec<L, uint, Q> uround(vec<L, T, Q> const& x);
61 
63 } //namespace glm
64 
65 #include "integer.inl"
GLM_FUNC_DECL vec< L, uint, Q > uround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
GLM_FUNC_DECL genIUType log2(genIUType x)
Returns the log2 of x for integer values.
+
GLM_FUNC_DECL vec< L, int, Q > iround(vec< L, T, Q > const &x)
Returns a value equal to the nearest integer to x.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01358.html b/doc/api/a01358.html new file mode 100644 index 00000000..b3af9205 --- /dev/null +++ b/doc/api/a01358.html @@ -0,0 +1,119 @@ + + + + + + + +0.9.9 API documenation: integer.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
gtx/integer.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef signed int sint
 
+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType factorial (genType const &x)
 
GLM_FUNC_DECL unsigned int floor_log2 (unsigned int x)
 
GLM_FUNC_DECL int mod (int x, int y)
 
GLM_FUNC_DECL uint mod (uint x, uint y)
 
GLM_FUNC_DECL uint nlz (uint x)
 
GLM_FUNC_DECL int pow (int x, uint y)
 
GLM_FUNC_DECL uint pow (uint x, uint y)
 
GLM_FUNC_DECL int sqrt (int x)
 
GLM_FUNC_DECL uint sqrt (uint x)
 
+

Detailed Description

+

GLM_GTX_integer

+
See also
Core features (dependence)
+ +

Definition in file gtx/integer.hpp.

+
+ + + + diff --git a/doc/api/a01358_source.html b/doc/api/a01358_source.html new file mode 100644 index 00000000..2a1b6657 --- /dev/null +++ b/doc/api/a01358_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/integer.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/integer.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_integer is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_integer extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  GLM_FUNC_DECL int pow(int x, uint y);
35 
38  GLM_FUNC_DECL int sqrt(int x);
39 
42  GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
43 
46  GLM_FUNC_DECL int mod(int x, int y);
47 
50  template<typename genType>
51  GLM_FUNC_DECL genType factorial(genType const& x);
52 
55  typedef signed int sint;
56 
59  GLM_FUNC_DECL uint pow(uint x, uint y);
60 
63  GLM_FUNC_DECL uint sqrt(uint x);
64 
67  GLM_FUNC_DECL uint mod(uint x, uint y);
68 
71  GLM_FUNC_DECL uint nlz(uint x);
72 
74 }//namespace glm
75 
76 #include "integer.inl"
signed int sint
32bit signed integer.
Definition: gtx/integer.hpp:55
+
GLM_FUNC_DECL uint nlz(uint x)
Returns the number of leading zeros.
+
GLM_FUNC_DECL uint mod(uint x, uint y)
Modulus.
+
GLM_FUNC_DECL unsigned int floor_log2(unsigned int x)
Returns the floor log2 of x.
+
GLM_FUNC_DECL uint pow(uint x, uint y)
Returns x raised to the y power.
+
GLM_FUNC_DECL genType factorial(genType const &x)
Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension...
+
Definition: common.hpp:20
+
GLM_FUNC_DECL uint sqrt(uint x)
Returns the positive square root of x.
+
+ + + + diff --git a/doc/api/a01359.html b/doc/api/a01359.html new file mode 100644 index 00000000..60a4fe37 --- /dev/null +++ b/doc/api/a01359.html @@ -0,0 +1,118 @@ + + + + + + + +0.9.9 API documenation: integer.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
gtx/integer.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + +

+Typedefs

typedef signed int sint
 
+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType factorial (genType const &x)
 
GLM_FUNC_DECL unsigned int floor_log2 (unsigned int x)
 
GLM_FUNC_DECL int mod (int x, int y)
 
GLM_FUNC_DECL uint mod (uint x, uint y)
 
GLM_FUNC_DECL uint nlz (uint x)
 
GLM_FUNC_DECL int pow (int x, uint y)
 
GLM_FUNC_DECL uint pow (uint x, uint y)
 
GLM_FUNC_DECL int sqrt (int x)
 
GLM_FUNC_DECL uint sqrt (uint x)
 
+

Detailed Description

+
See also
Core features (dependence)
+ +

Definition in file gtx/integer.hpp.

+
+ + + + diff --git a/doc/api/a01359_source.html b/doc/api/a01359_source.html new file mode 100644 index 00000000..75c17839 --- /dev/null +++ b/doc/api/a01359_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/integer.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/integer.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_integer is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_integer extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  GLM_FUNC_DECL int pow(int x, uint y);
35 
38  GLM_FUNC_DECL int sqrt(int x);
39 
42  GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
43 
46  GLM_FUNC_DECL int mod(int x, int y);
47 
50  template<typename genType>
51  GLM_FUNC_DECL genType factorial(genType const& x);
52 
55  typedef signed int sint;
56 
59  GLM_FUNC_DECL uint pow(uint x, uint y);
60 
63  GLM_FUNC_DECL uint sqrt(uint x);
64 
67  GLM_FUNC_DECL uint mod(uint x, uint y);
68 
71  GLM_FUNC_DECL uint nlz(uint x);
72 
74 }//namespace glm
75 
76 #include "integer.inl"
Definition: common.hpp:18
+
signed int sint
32bit signed integer.
Definition: gtx/integer.hpp:55
+
GLM_FUNC_DECL uint nlz(uint x)
Returns the number of leading zeros.
+
GLM_FUNC_DECL uint mod(uint x, uint y)
Modulus.
+
GLM_FUNC_DECL unsigned int floor_log2(unsigned int x)
Returns the floor log2 of x.
+
GLM_FUNC_DECL uint pow(uint x, uint y)
Returns x raised to the y power.
+
GLM_FUNC_DECL genType factorial(genType const &x)
Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension...
+
GLM_FUNC_DECL uint sqrt(uint x)
Returns the positive square root of x.
+
+ + + + diff --git a/doc/api/a01360.html b/doc/api/a01360.html new file mode 100644 index 00000000..81965f7e --- /dev/null +++ b/doc/api/a01360.html @@ -0,0 +1,132 @@ + + + + + + + +0.9.9 API documenation: integer.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Typedefs | +Functions
+
+
gtx/integer.hpp File Reference
+
+
+ +

GLM_GTX_integer +More...

+ +

Go to the source code of this file.

+ + + + + +

+Typedefs

typedef signed int sint
 32bit signed integer. More...
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL genType factorial (genType const &x)
 Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension. More...
 
GLM_FUNC_DECL unsigned int floor_log2 (unsigned int x)
 Returns the floor log2 of x. More...
 
GLM_FUNC_DECL int mod (int x, int y)
 Modulus. More...
 
GLM_FUNC_DECL uint mod (uint x, uint y)
 Modulus. More...
 
GLM_FUNC_DECL uint nlz (uint x)
 Returns the number of leading zeros. More...
 
GLM_FUNC_DECL int pow (int x, uint y)
 Returns x raised to the y power. More...
 
GLM_FUNC_DECL uint pow (uint x, uint y)
 Returns x raised to the y power. More...
 
GLM_FUNC_DECL int sqrt (int x)
 Returns the positive square root of x. More...
 
GLM_FUNC_DECL uint sqrt (uint x)
 Returns the positive square root of x. More...
 
+

Detailed Description

+

GLM_GTX_integer

+
See also
Core features (dependence)
+ +

Definition in file gtx/integer.hpp.

+
+ + + + diff --git a/doc/api/a01360_source.html b/doc/api/a01360_source.html new file mode 100644 index 00000000..d4c7b095 --- /dev/null +++ b/doc/api/a01360_source.html @@ -0,0 +1,89 @@ + + + + + + + +0.9.9 API documenation: integer.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/integer.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 #include "../gtc/integer.hpp"
18 
19 #ifndef GLM_ENABLE_EXPERIMENTAL
20 # error "GLM: GLM_GTX_integer is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
21 #endif
22 
23 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
24 # pragma message("GLM: GLM_GTX_integer extension included")
25 #endif
26 
27 namespace glm
28 {
31 
34  GLM_FUNC_DECL int pow(int x, uint y);
35 
38  GLM_FUNC_DECL int sqrt(int x);
39 
42  GLM_FUNC_DECL unsigned int floor_log2(unsigned int x);
43 
46  GLM_FUNC_DECL int mod(int x, int y);
47 
50  template<typename genType>
51  GLM_FUNC_DECL genType factorial(genType const& x);
52 
55  typedef signed int sint;
56 
59  GLM_FUNC_DECL uint pow(uint x, uint y);
60 
63  GLM_FUNC_DECL uint sqrt(uint x);
64 
67  GLM_FUNC_DECL uint mod(uint x, uint y);
68 
71  GLM_FUNC_DECL uint nlz(uint x);
72 
74 }//namespace glm
75 
76 #include "integer.inl"
signed int sint
32bit signed integer.
Definition: gtx/integer.hpp:55
+
GLM_FUNC_DECL uint nlz(uint x)
Returns the number of leading zeros.
+
GLM_FUNC_DECL uint mod(uint x, uint y)
Modulus.
+
GLM_FUNC_DECL genType factorial(genType const &x)
Return the factorial value of a number (!12 max, integer only) From GLM_GTX_integer extension...
+
GLM_FUNC_DECL unsigned int floor_log2(unsigned int x)
Returns the floor log2 of x.
+
GLM_FUNC_DECL uint sqrt(uint x)
Returns the positive square root of x.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL uint pow(uint x, uint y)
Returns x raised to the y power.
+
+ + + + diff --git a/doc/api/a01361.html b/doc/api/a01361.html new file mode 100644 index 00000000..175ce86d --- /dev/null +++ b/doc/api/a01361.html @@ -0,0 +1,115 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/matrix_transform.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 
+

Detailed Description

+

GLM_EXT_matrix_transform

+ +

Definition in file ext/matrix_transform.hpp.

+
+ + + + diff --git a/doc/api/a01361_source.html b/doc/api/a01361_source.html new file mode 100644 index 00000000..2a839c82 --- /dev/null +++ b/doc/api/a01361_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/matrix_transform.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependencies
23 #include "../gtc/constants.hpp"
24 #include "../geometric.hpp"
25 #include "../trigonometric.hpp"
26 #include "../matrix.hpp"
27 
28 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
29 # pragma message("GLM: GLM_EXT_matrix_transform extension included")
30 #endif
31 
32 namespace glm
33 {
36 
38  template<typename genType>
39  GLM_FUNC_DECL GLM_CONSTEXPR genType identity();
40 
63  template<typename T, qualifier Q>
64  GLM_FUNC_DECL mat<4, 4, T, Q> translate(
65  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
66 
79  template<typename T, qualifier Q>
80  GLM_FUNC_DECL mat<4, 4, T, Q> rotate(
81  mat<4, 4, T, Q> const& m, T angle, vec<3, T, Q> const& axis);
82 
94  template<typename T, qualifier Q>
95  GLM_FUNC_DECL mat<4, 4, T, Q> scale(
96  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
97 
108  template<typename T, qualifier Q>
109  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtRH(
110  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
111 
122  template<typename T, qualifier Q>
123  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtLH(
124  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
125 
137  template<typename T, qualifier Q>
138  GLM_FUNC_DECL mat<4, 4, T, Q> lookAt(
139  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
140 
142 }//namespace glm
143 
144 #include "matrix_transform.inl"
GLM_FUNC_DECL mat< 4, 4, T, Q > translate(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a translation 4 * 4 matrix created from a vector of 3 components.
+
GLM_FUNC_DECL vec< 3, T, Q > axis(qua< T, Q > const &x)
Returns the q rotation axis.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType identity()
Builds an identity matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate(mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
Builds a rotation 4 * 4 matrix created from an axis vector and an angle.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a right handed look at view matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a left handed look at view matrix.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a look at view matrix based on the default handedness.
+
+ + + + diff --git a/doc/api/a01362.html b/doc/api/a01362.html new file mode 100644 index 00000000..2dda3446 --- /dev/null +++ b/doc/api/a01362.html @@ -0,0 +1,107 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/matrix_transform.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 
+
+ + + + diff --git a/doc/api/a01362_source.html b/doc/api/a01362_source.html new file mode 100644 index 00000000..8a8b01d8 --- /dev/null +++ b/doc/api/a01362_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/matrix_transform.hpp
+
+
+Go to the documentation of this file.
1 
20 #pragma once
21 
22 // Dependencies
23 #include "../gtc/constants.hpp"
24 #include "../geometric.hpp"
25 #include "../trigonometric.hpp"
26 #include "../matrix.hpp"
27 
28 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
29 # pragma message("GLM: GLM_EXT_matrix_transform extension included")
30 #endif
31 
32 namespace glm
33 {
36 
38  template<typename genType>
39  GLM_FUNC_DECL GLM_CONSTEXPR genType identity();
40 
63  template<typename T, qualifier Q>
64  GLM_FUNC_DECL mat<4, 4, T, Q> translate(
65  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
66 
79  template<typename T, qualifier Q>
80  GLM_FUNC_DECL mat<4, 4, T, Q> rotate(
81  mat<4, 4, T, Q> const& m, T angle, vec<3, T, Q> const& axis);
82 
94  template<typename T, qualifier Q>
95  GLM_FUNC_DECL mat<4, 4, T, Q> scale(
96  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
97 
108  template<typename T, qualifier Q>
109  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtRH(
110  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
111 
122  template<typename T, qualifier Q>
123  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtLH(
124  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
125 
137  template<typename T, qualifier Q>
138  GLM_FUNC_DECL mat<4, 4, T, Q> lookAt(
139  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
140 
142 }//namespace glm
143 
144 #include "matrix_transform.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL mat< 4, 4, T, Q > translate(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a translation 4 * 4 matrix created from a vector of 3 components.
+
GLM_FUNC_DECL vec< 3, T, Q > axis(qua< T, Q > const &x)
Returns the q rotation axis.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType identity()
Builds an identity matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate(mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
Builds a rotation 4 * 4 matrix created from an axis vector and an angle.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a right handed look at view matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a left handed look at view matrix.
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a look at view matrix based on the default handedness.
+
+ + + + diff --git a/doc/api/a01363.html b/doc/api/a01363.html new file mode 100644 index 00000000..68838ba8 --- /dev/null +++ b/doc/api/a01363.html @@ -0,0 +1,126 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/matrix_transform.hpp File Reference
+
+
+ +

GLM_EXT_matrix_transform +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

+template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR genType identity ()
 Builds an identity matrix.
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a look at view matrix based on the default handedness. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a left handed look at view matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH (vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
 Build a right handed look at view matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate (mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
 Builds a rotation 4 * 4 matrix created from an axis vector and an angle. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > scale (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 Builds a scale 4 * 4 matrix created from 3 scalars. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > translate (mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
 Builds a translation 4 * 4 matrix created from a vector of 3 components. More...
 
+

Detailed Description

+

GLM_EXT_matrix_transform

+
See also
Core features (dependence)
+ +

Definition in file ext/matrix_transform.hpp.

+
+ + + + diff --git a/doc/api/a01363_source.html b/doc/api/a01363_source.html new file mode 100644 index 00000000..1e6fe2b3 --- /dev/null +++ b/doc/api/a01363_source.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/matrix_transform.hpp
+
+
+Go to the documentation of this file.
1 
19 #pragma once
20 
21 // Dependencies
22 #include "../gtc/constants.hpp"
23 #include "../geometric.hpp"
24 #include "../trigonometric.hpp"
25 #include "../matrix.hpp"
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_EXT_matrix_transform extension included")
29 #endif
30 
31 namespace glm
32 {
35 
37  template<typename genType>
38  GLM_FUNC_DECL GLM_CONSTEXPR genType identity();
39 
59  template<typename T, qualifier Q>
60  GLM_FUNC_DECL mat<4, 4, T, Q> translate(
61  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
62 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL mat<4, 4, T, Q> rotate(
75  mat<4, 4, T, Q> const& m, T angle, vec<3, T, Q> const& axis);
76 
86  template<typename T, qualifier Q>
87  GLM_FUNC_DECL mat<4, 4, T, Q> scale(
88  mat<4, 4, T, Q> const& m, vec<3, T, Q> const& v);
89 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtRH(
99  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
100 
108  template<typename T, qualifier Q>
109  GLM_FUNC_DECL mat<4, 4, T, Q> lookAtLH(
110  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
111 
120  template<typename T, qualifier Q>
121  GLM_FUNC_DECL mat<4, 4, T, Q> lookAt(
122  vec<3, T, Q> const& eye, vec<3, T, Q> const& center, vec<3, T, Q> const& up);
123 
125 }//namespace glm
126 
127 #include "matrix_transform.inl"
GLM_FUNC_DECL mat< 4, 4, T, Q > rotate(mat< 4, 4, T, Q > const &m, T angle, vec< 3, T, Q > const &axis)
Builds a rotation 4 * 4 matrix created from an axis vector and an angle.
+
GLM_FUNC_DECL vec< 3, T, Q > axis(qua< T, Q > const &x)
Returns the q rotation axis.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtRH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a right handed look at view matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > translate(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a translation 4 * 4 matrix created from a vector of 3 components.
+
GLM_FUNC_DECL T angle(qua< T, Q > const &x)
Returns the quaternion rotation angle.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType identity()
Builds an identity matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAt(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a look at view matrix based on the default handedness.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL mat< 4, 4, T, Q > scale(mat< 4, 4, T, Q > const &m, vec< 3, T, Q > const &v)
Builds a scale 4 * 4 matrix created from 3 scalars.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > lookAtLH(vec< 3, T, Q > const &eye, vec< 3, T, Q > const &center, vec< 3, T, Q > const &up)
Build a left handed look at view matrix.
+
+ + + + diff --git a/doc/api/a01364.html b/doc/api/a01364.html new file mode 100644 index 00000000..3cefc7cc --- /dev/null +++ b/doc/api/a01364.html @@ -0,0 +1,92 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/matrix_transform.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

GLM_GTC_matrix_transform

+
See also
Core features (dependence)
+
+GLM_GTX_transform
+
+GLM_GTX_transform2
+ +

Definition in file gtc/matrix_transform.hpp.

+
+ + + + diff --git a/doc/api/a01364_source.html b/doc/api/a01364_source.html new file mode 100644 index 00000000..ad94b918 --- /dev/null +++ b/doc/api/a01364_source.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/matrix_transform.hpp
+
+
+Go to the documentation of this file.
1 
21 #pragma once
22 
23 // Dependencies
24 #include "../mat4x4.hpp"
25 #include "../vec2.hpp"
26 #include "../vec3.hpp"
27 #include "../vec4.hpp"
28 #include "../ext/matrix_projection.hpp"
29 #include "../ext/matrix_clip_space.hpp"
30 #include "../ext/matrix_transform.hpp"
31 
32 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
33 # pragma message("GLM: GLM_GTC_matrix_transform extension included")
34 #endif
35 
36 #include "matrix_transform.inl"
+ + + + diff --git a/doc/api/a01365.html b/doc/api/a01365.html new file mode 100644 index 00000000..6d92997f --- /dev/null +++ b/doc/api/a01365.html @@ -0,0 +1,91 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/matrix_transform.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+
See also
Core features (dependence)
+
+GLM_GTX_transform
+
+GLM_GTX_transform2
+ +

Definition in file gtc/matrix_transform.hpp.

+
+ + + + diff --git a/doc/api/a01365_source.html b/doc/api/a01365_source.html new file mode 100644 index 00000000..a9dec095 --- /dev/null +++ b/doc/api/a01365_source.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/matrix_transform.hpp
+
+
+Go to the documentation of this file.
1 
21 #pragma once
22 
23 // Dependencies
24 #include "../mat4x4.hpp"
25 #include "../vec2.hpp"
26 #include "../vec3.hpp"
27 #include "../vec4.hpp"
28 #include "../ext/matrix_projection.hpp"
29 #include "../ext/matrix_clip_space.hpp"
30 #include "../ext/matrix_transform.hpp"
31 
32 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
33 # pragma message("GLM: GLM_GTC_matrix_transform extension included")
34 #endif
35 
36 #include "matrix_transform.inl"
+ + + + diff --git a/doc/api/a00124.html b/doc/api/a01366.html similarity index 50% rename from doc/api/a00124.html rename to doc/api/a01366.html index a48a2c32..2226b631 100644 --- a/doc/api/a00124.html +++ b/doc/api/a01366.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: type_vec3.hpp File Reference + + +0.9.9 API documenation: matrix_transform.hpp File Reference - @@ -32,38 +30,22 @@ - + - - + + + +
-
type_vec3.hpp File Reference
+
gtc/matrix_transform.hpp File Reference
-

Core features +

GLM_GTC_matrix_transform More...

-

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

Core features

+

GLM_GTC_matrix_transform

+
See also
Core features (dependence)
+
+GLM_GTX_transform
+
+GLM_GTX_transform2
-

Definition in file type_vec3.hpp.

+

Definition in file gtc/matrix_transform.hpp.

diff --git a/doc/api/a01366_source.html b/doc/api/a01366_source.html new file mode 100644 index 00000000..a2d1a1a5 --- /dev/null +++ b/doc/api/a01366_source.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: matrix_transform.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/matrix_transform.hpp
+
+
+Go to the documentation of this file.
1 
21 #pragma once
22 
23 // Dependencies
24 #include "../mat4x4.hpp"
25 #include "../vec2.hpp"
26 #include "../vec3.hpp"
27 #include "../vec4.hpp"
28 #include "../ext/matrix_projection.hpp"
29 #include "../ext/matrix_clip_space.hpp"
30 #include "../ext/matrix_transform.hpp"
31 
32 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
33 # pragma message("GLM: GLM_GTC_matrix_transform extension included")
34 #endif
35 
36 #include "matrix_transform.inl"
+ + + + diff --git a/doc/api/a01367.html b/doc/api/a01367.html new file mode 100644 index 00000000..2b989b1a --- /dev/null +++ b/doc/api/a01367.html @@ -0,0 +1,242 @@ + + + + + + + +0.9.9 API documenation: packing.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/packing.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL uint32 packF2x11_1x10 (vec3 const &v)
 
GLM_FUNC_DECL uint32 packF3x9_E1x5 (vec3 const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint16, Q > packHalf (vec< L, float, Q > const &v)
 
GLM_FUNC_DECL uint16 packHalf1x16 (float v)
 
GLM_FUNC_DECL uint64 packHalf4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint32 packI3x10_1x2 (ivec4 const &v)
 
GLM_FUNC_DECL int packInt2x16 (i16vec2 const &v)
 
GLM_FUNC_DECL int64 packInt2x32 (i32vec2 const &v)
 
GLM_FUNC_DECL int16 packInt2x8 (i8vec2 const &v)
 
GLM_FUNC_DECL int64 packInt4x16 (i16vec4 const &v)
 
GLM_FUNC_DECL int32 packInt4x8 (i8vec4 const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > packRGBM (vec< 3, T, Q > const &rgb)
 
template<typename intType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, intType, Q > packSnorm (vec< L, floatType, Q > const &v)
 
GLM_FUNC_DECL uint16 packSnorm1x16 (float v)
 
GLM_FUNC_DECL uint8 packSnorm1x8 (float s)
 
GLM_FUNC_DECL uint16 packSnorm2x8 (vec2 const &v)
 
GLM_FUNC_DECL uint32 packSnorm3x10_1x2 (vec4 const &v)
 
GLM_FUNC_DECL uint64 packSnorm4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint32 packU3x10_1x2 (uvec4 const &v)
 
GLM_FUNC_DECL uint packUint2x16 (u16vec2 const &v)
 
GLM_FUNC_DECL uint64 packUint2x32 (u32vec2 const &v)
 
GLM_FUNC_DECL uint16 packUint2x8 (u8vec2 const &v)
 
GLM_FUNC_DECL uint64 packUint4x16 (u16vec4 const &v)
 
GLM_FUNC_DECL uint32 packUint4x8 (u8vec4 const &v)
 
template<typename uintType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm (vec< L, floatType, Q > const &v)
 
GLM_FUNC_DECL uint16 packUnorm1x16 (float v)
 
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5 (vec3 const &v)
 
GLM_FUNC_DECL uint8 packUnorm1x8 (float v)
 
GLM_FUNC_DECL uint8 packUnorm2x3_1x2 (vec3 const &v)
 
GLM_FUNC_DECL uint8 packUnorm2x4 (vec2 const &v)
 
GLM_FUNC_DECL uint16 packUnorm2x8 (vec2 const &v)
 
GLM_FUNC_DECL uint32 packUnorm3x10_1x2 (vec4 const &v)
 
GLM_FUNC_DECL uint16 packUnorm3x5_1x1 (vec4 const &v)
 
GLM_FUNC_DECL uint64 packUnorm4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint16 packUnorm4x4 (vec4 const &v)
 
GLM_FUNC_DECL vec3 unpackF2x11_1x10 (uint32 p)
 
GLM_FUNC_DECL vec3 unpackF3x9_E1x5 (uint32 p)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > unpackHalf (vec< L, uint16, Q > const &p)
 
GLM_FUNC_DECL float unpackHalf1x16 (uint16 v)
 
GLM_FUNC_DECL vec4 unpackHalf4x16 (uint64 p)
 
GLM_FUNC_DECL ivec4 unpackI3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL i16vec2 unpackInt2x16 (int p)
 
GLM_FUNC_DECL i32vec2 unpackInt2x32 (int64 p)
 
GLM_FUNC_DECL i8vec2 unpackInt2x8 (int16 p)
 
GLM_FUNC_DECL i16vec4 unpackInt4x16 (int64 p)
 
GLM_FUNC_DECL i8vec4 unpackInt4x8 (int32 p)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM (vec< 4, T, Q > const &rgbm)
 
template<typename floatType , length_t L, typename intType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm (vec< L, intType, Q > const &v)
 
GLM_FUNC_DECL float unpackSnorm1x16 (uint16 p)
 
GLM_FUNC_DECL float unpackSnorm1x8 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackSnorm2x8 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL vec4 unpackSnorm4x16 (uint64 p)
 
GLM_FUNC_DECL uvec4 unpackU3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL u16vec2 unpackUint2x16 (uint p)
 
GLM_FUNC_DECL u32vec2 unpackUint2x32 (uint64 p)
 
GLM_FUNC_DECL u8vec2 unpackUint2x8 (uint16 p)
 
GLM_FUNC_DECL u16vec4 unpackUint4x16 (uint64 p)
 
GLM_FUNC_DECL u8vec4 unpackUint4x8 (uint32 p)
 
template<typename floatType , length_t L, typename uintType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm (vec< L, uintType, Q > const &v)
 
GLM_FUNC_DECL float unpackUnorm1x16 (uint16 p)
 
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5 (uint16 p)
 
GLM_FUNC_DECL float unpackUnorm1x8 (uint8 p)
 
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x4 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x8 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x16 (uint64 p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x4 (uint16 p)
 
+

Detailed Description

+

GLM_GTC_packing

+
See also
Core features (dependence)
+ +

Definition in file gtc/packing.hpp.

+
+ + + + diff --git a/doc/api/a01367_source.html b/doc/api/a01367_source.html new file mode 100644 index 00000000..ebe66268 --- /dev/null +++ b/doc/api/a01367_source.html @@ -0,0 +1,170 @@ + + + + + + + +0.9.9 API documenation: packing.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/packing.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "type_precision.hpp"
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_packing extension included")
21 #endif
22 
23 namespace glm
24 {
27 
39  GLM_FUNC_DECL uint8 packUnorm1x8(float v);
40 
51  GLM_FUNC_DECL float unpackUnorm1x8(uint8 p);
52 
67  GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const& v);
68 
83  GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p);
84 
96  GLM_FUNC_DECL uint8 packSnorm1x8(float s);
97 
109  GLM_FUNC_DECL float unpackSnorm1x8(uint8 p);
110 
125  GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const& v);
126 
141  GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p);
142 
154  GLM_FUNC_DECL uint16 packUnorm1x16(float v);
155 
167  GLM_FUNC_DECL float unpackUnorm1x16(uint16 p);
168 
183  GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const& v);
184 
199  GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p);
200 
212  GLM_FUNC_DECL uint16 packSnorm1x16(float v);
213 
225  GLM_FUNC_DECL float unpackSnorm1x16(uint16 p);
226 
241  GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const& v);
242 
257  GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p);
258 
268  GLM_FUNC_DECL uint16 packHalf1x16(float v);
269 
279  GLM_FUNC_DECL float unpackHalf1x16(uint16 v);
280 
292  GLM_FUNC_DECL uint64 packHalf4x16(vec4 const& v);
293 
305  GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p);
306 
318  GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const& v);
319 
329  GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p);
330 
342  GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const& v);
343 
353  GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p);
354 
371  GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const& v);
372 
388  GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p);
389 
406  GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const& v);
407 
423  GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p);
424 
434  GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const& v);
435 
444  GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p);
445 
446 
458  GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const& v);
459 
470  GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p);
471 
480  template<length_t L, typename T, qualifier Q>
481  GLM_FUNC_DECL vec<4, T, Q> packRGBM(vec<3, T, Q> const& rgb);
482 
490  template<length_t L, typename T, qualifier Q>
491  GLM_FUNC_DECL vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& rgbm);
492 
501  template<length_t L, qualifier Q>
502  GLM_FUNC_DECL vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v);
503 
511  template<length_t L, qualifier Q>
512  GLM_FUNC_DECL vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p);
513 
518  template<typename uintType, length_t L, typename floatType, qualifier Q>
519  GLM_FUNC_DECL vec<L, uintType, Q> packUnorm(vec<L, floatType, Q> const& v);
520 
525  template<typename floatType, length_t L, typename uintType, qualifier Q>
526  GLM_FUNC_DECL vec<L, floatType, Q> unpackUnorm(vec<L, uintType, Q> const& v);
527 
532  template<typename intType, length_t L, typename floatType, qualifier Q>
533  GLM_FUNC_DECL vec<L, intType, Q> packSnorm(vec<L, floatType, Q> const& v);
534 
539  template<typename floatType, length_t L, typename intType, qualifier Q>
540  GLM_FUNC_DECL vec<L, floatType, Q> unpackSnorm(vec<L, intType, Q> const& v);
541 
546  GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const& v);
547 
552  GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p);
553 
558  GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const& v);
559 
564  GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p);
565 
570  GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const& v);
571 
576  GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p);
577 
582  GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const& v);
583 
588  GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p);
589 
594  GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const& v);
595 
600  GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p);
601 
602 
603 
608  GLM_FUNC_DECL int16 packInt2x8(i8vec2 const& v);
609 
614  GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p);
615 
620  GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const& v);
621 
626  GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p);
627 
632  GLM_FUNC_DECL int32 packInt4x8(i8vec4 const& v);
633 
638  GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p);
639 
644  GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const& v);
645 
650  GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p);
651 
656  GLM_FUNC_DECL int packInt2x16(i16vec2 const& v);
657 
662  GLM_FUNC_DECL i16vec2 unpackInt2x16(int p);
663 
668  GLM_FUNC_DECL int64 packInt4x16(i16vec4 const& v);
669 
674  GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p);
675 
680  GLM_FUNC_DECL uint packUint2x16(u16vec2 const& v);
681 
686  GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p);
687 
692  GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const& v);
693 
698  GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p);
699 
704  GLM_FUNC_DECL int64 packInt2x32(i32vec2 const& v);
705 
710  GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p);
711 
716  GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const& v);
717 
722  GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p);
723 
724 
726 }// namespace glm
727 
728 #include "packing.inl"
GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p)
Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigne...
+
GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL uint16 packUnorm1x16(float v)
First, converts the normalized floating-point value v into a 16-bit integer value.
+
GLM_FUNC_DECL int64 packInt4x16(i16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
+
GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint8 packSnorm1x8(float s)
First, converts the normalized floating-point value v into 8-bit integer value.
+
GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit signe...
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
+
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm(vec< L, uintType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL float unpackHalf1x16(uint16 v)
Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into ...
+
GLM_FUNC_DECL uint16 packHalf1x16(float v)
Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 1...
+
GLM_FUNC_DECL uint packUint2x16(u16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint64 packHalf4x16(vec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component floating-point ...
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers...
+
GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers.
+
GLM_FUNC_DECL vec< L, float, Q > unpackHalf(vec< L, uint16, Q > const &p)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
+
GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers.
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
+
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM(vec< 4, T, Q > const &rgbm)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
+
GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component signed integer ...
+
GLM_FUNC_DECL uint8 packUnorm1x8(float v)
First, converts the normalized floating-point value v into a 8-bit integer value. ...
+
GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL float unpackSnorm1x8(uint8 p)
First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers.
+
GLM_FUNC_DECL vec< 4, T, Q > packRGBM(vec< 3, T, Q > const &rgb)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
+
GLM_FUNC_DECL int32 packInt4x8(i8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit unsig...
+
GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers...
+
GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
+
detail::uint64 uint64
64 bit unsigned integer type.
+
GLM_GTC_type_precision
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers.
+
GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
+
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
+
GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p)
Convert a packed integer into an integer vector.
+
detail::int64 int64
64 bit signed integer type.
+
GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component unsigned intege...
+
GLM_FUNC_DECL i16vec2 unpackInt2x16(int p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers.
+
GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint16 packSnorm1x16(float v)
First, converts the normalized floating-point value v into 16-bit integer value.
+
GLM_FUNC_DECL vec< L, intType, Q > packSnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into signed integer values...
+
GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
+
GLM_FUNC_DECL float unpackUnorm1x8(uint8 p)
Convert a single 8-bit integer to a normalized floating-point value.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
GLM_FUNC_DECL int packInt2x16(i16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm(vec< L, intType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL int16 packInt2x8(i8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec< L, uint16, Q > packHalf(vec< L, float, Q > const &v)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
+
GLM_FUNC_DECL float unpackSnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers.
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
GLM_FUNC_DECL float unpackUnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers.
+
GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p)
Convert a packed integer into an integer vector.
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
GLM_FUNC_DECL int64 packInt2x32(i32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p)
Convert a packed integer into an integer vector.
+
+ + + + diff --git a/doc/api/a01368.html b/doc/api/a01368.html new file mode 100644 index 00000000..969c9e6e --- /dev/null +++ b/doc/api/a01368.html @@ -0,0 +1,241 @@ + + + + + + + +0.9.9 API documenation: packing.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/packing.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL uint32 packF2x11_1x10 (vec3 const &v)
 
GLM_FUNC_DECL uint32 packF3x9_E1x5 (vec3 const &v)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint16, Q > packHalf (vec< L, float, Q > const &v)
 
GLM_FUNC_DECL uint16 packHalf1x16 (float v)
 
GLM_FUNC_DECL uint64 packHalf4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint32 packI3x10_1x2 (ivec4 const &v)
 
GLM_FUNC_DECL int packInt2x16 (i16vec2 const &v)
 
GLM_FUNC_DECL int64 packInt2x32 (i32vec2 const &v)
 
GLM_FUNC_DECL int16 packInt2x8 (i8vec2 const &v)
 
GLM_FUNC_DECL int64 packInt4x16 (i16vec4 const &v)
 
GLM_FUNC_DECL int32 packInt4x8 (i8vec4 const &v)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > packRGBM (vec< 3, T, Q > const &rgb)
 
template<typename intType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, intType, Q > packSnorm (vec< L, floatType, Q > const &v)
 
GLM_FUNC_DECL uint16 packSnorm1x16 (float v)
 
GLM_FUNC_DECL uint8 packSnorm1x8 (float s)
 
GLM_FUNC_DECL uint16 packSnorm2x8 (vec2 const &v)
 
GLM_FUNC_DECL uint32 packSnorm3x10_1x2 (vec4 const &v)
 
GLM_FUNC_DECL uint64 packSnorm4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint32 packU3x10_1x2 (uvec4 const &v)
 
GLM_FUNC_DECL uint packUint2x16 (u16vec2 const &v)
 
GLM_FUNC_DECL uint64 packUint2x32 (u32vec2 const &v)
 
GLM_FUNC_DECL uint16 packUint2x8 (u8vec2 const &v)
 
GLM_FUNC_DECL uint64 packUint4x16 (u16vec4 const &v)
 
GLM_FUNC_DECL uint32 packUint4x8 (u8vec4 const &v)
 
template<typename uintType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm (vec< L, floatType, Q > const &v)
 
GLM_FUNC_DECL uint16 packUnorm1x16 (float v)
 
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5 (vec3 const &v)
 
GLM_FUNC_DECL uint8 packUnorm1x8 (float v)
 
GLM_FUNC_DECL uint8 packUnorm2x3_1x2 (vec3 const &v)
 
GLM_FUNC_DECL uint8 packUnorm2x4 (vec2 const &v)
 
GLM_FUNC_DECL uint16 packUnorm2x8 (vec2 const &v)
 
GLM_FUNC_DECL uint32 packUnorm3x10_1x2 (vec4 const &v)
 
GLM_FUNC_DECL uint16 packUnorm3x5_1x1 (vec4 const &v)
 
GLM_FUNC_DECL uint64 packUnorm4x16 (vec4 const &v)
 
GLM_FUNC_DECL uint16 packUnorm4x4 (vec4 const &v)
 
GLM_FUNC_DECL vec3 unpackF2x11_1x10 (uint32 p)
 
GLM_FUNC_DECL vec3 unpackF3x9_E1x5 (uint32 p)
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > unpackHalf (vec< L, uint16, Q > const &p)
 
GLM_FUNC_DECL float unpackHalf1x16 (uint16 v)
 
GLM_FUNC_DECL vec4 unpackHalf4x16 (uint64 p)
 
GLM_FUNC_DECL ivec4 unpackI3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL i16vec2 unpackInt2x16 (int p)
 
GLM_FUNC_DECL i32vec2 unpackInt2x32 (int64 p)
 
GLM_FUNC_DECL i8vec2 unpackInt2x8 (int16 p)
 
GLM_FUNC_DECL i16vec4 unpackInt4x16 (int64 p)
 
GLM_FUNC_DECL i8vec4 unpackInt4x8 (int32 p)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM (vec< 4, T, Q > const &rgbm)
 
template<typename floatType , length_t L, typename intType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm (vec< L, intType, Q > const &v)
 
GLM_FUNC_DECL float unpackSnorm1x16 (uint16 p)
 
GLM_FUNC_DECL float unpackSnorm1x8 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackSnorm2x8 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL vec4 unpackSnorm4x16 (uint64 p)
 
GLM_FUNC_DECL uvec4 unpackU3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL u16vec2 unpackUint2x16 (uint p)
 
GLM_FUNC_DECL u32vec2 unpackUint2x32 (uint64 p)
 
GLM_FUNC_DECL u8vec2 unpackUint2x8 (uint16 p)
 
GLM_FUNC_DECL u16vec4 unpackUint4x16 (uint64 p)
 
GLM_FUNC_DECL u8vec4 unpackUint4x8 (uint32 p)
 
template<typename floatType , length_t L, typename uintType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm (vec< L, uintType, Q > const &v)
 
GLM_FUNC_DECL float unpackUnorm1x16 (uint16 p)
 
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5 (uint16 p)
 
GLM_FUNC_DECL float unpackUnorm1x8 (uint8 p)
 
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x4 (uint8 p)
 
GLM_FUNC_DECL vec2 unpackUnorm2x8 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2 (uint32 p)
 
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1 (uint16 p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x16 (uint64 p)
 
GLM_FUNC_DECL vec4 unpackUnorm4x4 (uint16 p)
 
+

Detailed Description

+
See also
Core features (dependence)
+ +

Definition in file gtc/packing.hpp.

+
+ + + + diff --git a/doc/api/a01368_source.html b/doc/api/a01368_source.html new file mode 100644 index 00000000..d088fbeb --- /dev/null +++ b/doc/api/a01368_source.html @@ -0,0 +1,170 @@ + + + + + + + +0.9.9 API documenation: packing.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/packing.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "type_precision.hpp"
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_packing extension included")
21 #endif
22 
23 namespace glm
24 {
27 
39  GLM_FUNC_DECL uint8 packUnorm1x8(float v);
40 
51  GLM_FUNC_DECL float unpackUnorm1x8(uint8 p);
52 
67  GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const& v);
68 
83  GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p);
84 
96  GLM_FUNC_DECL uint8 packSnorm1x8(float s);
97 
109  GLM_FUNC_DECL float unpackSnorm1x8(uint8 p);
110 
125  GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const& v);
126 
141  GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p);
142 
154  GLM_FUNC_DECL uint16 packUnorm1x16(float v);
155 
167  GLM_FUNC_DECL float unpackUnorm1x16(uint16 p);
168 
183  GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const& v);
184 
199  GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p);
200 
212  GLM_FUNC_DECL uint16 packSnorm1x16(float v);
213 
225  GLM_FUNC_DECL float unpackSnorm1x16(uint16 p);
226 
241  GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const& v);
242 
257  GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p);
258 
268  GLM_FUNC_DECL uint16 packHalf1x16(float v);
269 
279  GLM_FUNC_DECL float unpackHalf1x16(uint16 v);
280 
292  GLM_FUNC_DECL uint64 packHalf4x16(vec4 const& v);
293 
305  GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p);
306 
318  GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const& v);
319 
329  GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p);
330 
342  GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const& v);
343 
353  GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p);
354 
371  GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const& v);
372 
388  GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p);
389 
406  GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const& v);
407 
423  GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p);
424 
434  GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const& v);
435 
444  GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p);
445 
446 
458  GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const& v);
459 
470  GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p);
471 
480  template<length_t L, typename T, qualifier Q>
481  GLM_FUNC_DECL vec<4, T, Q> packRGBM(vec<3, T, Q> const& rgb);
482 
490  template<length_t L, typename T, qualifier Q>
491  GLM_FUNC_DECL vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& rgbm);
492 
501  template<length_t L, qualifier Q>
502  GLM_FUNC_DECL vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v);
503 
511  template<length_t L, qualifier Q>
512  GLM_FUNC_DECL vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p);
513 
518  template<typename uintType, length_t L, typename floatType, qualifier Q>
519  GLM_FUNC_DECL vec<L, uintType, Q> packUnorm(vec<L, floatType, Q> const& v);
520 
525  template<typename floatType, length_t L, typename uintType, qualifier Q>
526  GLM_FUNC_DECL vec<L, floatType, Q> unpackUnorm(vec<L, uintType, Q> const& v);
527 
532  template<typename intType, length_t L, typename floatType, qualifier Q>
533  GLM_FUNC_DECL vec<L, intType, Q> packSnorm(vec<L, floatType, Q> const& v);
534 
539  template<typename floatType, length_t L, typename intType, qualifier Q>
540  GLM_FUNC_DECL vec<L, floatType, Q> unpackSnorm(vec<L, intType, Q> const& v);
541 
546  GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const& v);
547 
552  GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p);
553 
558  GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const& v);
559 
564  GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p);
565 
570  GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const& v);
571 
576  GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p);
577 
582  GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const& v);
583 
588  GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p);
589 
594  GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const& v);
595 
600  GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p);
601 
602 
603 
608  GLM_FUNC_DECL int16 packInt2x8(i8vec2 const& v);
609 
614  GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p);
615 
620  GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const& v);
621 
626  GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p);
627 
632  GLM_FUNC_DECL int32 packInt4x8(i8vec4 const& v);
633 
638  GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p);
639 
644  GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const& v);
645 
650  GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p);
651 
656  GLM_FUNC_DECL int packInt2x16(i16vec2 const& v);
657 
662  GLM_FUNC_DECL i16vec2 unpackInt2x16(int p);
663 
668  GLM_FUNC_DECL int64 packInt4x16(i16vec4 const& v);
669 
674  GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p);
675 
680  GLM_FUNC_DECL uint packUint2x16(u16vec2 const& v);
681 
686  GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p);
687 
692  GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const& v);
693 
698  GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p);
699 
704  GLM_FUNC_DECL int64 packInt2x32(i32vec2 const& v);
705 
710  GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p);
711 
716  GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const& v);
717 
722  GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p);
723 
724 
726 }// namespace glm
727 
728 #include "packing.inl"
GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p)
Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigne...
+
Definition: common.hpp:18
+
GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL uint16 packUnorm1x16(float v)
First, converts the normalized floating-point value v into a 16-bit integer value.
+
GLM_FUNC_DECL int64 packInt4x16(i16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
+
GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint8 packSnorm1x8(float s)
First, converts the normalized floating-point value v into 8-bit integer value.
+
GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit signe...
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
+
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm(vec< L, uintType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL float unpackHalf1x16(uint16 v)
Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into ...
+
GLM_FUNC_DECL uint16 packHalf1x16(float v)
Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 1...
+
GLM_FUNC_DECL uint packUint2x16(u16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint64 packHalf4x16(vec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component floating-point ...
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers...
+
GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers.
+
GLM_FUNC_DECL vec< L, float, Q > unpackHalf(vec< L, uint16, Q > const &p)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
+
GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers.
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
+
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM(vec< 4, T, Q > const &rgbm)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
+
GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component signed integer ...
+
GLM_FUNC_DECL uint8 packUnorm1x8(float v)
First, converts the normalized floating-point value v into a 8-bit integer value. ...
+
GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL float unpackSnorm1x8(uint8 p)
First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers.
+
GLM_FUNC_DECL vec< 4, T, Q > packRGBM(vec< 3, T, Q > const &rgb)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
+
GLM_FUNC_DECL int32 packInt4x8(i8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit unsig...
+
GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers...
+
GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
+
detail::uint64 uint64
64 bit unsigned integer type.
+
GLM_GTC_type_precision
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers.
+
GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
+
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
+
GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p)
Convert a packed integer into an integer vector.
+
detail::int64 int64
64 bit signed integer type.
+
GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component unsigned intege...
+
GLM_FUNC_DECL i16vec2 unpackInt2x16(int p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers.
+
GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint16 packSnorm1x16(float v)
First, converts the normalized floating-point value v into 16-bit integer value.
+
GLM_FUNC_DECL vec< L, intType, Q > packSnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into signed integer values...
+
GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
+
GLM_FUNC_DECL float unpackUnorm1x8(uint8 p)
Convert a single 8-bit integer to a normalized floating-point value.
+
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
GLM_FUNC_DECL int packInt2x16(i16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm(vec< L, intType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL int16 packInt2x8(i8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec< L, uint16, Q > packHalf(vec< L, float, Q > const &v)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
+
GLM_FUNC_DECL float unpackSnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers.
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
GLM_FUNC_DECL float unpackUnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers.
+
GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p)
Convert a packed integer into an integer vector.
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
GLM_FUNC_DECL int64 packInt2x32(i32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p)
Convert a packed integer into an integer vector.
+
+ + + + diff --git a/doc/api/a01369.html b/doc/api/a01369.html new file mode 100644 index 00000000..b8e0a0cc --- /dev/null +++ b/doc/api/a01369.html @@ -0,0 +1,315 @@ + + + + + + + +0.9.9 API documenation: packing.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/packing.hpp File Reference
+
+
+ +

GLM_GTC_packing +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

GLM_FUNC_DECL uint32 packF2x11_1x10 (vec3 const &v)
 First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values. More...
 
GLM_FUNC_DECL uint32 packF3x9_E1x5 (vec3 const &v)
 First, converts the first two components of the normalized floating-point value v into 11-bit signless floating-point values. More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, uint16, Q > packHalf (vec< L, float, Q > const &v)
 Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification. More...
 
GLM_FUNC_DECL uint16 packHalf1x16 (float v)
 Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 16-bit floating-point representation found in the OpenGL Specification, and then packing this 16-bit value into a 16-bit unsigned integer. More...
 
GLM_FUNC_DECL uint64 packHalf4x16 (vec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification, and then packing these four 16-bit values into a 64-bit unsigned integer. More...
 
GLM_FUNC_DECL uint32 packI3x10_1x2 (ivec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component signed integer vector to the 10-10-10-2-bit signed integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer. More...
 
GLM_FUNC_DECL int packInt2x16 (i16vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int64 packInt2x32 (i32vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int16 packInt2x8 (i8vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int64 packInt4x16 (i16vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL int32 packInt4x8 (i8vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > packRGBM (vec< 3, T, Q > const &rgb)
 Returns an unsigned integer vector obtained by converting the components of a floating-point vector to the 16-bit floating-point representation found in the OpenGL Specification. More...
 
template<typename intType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, intType, Q > packSnorm (vec< L, floatType, Q > const &v)
 Convert each component of the normalized floating-point vector into signed integer values. More...
 
GLM_FUNC_DECL uint16 packSnorm1x16 (float v)
 First, converts the normalized floating-point value v into 16-bit integer value. More...
 
GLM_FUNC_DECL uint8 packSnorm1x8 (float s)
 First, converts the normalized floating-point value v into 8-bit integer value. More...
 
GLM_FUNC_DECL uint16 packSnorm2x8 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8-bit integer values. More...
 
GLM_FUNC_DECL uint32 packSnorm3x10_1x2 (vec4 const &v)
 First, converts the first three components of the normalized floating-point value v into 10-bit signed integer values. More...
 
GLM_FUNC_DECL uint64 packSnorm4x16 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 16-bit integer values. More...
 
GLM_FUNC_DECL uint32 packU3x10_1x2 (uvec4 const &v)
 Returns an unsigned integer obtained by converting the components of a four-component unsigned integer vector to the 10-10-10-2-bit unsigned integer representation found in the OpenGL Specification, and then packing these four values into a 32-bit unsigned integer. More...
 
GLM_FUNC_DECL uint packUint2x16 (u16vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint64 packUint2x32 (u32vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint16 packUint2x8 (u8vec2 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint64 packUint4x16 (u16vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
GLM_FUNC_DECL uint32 packUint4x8 (u8vec4 const &v)
 Convert each component from an integer vector into a packed unsigned integer. More...
 
template<typename uintType , length_t L, typename floatType , qualifier Q>
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm (vec< L, floatType, Q > const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm1x16 (float v)
 First, converts the normalized floating-point value v into a 16-bit integer value. More...
 
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5 (vec3 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint8 packUnorm1x8 (float v)
 First, converts the normalized floating-point value v into a 8-bit integer value. More...
 
GLM_FUNC_DECL uint8 packUnorm2x3_1x2 (vec3 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint8 packUnorm2x4 (vec2 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm2x8 (vec2 const &v)
 First, converts each component of the normalized floating-point value v into 8-bit integer values. More...
 
GLM_FUNC_DECL uint32 packUnorm3x10_1x2 (vec4 const &v)
 First, converts the first three components of the normalized floating-point value v into 10-bit unsigned integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm3x5_1x1 (vec4 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL uint64 packUnorm4x16 (vec4 const &v)
 First, converts each component of the normalized floating-point value v into 16-bit integer values. More...
 
GLM_FUNC_DECL uint16 packUnorm4x4 (vec4 const &v)
 Convert each component of the normalized floating-point vector into unsigned integer values. More...
 
GLM_FUNC_DECL vec3 unpackF2x11_1x10 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value . More...
 
GLM_FUNC_DECL vec3 unpackF3x9_E1x5 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and one 10-bit signless floating-point value . More...
 
template<length_t L, qualifier Q>
GLM_FUNC_DECL vec< L, float, Q > unpackHalf (vec< L, uint16, Q > const &p)
 Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values. More...
 
GLM_FUNC_DECL float unpackHalf1x16 (uint16 v)
 Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into a 16-bit value, interpreted as a 16-bit floating-point number according to the OpenGL Specification, and converting it to 32-bit floating-point values. More...
 
GLM_FUNC_DECL vec4 unpackHalf4x16 (uint64 p)
 Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigned integer into four 16-bit values, interpreting those values as 16-bit floating-point numbers according to the OpenGL Specification, and converting them to 32-bit floating-point values. More...
 
GLM_FUNC_DECL ivec4 unpackI3x10_1x2 (uint32 p)
 Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers. More...
 
GLM_FUNC_DECL i16vec2 unpackInt2x16 (int p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i32vec2 unpackInt2x32 (int64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i8vec2 unpackInt2x8 (int16 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i16vec4 unpackInt4x16 (int64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL i8vec4 unpackInt4x8 (int32 p)
 Convert a packed integer into an integer vector. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM (vec< 4, T, Q > const &rgbm)
 Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bit floating-point numbers and converting them to 32-bit floating-point values. More...
 
template<typename floatType , length_t L, typename intType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm (vec< L, intType, Q > const &v)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL float unpackSnorm1x16 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers. More...
 
GLM_FUNC_DECL float unpackSnorm1x8 (uint8 p)
 First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers. More...
 
GLM_FUNC_DECL vec2 unpackSnorm2x8 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackSnorm4x16 (uint64 p)
 First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers. More...
 
GLM_FUNC_DECL uvec4 unpackU3x10_1x2 (uint32 p)
 Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers. More...
 
GLM_FUNC_DECL u16vec2 unpackUint2x16 (uint p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u32vec2 unpackUint2x32 (uint64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u8vec2 unpackUint2x8 (uint16 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u16vec4 unpackUint4x16 (uint64 p)
 Convert a packed integer into an integer vector. More...
 
GLM_FUNC_DECL u8vec4 unpackUint4x8 (uint32 p)
 Convert a packed integer into an integer vector. More...
 
template<typename floatType , length_t L, typename uintType , qualifier Q>
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm (vec< L, uintType, Q > const &v)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL float unpackUnorm1x16 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers. More...
 
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL float unpackUnorm1x8 (uint8 p)
 Convert a single 8-bit integer to a normalized floating-point value. More...
 
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2 (uint8 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL vec2 unpackUnorm2x4 (uint8 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL vec2 unpackUnorm2x8 (uint16 p)
 First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2 (uint32 p)
 First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
GLM_FUNC_DECL vec4 unpackUnorm4x16 (uint64 p)
 First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers. More...
 
GLM_FUNC_DECL vec4 unpackUnorm4x4 (uint16 p)
 Convert a packed integer to a normalized floating-point vector. More...
 
+

Detailed Description

+

GLM_GTC_packing

+
See also
Core features (dependence)
+ +

Definition in file gtc/packing.hpp.

+
+ + + + diff --git a/doc/api/a01369_source.html b/doc/api/a01369_source.html new file mode 100644 index 00000000..7b2f37fe --- /dev/null +++ b/doc/api/a01369_source.html @@ -0,0 +1,170 @@ + + + + + + + +0.9.9 API documenation: packing.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/packing.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "type_precision.hpp"
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_packing extension included")
21 #endif
22 
23 namespace glm
24 {
27 
39  GLM_FUNC_DECL uint8 packUnorm1x8(float v);
40 
51  GLM_FUNC_DECL float unpackUnorm1x8(uint8 p);
52 
67  GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const& v);
68 
83  GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p);
84 
96  GLM_FUNC_DECL uint8 packSnorm1x8(float s);
97 
109  GLM_FUNC_DECL float unpackSnorm1x8(uint8 p);
110 
125  GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const& v);
126 
141  GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p);
142 
154  GLM_FUNC_DECL uint16 packUnorm1x16(float v);
155 
167  GLM_FUNC_DECL float unpackUnorm1x16(uint16 p);
168 
183  GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const& v);
184 
199  GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p);
200 
212  GLM_FUNC_DECL uint16 packSnorm1x16(float v);
213 
225  GLM_FUNC_DECL float unpackSnorm1x16(uint16 p);
226 
241  GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const& v);
242 
257  GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p);
258 
268  GLM_FUNC_DECL uint16 packHalf1x16(float v);
269 
279  GLM_FUNC_DECL float unpackHalf1x16(uint16 v);
280 
292  GLM_FUNC_DECL uint64 packHalf4x16(vec4 const& v);
293 
305  GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p);
306 
318  GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const& v);
319 
329  GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p);
330 
342  GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const& v);
343 
353  GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p);
354 
371  GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const& v);
372 
388  GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p);
389 
406  GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const& v);
407 
423  GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p);
424 
434  GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const& v);
435 
444  GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p);
445 
446 
458  GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const& v);
459 
470  GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p);
471 
480  template<length_t L, typename T, qualifier Q>
481  GLM_FUNC_DECL vec<4, T, Q> packRGBM(vec<3, T, Q> const& rgb);
482 
490  template<length_t L, typename T, qualifier Q>
491  GLM_FUNC_DECL vec<3, T, Q> unpackRGBM(vec<4, T, Q> const& rgbm);
492 
501  template<length_t L, qualifier Q>
502  GLM_FUNC_DECL vec<L, uint16, Q> packHalf(vec<L, float, Q> const& v);
503 
511  template<length_t L, qualifier Q>
512  GLM_FUNC_DECL vec<L, float, Q> unpackHalf(vec<L, uint16, Q> const& p);
513 
518  template<typename uintType, length_t L, typename floatType, qualifier Q>
519  GLM_FUNC_DECL vec<L, uintType, Q> packUnorm(vec<L, floatType, Q> const& v);
520 
525  template<typename floatType, length_t L, typename uintType, qualifier Q>
526  GLM_FUNC_DECL vec<L, floatType, Q> unpackUnorm(vec<L, uintType, Q> const& v);
527 
532  template<typename intType, length_t L, typename floatType, qualifier Q>
533  GLM_FUNC_DECL vec<L, intType, Q> packSnorm(vec<L, floatType, Q> const& v);
534 
539  template<typename floatType, length_t L, typename intType, qualifier Q>
540  GLM_FUNC_DECL vec<L, floatType, Q> unpackSnorm(vec<L, intType, Q> const& v);
541 
546  GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const& v);
547 
552  GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p);
553 
558  GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const& v);
559 
564  GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p);
565 
570  GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const& v);
571 
576  GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p);
577 
582  GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const& v);
583 
588  GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p);
589 
594  GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const& v);
595 
600  GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p);
601 
602 
603 
608  GLM_FUNC_DECL int16 packInt2x8(i8vec2 const& v);
609 
614  GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p);
615 
620  GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const& v);
621 
626  GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p);
627 
632  GLM_FUNC_DECL int32 packInt4x8(i8vec4 const& v);
633 
638  GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p);
639 
644  GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const& v);
645 
650  GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p);
651 
656  GLM_FUNC_DECL int packInt2x16(i16vec2 const& v);
657 
662  GLM_FUNC_DECL i16vec2 unpackInt2x16(int p);
663 
668  GLM_FUNC_DECL int64 packInt4x16(i16vec4 const& v);
669 
674  GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p);
675 
680  GLM_FUNC_DECL uint packUint2x16(u16vec2 const& v);
681 
686  GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p);
687 
692  GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const& v);
693 
698  GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p);
699 
704  GLM_FUNC_DECL int64 packInt2x32(i32vec2 const& v);
705 
710  GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p);
711 
716  GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const& v);
717 
722  GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p);
723 
724 
726 }// namespace glm
727 
728 #include "packing.inl"
GLM_FUNC_DECL vec< L, uintType, Q > packUnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL uint16 packUint2x8(u8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL int64 packInt4x16(i16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL vec< L, uint16, Q > packHalf(vec< L, float, Q > const &v)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
+
GLM_FUNC_DECL u32vec2 unpackUint2x32(uint64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint8 packUnorm2x3_1x2(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL vec4 unpackUnorm4x4(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL float unpackSnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a single 16-bit signed integers.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
GLM_FUNC_DECL float unpackUnorm1x16(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a of 16-bit unsigned integers.
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
GLM_FUNC_DECL vec< L, floatType, Q > unpackUnorm(vec< L, uintType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL float unpackHalf1x16(uint16 v)
Returns a floating-point scalar with components obtained by unpacking a 16-bit unsigned integer into ...
+
GLM_FUNC_DECL uint16 packHalf1x16(float v)
Returns an unsigned integer obtained by converting the components of a floating-point scalar to the 1...
+
GLM_FUNC_DECL uint packUint2x16(u16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
GLM_FUNC_DECL uint16 packUnorm1x16(float v)
First, converts the normalized floating-point value v into a 16-bit integer value.
+
GLM_FUNC_DECL vec3 unpackUnorm1x5_1x6_1x5(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL i32vec2 unpackInt2x32(int64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL ivec4 unpackI3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit signed integers...
+
GLM_FUNC_DECL uint64 packUint2x32(u32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL vec4 unpackSnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit signed integers.
+
GLM_FUNC_DECL uint16 packSnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
+
GLM_FUNC_DECL uint64 packUint4x16(u16vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint8 packSnorm1x8(float s)
First, converts the normalized floating-point value v into 8-bit integer value.
+
GLM_FUNC_DECL uint32 packSnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit signe...
+
GLM_FUNC_DECL vec3 unpackUnorm2x3_1x2(uint8 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint64 packSnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
+
GLM_FUNC_DECL u16vec2 unpackUint2x16(uint p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint16 packUnorm2x8(vec2 const &v)
First, converts each component of the normalized floating-point value v into 8-bit integer values...
+
GLM_FUNC_DECL vec< 3, T, Q > unpackRGBM(vec< 4, T, Q > const &rgbm)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
+
GLM_FUNC_DECL uint32 packI3x10_1x2(ivec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component signed integer ...
+
GLM_FUNC_DECL uint64 packHalf4x16(vec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component floating-point ...
+
GLM_FUNC_DECL float unpackSnorm1x8(uint8 p)
First, unpacks a single 8-bit unsigned integer p into a single 8-bit signed integers.
+
GLM_FUNC_DECL uvec4 unpackU3x10_1x2(uint32 p)
Unpacks a single 32-bit unsigned integer p into three 10-bit and one 2-bit unsigned integers...
+
GLM_FUNC_DECL vec< L, float, Q > unpackHalf(vec< L, uint16, Q > const &p)
Returns a floating-point vector with components obtained by reinterpreting an integer vector as 16-bi...
+
GLM_FUNC_DECL vec2 unpackSnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit signed integers.
+
GLM_FUNC_DECL uint16 packUnorm1x5_1x6_1x5(vec3 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL i8vec2 unpackInt2x8(int16 p)
Convert a packed integer into an integer vector.
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
GLM_FUNC_DECL uint32 packUint4x8(u8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint64 packUnorm4x16(vec4 const &v)
First, converts each component of the normalized floating-point value v into 16-bit integer values...
+
GLM_FUNC_DECL uint8 packUnorm1x8(float v)
First, converts the normalized floating-point value v into a 8-bit integer value. ...
+
GLM_FUNC_DECL u16vec4 unpackUint4x16(uint64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL i8vec4 unpackInt4x8(int32 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL vec< 4, T, Q > packRGBM(vec< 3, T, Q > const &rgb)
Returns an unsigned integer vector obtained by converting the components of a floating-point vector t...
+
GLM_FUNC_DECL int32 packInt4x8(i8vec4 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL u8vec2 unpackUint2x8(uint16 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL vec4 unpackUnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
GLM_FUNC_DECL uint32 packUnorm3x10_1x2(vec4 const &v)
First, converts the first three components of the normalized floating-point value v into 10-bit unsig...
+
GLM_FUNC_DECL uint32 packU3x10_1x2(uvec4 const &v)
Returns an unsigned integer obtained by converting the components of a four-component unsigned intege...
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
GLM_FUNC_DECL i16vec2 unpackInt2x16(int p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL vec3 unpackF2x11_1x10(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
+
GLM_GTC_type_precision
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
GLM_FUNC_DECL vec2 unpackUnorm2x8(uint16 p)
First, unpacks a single 16-bit unsigned integer p into a pair of 8-bit unsigned integers.
+
GLM_FUNC_DECL vec3 unpackF3x9_E1x5(uint32 p)
First, unpacks a single 32-bit unsigned integer p into two 11-bit signless floating-point values and ...
+
GLM_FUNC_DECL vec4 unpackUnorm3x5_1x1(uint16 p)
Convert a packed integer to a normalized floating-point vector.
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
GLM_FUNC_DECL float unpackUnorm1x8(uint8 p)
Convert a single 8-bit integer to a normalized floating-point value.
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
GLM_FUNC_DECL int packInt2x16(i16vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL vec< L, floatType, Q > unpackSnorm(vec< L, intType, Q > const &v)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL int16 packInt2x8(i8vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL uint16 packUnorm3x5_1x1(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
GLM_FUNC_DECL uint16 packUnorm4x4(vec4 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
Definition: common.hpp:18
+
detail::int64 int64
64 bit signed integer type.
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
GLM_FUNC_DECL vec4 unpackUnorm4x16(uint64 p)
First, unpacks a single 64-bit unsigned integer p into four 16-bit unsigned integers.
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
GLM_FUNC_DECL i16vec4 unpackInt4x16(int64 p)
Convert a packed integer into an integer vector.
+
GLM_FUNC_DECL uint32 packF3x9_E1x5(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
+
GLM_FUNC_DECL int64 packInt2x32(i32vec2 const &v)
Convert each component from an integer vector into a packed unsigned integer.
+
GLM_FUNC_DECL u8vec4 unpackUint4x8(uint32 p)
Convert a packed integer into an integer vector.
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
GLM_FUNC_DECL vec2 unpackUnorm2x4(uint8 p)
Convert a packed integer to a normalized floating-point vector.
+
GLM_FUNC_DECL uint16 packSnorm1x16(float v)
First, converts the normalized floating-point value v into 16-bit integer value.
+
GLM_FUNC_DECL vec< L, intType, Q > packSnorm(vec< L, floatType, Q > const &v)
Convert each component of the normalized floating-point vector into signed integer values...
+
GLM_FUNC_DECL uint32 packF2x11_1x10(vec3 const &v)
First, converts the first two components of the normalized floating-point value v into 11-bit signles...
+
GLM_FUNC_DECL vec4 unpackHalf4x16(uint64 p)
Returns a four-component floating-point vector with components obtained by unpacking a 64-bit unsigne...
+
GLM_FUNC_DECL vec4 unpackSnorm3x10_1x2(uint32 p)
First, unpacks a single 32-bit unsigned integer p into four 16-bit signed integers.
+
GLM_FUNC_DECL uint8 packUnorm2x4(vec2 const &v)
Convert each component of the normalized floating-point vector into unsigned integer values...
+
+ + + + diff --git a/doc/api/a01370.html b/doc/api/a01370.html new file mode 100644 index 00000000..cf29f4ef --- /dev/null +++ b/doc/api/a01370.html @@ -0,0 +1,141 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/quaternion.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThan (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T pitch (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 3, 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 4, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAt (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtLH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtRH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T roll (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T yaw (qua< T, Q > const &x)
 
+

Detailed Description

+

GLM_GTC_quaternion

+
See also
Core features (dependence)
+
+GLM_GTC_constants (dependence)
+ +

Definition in file gtc/quaternion.hpp.

+
+ + + + diff --git a/doc/api/a01370_source.html b/doc/api/a01370_source.html new file mode 100644 index 00000000..f09d0e0a --- /dev/null +++ b/doc/api/a01370_source.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/quaternion.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtc/constants.hpp"
18 #include "../gtc/matrix_transform.hpp"
19 #include "../ext/vector_relational.hpp"
20 #include "../ext/quaternion_common.hpp"
21 #include "../ext/quaternion_float.hpp"
22 #include "../ext/quaternion_float_precision.hpp"
23 #include "../ext/quaternion_double.hpp"
24 #include "../ext/quaternion_double_precision.hpp"
25 #include "../ext/quaternion_relational.hpp"
26 #include "../ext/quaternion_geometric.hpp"
27 #include "../ext/quaternion_trigonometric.hpp"
28 #include "../ext/quaternion_transform.hpp"
29 #include "../detail/type_mat3x3.hpp"
30 #include "../detail/type_mat4x4.hpp"
31 #include "../detail/type_vec3.hpp"
32 #include "../detail/type_vec4.hpp"
33 
34 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
35 # pragma message("GLM: GLM_GTC_quaternion extension included")
36 #endif
37 
38 namespace glm
39 {
42 
49  template<typename T, qualifier Q>
50  GLM_FUNC_DECL vec<3, T, Q> eulerAngles(qua<T, Q> const& x);
51 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL T roll(qua<T, Q> const& x);
59 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T pitch(qua<T, Q> const& x);
67 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL T yaw(qua<T, Q> const& x);
75 
81  template<typename T, qualifier Q>
82  GLM_FUNC_DECL mat<3, 3, T, Q> mat3_cast(qua<T, Q> const& x);
83 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL mat<4, 4, T, Q> mat4_cast(qua<T, Q> const& x);
91 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL qua<T, Q> quat_cast(mat<3, 3, T, Q> const& x);
99 
105  template<typename T, qualifier Q>
106  GLM_FUNC_DECL qua<T, Q> quat_cast(mat<4, 4, T, Q> const& x);
107 
114  template<typename T, qualifier Q>
115  GLM_FUNC_DECL vec<4, bool, Q> lessThan(qua<T, Q> const& x, qua<T, Q> const& y);
116 
123  template<typename T, qualifier Q>
124  GLM_FUNC_DECL vec<4, bool, Q> lessThanEqual(qua<T, Q> const& x, qua<T, Q> const& y);
125 
132  template<typename T, qualifier Q>
133  GLM_FUNC_DECL vec<4, bool, Q> greaterThan(qua<T, Q> const& x, qua<T, Q> const& y);
134 
141  template<typename T, qualifier Q>
142  GLM_FUNC_DECL vec<4, bool, Q> greaterThanEqual(qua<T, Q> const& x, qua<T, Q> const& y);
143 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL qua<T, Q> quatLookAt(
150  vec<3, T, Q> const& direction,
151  vec<3, T, Q> const& up);
152 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL qua<T, Q> quatLookAtRH(
159  vec<3, T, Q> const& direction,
160  vec<3, T, Q> const& up);
161 
166  template<typename T, qualifier Q>
167  GLM_FUNC_DECL qua<T, Q> quatLookAtLH(
168  vec<3, T, Q> const& direction,
169  vec<3, T, Q> const& up);
171 } //namespace glm
172 
173 #include "quaternion.inl"
GLM_FUNC_DECL vec< 4, bool, Q > lessThan(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison result of x < y.
+
GLM_FUNC_DECL qua< T, Q > quat_cast(mat< 4, 4, T, Q > const &x)
Converts a pure rotation 4 * 4 matrix to a quaternion.
+
GLM_FUNC_DECL qua< T, Q > quatLookAt(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a look at quaternion based on the default handedness.
+
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles(qua< T, Q > const &x)
Returns euler angles, pitch as x, yaw as y, roll as z.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x >= y.
+
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x > y.
+
GLM_FUNC_DECL T pitch(qua< T, Q > const &x)
Returns pitch value of euler angles expressed in radians.
+
GLM_FUNC_DECL qua< T, Q > quatLookAtRH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a right-handed look at quaternion.
+
GLM_FUNC_DECL qua< T, Q > quatLookAtLH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a left-handed look at quaternion.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL T roll(qua< T, Q > const &x)
Returns roll value of euler angles expressed in radians.
+
Definition: common.hpp:20
+
GLM_FUNC_DECL T yaw(qua< T, Q > const &x)
Returns yaw value of euler angles expressed in radians.
+
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x <= y.
+
+ + + + diff --git a/doc/api/a01371.html b/doc/api/a01371.html new file mode 100644 index 00000000..85c7e503 --- /dev/null +++ b/doc/api/a01371.html @@ -0,0 +1,140 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/quaternion.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThan (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T pitch (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 3, 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 4, 4, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAt (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtLH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtRH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T roll (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T yaw (qua< T, Q > const &x)
 
+

Detailed Description

+
See also
Core features (dependence)
+
+GLM_GTC_constants (dependence)
+ +

Definition in file gtc/quaternion.hpp.

+
+ + + + diff --git a/doc/api/a01371_source.html b/doc/api/a01371_source.html new file mode 100644 index 00000000..80907eae --- /dev/null +++ b/doc/api/a01371_source.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/quaternion.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtc/constants.hpp"
18 #include "../gtc/matrix_transform.hpp"
19 #include "../ext/vector_relational.hpp"
20 #include "../ext/quaternion_common.hpp"
21 #include "../ext/quaternion_float.hpp"
22 #include "../ext/quaternion_float_precision.hpp"
23 #include "../ext/quaternion_double.hpp"
24 #include "../ext/quaternion_double_precision.hpp"
25 #include "../ext/quaternion_relational.hpp"
26 #include "../ext/quaternion_geometric.hpp"
27 #include "../ext/quaternion_trigonometric.hpp"
28 #include "../ext/quaternion_transform.hpp"
29 #include "../detail/type_mat3x3.hpp"
30 #include "../detail/type_mat4x4.hpp"
31 #include "../detail/type_vec3.hpp"
32 #include "../detail/type_vec4.hpp"
33 
34 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
35 # pragma message("GLM: GLM_GTC_quaternion extension included")
36 #endif
37 
38 namespace glm
39 {
42 
49  template<typename T, qualifier Q>
50  GLM_FUNC_DECL vec<3, T, Q> eulerAngles(qua<T, Q> const& x);
51 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL T roll(qua<T, Q> const& x);
59 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T pitch(qua<T, Q> const& x);
67 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL T yaw(qua<T, Q> const& x);
75 
81  template<typename T, qualifier Q>
82  GLM_FUNC_DECL mat<3, 3, T, Q> mat3_cast(qua<T, Q> const& x);
83 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL mat<4, 4, T, Q> mat4_cast(qua<T, Q> const& x);
91 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL qua<T, Q> quat_cast(mat<3, 3, T, Q> const& x);
99 
105  template<typename T, qualifier Q>
106  GLM_FUNC_DECL qua<T, Q> quat_cast(mat<4, 4, T, Q> const& x);
107 
114  template<typename T, qualifier Q>
115  GLM_FUNC_DECL vec<4, bool, Q> lessThan(qua<T, Q> const& x, qua<T, Q> const& y);
116 
123  template<typename T, qualifier Q>
124  GLM_FUNC_DECL vec<4, bool, Q> lessThanEqual(qua<T, Q> const& x, qua<T, Q> const& y);
125 
132  template<typename T, qualifier Q>
133  GLM_FUNC_DECL vec<4, bool, Q> greaterThan(qua<T, Q> const& x, qua<T, Q> const& y);
134 
141  template<typename T, qualifier Q>
142  GLM_FUNC_DECL vec<4, bool, Q> greaterThanEqual(qua<T, Q> const& x, qua<T, Q> const& y);
143 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL qua<T, Q> quatLookAt(
150  vec<3, T, Q> const& direction,
151  vec<3, T, Q> const& up);
152 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL qua<T, Q> quatLookAtRH(
159  vec<3, T, Q> const& direction,
160  vec<3, T, Q> const& up);
161 
166  template<typename T, qualifier Q>
167  GLM_FUNC_DECL qua<T, Q> quatLookAtLH(
168  vec<3, T, Q> const& direction,
169  vec<3, T, Q> const& up);
171 } //namespace glm
172 
173 #include "quaternion.inl"
GLM_FUNC_DECL vec< 4, bool, Q > lessThan(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison result of x < y.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL qua< T, Q > quat_cast(mat< 4, 4, T, Q > const &x)
Converts a pure rotation 4 * 4 matrix to a quaternion.
+
GLM_FUNC_DECL qua< T, Q > quatLookAt(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a look at quaternion based on the default handedness.
+
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles(qua< T, Q > const &x)
Returns euler angles, pitch as x, yaw as y, roll as z.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x >= y.
+
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x > y.
+
GLM_FUNC_DECL T pitch(qua< T, Q > const &x)
Returns pitch value of euler angles expressed in radians.
+
GLM_FUNC_DECL qua< T, Q > quatLookAtRH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a right-handed look at quaternion.
+
GLM_FUNC_DECL qua< T, Q > quatLookAtLH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a left-handed look at quaternion.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL T roll(qua< T, Q > const &x)
Returns roll value of euler angles expressed in radians.
+
GLM_FUNC_DECL T yaw(qua< T, Q > const &x)
Returns yaw value of euler angles expressed in radians.
+
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x <= y.
+
+ + + + diff --git a/doc/api/a01372.html b/doc/api/a01372.html new file mode 100644 index 00000000..7e49edf0 --- /dev/null +++ b/doc/api/a01372.html @@ -0,0 +1,159 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/quaternion.hpp File Reference
+
+
+ +

GLM_GTC_quaternion +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles (qua< T, Q > const &x)
 Returns euler angles, pitch as x, yaw as y, roll as z. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan (qua< T, Q > const &x, qua< T, Q > const &y)
 Returns the component-wise comparison of result x > y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 Returns the component-wise comparison of result x >= y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThan (qua< T, Q > const &x, qua< T, Q > const &y)
 Returns the component-wise comparison result of x < y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual (qua< T, Q > const &x, qua< T, Q > const &y)
 Returns the component-wise comparison of result x <= y. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast (qua< T, Q > const &x)
 Converts a quaternion to a 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast (qua< T, Q > const &x)
 Converts a quaternion to a 4 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T pitch (qua< T, Q > const &x)
 Returns pitch value of euler angles expressed in radians. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 3, 3, T, Q > const &x)
 Converts a pure rotation 3 * 3 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_cast (mat< 4, 4, T, Q > const &x)
 Converts a pure rotation 4 * 4 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAt (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a look at quaternion based on the default handedness. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtLH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a left-handed look at quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quatLookAtRH (vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
 Build a right-handed look at quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T roll (qua< T, Q > const &x)
 Returns roll value of euler angles expressed in radians. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T yaw (qua< T, Q > const &x)
 Returns yaw value of euler angles expressed in radians. More...
 
+

Detailed Description

+

GLM_GTC_quaternion

+
See also
Core features (dependence)
+
+GLM_GTC_constants (dependence)
+ +

Definition in file gtc/quaternion.hpp.

+
+ + + + diff --git a/doc/api/a01372_source.html b/doc/api/a01372_source.html new file mode 100644 index 00000000..02f3789e --- /dev/null +++ b/doc/api/a01372_source.html @@ -0,0 +1,96 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/quaternion.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtc/constants.hpp"
18 #include "../gtc/matrix_transform.hpp"
19 #include "../ext/vector_relational.hpp"
20 #include "../ext/quaternion_common.hpp"
21 #include "../ext/quaternion_float.hpp"
22 #include "../ext/quaternion_float_precision.hpp"
23 #include "../ext/quaternion_double.hpp"
24 #include "../ext/quaternion_double_precision.hpp"
25 #include "../ext/quaternion_relational.hpp"
26 #include "../ext/quaternion_geometric.hpp"
27 #include "../ext/quaternion_trigonometric.hpp"
28 #include "../ext/quaternion_transform.hpp"
29 #include "../detail/type_mat3x3.hpp"
30 #include "../detail/type_mat4x4.hpp"
31 #include "../detail/type_vec3.hpp"
32 #include "../detail/type_vec4.hpp"
33 
34 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
35 # pragma message("GLM: GLM_GTC_quaternion extension included")
36 #endif
37 
38 namespace glm
39 {
42 
49  template<typename T, qualifier Q>
50  GLM_FUNC_DECL vec<3, T, Q> eulerAngles(qua<T, Q> const& x);
51 
57  template<typename T, qualifier Q>
58  GLM_FUNC_DECL T roll(qua<T, Q> const& x);
59 
65  template<typename T, qualifier Q>
66  GLM_FUNC_DECL T pitch(qua<T, Q> const& x);
67 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL T yaw(qua<T, Q> const& x);
75 
81  template<typename T, qualifier Q>
82  GLM_FUNC_DECL mat<3, 3, T, Q> mat3_cast(qua<T, Q> const& x);
83 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL mat<4, 4, T, Q> mat4_cast(qua<T, Q> const& x);
91 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL qua<T, Q> quat_cast(mat<3, 3, T, Q> const& x);
99 
105  template<typename T, qualifier Q>
106  GLM_FUNC_DECL qua<T, Q> quat_cast(mat<4, 4, T, Q> const& x);
107 
114  template<typename T, qualifier Q>
115  GLM_FUNC_DECL vec<4, bool, Q> lessThan(qua<T, Q> const& x, qua<T, Q> const& y);
116 
123  template<typename T, qualifier Q>
124  GLM_FUNC_DECL vec<4, bool, Q> lessThanEqual(qua<T, Q> const& x, qua<T, Q> const& y);
125 
132  template<typename T, qualifier Q>
133  GLM_FUNC_DECL vec<4, bool, Q> greaterThan(qua<T, Q> const& x, qua<T, Q> const& y);
134 
141  template<typename T, qualifier Q>
142  GLM_FUNC_DECL vec<4, bool, Q> greaterThanEqual(qua<T, Q> const& x, qua<T, Q> const& y);
143 
148  template<typename T, qualifier Q>
149  GLM_FUNC_DECL qua<T, Q> quatLookAt(
150  vec<3, T, Q> const& direction,
151  vec<3, T, Q> const& up);
152 
157  template<typename T, qualifier Q>
158  GLM_FUNC_DECL qua<T, Q> quatLookAtRH(
159  vec<3, T, Q> const& direction,
160  vec<3, T, Q> const& up);
161 
166  template<typename T, qualifier Q>
167  GLM_FUNC_DECL qua<T, Q> quatLookAtLH(
168  vec<3, T, Q> const& direction,
169  vec<3, T, Q> const& up);
171 } //namespace glm
172 
173 #include "quaternion.inl"
GLM_FUNC_DECL vec< 3, T, Q > eulerAngles(qua< T, Q > const &x)
Returns euler angles, pitch as x, yaw as y, roll as z.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL T pitch(qua< T, Q > const &x)
Returns pitch value of euler angles expressed in radians.
+
GLM_FUNC_DECL vec< 4, bool, Q > greaterThanEqual(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x >= y.
+
GLM_FUNC_DECL qua< T, Q > quatLookAtLH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a left-handed look at quaternion.
+
GLM_FUNC_DECL vec< 4, bool, Q > greaterThan(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x > y.
+
GLM_FUNC_DECL T roll(qua< T, Q > const &x)
Returns roll value of euler angles expressed in radians.
+
GLM_FUNC_DECL qua< T, Q > quatLookAtRH(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a right-handed look at quaternion.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL vec< 4, bool, Q > lessThanEqual(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison of result x <= y.
+
GLM_FUNC_DECL T yaw(qua< T, Q > const &x)
Returns yaw value of euler angles expressed in radians.
+
GLM_FUNC_DECL qua< T, Q > quat_cast(mat< 4, 4, T, Q > const &x)
Converts a pure rotation 4 * 4 matrix to a quaternion.
+
GLM_FUNC_DECL vec< 4, bool, Q > lessThan(qua< T, Q > const &x, qua< T, Q > const &y)
Returns the component-wise comparison result of x < y.
+
GLM_FUNC_DECL qua< T, Q > quatLookAt(vec< 3, T, Q > const &direction, vec< 3, T, Q > const &up)
Build a look at quaternion based on the default handedness.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01373.html b/doc/api/a01373.html new file mode 100644 index 00000000..0be80e2e --- /dev/null +++ b/doc/api/a01373.html @@ -0,0 +1,144 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/quaternion.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &v, qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T extractRealComponent (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > fastMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > intermediate (qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length2 (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (qua< T, Q > const &q, vec< 4, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotation (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > shortMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > squad (qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3 (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4 (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 3, 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 4, 4, T, Q > const &x)
 
+

Detailed Description

+

GLM_GTX_quaternion

+
See also
Core features (dependence)
+
+gtx_extented_min_max (dependence)
+ +

Definition in file gtx/quaternion.hpp.

+
+ + + + diff --git a/doc/api/a01373_source.html b/doc/api/a01373_source.html new file mode 100644 index 00000000..bdca20e8 --- /dev/null +++ b/doc/api/a01373_source.html @@ -0,0 +1,98 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/quaternion.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtc/constants.hpp"
19 #include "../gtc/quaternion.hpp"
20 #include "../ext/quaternion_exponential.hpp"
21 #include "../gtx/norm.hpp"
22 
23 #ifndef GLM_ENABLE_EXPERIMENTAL
24 # error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
25 #endif
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTX_quaternion extension included")
29 #endif
30 
31 namespace glm
32 {
35 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL qua<T, Q> quat_identity();
41 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL vec<3, T, Q> cross(
47  qua<T, Q> const& q,
48  vec<3, T, Q> const& v);
49 
53  template<typename T, qualifier Q>
54  GLM_FUNC_DECL vec<3, T, Q> cross(
55  vec<3, T, Q> const& v,
56  qua<T, Q> const& q);
57 
62  template<typename T, qualifier Q>
63  GLM_FUNC_DECL qua<T, Q> squad(
64  qua<T, Q> const& q1,
65  qua<T, Q> const& q2,
66  qua<T, Q> const& s1,
67  qua<T, Q> const& s2,
68  T const& h);
69 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL qua<T, Q> intermediate(
75  qua<T, Q> const& prev,
76  qua<T, Q> const& curr,
77  qua<T, Q> const& next);
78 
82  //template<typename T, qualifier Q>
83  //qua<T, Q> sqrt(
84  // qua<T, Q> const& q);
85 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL vec<3, T, Q> rotate(
91  qua<T, Q> const& q,
92  vec<3, T, Q> const& v);
93 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL vec<4, T, Q> rotate(
99  qua<T, Q> const& q,
100  vec<4, T, Q> const& v);
101 
105  template<typename T, qualifier Q>
106  GLM_FUNC_DECL T extractRealComponent(
107  qua<T, Q> const& q);
108 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL mat<3, 3, T, Q> toMat3(
114  qua<T, Q> const& x){return mat3_cast(x);}
115 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<4, 4, T, Q> toMat4(
121  qua<T, Q> const& x){return mat4_cast(x);}
122 
126  template<typename T, qualifier Q>
127  GLM_FUNC_DECL qua<T, Q> toQuat(
128  mat<3, 3, T, Q> const& x){return quat_cast(x);}
129 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL qua<T, Q> toQuat(
135  mat<4, 4, T, Q> const& x){return quat_cast(x);}
136 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL qua<T, Q> shortMix(
142  qua<T, Q> const& x,
143  qua<T, Q> const& y,
144  T const& a);
145 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL qua<T, Q> fastMix(
151  qua<T, Q> const& x,
152  qua<T, Q> const& y,
153  T const& a);
154 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL qua<T, Q> rotation(
162  vec<3, T, Q> const& orig,
163  vec<3, T, Q> const& dest);
164 
168  template<typename T, qualifier Q>
169  GLM_FUNC_DECL T length2(qua<T, Q> const& q);
170 
172 }//namespace glm
173 
174 #include "quaternion.inl"
GLM_FUNC_DECL T length2(qua< T, Q > const &q)
Returns the squared length of x.
+
GLM_FUNC_DECL qua< T, Q > quat_cast(mat< 3, 3, T, Q > const &x)
Converts a pure rotation 3 * 3 matrix to a quaternion.
+
GLM_FUNC_DECL qua< T, Q > quat_identity()
Create an identity quaternion.
+
GLM_FUNC_DECL qua< T, Q > fastMix(qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
Quaternion normalized linear interpolation.
+
GLM_FUNC_DECL vec< 4, T, Q > rotate(qua< T, Q > const &q, vec< 4, T, Q > const &v)
Rotates a 4 components vector by a quaternion.
+
GLM_FUNC_DECL qua< T, Q > shortMix(qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
Quaternion interpolation using the rotation short path.
+
GLM_FUNC_DECL qua< T, Q > toQuat(mat< 4, 4, T, Q > const &x)
Converts a 4 * 4 matrix to a quaternion.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL qua< T, Q > intermediate(qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
Returns an intermediate control point for squad interpolation.
+
GLM_FUNC_DECL vec< 3, T, Q > cross(vec< 3, T, Q > const &v, qua< T, Q > const &q)
Compute a cross product between a vector and a quaternion.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL T extractRealComponent(qua< T, Q > const &q)
Extract the real component of a quaternion.
+
GLM_FUNC_DECL qua< T, Q > squad(qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
Compute a point on a path according squad equation.
+
GLM_FUNC_DECL qua< T, Q > rotation(vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
Compute the rotation between two vectors.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01374.html b/doc/api/a01374.html new file mode 100644 index 00000000..26ffdcf0 --- /dev/null +++ b/doc/api/a01374.html @@ -0,0 +1,143 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/quaternion.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &v, qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T extractRealComponent (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > fastMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > intermediate (qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length2 (qua< T, Q > const &q)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_identity ()
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (qua< T, Q > const &q, vec< 4, T, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotation (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > shortMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > squad (qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3 (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4 (qua< T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 3, 3, T, Q > const &x)
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 4, 4, T, Q > const &x)
 
+

Detailed Description

+
See also
Core features (dependence)
+
+gtx_extented_min_max (dependence)
+ +

Definition in file gtx/quaternion.hpp.

+
+ + + + diff --git a/doc/api/a01374_source.html b/doc/api/a01374_source.html new file mode 100644 index 00000000..933b2ad4 --- /dev/null +++ b/doc/api/a01374_source.html @@ -0,0 +1,98 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/quaternion.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtc/constants.hpp"
19 #include "../gtc/quaternion.hpp"
20 #include "../ext/quaternion_exponential.hpp"
21 #include "../gtx/norm.hpp"
22 
23 #ifndef GLM_ENABLE_EXPERIMENTAL
24 # error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
25 #endif
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTX_quaternion extension included")
29 #endif
30 
31 namespace glm
32 {
35 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL qua<T, Q> quat_identity();
41 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL vec<3, T, Q> cross(
47  qua<T, Q> const& q,
48  vec<3, T, Q> const& v);
49 
53  template<typename T, qualifier Q>
54  GLM_FUNC_DECL vec<3, T, Q> cross(
55  vec<3, T, Q> const& v,
56  qua<T, Q> const& q);
57 
62  template<typename T, qualifier Q>
63  GLM_FUNC_DECL qua<T, Q> squad(
64  qua<T, Q> const& q1,
65  qua<T, Q> const& q2,
66  qua<T, Q> const& s1,
67  qua<T, Q> const& s2,
68  T const& h);
69 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL qua<T, Q> intermediate(
75  qua<T, Q> const& prev,
76  qua<T, Q> const& curr,
77  qua<T, Q> const& next);
78 
82  //template<typename T, qualifier Q>
83  //qua<T, Q> sqrt(
84  // qua<T, Q> const& q);
85 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL vec<3, T, Q> rotate(
91  qua<T, Q> const& q,
92  vec<3, T, Q> const& v);
93 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL vec<4, T, Q> rotate(
99  qua<T, Q> const& q,
100  vec<4, T, Q> const& v);
101 
105  template<typename T, qualifier Q>
106  GLM_FUNC_DECL T extractRealComponent(
107  qua<T, Q> const& q);
108 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL mat<3, 3, T, Q> toMat3(
114  qua<T, Q> const& x){return mat3_cast(x);}
115 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<4, 4, T, Q> toMat4(
121  qua<T, Q> const& x){return mat4_cast(x);}
122 
126  template<typename T, qualifier Q>
127  GLM_FUNC_DECL qua<T, Q> toQuat(
128  mat<3, 3, T, Q> const& x){return quat_cast(x);}
129 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL qua<T, Q> toQuat(
135  mat<4, 4, T, Q> const& x){return quat_cast(x);}
136 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL qua<T, Q> shortMix(
142  qua<T, Q> const& x,
143  qua<T, Q> const& y,
144  T const& a);
145 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL qua<T, Q> fastMix(
151  qua<T, Q> const& x,
152  qua<T, Q> const& y,
153  T const& a);
154 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL qua<T, Q> rotation(
162  vec<3, T, Q> const& orig,
163  vec<3, T, Q> const& dest);
164 
168  template<typename T, qualifier Q>
169  GLM_FUNC_DECL T length2(qua<T, Q> const& q);
170 
172 }//namespace glm
173 
174 #include "quaternion.inl"
GLM_FUNC_DECL T length2(qua< T, Q > const &q)
Returns the squared length of x.
+
GLM_FUNC_DECL qua< T, Q > quat_cast(mat< 3, 3, T, Q > const &x)
Converts a pure rotation 3 * 3 matrix to a quaternion.
+
GLM_FUNC_DECL qua< T, Q > quat_identity()
Create an identity quaternion.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL qua< T, Q > fastMix(qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
Quaternion normalized linear interpolation.
+
GLM_FUNC_DECL vec< 4, T, Q > rotate(qua< T, Q > const &q, vec< 4, T, Q > const &v)
Rotates a 4 components vector by a quaternion.
+
GLM_FUNC_DECL qua< T, Q > shortMix(qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
Quaternion interpolation using the rotation short path.
+
GLM_FUNC_DECL qua< T, Q > toQuat(mat< 4, 4, T, Q > const &x)
Converts a 4 * 4 matrix to a quaternion.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL qua< T, Q > intermediate(qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
Returns an intermediate control point for squad interpolation.
+
GLM_FUNC_DECL vec< 3, T, Q > cross(vec< 3, T, Q > const &v, qua< T, Q > const &q)
Compute a cross product between a vector and a quaternion.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL T extractRealComponent(qua< T, Q > const &q)
Extract the real component of a quaternion.
+
GLM_FUNC_DECL qua< T, Q > squad(qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
Compute a point on a path according squad equation.
+
GLM_FUNC_DECL qua< T, Q > rotation(vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
Compute the rotation between two vectors.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
+ + + + diff --git a/doc/api/a01375.html b/doc/api/a01375.html new file mode 100644 index 00000000..3a6f6c55 --- /dev/null +++ b/doc/api/a01375.html @@ -0,0 +1,163 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/quaternion.hpp File Reference
+
+
+ +

GLM_GTX_quaternion +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 Compute a cross product between a quaternion and a vector. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > cross (vec< 3, T, Q > const &v, qua< T, Q > const &q)
 Compute a cross product between a vector and a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T extractRealComponent (qua< T, Q > const &q)
 Extract the real component of a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > fastMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 Quaternion normalized linear interpolation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > intermediate (qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
 Returns an intermediate control point for squad interpolation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL T length2 (qua< T, Q > const &q)
 Returns the squared length of x. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > quat_identity ()
 Create an identity quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 3, T, Q > rotate (qua< T, Q > const &q, vec< 3, T, Q > const &v)
 Returns quarternion square root. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL vec< 4, T, Q > rotate (qua< T, Q > const &q, vec< 4, T, Q > const &v)
 Rotates a 4 components vector by a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > rotation (vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
 Compute the rotation between two vectors. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > shortMix (qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
 Quaternion interpolation using the rotation short path. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > squad (qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
 Compute a point on a path according squad equation. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3 (qua< T, Q > const &x)
 Converts a quaternion to a 3 * 3 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4 (qua< T, Q > const &x)
 Converts a quaternion to a 4 * 4 matrix. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 3, 3, T, Q > const &x)
 Converts a 3 * 3 matrix to a quaternion. More...
 
template<typename T , qualifier Q>
GLM_FUNC_DECL qua< T, Q > toQuat (mat< 4, 4, T, Q > const &x)
 Converts a 4 * 4 matrix to a quaternion. More...
 
+

Detailed Description

+

GLM_GTX_quaternion

+
See also
Core features (dependence)
+
+gtx_extented_min_max (dependence)
+ +

Definition in file gtx/quaternion.hpp.

+
+ + + + diff --git a/doc/api/a01375_source.html b/doc/api/a01375_source.html new file mode 100644 index 00000000..1c594ad3 --- /dev/null +++ b/doc/api/a01375_source.html @@ -0,0 +1,98 @@ + + + + + + + +0.9.9 API documenation: quaternion.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/quaternion.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../glm.hpp"
18 #include "../gtc/constants.hpp"
19 #include "../gtc/quaternion.hpp"
20 #include "../ext/quaternion_exponential.hpp"
21 #include "../gtx/norm.hpp"
22 
23 #ifndef GLM_ENABLE_EXPERIMENTAL
24 # error "GLM: GLM_GTX_quaternion is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
25 #endif
26 
27 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
28 # pragma message("GLM: GLM_GTX_quaternion extension included")
29 #endif
30 
31 namespace glm
32 {
35 
39  template<typename T, qualifier Q>
40  GLM_FUNC_DECL qua<T, Q> quat_identity();
41 
45  template<typename T, qualifier Q>
46  GLM_FUNC_DECL vec<3, T, Q> cross(
47  qua<T, Q> const& q,
48  vec<3, T, Q> const& v);
49 
53  template<typename T, qualifier Q>
54  GLM_FUNC_DECL vec<3, T, Q> cross(
55  vec<3, T, Q> const& v,
56  qua<T, Q> const& q);
57 
62  template<typename T, qualifier Q>
63  GLM_FUNC_DECL qua<T, Q> squad(
64  qua<T, Q> const& q1,
65  qua<T, Q> const& q2,
66  qua<T, Q> const& s1,
67  qua<T, Q> const& s2,
68  T const& h);
69 
73  template<typename T, qualifier Q>
74  GLM_FUNC_DECL qua<T, Q> intermediate(
75  qua<T, Q> const& prev,
76  qua<T, Q> const& curr,
77  qua<T, Q> const& next);
78 
82  //template<typename T, qualifier Q>
83  //qua<T, Q> sqrt(
84  // qua<T, Q> const& q);
85 
89  template<typename T, qualifier Q>
90  GLM_FUNC_DECL vec<3, T, Q> rotate(
91  qua<T, Q> const& q,
92  vec<3, T, Q> const& v);
93 
97  template<typename T, qualifier Q>
98  GLM_FUNC_DECL vec<4, T, Q> rotate(
99  qua<T, Q> const& q,
100  vec<4, T, Q> const& v);
101 
105  template<typename T, qualifier Q>
106  GLM_FUNC_DECL T extractRealComponent(
107  qua<T, Q> const& q);
108 
112  template<typename T, qualifier Q>
113  GLM_FUNC_DECL mat<3, 3, T, Q> toMat3(
114  qua<T, Q> const& x){return mat3_cast(x);}
115 
119  template<typename T, qualifier Q>
120  GLM_FUNC_DECL mat<4, 4, T, Q> toMat4(
121  qua<T, Q> const& x){return mat4_cast(x);}
122 
126  template<typename T, qualifier Q>
127  GLM_FUNC_DECL qua<T, Q> toQuat(
128  mat<3, 3, T, Q> const& x){return quat_cast(x);}
129 
133  template<typename T, qualifier Q>
134  GLM_FUNC_DECL qua<T, Q> toQuat(
135  mat<4, 4, T, Q> const& x){return quat_cast(x);}
136 
140  template<typename T, qualifier Q>
141  GLM_FUNC_DECL qua<T, Q> shortMix(
142  qua<T, Q> const& x,
143  qua<T, Q> const& y,
144  T const& a);
145 
149  template<typename T, qualifier Q>
150  GLM_FUNC_DECL qua<T, Q> fastMix(
151  qua<T, Q> const& x,
152  qua<T, Q> const& y,
153  T const& a);
154 
160  template<typename T, qualifier Q>
161  GLM_FUNC_DECL qua<T, Q> rotation(
162  vec<3, T, Q> const& orig,
163  vec<3, T, Q> const& dest);
164 
168  template<typename T, qualifier Q>
169  GLM_FUNC_DECL T length2(qua<T, Q> const& q);
170 
172 }//namespace glm
173 
174 #include "quaternion.inl"
GLM_FUNC_DECL qua< T, Q > intermediate(qua< T, Q > const &prev, qua< T, Q > const &curr, qua< T, Q > const &next)
Returns an intermediate control point for squad interpolation.
+
GLM_FUNC_DECL qua< T, Q > toQuat(mat< 4, 4, T, Q > const &x)
Converts a 4 * 4 matrix to a quaternion.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > mat3_cast(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > toMat4(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL mat< 3, 3, T, Q > toMat3(qua< T, Q > const &x)
Converts a quaternion to a 3 * 3 matrix.
+
GLM_FUNC_DECL qua< T, Q > rotation(vec< 3, T, Q > const &orig, vec< 3, T, Q > const &dest)
Compute the rotation between two vectors.
+
GLM_FUNC_DECL mat< 4, 4, T, Q > mat4_cast(qua< T, Q > const &x)
Converts a quaternion to a 4 * 4 matrix.
+
GLM_FUNC_DECL T extractRealComponent(qua< T, Q > const &q)
Extract the real component of a quaternion.
+
GLM_FUNC_DECL qua< T, Q > quat_cast(mat< 3, 3, T, Q > const &x)
Converts a pure rotation 3 * 3 matrix to a quaternion.
+
GLM_FUNC_DECL qua< T, Q > squad(qua< T, Q > const &q1, qua< T, Q > const &q2, qua< T, Q > const &s1, qua< T, Q > const &s2, T const &h)
Compute a point on a path according squad equation.
+
GLM_FUNC_DECL vec< 3, T, Q > cross(vec< 3, T, Q > const &v, qua< T, Q > const &q)
Compute a cross product between a vector and a quaternion.
+
GLM_FUNC_DECL qua< T, Q > quat_identity()
Create an identity quaternion.
+
GLM_FUNC_DECL T length2(qua< T, Q > const &q)
Returns the squared length of x.
+
GLM_FUNC_DECL vec< 4, T, Q > rotate(qua< T, Q > const &q, vec< 4, T, Q > const &v)
Rotates a 4 components vector by a quaternion.
+
GLM_FUNC_DECL qua< T, Q > shortMix(qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
Quaternion interpolation using the rotation short path.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL qua< T, Q > fastMix(qua< T, Q > const &x, qua< T, Q > const &y, T const &a)
Quaternion normalized linear interpolation.
+
+ + + + diff --git a/doc/api/a01376.html b/doc/api/a01376.html new file mode 100644 index 00000000..33e17408 --- /dev/null +++ b/doc/api/a01376.html @@ -0,0 +1,186 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
ext/scalar_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR bool equal (genType const &x, genType const &y, genType const &epsilon)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual (genType const &x, genType const &y, genType const &epsilon)
 
+

Detailed Description

+

Function Documentation

+ +

◆ equal()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::equal (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + +
genTypeFloating-point or integer scalar types
+
+
+ +
+
+ +

◆ notEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::notEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + +
genTypeFloating-point or integer scalar types
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a01376_source.html b/doc/api/a01376_source.html new file mode 100644 index 00000000..2e29cea3 --- /dev/null +++ b/doc/api/a01376_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/scalar_relational.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_scalar_relational extension included")
22 #endif
23 
24 namespace glm
25 {
30  template<typename genType>
31  GLM_FUNC_DECL GLM_CONSTEXPR bool equal(genType const& x, genType const& y, genType const& epsilon);
32 
37  template<typename genType>
38  GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual(genType const& x, genType const& y, genType const& epsilon);
39 
41 }//namespace glm
42 
43 #include "scalar_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise not-equal-to comparison of two matrices.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise equal-to comparison of two matrices.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01377.html b/doc/api/a01377.html new file mode 100644 index 00000000..bf48137c --- /dev/null +++ b/doc/api/a01377.html @@ -0,0 +1,182 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
ext/scalar_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR bool equal (genType const &x, genType const &y, genType const &epsilon)
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual (genType const &x, genType const &y, genType const &epsilon)
 
+

Function Documentation

+ +

◆ equal()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::equal (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + +
genTypeFloating-point or integer scalar types
+
+
+ +
+
+ +

◆ notEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::notEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + +
genTypeFloating-point or integer scalar types
+
+
+ +
+
+
+ + + + diff --git a/doc/api/a01377_source.html b/doc/api/a01377_source.html new file mode 100644 index 00000000..f85c4725 --- /dev/null +++ b/doc/api/a01377_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/scalar_relational.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_scalar_relational extension included")
22 #endif
23 
24 namespace glm
25 {
30  template<typename genType>
31  GLM_FUNC_DECL GLM_CONSTEXPR bool equal(genType const& x, genType const& y, genType const& epsilon);
32 
37  template<typename genType>
38  GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual(genType const& x, genType const& y, genType const& epsilon);
39 
41 }//namespace glm
42 
43 #include "scalar_relational.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise not-equal-to comparison of two matrices.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise equal-to comparison of two matrices.
+
+ + + + diff --git a/doc/api/a01378.html b/doc/api/a01378.html new file mode 100644 index 00000000..cfb747ef --- /dev/null +++ b/doc/api/a01378.html @@ -0,0 +1,194 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
ext/scalar_relational.hpp File Reference
+
+
+ +

GLM_EXT_scalar_relational +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + +

+Functions

template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR bool equal (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<typename genType >
GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual (genType const &x, genType const &y, genType const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
+

Detailed Description

+

GLM_EXT_scalar_relational

+
See also
Core features (dependence)
+ +

Definition in file ext/scalar_relational.hpp.

+

Function Documentation

+ +

◆ equal()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::equal (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| < epsilon.

+

True if this expression is satisfied.

+
Template Parameters
+ + +
genTypeFloating-point or integer scalar types
+
+
+
See also
GLM_EXT_scalar_relational
+ +
+
+ +

◆ notEqual()

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
GLM_FUNC_DECL GLM_CONSTEXPR bool glm::notEqual (genType const & x,
genType const & y,
genType const & epsilon 
)
+
+ +

Returns the component-wise comparison of |x - y| >= epsilon.

+

True if this expression is not satisfied.

+
Template Parameters
+ + +
genTypeFloating-point or integer scalar types
+
+
+
See also
GLM_EXT_scalar_relational
+ +
+
+
+ + + + diff --git a/doc/api/a01378_source.html b/doc/api/a01378_source.html new file mode 100644 index 00000000..939b3fa6 --- /dev/null +++ b/doc/api/a01378_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/scalar_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/qualifier.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_scalar_relational extension included")
20 #endif
21 
22 namespace glm
23 {
30  template<typename genType>
31  GLM_FUNC_DECL GLM_CONSTEXPR bool equal(genType const& x, genType const& y, genType const& epsilon);
32 
39  template<typename genType>
40  GLM_FUNC_DECL GLM_CONSTEXPR bool notEqual(genType const& x, genType const& y, genType const& epsilon);
41 
43 }//namespace glm
44 
45 #include "scalar_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > notEqual(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise not-equal-to comparison of two matrices.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< C, bool, Q > equal(mat< C, R, T, Q > const &x, mat< C, R, T, Q > const &y)
Perform a component-wise equal-to comparison of two matrices.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01379.html b/doc/api/a01379.html new file mode 100644 index 00000000..e598b943 --- /dev/null +++ b/doc/api/a01379.html @@ -0,0 +1,88 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/scalar_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+

GLM_GTX_scalar_relational

+
See also
Core features (dependence)
+ +

Definition in file gtx/scalar_relational.hpp.

+
+ + + + diff --git a/doc/api/a01379_source.html b/doc/api/a01379_source.html new file mode 100644 index 00000000..b15532dd --- /dev/null +++ b/doc/api/a01379_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/scalar_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_extend is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_extend extension included")
24 #endif
25 
26 namespace glm
27 {
30 
31 
32 
34 }//namespace glm
35 
36 #include "scalar_relational.inl"
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01380.html b/doc/api/a01380.html new file mode 100644 index 00000000..5a9a40da --- /dev/null +++ b/doc/api/a01380.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/scalar_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+
See also
Core features (dependence)
+ +

Definition in file gtx/scalar_relational.hpp.

+
+ + + + diff --git a/doc/api/a01380_source.html b/doc/api/a01380_source.html new file mode 100644 index 00000000..287fd452 --- /dev/null +++ b/doc/api/a01380_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/scalar_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_extend is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_extend extension included")
24 #endif
25 
26 namespace glm
27 {
30 
31 
32 
34 }//namespace glm
35 
36 #include "scalar_relational.inl"
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a00093.html b/doc/api/a01381.html similarity index 52% rename from doc/api/a00093.html rename to doc/api/a01381.html index 399315af..07563dd3 100644 --- a/doc/api/a00093.html +++ b/doc/api/a01381.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: scalar_relational.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
-
scalar_relational.hpp File Reference
+
gtx/scalar_relational.hpp File Reference
-

GLM_GTX_scalar_relational +

GLM_GTX_scalar_relational More...

-

Go to the source code of this file.

+

Go to the source code of this file.

Detailed Description

-

GLM_GTX_scalar_relational

-
See also
Core features (dependence)
+

GLM_GTX_scalar_relational

+
See also
Core features (dependence)
-

Definition in file scalar_relational.hpp.

+

Definition in file gtx/scalar_relational.hpp.

diff --git a/doc/api/a01381_source.html b/doc/api/a01381_source.html new file mode 100644 index 00000000..09783dbb --- /dev/null +++ b/doc/api/a01381_source.html @@ -0,0 +1,82 @@ + + + + + + + +0.9.9 API documenation: scalar_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/scalar_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependency:
16 #include "../glm.hpp"
17 
18 #ifndef GLM_ENABLE_EXPERIMENTAL
19 # error "GLM: GLM_GTX_extend is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
20 #endif
21 
22 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
23 # pragma message("GLM: GLM_GTX_extend extension included")
24 #endif
25 
26 namespace glm
27 {
30 
31 
32 
34 }//namespace glm
35 
36 #include "scalar_relational.inl"
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01382.html b/doc/api/a01382.html new file mode 100644 index 00000000..fb1165ab --- /dev/null +++ b/doc/api/a01382.html @@ -0,0 +1,1150 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/type_aligned.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef aligned_highp_bvec1 aligned_bvec1
 
+typedef aligned_highp_bvec2 aligned_bvec2
 
+typedef aligned_highp_bvec3 aligned_bvec3
 
+typedef aligned_highp_bvec4 aligned_bvec4
 
+typedef aligned_highp_dmat2 aligned_dmat2
 
+typedef aligned_highp_dmat2x2 aligned_dmat2x2
 
+typedef aligned_highp_dmat2x3 aligned_dmat2x3
 
+typedef aligned_highp_dmat2x4 aligned_dmat2x4
 
+typedef aligned_highp_dmat3 aligned_dmat3
 
+typedef aligned_highp_dmat3x2 aligned_dmat3x2
 
+typedef aligned_highp_dmat3x3 aligned_dmat3x3
 
+typedef aligned_highp_dmat3x4 aligned_dmat3x4
 
+typedef aligned_highp_dmat4 aligned_dmat4
 
+typedef aligned_highp_dmat4x2 aligned_dmat4x2
 
+typedef aligned_highp_dmat4x3 aligned_dmat4x3
 
+typedef aligned_highp_dmat4x4 aligned_dmat4x4
 
+typedef aligned_highp_dvec1 aligned_dvec1
 
+typedef aligned_highp_dvec2 aligned_dvec2
 
+typedef aligned_highp_dvec3 aligned_dvec3
 
+typedef aligned_highp_dvec4 aligned_dvec4
 
+typedef vec< 1, bool, aligned_highp > aligned_highp_bvec1
 
+typedef vec< 2, bool, aligned_highp > aligned_highp_bvec2
 
+typedef vec< 3, bool, aligned_highp > aligned_highp_bvec3
 
+typedef vec< 4, bool, aligned_highp > aligned_highp_bvec4
 
+typedef mat< 2, 2, double, aligned_highp > aligned_highp_dmat2
 
+typedef mat< 2, 2, double, aligned_highp > aligned_highp_dmat2x2
 
+typedef mat< 2, 3, double, aligned_highp > aligned_highp_dmat2x3
 
+typedef mat< 2, 4, double, aligned_highp > aligned_highp_dmat2x4
 
+typedef mat< 3, 3, double, aligned_highp > aligned_highp_dmat3
 
+typedef mat< 3, 2, double, aligned_highp > aligned_highp_dmat3x2
 
+typedef mat< 3, 3, double, aligned_highp > aligned_highp_dmat3x3
 
+typedef mat< 3, 4, double, aligned_highp > aligned_highp_dmat3x4
 
+typedef mat< 4, 4, double, aligned_highp > aligned_highp_dmat4
 
+typedef mat< 4, 2, double, aligned_highp > aligned_highp_dmat4x2
 
+typedef mat< 4, 3, double, aligned_highp > aligned_highp_dmat4x3
 
+typedef mat< 4, 4, double, aligned_highp > aligned_highp_dmat4x4
 
+typedef vec< 1, double, aligned_highp > aligned_highp_dvec1
 
+typedef vec< 2, double, aligned_highp > aligned_highp_dvec2
 
+typedef vec< 3, double, aligned_highp > aligned_highp_dvec3
 
+typedef vec< 4, double, aligned_highp > aligned_highp_dvec4
 
+typedef vec< 1, int, aligned_highp > aligned_highp_ivec1
 
+typedef vec< 2, int, aligned_highp > aligned_highp_ivec2
 
+typedef vec< 3, int, aligned_highp > aligned_highp_ivec3
 
+typedef vec< 4, int, aligned_highp > aligned_highp_ivec4
 
+typedef mat< 2, 2, float, aligned_highp > aligned_highp_mat2
 
+typedef mat< 2, 2, float, aligned_highp > aligned_highp_mat2x2
 
+typedef mat< 2, 3, float, aligned_highp > aligned_highp_mat2x3
 
+typedef mat< 2, 4, float, aligned_highp > aligned_highp_mat2x4
 
+typedef mat< 3, 3, float, aligned_highp > aligned_highp_mat3
 
+typedef mat< 3, 2, float, aligned_highp > aligned_highp_mat3x2
 
+typedef mat< 3, 3, float, aligned_highp > aligned_highp_mat3x3
 
+typedef mat< 3, 4, float, aligned_highp > aligned_highp_mat3x4
 
+typedef mat< 4, 4, float, aligned_highp > aligned_highp_mat4
 
+typedef mat< 4, 2, float, aligned_highp > aligned_highp_mat4x2
 
+typedef mat< 4, 3, float, aligned_highp > aligned_highp_mat4x3
 
+typedef mat< 4, 4, float, aligned_highp > aligned_highp_mat4x4
 
+typedef vec< 1, uint, aligned_highp > aligned_highp_uvec1
 
+typedef vec< 2, uint, aligned_highp > aligned_highp_uvec2
 
+typedef vec< 3, uint, aligned_highp > aligned_highp_uvec3
 
+typedef vec< 4, uint, aligned_highp > aligned_highp_uvec4
 
+typedef vec< 1, float, aligned_highp > aligned_highp_vec1
 
+typedef vec< 2, float, aligned_highp > aligned_highp_vec2
 
+typedef vec< 3, float, aligned_highp > aligned_highp_vec3
 
+typedef vec< 4, float, aligned_highp > aligned_highp_vec4
 
+typedef aligned_highp_ivec1 aligned_ivec1
 
+typedef aligned_highp_ivec2 aligned_ivec2
 
+typedef aligned_highp_ivec3 aligned_ivec3
 
+typedef aligned_highp_ivec4 aligned_ivec4
 
+typedef vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
 
+typedef vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
 
+typedef vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
 
+typedef vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
 
+typedef mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2
 
+typedef mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2x2
 
+typedef mat< 2, 3, double, aligned_lowp > aligned_lowp_dmat2x3
 
+typedef mat< 2, 4, double, aligned_lowp > aligned_lowp_dmat2x4
 
+typedef mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3
 
+typedef mat< 3, 2, double, aligned_lowp > aligned_lowp_dmat3x2
 
+typedef mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3x3
 
+typedef mat< 3, 4, double, aligned_lowp > aligned_lowp_dmat3x4
 
+typedef mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4
 
+typedef mat< 4, 2, double, aligned_lowp > aligned_lowp_dmat4x2
 
+typedef mat< 4, 3, double, aligned_lowp > aligned_lowp_dmat4x3
 
+typedef mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4x4
 
+typedef vec< 1, double, aligned_lowp > aligned_lowp_dvec1
 
+typedef vec< 2, double, aligned_lowp > aligned_lowp_dvec2
 
+typedef vec< 3, double, aligned_lowp > aligned_lowp_dvec3
 
+typedef vec< 4, double, aligned_lowp > aligned_lowp_dvec4
 
+typedef vec< 1, int, aligned_lowp > aligned_lowp_ivec1
 
+typedef vec< 2, int, aligned_lowp > aligned_lowp_ivec2
 
+typedef vec< 3, int, aligned_lowp > aligned_lowp_ivec3
 
+typedef vec< 4, int, aligned_lowp > aligned_lowp_ivec4
 
+typedef mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2
 
+typedef mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2x2
 
+typedef mat< 2, 3, float, aligned_lowp > aligned_lowp_mat2x3
 
+typedef mat< 2, 4, float, aligned_lowp > aligned_lowp_mat2x4
 
+typedef mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3
 
+typedef mat< 3, 2, float, aligned_lowp > aligned_lowp_mat3x2
 
+typedef mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3x3
 
+typedef mat< 3, 4, float, aligned_lowp > aligned_lowp_mat3x4
 
+typedef mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4
 
+typedef mat< 4, 2, float, aligned_lowp > aligned_lowp_mat4x2
 
+typedef mat< 4, 3, float, aligned_lowp > aligned_lowp_mat4x3
 
+typedef mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4x4
 
+typedef vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
 
+typedef vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
 
+typedef vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
 
+typedef vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
 
+typedef vec< 1, float, aligned_lowp > aligned_lowp_vec1
 
+typedef vec< 2, float, aligned_lowp > aligned_lowp_vec2
 
+typedef vec< 3, float, aligned_lowp > aligned_lowp_vec3
 
+typedef vec< 4, float, aligned_lowp > aligned_lowp_vec4
 
+typedef aligned_highp_mat2 aligned_mat2
 
+typedef aligned_highp_mat2x2 aligned_mat2x2
 
+typedef aligned_highp_mat2x3 aligned_mat2x3
 
+typedef aligned_highp_mat2x4 aligned_mat2x4
 
+typedef aligned_highp_mat3 aligned_mat3
 
+typedef aligned_highp_mat3x2 aligned_mat3x2
 
+typedef aligned_highp_mat3x3 aligned_mat3x3
 
+typedef aligned_highp_mat3x4 aligned_mat3x4
 
+typedef aligned_highp_mat4 aligned_mat4
 
+typedef aligned_highp_mat4x2 aligned_mat4x2
 
+typedef aligned_highp_mat4x3 aligned_mat4x3
 
+typedef aligned_highp_mat4x4 aligned_mat4x4
 
+typedef vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
 
+typedef vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
 
+typedef vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
 
+typedef vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
 
+typedef mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2
 
+typedef mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2x2
 
+typedef mat< 2, 3, double, aligned_mediump > aligned_mediump_dmat2x3
 
+typedef mat< 2, 4, double, aligned_mediump > aligned_mediump_dmat2x4
 
+typedef mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3
 
+typedef mat< 3, 2, double, aligned_mediump > aligned_mediump_dmat3x2
 
+typedef mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3x3
 
+typedef mat< 3, 4, double, aligned_mediump > aligned_mediump_dmat3x4
 
+typedef mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4
 
+typedef mat< 4, 2, double, aligned_mediump > aligned_mediump_dmat4x2
 
+typedef mat< 4, 3, double, aligned_mediump > aligned_mediump_dmat4x3
 
+typedef mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4x4
 
+typedef vec< 1, double, aligned_mediump > aligned_mediump_dvec1
 
+typedef vec< 2, double, aligned_mediump > aligned_mediump_dvec2
 
+typedef vec< 3, double, aligned_mediump > aligned_mediump_dvec3
 
+typedef vec< 4, double, aligned_mediump > aligned_mediump_dvec4
 
+typedef vec< 1, int, aligned_mediump > aligned_mediump_ivec1
 
+typedef vec< 2, int, aligned_mediump > aligned_mediump_ivec2
 
+typedef vec< 3, int, aligned_mediump > aligned_mediump_ivec3
 
+typedef vec< 4, int, aligned_mediump > aligned_mediump_ivec4
 
+typedef mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2
 
+typedef mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2x2
 
+typedef mat< 2, 3, float, aligned_mediump > aligned_mediump_mat2x3
 
+typedef mat< 2, 4, float, aligned_mediump > aligned_mediump_mat2x4
 
+typedef mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3
 
+typedef mat< 3, 2, float, aligned_mediump > aligned_mediump_mat3x2
 
+typedef mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3x3
 
+typedef mat< 3, 4, float, aligned_mediump > aligned_mediump_mat3x4
 
+typedef mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4
 
+typedef mat< 4, 2, float, aligned_mediump > aligned_mediump_mat4x2
 
+typedef mat< 4, 3, float, aligned_mediump > aligned_mediump_mat4x3
 
+typedef mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4x4
 
+typedef vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
 
+typedef vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
 
+typedef vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
 
+typedef vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
 
+typedef vec< 1, float, aligned_mediump > aligned_mediump_vec1
 
+typedef vec< 2, float, aligned_mediump > aligned_mediump_vec2
 
+typedef vec< 3, float, aligned_mediump > aligned_mediump_vec3
 
+typedef vec< 4, float, aligned_mediump > aligned_mediump_vec4
 
+typedef aligned_highp_uvec1 aligned_uvec1
 
+typedef aligned_highp_uvec2 aligned_uvec2
 
+typedef aligned_highp_uvec3 aligned_uvec3
 
+typedef aligned_highp_uvec4 aligned_uvec4
 
+typedef aligned_highp_vec1 aligned_vec1
 
+typedef aligned_highp_vec2 aligned_vec2
 
+typedef aligned_highp_vec3 aligned_vec3
 
+typedef aligned_highp_vec4 aligned_vec4
 
+typedef packed_highp_bvec1 packed_bvec1
 
+typedef packed_highp_bvec2 packed_bvec2
 
+typedef packed_highp_bvec3 packed_bvec3
 
+typedef packed_highp_bvec4 packed_bvec4
 
+typedef packed_highp_dmat2 packed_dmat2
 
+typedef packed_highp_dmat2x2 packed_dmat2x2
 
+typedef packed_highp_dmat2x3 packed_dmat2x3
 
+typedef packed_highp_dmat2x4 packed_dmat2x4
 
+typedef packed_highp_dmat3 packed_dmat3
 
+typedef packed_highp_dmat3x2 packed_dmat3x2
 
+typedef packed_highp_dmat3x3 packed_dmat3x3
 
+typedef packed_highp_dmat3x4 packed_dmat3x4
 
+typedef packed_highp_dmat4 packed_dmat4
 
+typedef packed_highp_dmat4x2 packed_dmat4x2
 
+typedef packed_highp_dmat4x3 packed_dmat4x3
 
+typedef packed_highp_dmat4x4 packed_dmat4x4
 
+typedef packed_highp_dvec1 packed_dvec1
 
+typedef packed_highp_dvec2 packed_dvec2
 
+typedef packed_highp_dvec3 packed_dvec3
 
+typedef packed_highp_dvec4 packed_dvec4
 
+typedef vec< 1, bool, packed_highp > packed_highp_bvec1
 
+typedef vec< 2, bool, packed_highp > packed_highp_bvec2
 
+typedef vec< 3, bool, packed_highp > packed_highp_bvec3
 
+typedef vec< 4, bool, packed_highp > packed_highp_bvec4
 
+typedef mat< 2, 2, double, packed_highp > packed_highp_dmat2
 
+typedef mat< 2, 2, double, packed_highp > packed_highp_dmat2x2
 
+typedef mat< 2, 3, double, packed_highp > packed_highp_dmat2x3
 
+typedef mat< 2, 4, double, packed_highp > packed_highp_dmat2x4
 
+typedef mat< 3, 3, double, packed_highp > packed_highp_dmat3
 
+typedef mat< 3, 2, double, packed_highp > packed_highp_dmat3x2
 
+typedef mat< 3, 3, double, packed_highp > packed_highp_dmat3x3
 
+typedef mat< 3, 4, double, packed_highp > packed_highp_dmat3x4
 
+typedef mat< 4, 4, double, packed_highp > packed_highp_dmat4
 
+typedef mat< 4, 2, double, packed_highp > packed_highp_dmat4x2
 
+typedef mat< 4, 3, double, packed_highp > packed_highp_dmat4x3
 
+typedef mat< 4, 4, double, packed_highp > packed_highp_dmat4x4
 
+typedef vec< 1, double, packed_highp > packed_highp_dvec1
 
+typedef vec< 2, double, packed_highp > packed_highp_dvec2
 
+typedef vec< 3, double, packed_highp > packed_highp_dvec3
 
+typedef vec< 4, double, packed_highp > packed_highp_dvec4
 
+typedef vec< 1, int, packed_highp > packed_highp_ivec1
 
+typedef vec< 2, int, packed_highp > packed_highp_ivec2
 
+typedef vec< 3, int, packed_highp > packed_highp_ivec3
 
+typedef vec< 4, int, packed_highp > packed_highp_ivec4
 
+typedef mat< 2, 2, float, packed_highp > packed_highp_mat2
 
+typedef mat< 2, 2, float, packed_highp > packed_highp_mat2x2
 
+typedef mat< 2, 3, float, packed_highp > packed_highp_mat2x3
 
+typedef mat< 2, 4, float, packed_highp > packed_highp_mat2x4
 
+typedef mat< 3, 3, float, packed_highp > packed_highp_mat3
 
+typedef mat< 3, 2, float, packed_highp > packed_highp_mat3x2
 
+typedef mat< 3, 3, float, packed_highp > packed_highp_mat3x3
 
+typedef mat< 3, 4, float, packed_highp > packed_highp_mat3x4
 
+typedef mat< 4, 4, float, packed_highp > packed_highp_mat4
 
+typedef mat< 4, 2, float, packed_highp > packed_highp_mat4x2
 
+typedef mat< 4, 3, float, packed_highp > packed_highp_mat4x3
 
+typedef mat< 4, 4, float, packed_highp > packed_highp_mat4x4
 
+typedef vec< 1, uint, packed_highp > packed_highp_uvec1
 
+typedef vec< 2, uint, packed_highp > packed_highp_uvec2
 
+typedef vec< 3, uint, packed_highp > packed_highp_uvec3
 
+typedef vec< 4, uint, packed_highp > packed_highp_uvec4
 
+typedef vec< 1, float, packed_highp > packed_highp_vec1
 
+typedef vec< 2, float, packed_highp > packed_highp_vec2
 
+typedef vec< 3, float, packed_highp > packed_highp_vec3
 
+typedef vec< 4, float, packed_highp > packed_highp_vec4
 
+typedef packed_highp_ivec1 packed_ivec1
 
+typedef packed_highp_ivec2 packed_ivec2
 
+typedef packed_highp_ivec3 packed_ivec3
 
+typedef packed_highp_ivec4 packed_ivec4
 
+typedef vec< 1, bool, packed_lowp > packed_lowp_bvec1
 
+typedef vec< 2, bool, packed_lowp > packed_lowp_bvec2
 
+typedef vec< 3, bool, packed_lowp > packed_lowp_bvec3
 
+typedef vec< 4, bool, packed_lowp > packed_lowp_bvec4
 
+typedef mat< 2, 2, double, packed_lowp > packed_lowp_dmat2
 
+typedef mat< 2, 2, double, packed_lowp > packed_lowp_dmat2x2
 
+typedef mat< 2, 3, double, packed_lowp > packed_lowp_dmat2x3
 
+typedef mat< 2, 4, double, packed_lowp > packed_lowp_dmat2x4
 
+typedef mat< 3, 3, double, packed_lowp > packed_lowp_dmat3
 
+typedef mat< 3, 2, double, packed_lowp > packed_lowp_dmat3x2
 
+typedef mat< 3, 3, double, packed_lowp > packed_lowp_dmat3x3
 
+typedef mat< 3, 4, double, packed_lowp > packed_lowp_dmat3x4
 
+typedef mat< 4, 4, double, packed_lowp > packed_lowp_dmat4
 
+typedef mat< 4, 2, double, packed_lowp > packed_lowp_dmat4x2
 
+typedef mat< 4, 3, double, packed_lowp > packed_lowp_dmat4x3
 
+typedef mat< 4, 4, double, packed_lowp > packed_lowp_dmat4x4
 
+typedef vec< 1, double, packed_lowp > packed_lowp_dvec1
 
+typedef vec< 2, double, packed_lowp > packed_lowp_dvec2
 
+typedef vec< 3, double, packed_lowp > packed_lowp_dvec3
 
+typedef vec< 4, double, packed_lowp > packed_lowp_dvec4
 
+typedef vec< 1, int, packed_lowp > packed_lowp_ivec1
 
+typedef vec< 2, int, packed_lowp > packed_lowp_ivec2
 
+typedef vec< 3, int, packed_lowp > packed_lowp_ivec3
 
+typedef vec< 4, int, packed_lowp > packed_lowp_ivec4
 
+typedef mat< 2, 2, float, packed_lowp > packed_lowp_mat2
 
+typedef mat< 2, 2, float, packed_lowp > packed_lowp_mat2x2
 
+typedef mat< 2, 3, float, packed_lowp > packed_lowp_mat2x3
 
+typedef mat< 2, 4, float, packed_lowp > packed_lowp_mat2x4
 
+typedef mat< 3, 3, float, packed_lowp > packed_lowp_mat3
 
+typedef mat< 3, 2, float, packed_lowp > packed_lowp_mat3x2
 
+typedef mat< 3, 3, float, packed_lowp > packed_lowp_mat3x3
 
+typedef mat< 3, 4, float, packed_lowp > packed_lowp_mat3x4
 
+typedef mat< 4, 4, float, packed_lowp > packed_lowp_mat4
 
+typedef mat< 4, 2, float, packed_lowp > packed_lowp_mat4x2
 
+typedef mat< 4, 3, float, packed_lowp > packed_lowp_mat4x3
 
+typedef mat< 4, 4, float, packed_lowp > packed_lowp_mat4x4
 
+typedef vec< 1, uint, packed_lowp > packed_lowp_uvec1
 
+typedef vec< 2, uint, packed_lowp > packed_lowp_uvec2
 
+typedef vec< 3, uint, packed_lowp > packed_lowp_uvec3
 
+typedef vec< 4, uint, packed_lowp > packed_lowp_uvec4
 
+typedef vec< 1, float, packed_lowp > packed_lowp_vec1
 
+typedef vec< 2, float, packed_lowp > packed_lowp_vec2
 
+typedef vec< 3, float, packed_lowp > packed_lowp_vec3
 
+typedef vec< 4, float, packed_lowp > packed_lowp_vec4
 
+typedef packed_highp_mat2 packed_mat2
 
+typedef packed_highp_mat2x2 packed_mat2x2
 
+typedef packed_highp_mat2x3 packed_mat2x3
 
+typedef packed_highp_mat2x4 packed_mat2x4
 
+typedef packed_highp_mat3 packed_mat3
 
+typedef packed_highp_mat3x2 packed_mat3x2
 
+typedef packed_highp_mat3x3 packed_mat3x3
 
+typedef packed_highp_mat3x4 packed_mat3x4
 
+typedef packed_highp_mat4 packed_mat4
 
+typedef packed_highp_mat4x2 packed_mat4x2
 
+typedef packed_highp_mat4x3 packed_mat4x3
 
+typedef packed_highp_mat4x4 packed_mat4x4
 
+typedef vec< 1, bool, packed_mediump > packed_mediump_bvec1
 
+typedef vec< 2, bool, packed_mediump > packed_mediump_bvec2
 
+typedef vec< 3, bool, packed_mediump > packed_mediump_bvec3
 
+typedef vec< 4, bool, packed_mediump > packed_mediump_bvec4
 
+typedef mat< 2, 2, double, packed_mediump > packed_mediump_dmat2
 
+typedef mat< 2, 2, double, packed_mediump > packed_mediump_dmat2x2
 
+typedef mat< 2, 3, double, packed_mediump > packed_mediump_dmat2x3
 
+typedef mat< 2, 4, double, packed_mediump > packed_mediump_dmat2x4
 
+typedef mat< 3, 3, double, packed_mediump > packed_mediump_dmat3
 
+typedef mat< 3, 2, double, packed_mediump > packed_mediump_dmat3x2
 
+typedef mat< 3, 3, double, packed_mediump > packed_mediump_dmat3x3
 
+typedef mat< 3, 4, double, packed_mediump > packed_mediump_dmat3x4
 
+typedef mat< 4, 4, double, packed_mediump > packed_mediump_dmat4
 
+typedef mat< 4, 2, double, packed_mediump > packed_mediump_dmat4x2
 
+typedef mat< 4, 3, double, packed_mediump > packed_mediump_dmat4x3
 
+typedef mat< 4, 4, double, packed_mediump > packed_mediump_dmat4x4
 
+typedef vec< 1, double, packed_mediump > packed_mediump_dvec1
 
+typedef vec< 2, double, packed_mediump > packed_mediump_dvec2
 
+typedef vec< 3, double, packed_mediump > packed_mediump_dvec3
 
+typedef vec< 4, double, packed_mediump > packed_mediump_dvec4
 
+typedef vec< 1, int, packed_mediump > packed_mediump_ivec1
 
+typedef vec< 2, int, packed_mediump > packed_mediump_ivec2
 
+typedef vec< 3, int, packed_mediump > packed_mediump_ivec3
 
+typedef vec< 4, int, packed_mediump > packed_mediump_ivec4
 
+typedef mat< 2, 2, float, packed_mediump > packed_mediump_mat2
 
+typedef mat< 2, 2, float, packed_mediump > packed_mediump_mat2x2
 
+typedef mat< 2, 3, float, packed_mediump > packed_mediump_mat2x3
 
+typedef mat< 2, 4, float, packed_mediump > packed_mediump_mat2x4
 
+typedef mat< 3, 3, float, packed_mediump > packed_mediump_mat3
 
+typedef mat< 3, 2, float, packed_mediump > packed_mediump_mat3x2
 
+typedef mat< 3, 3, float, packed_mediump > packed_mediump_mat3x3
 
+typedef mat< 3, 4, float, packed_mediump > packed_mediump_mat3x4
 
+typedef mat< 4, 4, float, packed_mediump > packed_mediump_mat4
 
+typedef mat< 4, 2, float, packed_mediump > packed_mediump_mat4x2
 
+typedef mat< 4, 3, float, packed_mediump > packed_mediump_mat4x3
 
+typedef mat< 4, 4, float, packed_mediump > packed_mediump_mat4x4
 
+typedef vec< 1, uint, packed_mediump > packed_mediump_uvec1
 
+typedef vec< 2, uint, packed_mediump > packed_mediump_uvec2
 
+typedef vec< 3, uint, packed_mediump > packed_mediump_uvec3
 
+typedef vec< 4, uint, packed_mediump > packed_mediump_uvec4
 
+typedef vec< 1, float, packed_mediump > packed_mediump_vec1
 
+typedef vec< 2, float, packed_mediump > packed_mediump_vec2
 
+typedef vec< 3, float, packed_mediump > packed_mediump_vec3
 
+typedef vec< 4, float, packed_mediump > packed_mediump_vec4
 
+typedef packed_highp_uvec1 packed_uvec1
 
+typedef packed_highp_uvec2 packed_uvec2
 
+typedef packed_highp_uvec3 packed_uvec3
 
+typedef packed_highp_uvec4 packed_uvec4
 
+typedef packed_highp_vec1 packed_vec1
 
+typedef packed_highp_vec2 packed_vec2
 
+typedef packed_highp_vec3 packed_vec3
 
+typedef packed_highp_vec4 packed_vec4
 
+

Detailed Description

+

GLM_GTC_type_aligned

+
See also
Core features (dependence)
+ +

Definition in file gtc/type_aligned.hpp.

+
+ + + + diff --git a/doc/api/a01382_source.html b/doc/api/a01382_source.html new file mode 100644 index 00000000..4d1b679f --- /dev/null +++ b/doc/api/a01382_source.html @@ -0,0 +1,434 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/type_aligned.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #if !GLM_CONFIG_ANONYMOUS_STRUCT
16 # error "GLM: Aligned gentypes require to enable C++ language extensions."
17 #endif
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_type_aligned extension included")
21 #endif
22 
23 #include "../mat4x4.hpp"
24 #include "../mat4x3.hpp"
25 #include "../mat4x2.hpp"
26 #include "../mat3x4.hpp"
27 #include "../mat3x3.hpp"
28 #include "../mat3x2.hpp"
29 #include "../mat2x4.hpp"
30 #include "../mat2x3.hpp"
31 #include "../mat2x2.hpp"
32 #include "../gtc/vec1.hpp"
33 #include "../vec2.hpp"
34 #include "../vec3.hpp"
35 #include "../vec4.hpp"
36 
37 namespace glm
38 {
41 
42  // -- *vec1 --
43 
45  typedef vec<1, float, aligned_highp> aligned_highp_vec1;
46 
48  typedef vec<1, float, aligned_mediump> aligned_mediump_vec1;
49 
51  typedef vec<1, float, aligned_lowp> aligned_lowp_vec1;
52 
54  typedef vec<1, double, aligned_highp> aligned_highp_dvec1;
55 
57  typedef vec<1, double, aligned_mediump> aligned_mediump_dvec1;
58 
60  typedef vec<1, double, aligned_lowp> aligned_lowp_dvec1;
61 
63  typedef vec<1, int, aligned_highp> aligned_highp_ivec1;
64 
66  typedef vec<1, int, aligned_mediump> aligned_mediump_ivec1;
67 
69  typedef vec<1, int, aligned_lowp> aligned_lowp_ivec1;
70 
72  typedef vec<1, uint, aligned_highp> aligned_highp_uvec1;
73 
75  typedef vec<1, uint, aligned_mediump> aligned_mediump_uvec1;
76 
78  typedef vec<1, uint, aligned_lowp> aligned_lowp_uvec1;
79 
81  typedef vec<1, bool, aligned_highp> aligned_highp_bvec1;
82 
84  typedef vec<1, bool, aligned_mediump> aligned_mediump_bvec1;
85 
87  typedef vec<1, bool, aligned_lowp> aligned_lowp_bvec1;
88 
90  typedef vec<1, float, packed_highp> packed_highp_vec1;
91 
93  typedef vec<1, float, packed_mediump> packed_mediump_vec1;
94 
96  typedef vec<1, float, packed_lowp> packed_lowp_vec1;
97 
99  typedef vec<1, double, packed_highp> packed_highp_dvec1;
100 
102  typedef vec<1, double, packed_mediump> packed_mediump_dvec1;
103 
105  typedef vec<1, double, packed_lowp> packed_lowp_dvec1;
106 
108  typedef vec<1, int, packed_highp> packed_highp_ivec1;
109 
111  typedef vec<1, int, packed_mediump> packed_mediump_ivec1;
112 
114  typedef vec<1, int, packed_lowp> packed_lowp_ivec1;
115 
117  typedef vec<1, uint, packed_highp> packed_highp_uvec1;
118 
120  typedef vec<1, uint, packed_mediump> packed_mediump_uvec1;
121 
123  typedef vec<1, uint, packed_lowp> packed_lowp_uvec1;
124 
126  typedef vec<1, bool, packed_highp> packed_highp_bvec1;
127 
129  typedef vec<1, bool, packed_mediump> packed_mediump_bvec1;
130 
132  typedef vec<1, bool, packed_lowp> packed_lowp_bvec1;
133 
134  // -- *vec2 --
135 
137  typedef vec<2, float, aligned_highp> aligned_highp_vec2;
138 
140  typedef vec<2, float, aligned_mediump> aligned_mediump_vec2;
141 
143  typedef vec<2, float, aligned_lowp> aligned_lowp_vec2;
144 
146  typedef vec<2, double, aligned_highp> aligned_highp_dvec2;
147 
149  typedef vec<2, double, aligned_mediump> aligned_mediump_dvec2;
150 
152  typedef vec<2, double, aligned_lowp> aligned_lowp_dvec2;
153 
155  typedef vec<2, int, aligned_highp> aligned_highp_ivec2;
156 
158  typedef vec<2, int, aligned_mediump> aligned_mediump_ivec2;
159 
161  typedef vec<2, int, aligned_lowp> aligned_lowp_ivec2;
162 
164  typedef vec<2, uint, aligned_highp> aligned_highp_uvec2;
165 
167  typedef vec<2, uint, aligned_mediump> aligned_mediump_uvec2;
168 
170  typedef vec<2, uint, aligned_lowp> aligned_lowp_uvec2;
171 
173  typedef vec<2, bool, aligned_highp> aligned_highp_bvec2;
174 
176  typedef vec<2, bool, aligned_mediump> aligned_mediump_bvec2;
177 
179  typedef vec<2, bool, aligned_lowp> aligned_lowp_bvec2;
180 
182  typedef vec<2, float, packed_highp> packed_highp_vec2;
183 
185  typedef vec<2, float, packed_mediump> packed_mediump_vec2;
186 
188  typedef vec<2, float, packed_lowp> packed_lowp_vec2;
189 
191  typedef vec<2, double, packed_highp> packed_highp_dvec2;
192 
194  typedef vec<2, double, packed_mediump> packed_mediump_dvec2;
195 
197  typedef vec<2, double, packed_lowp> packed_lowp_dvec2;
198 
200  typedef vec<2, int, packed_highp> packed_highp_ivec2;
201 
203  typedef vec<2, int, packed_mediump> packed_mediump_ivec2;
204 
206  typedef vec<2, int, packed_lowp> packed_lowp_ivec2;
207 
209  typedef vec<2, uint, packed_highp> packed_highp_uvec2;
210 
212  typedef vec<2, uint, packed_mediump> packed_mediump_uvec2;
213 
215  typedef vec<2, uint, packed_lowp> packed_lowp_uvec2;
216 
218  typedef vec<2, bool, packed_highp> packed_highp_bvec2;
219 
221  typedef vec<2, bool, packed_mediump> packed_mediump_bvec2;
222 
224  typedef vec<2, bool, packed_lowp> packed_lowp_bvec2;
225 
226  // -- *vec3 --
227 
229  typedef vec<3, float, aligned_highp> aligned_highp_vec3;
230 
232  typedef vec<3, float, aligned_mediump> aligned_mediump_vec3;
233 
235  typedef vec<3, float, aligned_lowp> aligned_lowp_vec3;
236 
238  typedef vec<3, double, aligned_highp> aligned_highp_dvec3;
239 
241  typedef vec<3, double, aligned_mediump> aligned_mediump_dvec3;
242 
244  typedef vec<3, double, aligned_lowp> aligned_lowp_dvec3;
245 
247  typedef vec<3, int, aligned_highp> aligned_highp_ivec3;
248 
250  typedef vec<3, int, aligned_mediump> aligned_mediump_ivec3;
251 
253  typedef vec<3, int, aligned_lowp> aligned_lowp_ivec3;
254 
256  typedef vec<3, uint, aligned_highp> aligned_highp_uvec3;
257 
259  typedef vec<3, uint, aligned_mediump> aligned_mediump_uvec3;
260 
262  typedef vec<3, uint, aligned_lowp> aligned_lowp_uvec3;
263 
265  typedef vec<3, bool, aligned_highp> aligned_highp_bvec3;
266 
268  typedef vec<3, bool, aligned_mediump> aligned_mediump_bvec3;
269 
271  typedef vec<3, bool, aligned_lowp> aligned_lowp_bvec3;
272 
274  typedef vec<3, float, packed_highp> packed_highp_vec3;
275 
277  typedef vec<3, float, packed_mediump> packed_mediump_vec3;
278 
280  typedef vec<3, float, packed_lowp> packed_lowp_vec3;
281 
283  typedef vec<3, double, packed_highp> packed_highp_dvec3;
284 
286  typedef vec<3, double, packed_mediump> packed_mediump_dvec3;
287 
289  typedef vec<3, double, packed_lowp> packed_lowp_dvec3;
290 
292  typedef vec<3, int, packed_highp> packed_highp_ivec3;
293 
295  typedef vec<3, int, packed_mediump> packed_mediump_ivec3;
296 
298  typedef vec<3, int, packed_lowp> packed_lowp_ivec3;
299 
301  typedef vec<3, uint, packed_highp> packed_highp_uvec3;
302 
304  typedef vec<3, uint, packed_mediump> packed_mediump_uvec3;
305 
307  typedef vec<3, uint, packed_lowp> packed_lowp_uvec3;
308 
310  typedef vec<3, bool, packed_highp> packed_highp_bvec3;
311 
313  typedef vec<3, bool, packed_mediump> packed_mediump_bvec3;
314 
316  typedef vec<3, bool, packed_lowp> packed_lowp_bvec3;
317 
318  // -- *vec4 --
319 
321  typedef vec<4, float, aligned_highp> aligned_highp_vec4;
322 
324  typedef vec<4, float, aligned_mediump> aligned_mediump_vec4;
325 
327  typedef vec<4, float, aligned_lowp> aligned_lowp_vec4;
328 
330  typedef vec<4, double, aligned_highp> aligned_highp_dvec4;
331 
333  typedef vec<4, double, aligned_mediump> aligned_mediump_dvec4;
334 
336  typedef vec<4, double, aligned_lowp> aligned_lowp_dvec4;
337 
339  typedef vec<4, int, aligned_highp> aligned_highp_ivec4;
340 
342  typedef vec<4, int, aligned_mediump> aligned_mediump_ivec4;
343 
345  typedef vec<4, int, aligned_lowp> aligned_lowp_ivec4;
346 
348  typedef vec<4, uint, aligned_highp> aligned_highp_uvec4;
349 
351  typedef vec<4, uint, aligned_mediump> aligned_mediump_uvec4;
352 
354  typedef vec<4, uint, aligned_lowp> aligned_lowp_uvec4;
355 
357  typedef vec<4, bool, aligned_highp> aligned_highp_bvec4;
358 
360  typedef vec<4, bool, aligned_mediump> aligned_mediump_bvec4;
361 
363  typedef vec<4, bool, aligned_lowp> aligned_lowp_bvec4;
364 
366  typedef vec<4, float, packed_highp> packed_highp_vec4;
367 
369  typedef vec<4, float, packed_mediump> packed_mediump_vec4;
370 
372  typedef vec<4, float, packed_lowp> packed_lowp_vec4;
373 
375  typedef vec<4, double, packed_highp> packed_highp_dvec4;
376 
378  typedef vec<4, double, packed_mediump> packed_mediump_dvec4;
379 
381  typedef vec<4, double, packed_lowp> packed_lowp_dvec4;
382 
384  typedef vec<4, int, packed_highp> packed_highp_ivec4;
385 
387  typedef vec<4, int, packed_mediump> packed_mediump_ivec4;
388 
390  typedef vec<4, int, packed_lowp> packed_lowp_ivec4;
391 
393  typedef vec<4, uint, packed_highp> packed_highp_uvec4;
394 
396  typedef vec<4, uint, packed_mediump> packed_mediump_uvec4;
397 
399  typedef vec<4, uint, packed_lowp> packed_lowp_uvec4;
400 
402  typedef vec<4, bool, packed_highp> packed_highp_bvec4;
403 
405  typedef vec<4, bool, packed_mediump> packed_mediump_bvec4;
406 
408  typedef vec<4, bool, packed_lowp> packed_lowp_bvec4;
409 
410  // -- *mat2 --
411 
413  typedef mat<2, 2, float, aligned_highp> aligned_highp_mat2;
414 
416  typedef mat<2, 2, float, aligned_mediump> aligned_mediump_mat2;
417 
419  typedef mat<2, 2, float, aligned_lowp> aligned_lowp_mat2;
420 
422  typedef mat<2, 2, double, aligned_highp> aligned_highp_dmat2;
423 
425  typedef mat<2, 2, double, aligned_mediump> aligned_mediump_dmat2;
426 
428  typedef mat<2, 2, double, aligned_lowp> aligned_lowp_dmat2;
429 
431  typedef mat<2, 2, float, packed_highp> packed_highp_mat2;
432 
434  typedef mat<2, 2, float, packed_mediump> packed_mediump_mat2;
435 
437  typedef mat<2, 2, float, packed_lowp> packed_lowp_mat2;
438 
440  typedef mat<2, 2, double, packed_highp> packed_highp_dmat2;
441 
443  typedef mat<2, 2, double, packed_mediump> packed_mediump_dmat2;
444 
446  typedef mat<2, 2, double, packed_lowp> packed_lowp_dmat2;
447 
448  // -- *mat3 --
449 
451  typedef mat<3, 3, float, aligned_highp> aligned_highp_mat3;
452 
454  typedef mat<3, 3, float, aligned_mediump> aligned_mediump_mat3;
455 
457  typedef mat<3, 3, float, aligned_lowp> aligned_lowp_mat3;
458 
460  typedef mat<3, 3, double, aligned_highp> aligned_highp_dmat3;
461 
463  typedef mat<3, 3, double, aligned_mediump> aligned_mediump_dmat3;
464 
466  typedef mat<3, 3, double, aligned_lowp> aligned_lowp_dmat3;
467 
469  typedef mat<3, 3, float, packed_highp> packed_highp_mat3;
470 
472  typedef mat<3, 3, float, packed_mediump> packed_mediump_mat3;
473 
475  typedef mat<3, 3, float, packed_lowp> packed_lowp_mat3;
476 
478  typedef mat<3, 3, double, packed_highp> packed_highp_dmat3;
479 
481  typedef mat<3, 3, double, packed_mediump> packed_mediump_dmat3;
482 
484  typedef mat<3, 3, double, packed_lowp> packed_lowp_dmat3;
485 
486  // -- *mat4 --
487 
489  typedef mat<4, 4, float, aligned_highp> aligned_highp_mat4;
490 
492  typedef mat<4, 4, float, aligned_mediump> aligned_mediump_mat4;
493 
495  typedef mat<4, 4, float, aligned_lowp> aligned_lowp_mat4;
496 
498  typedef mat<4, 4, double, aligned_highp> aligned_highp_dmat4;
499 
501  typedef mat<4, 4, double, aligned_mediump> aligned_mediump_dmat4;
502 
504  typedef mat<4, 4, double, aligned_lowp> aligned_lowp_dmat4;
505 
507  typedef mat<4, 4, float, packed_highp> packed_highp_mat4;
508 
510  typedef mat<4, 4, float, packed_mediump> packed_mediump_mat4;
511 
513  typedef mat<4, 4, float, packed_lowp> packed_lowp_mat4;
514 
516  typedef mat<4, 4, double, packed_highp> packed_highp_dmat4;
517 
519  typedef mat<4, 4, double, packed_mediump> packed_mediump_dmat4;
520 
522  typedef mat<4, 4, double, packed_lowp> packed_lowp_dmat4;
523 
524  // -- *mat2x2 --
525 
527  typedef mat<2, 2, float, aligned_highp> aligned_highp_mat2x2;
528 
530  typedef mat<2, 2, float, aligned_mediump> aligned_mediump_mat2x2;
531 
533  typedef mat<2, 2, float, aligned_lowp> aligned_lowp_mat2x2;
534 
536  typedef mat<2, 2, double, aligned_highp> aligned_highp_dmat2x2;
537 
539  typedef mat<2, 2, double, aligned_mediump> aligned_mediump_dmat2x2;
540 
542  typedef mat<2, 2, double, aligned_lowp> aligned_lowp_dmat2x2;
543 
545  typedef mat<2, 2, float, packed_highp> packed_highp_mat2x2;
546 
548  typedef mat<2, 2, float, packed_mediump> packed_mediump_mat2x2;
549 
551  typedef mat<2, 2, float, packed_lowp> packed_lowp_mat2x2;
552 
554  typedef mat<2, 2, double, packed_highp> packed_highp_dmat2x2;
555 
557  typedef mat<2, 2, double, packed_mediump> packed_mediump_dmat2x2;
558 
560  typedef mat<2, 2, double, packed_lowp> packed_lowp_dmat2x2;
561 
562  // -- *mat2x3 --
563 
565  typedef mat<2, 3, float, aligned_highp> aligned_highp_mat2x3;
566 
568  typedef mat<2, 3, float, aligned_mediump> aligned_mediump_mat2x3;
569 
571  typedef mat<2, 3, float, aligned_lowp> aligned_lowp_mat2x3;
572 
574  typedef mat<2, 3, double, aligned_highp> aligned_highp_dmat2x3;
575 
577  typedef mat<2, 3, double, aligned_mediump> aligned_mediump_dmat2x3;
578 
580  typedef mat<2, 3, double, aligned_lowp> aligned_lowp_dmat2x3;
581 
583  typedef mat<2, 3, float, packed_highp> packed_highp_mat2x3;
584 
586  typedef mat<2, 3, float, packed_mediump> packed_mediump_mat2x3;
587 
589  typedef mat<2, 3, float, packed_lowp> packed_lowp_mat2x3;
590 
592  typedef mat<2, 3, double, packed_highp> packed_highp_dmat2x3;
593 
595  typedef mat<2, 3, double, packed_mediump> packed_mediump_dmat2x3;
596 
598  typedef mat<2, 3, double, packed_lowp> packed_lowp_dmat2x3;
599 
600  // -- *mat2x4 --
601 
603  typedef mat<2, 4, float, aligned_highp> aligned_highp_mat2x4;
604 
606  typedef mat<2, 4, float, aligned_mediump> aligned_mediump_mat2x4;
607 
609  typedef mat<2, 4, float, aligned_lowp> aligned_lowp_mat2x4;
610 
612  typedef mat<2, 4, double, aligned_highp> aligned_highp_dmat2x4;
613 
615  typedef mat<2, 4, double, aligned_mediump> aligned_mediump_dmat2x4;
616 
618  typedef mat<2, 4, double, aligned_lowp> aligned_lowp_dmat2x4;
619 
621  typedef mat<2, 4, float, packed_highp> packed_highp_mat2x4;
622 
624  typedef mat<2, 4, float, packed_mediump> packed_mediump_mat2x4;
625 
627  typedef mat<2, 4, float, packed_lowp> packed_lowp_mat2x4;
628 
630  typedef mat<2, 4, double, packed_highp> packed_highp_dmat2x4;
631 
633  typedef mat<2, 4, double, packed_mediump> packed_mediump_dmat2x4;
634 
636  typedef mat<2, 4, double, packed_lowp> packed_lowp_dmat2x4;
637 
638  // -- *mat3x2 --
639 
641  typedef mat<3, 2, float, aligned_highp> aligned_highp_mat3x2;
642 
644  typedef mat<3, 2, float, aligned_mediump> aligned_mediump_mat3x2;
645 
647  typedef mat<3, 2, float, aligned_lowp> aligned_lowp_mat3x2;
648 
650  typedef mat<3, 2, double, aligned_highp> aligned_highp_dmat3x2;
651 
653  typedef mat<3, 2, double, aligned_mediump> aligned_mediump_dmat3x2;
654 
656  typedef mat<3, 2, double, aligned_lowp> aligned_lowp_dmat3x2;
657 
659  typedef mat<3, 2, float, packed_highp> packed_highp_mat3x2;
660 
662  typedef mat<3, 2, float, packed_mediump> packed_mediump_mat3x2;
663 
665  typedef mat<3, 2, float, packed_lowp> packed_lowp_mat3x2;
666 
668  typedef mat<3, 2, double, packed_highp> packed_highp_dmat3x2;
669 
671  typedef mat<3, 2, double, packed_mediump> packed_mediump_dmat3x2;
672 
674  typedef mat<3, 2, double, packed_lowp> packed_lowp_dmat3x2;
675 
676  // -- *mat3x3 --
677 
679  typedef mat<3, 3, float, aligned_highp> aligned_highp_mat3x3;
680 
682  typedef mat<3, 3, float, aligned_mediump> aligned_mediump_mat3x3;
683 
685  typedef mat<3, 3, float, aligned_lowp> aligned_lowp_mat3x3;
686 
688  typedef mat<3, 3, double, aligned_highp> aligned_highp_dmat3x3;
689 
691  typedef mat<3, 3, double, aligned_mediump> aligned_mediump_dmat3x3;
692 
694  typedef mat<3, 3, double, aligned_lowp> aligned_lowp_dmat3x3;
695 
697  typedef mat<3, 3, float, packed_highp> packed_highp_mat3x3;
698 
700  typedef mat<3, 3, float, packed_mediump> packed_mediump_mat3x3;
701 
703  typedef mat<3, 3, float, packed_lowp> packed_lowp_mat3x3;
704 
706  typedef mat<3, 3, double, packed_highp> packed_highp_dmat3x3;
707 
709  typedef mat<3, 3, double, packed_mediump> packed_mediump_dmat3x3;
710 
712  typedef mat<3, 3, double, packed_lowp> packed_lowp_dmat3x3;
713 
714  // -- *mat3x4 --
715 
717  typedef mat<3, 4, float, aligned_highp> aligned_highp_mat3x4;
718 
720  typedef mat<3, 4, float, aligned_mediump> aligned_mediump_mat3x4;
721 
723  typedef mat<3, 4, float, aligned_lowp> aligned_lowp_mat3x4;
724 
726  typedef mat<3, 4, double, aligned_highp> aligned_highp_dmat3x4;
727 
729  typedef mat<3, 4, double, aligned_mediump> aligned_mediump_dmat3x4;
730 
732  typedef mat<3, 4, double, aligned_lowp> aligned_lowp_dmat3x4;
733 
735  typedef mat<3, 4, float, packed_highp> packed_highp_mat3x4;
736 
738  typedef mat<3, 4, float, packed_mediump> packed_mediump_mat3x4;
739 
741  typedef mat<3, 4, float, packed_lowp> packed_lowp_mat3x4;
742 
744  typedef mat<3, 4, double, packed_highp> packed_highp_dmat3x4;
745 
747  typedef mat<3, 4, double, packed_mediump> packed_mediump_dmat3x4;
748 
750  typedef mat<3, 4, double, packed_lowp> packed_lowp_dmat3x4;
751 
752  // -- *mat4x2 --
753 
755  typedef mat<4, 2, float, aligned_highp> aligned_highp_mat4x2;
756 
758  typedef mat<4, 2, float, aligned_mediump> aligned_mediump_mat4x2;
759 
761  typedef mat<4, 2, float, aligned_lowp> aligned_lowp_mat4x2;
762 
764  typedef mat<4, 2, double, aligned_highp> aligned_highp_dmat4x2;
765 
767  typedef mat<4, 2, double, aligned_mediump> aligned_mediump_dmat4x2;
768 
770  typedef mat<4, 2, double, aligned_lowp> aligned_lowp_dmat4x2;
771 
773  typedef mat<4, 2, float, packed_highp> packed_highp_mat4x2;
774 
776  typedef mat<4, 2, float, packed_mediump> packed_mediump_mat4x2;
777 
779  typedef mat<4, 2, float, packed_lowp> packed_lowp_mat4x2;
780 
782  typedef mat<4, 2, double, packed_highp> packed_highp_dmat4x2;
783 
785  typedef mat<4, 2, double, packed_mediump> packed_mediump_dmat4x2;
786 
788  typedef mat<4, 2, double, packed_lowp> packed_lowp_dmat4x2;
789 
790  // -- *mat4x3 --
791 
793  typedef mat<4, 3, float, aligned_highp> aligned_highp_mat4x3;
794 
796  typedef mat<4, 3, float, aligned_mediump> aligned_mediump_mat4x3;
797 
799  typedef mat<4, 3, float, aligned_lowp> aligned_lowp_mat4x3;
800 
802  typedef mat<4, 3, double, aligned_highp> aligned_highp_dmat4x3;
803 
805  typedef mat<4, 3, double, aligned_mediump> aligned_mediump_dmat4x3;
806 
808  typedef mat<4, 3, double, aligned_lowp> aligned_lowp_dmat4x3;
809 
811  typedef mat<4, 3, float, packed_highp> packed_highp_mat4x3;
812 
814  typedef mat<4, 3, float, packed_mediump> packed_mediump_mat4x3;
815 
817  typedef mat<4, 3, float, packed_lowp> packed_lowp_mat4x3;
818 
820  typedef mat<4, 3, double, packed_highp> packed_highp_dmat4x3;
821 
823  typedef mat<4, 3, double, packed_mediump> packed_mediump_dmat4x3;
824 
826  typedef mat<4, 3, double, packed_lowp> packed_lowp_dmat4x3;
827 
828  // -- *mat4x4 --
829 
831  typedef mat<4, 4, float, aligned_highp> aligned_highp_mat4x4;
832 
834  typedef mat<4, 4, float, aligned_mediump> aligned_mediump_mat4x4;
835 
837  typedef mat<4, 4, float, aligned_lowp> aligned_lowp_mat4x4;
838 
840  typedef mat<4, 4, double, aligned_highp> aligned_highp_dmat4x4;
841 
843  typedef mat<4, 4, double, aligned_mediump> aligned_mediump_dmat4x4;
844 
846  typedef mat<4, 4, double, aligned_lowp> aligned_lowp_dmat4x4;
847 
849  typedef mat<4, 4, float, packed_highp> packed_highp_mat4x4;
850 
852  typedef mat<4, 4, float, packed_mediump> packed_mediump_mat4x4;
853 
855  typedef mat<4, 4, float, packed_lowp> packed_lowp_mat4x4;
856 
858  typedef mat<4, 4, double, packed_highp> packed_highp_dmat4x4;
859 
861  typedef mat<4, 4, double, packed_mediump> packed_mediump_dmat4x4;
862 
864  typedef mat<4, 4, double, packed_lowp> packed_lowp_dmat4x4;
865 
866  // -- default --
867 
868 #if(defined(GLM_PRECISION_LOWP_FLOAT))
877 
884 
903 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
912 
919 
938 #else //defined(GLM_PRECISION_HIGHP_FLOAT)
941 
944 
947 
950 
953 
956 
959 
962 
965 
968 
971 
974 
977 
980 
983 
986 
989 
992 
995 
998 
1001 
1004 
1007 
1010 
1013 
1016 
1019 
1022 
1025 
1028 
1031 
1034 #endif//GLM_PRECISION
1035 
1036 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
1045 
1052 
1071 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
1080 
1087 
1106 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
1109 
1112 
1115 
1118 
1121 
1124 
1127 
1130 
1133 
1136 
1139 
1142 
1145 
1148 
1151 
1154 
1157 
1160 
1163 
1166 
1169 
1172 
1175 
1178 
1181 
1184 
1187 
1190 
1193 
1196 
1199 
1202 #endif//GLM_PRECISION
1203 
1204 #if(defined(GLM_PRECISION_LOWP_INT))
1209 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
1214 #else //defined(GLM_PRECISION_HIGHP_INT)
1217 
1220 
1223 
1226 
1229 
1232 
1235 
1238 #endif//GLM_PRECISION
1239 
1240  // -- Unsigned integer definition --
1241 
1242 #if(defined(GLM_PRECISION_LOWP_UINT))
1247 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
1252 #else //defined(GLM_PRECISION_HIGHP_UINT)
1255 
1258 
1261 
1264 
1267 
1270 
1273 
1276 #endif//GLM_PRECISION
1277 
1278 #if(defined(GLM_PRECISION_LOWP_BOOL))
1283 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
1288 #else //defined(GLM_PRECISION_HIGHP_BOOL)
1291 
1294 
1297 
1300 
1303 
1306 
1309 
1312 #endif//GLM_PRECISION
1313 
1315 }//namespace glm
mat< 3, 2, double, packed_lowp > packed_lowp_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 1, int, aligned_lowp > aligned_lowp_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 3, 2, float, packed_mediump > packed_mediump_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
aligned_highp_dmat4x2 aligned_dmat4x2
4 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
packed_highp_dmat4x2 packed_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 4, double, aligned_lowp > aligned_lowp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
mat< 3, 2, float, packed_lowp > packed_lowp_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 3, 4, float, packed_highp > packed_highp_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 1, bool, aligned_highp > aligned_highp_bvec1
1 component vector aligned in memory of bool values.
+
vec< 1, float, aligned_lowp > aligned_lowp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using low precision a...
+
packed_highp_bvec4 packed_bvec4
4 components vector tightly packed in memory of bool values.
+
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
2 components vector aligned in memory of bool values.
+
packed_highp_mat2 packed_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_mediump > packed_mediump_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
packed_highp_dmat2x4 packed_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
packed_highp_mat4x3 packed_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 4, double, packed_lowp > packed_lowp_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 1, uint, packed_highp > packed_highp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 2, float, aligned_mediump > aligned_mediump_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 4, 2, float, aligned_mediump > aligned_mediump_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_mediump > packed_mediump_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_uvec3 packed_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, bool, packed_highp > packed_highp_bvec4
4 components vector tightly packed in memory of bool values.
+
vec< 2, float, packed_lowp > packed_lowp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
packed_highp_mat4 packed_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_mediump > packed_mediump_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 4, 2, double, aligned_lowp > aligned_lowp_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
aligned_highp_bvec4 aligned_bvec4
4 components vector aligned in memory of bool values.
+
vec< 1, double, aligned_mediump > aligned_mediump_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using medium precisio...
+
mat< 4, 4, double, packed_highp > packed_highp_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_dmat3x4 aligned_dmat3x4
3 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 4, bool, packed_lowp > packed_lowp_bvec4
4 components vector tightly packed in memory of bool values.
+
aligned_highp_bvec2 aligned_bvec2
2 components vector aligned in memory of bool values.
+
aligned_highp_mat2x4 aligned_mat2x4
2 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
packed_highp_vec1 packed_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers.
+
packed_highp_dmat3x3 packed_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 4, 3, double, aligned_highp > aligned_highp_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 3, 4, double, packed_highp > packed_highp_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_dmat2x2 aligned_dmat2x2
2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 1, int, packed_highp > packed_highp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
vec< 2, float, aligned_highp > aligned_highp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 4, double, packed_highp > packed_highp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
vec< 1, float, packed_lowp > packed_lowp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using low prec...
+
vec< 2, int, packed_highp > packed_highp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
mat< 3, 2, float, packed_highp > packed_highp_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 3, float, aligned_lowp > aligned_lowp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
aligned_highp_dmat4x3 aligned_dmat4x3
4 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, packed_mediump > packed_mediump_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 2, double, packed_highp > packed_highp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
vec< 3, int, packed_lowp > packed_lowp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 3, double, packed_highp > packed_highp_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x3 packed_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 2, bool, packed_mediump > packed_mediump_bvec2
2 components vector tightly packed in memory of bool values.
+
vec< 4, float, aligned_lowp > aligned_lowp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
mat< 3, 3, double, packed_lowp > packed_lowp_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_vec2 packed_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers.
+
vec< 4, int, aligned_lowp > aligned_lowp_ivec4
4 components vector aligned in memory of signed integer numbers.
+
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
+
packed_highp_uvec2 packed_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, float, aligned_highp > aligned_highp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using high precision ...
+
mat< 4, 2, double, aligned_mediump > aligned_mediump_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_highp > packed_highp_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 2, 3, double, aligned_lowp > aligned_lowp_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 2, 3, float, packed_mediump > packed_mediump_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 2, 4, float, packed_lowp > packed_lowp_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, int, aligned_mediump > aligned_mediump_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
4 components vector aligned in memory of bool values.
+
vec< 2, bool, packed_highp > packed_highp_bvec2
2 components vector tightly packed in memory of bool values.
+
vec< 4, int, aligned_highp > aligned_highp_ivec4
4 components vector aligned in memory of signed integer numbers.
+
mat< 2, 2, float, aligned_highp > aligned_highp_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
packed_highp_dvec4 packed_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, uint, packed_mediump > packed_mediump_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 2, double, aligned_lowp > aligned_lowp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
packed_highp_dmat4 packed_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 4, double, aligned_highp > aligned_highp_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 2, bool, packed_lowp > packed_lowp_bvec2
2 components vector tightly packed in memory of bool values.
+
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 1, uint, aligned_highp > aligned_highp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 2, int, aligned_mediump > aligned_mediump_ivec2
2 components vector aligned in memory of signed integer numbers.
+
mat< 3, 4, double, aligned_mediump > aligned_mediump_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 2, float, aligned_lowp > aligned_lowp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
mat< 2, 2, double, packed_highp > packed_highp_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 3, double, aligned_mediump > aligned_mediump_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
mat< 4, 2, float, packed_highp > packed_highp_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 3, bool, packed_mediump > packed_mediump_bvec3
3 components vector tightly packed in memory of bool values.
+
vec< 2, uint, packed_mediump > packed_mediump_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, float, packed_lowp > packed_lowp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
+
vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 2, float, packed_mediump > packed_mediump_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 1, double, packed_highp > packed_highp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using high pre...
+
mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
+
packed_highp_mat3x3 packed_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
vec< 1, uint, packed_lowp > packed_lowp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 2, double, packed_highp > packed_highp_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, double, packed_lowp > packed_lowp_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 2, 2, double, packed_lowp > packed_lowp_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_mat2x4 packed_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 4, double, aligned_lowp > aligned_lowp_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 1, int, aligned_highp > aligned_highp_ivec1
1 component vector aligned in memory of signed integer numbers.
+
vec< 3, float, aligned_highp > aligned_highp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
aligned_highp_dmat3x2 aligned_dmat3x2
3 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 4, double, aligned_highp > aligned_highp_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 4, double, aligned_highp > aligned_highp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
mat< 2, 4, float, aligned_mediump > aligned_mediump_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 2, double, packed_lowp > packed_lowp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
mat< 3, 4, float, packed_lowp > packed_lowp_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
1 component vector aligned in memory of bool values.
+
vec< 2, double, packed_mediump > packed_mediump_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
vec< 4, float, packed_highp > packed_highp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
vec< 2, int, packed_mediump > packed_mediump_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
vec< 2, float, aligned_mediump > aligned_mediump_vec2
2 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
mat< 4, 4, double, packed_lowp > packed_lowp_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_lowp > packed_lowp_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, packed_highp > packed_highp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 2, double, packed_mediump > packed_mediump_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
packed_highp_uvec4 packed_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
aligned_highp_dmat2x3 aligned_dmat2x3
2 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 4, 2, double, aligned_highp > aligned_highp_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 1, float, aligned_mediump > aligned_mediump_vec1
1 component vector aligned in memory of single-precision floating-point numbers using medium precisio...
+
aligned_highp_bvec1 aligned_bvec1
1 component vector aligned in memory of bool values.
+
mat< 3, 4, float, packed_mediump > packed_mediump_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_ivec3 packed_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 4, float, packed_highp > packed_highp_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x2 packed_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 3, float, packed_lowp > packed_lowp_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 4, 3, float, packed_highp > packed_highp_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_mat2x2 packed_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 2, 3, float, packed_highp > packed_highp_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 1, double, packed_lowp > packed_lowp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using low prec...
+
vec< 2, uint, packed_lowp > packed_lowp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 4, float, packed_mediump > packed_mediump_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 2, bool, aligned_highp > aligned_highp_bvec2
2 components vector aligned in memory of bool values.
+
mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 2, uint, packed_highp > packed_highp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 1, double, aligned_highp > aligned_highp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using high precision ...
+
mat< 3, 3, float, packed_highp > packed_highp_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
packed_highp_dmat3 packed_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
3 components vector aligned in memory of bool values.
+
mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 2, int, aligned_lowp > aligned_lowp_ivec2
2 components vector aligned in memory of signed integer numbers.
+
vec< 2, int, packed_lowp > packed_lowp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
vec< 3, double, packed_lowp > packed_lowp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
4 components vector aligned in memory of bool values.
+
mat< 4, 4, float, aligned_highp > aligned_highp_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 4, double, aligned_mediump > aligned_mediump_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 4, 4, double, aligned_highp > aligned_highp_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
packed_highp_mat2x3 packed_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
vec< 2, float, packed_mediump > packed_mediump_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
mat< 4, 4, float, packed_lowp > packed_lowp_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, double, packed_highp > packed_highp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
mat< 4, 3, double, packed_highp > packed_highp_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_dmat3x3 aligned_dmat3x3
3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
aligned_highp_dmat2x4 aligned_dmat2x4
2 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
1 component vector aligned in memory of bool values.
+
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
+
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 3, float, aligned_mediump > aligned_mediump_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 2, double, aligned_mediump > aligned_mediump_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
vec< 3, int, packed_mediump > packed_mediump_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
vec< 1, bool, packed_lowp > packed_lowp_bvec1
1 component vector tightly packed in memory of bool values.
+
packed_highp_ivec2 packed_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
vec< 2, float, packed_highp > packed_highp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
+
mat< 4, 3, float, aligned_lowp > aligned_lowp_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 3, 2, double, aligned_highp > aligned_highp_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 4, int, packed_mediump > packed_mediump_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 3, uint, packed_lowp > packed_lowp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 4, double, packed_mediump > packed_mediump_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 2, 3, float, aligned_highp > aligned_highp_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 3, float, aligned_highp > aligned_highp_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 3, 4, double, packed_lowp > packed_lowp_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
3 components vector aligned in memory of bool values.
+
mat< 2, 3, double, aligned_mediump > aligned_mediump_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_mediump > packed_mediump_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 2, 4, double, packed_highp > packed_highp_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 3, float, aligned_mediump > aligned_mediump_vec3
3 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
vec< 2, uint, aligned_highp > aligned_highp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
aligned_highp_dmat2 aligned_dmat2
2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 4, 4, double, aligned_highp > aligned_highp_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
+
packed_highp_vec3 packed_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 2, float, packed_highp > packed_highp_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_bvec3 packed_bvec3
3 components vector tightly packed in memory of bool values.
+
packed_highp_mat4x2 packed_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
packed_highp_dmat3x4 packed_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 1, int, packed_mediump > packed_mediump_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
packed_highp_dvec1 packed_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, double, aligned_highp > aligned_highp_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 4, 3, double, packed_mediump > packed_mediump_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
+
aligned_highp_mat4x3 aligned_mat4x3
4 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 4, 4, float, packed_mediump > packed_mediump_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 4, 3, double, aligned_lowp > aligned_lowp_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 4, 4, float, packed_highp > packed_highp_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 4, bool, packed_mediump > packed_mediump_bvec4
4 components vector tightly packed in memory of bool values.
+
vec< 4, int, packed_highp > packed_highp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
packed_highp_dvec2 packed_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers.
+
vec< 4, float, aligned_mediump > aligned_mediump_vec4
4 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
mat< 4, 2, float, packed_mediump > packed_mediump_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 4, int, aligned_mediump > aligned_mediump_ivec4
4 components vector aligned in memory of signed integer numbers.
+
packed_highp_dmat4x3 packed_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
+
mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
packed_highp_ivec4 packed_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
vec< 1, uint, packed_mediump > packed_mediump_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, double, aligned_lowp > aligned_lowp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using low precision a...
+
vec< 2, int, aligned_highp > aligned_highp_ivec2
2 components vector aligned in memory of signed integer numbers.
+
mat< 2, 4, float, aligned_highp > aligned_highp_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 2, double, packed_highp > packed_highp_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, float, packed_lowp > packed_lowp_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 4, 2, float, aligned_highp > aligned_highp_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 3, double, packed_mediump > packed_mediump_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 2, double, packed_mediump > packed_mediump_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 4, uint, packed_highp > packed_highp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 3, int, aligned_lowp > aligned_lowp_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 2, double, aligned_highp > aligned_highp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
aligned_highp_mat2x3 aligned_mat2x3
2 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 3, 2, double, aligned_mediump > aligned_mediump_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, double, packed_lowp > packed_lowp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
packed_highp_ivec1 packed_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
aligned_highp_mat3x2 aligned_mat3x2
3 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 3, 3, double, packed_mediump > packed_mediump_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 1, double, packed_mediump > packed_mediump_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using medium p...
+
vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
2 components vector aligned in memory of bool values.
+
mat< 2, 4, double, packed_mediump > packed_mediump_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 2, double, aligned_lowp > aligned_lowp_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 2, 2, float, packed_highp > packed_highp_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_dmat3x2 packed_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 1, bool, packed_highp > packed_highp_bvec1
1 component vector tightly packed in memory of bool values.
+
mat< 3, 3, double, packed_lowp > packed_lowp_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 2, 2, double, packed_mediump > packed_mediump_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 3, float, packed_lowp > packed_lowp_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
+
vec< 4, int, packed_lowp > packed_lowp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
mat< 4, 2, float, aligned_lowp > aligned_lowp_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 4, uint, packed_mediump > packed_mediump_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 2, double, packed_lowp > packed_lowp_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_bvec1 packed_bvec1
1 components vector tightly packed in memory of bool values.
+
mat< 4, 3, float, packed_lowp > packed_lowp_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, bool, packed_highp > packed_highp_bvec3
3 components vector tightly packed in memory of bool values.
+
mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, float, packed_highp > packed_highp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using high pre...
+
mat< 4, 2, double, packed_lowp > packed_lowp_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 3, float, packed_lowp > packed_lowp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
mat< 2, 3, float, aligned_lowp > aligned_lowp_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, int, aligned_highp > aligned_highp_ivec3
3 components vector aligned in memory of signed integer numbers.
+
packed_highp_mat3 packed_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 4, 2, double, packed_mediump > packed_mediump_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 2, 2, float, aligned_highp > aligned_highp_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
aligned_highp_dmat4 aligned_dmat4
4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 2, 2, float, packed_lowp > packed_lowp_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 3, 3, double, packed_highp > packed_highp_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
packed_highp_mat4x4 packed_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 3, 3, float, aligned_highp > aligned_highp_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, int, packed_lowp > packed_lowp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
vec< 1, int, aligned_mediump > aligned_mediump_ivec1
1 component vector aligned in memory of signed integer numbers.
+
vec< 4, bool, aligned_highp > aligned_highp_bvec4
4 components vector aligned in memory of bool values.
+
mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, double, aligned_mediump > aligned_mediump_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
mat< 4, 2, double, packed_highp > packed_highp_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_bvec3 aligned_bvec3
3 components vector aligned in memory of bool values.
+
mat< 2, 2, float, packed_mediump > packed_mediump_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 4, 3, float, aligned_mediump > aligned_mediump_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 4, float, aligned_lowp > aligned_lowp_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 4, uint, packed_lowp > packed_lowp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 4, 2, float, packed_lowp > packed_lowp_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
packed_highp_uvec1 packed_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, double, packed_mediump > packed_mediump_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
mat< 3, 2, float, aligned_highp > aligned_highp_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 3, double, packed_lowp > packed_lowp_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_vec4 packed_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers.
+
mat< 3, 3, double, aligned_highp > aligned_highp_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 2, 3, double, packed_lowp > packed_lowp_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 3, 4, float, aligned_mediump > aligned_mediump_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
packed_highp_dmat4x4 packed_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, double, aligned_highp > aligned_highp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
+
vec< 4, float, packed_mediump > packed_mediump_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
vec< 1, float, packed_mediump > packed_mediump_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using medium p...
+
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
+
Definition: common.hpp:20
+
packed_highp_mat3x2 packed_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, float, aligned_highp > aligned_highp_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, bool, packed_mediump > packed_mediump_bvec1
1 component vector tightly packed in memory of bool values.
+
vec< 3, float, packed_highp > packed_highp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
vec< 4, uint, aligned_highp > aligned_highp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
packed_highp_dvec3 packed_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers.
+
aligned_highp_mat4x2 aligned_mat4x2
4 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
packed_highp_bvec2 packed_bvec2
2 components vector tightly packed in memory of bool values.
+
mat< 4, 4, float, packed_highp > packed_highp_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 3, 4, double, aligned_lowp > aligned_lowp_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 4, float, aligned_highp > aligned_highp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 2, 2, float, packed_lowp > packed_lowp_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, bool, aligned_highp > aligned_highp_bvec3
3 components vector aligned in memory of bool values.
+
mat< 3, 3, double, aligned_highp > aligned_highp_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
aligned_highp_dmat3 aligned_dmat3
3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 2, 3, double, aligned_highp > aligned_highp_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 3, 4, float, aligned_lowp > aligned_lowp_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, int, packed_highp > packed_highp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 3, 2, float, aligned_lowp > aligned_lowp_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 4, 3, float, packed_mediump > packed_mediump_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_dmat2 packed_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, double, aligned_lowp > aligned_lowp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
vec< 3, float, packed_mediump > packed_mediump_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
aligned_highp_dmat4x4 aligned_dmat4x4
4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, packed_highp > packed_highp_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 3, bool, packed_lowp > packed_lowp_bvec3
3 components vector tightly packed in memory of bool values.
+
vec< 3, double, packed_mediump > packed_mediump_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
vec< 3, uint, aligned_highp > aligned_highp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 2, double, aligned_highp > aligned_highp_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, float, aligned_highp > aligned_highp_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 4, float, packed_mediump > packed_mediump_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_mat3x4 packed_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 3, double, aligned_mediump > aligned_mediump_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 4, float, aligned_highp > aligned_highp_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
aligned_highp_mat3x4 aligned_mat3x4
3 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 3, 3, float, packed_highp > packed_highp_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
+ + + + diff --git a/doc/api/a01383.html b/doc/api/a01383.html new file mode 100644 index 00000000..9bc23f13 --- /dev/null +++ b/doc/api/a01383.html @@ -0,0 +1,87 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/type_aligned.hpp File Reference
+
+
+ +

Go to the source code of this file.

+

Detailed Description

+
See also
Core features (dependence)
+ +

Definition in file gtc/type_aligned.hpp.

+
+ + + + diff --git a/doc/api/a01383_source.html b/doc/api/a01383_source.html new file mode 100644 index 00000000..f5553600 --- /dev/null +++ b/doc/api/a01383_source.html @@ -0,0 +1,434 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/type_aligned.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #if !GLM_CONFIG_ANONYMOUS_STRUCT
16 # error "GLM: Aligned gentypes require to enable C++ language extensions."
17 #endif
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_type_aligned extension included")
21 #endif
22 
23 #include "../mat4x4.hpp"
24 #include "../mat4x3.hpp"
25 #include "../mat4x2.hpp"
26 #include "../mat3x4.hpp"
27 #include "../mat3x3.hpp"
28 #include "../mat3x2.hpp"
29 #include "../mat2x4.hpp"
30 #include "../mat2x3.hpp"
31 #include "../mat2x2.hpp"
32 #include "../gtc/vec1.hpp"
33 #include "../vec2.hpp"
34 #include "../vec3.hpp"
35 #include "../vec4.hpp"
36 
37 namespace glm
38 {
41 
42  // -- *vec1 --
43 
45  typedef vec<1, float, aligned_highp> aligned_highp_vec1;
46 
48  typedef vec<1, float, aligned_mediump> aligned_mediump_vec1;
49 
51  typedef vec<1, float, aligned_lowp> aligned_lowp_vec1;
52 
54  typedef vec<1, double, aligned_highp> aligned_highp_dvec1;
55 
57  typedef vec<1, double, aligned_mediump> aligned_mediump_dvec1;
58 
60  typedef vec<1, double, aligned_lowp> aligned_lowp_dvec1;
61 
63  typedef vec<1, int, aligned_highp> aligned_highp_ivec1;
64 
66  typedef vec<1, int, aligned_mediump> aligned_mediump_ivec1;
67 
69  typedef vec<1, int, aligned_lowp> aligned_lowp_ivec1;
70 
72  typedef vec<1, uint, aligned_highp> aligned_highp_uvec1;
73 
75  typedef vec<1, uint, aligned_mediump> aligned_mediump_uvec1;
76 
78  typedef vec<1, uint, aligned_lowp> aligned_lowp_uvec1;
79 
81  typedef vec<1, bool, aligned_highp> aligned_highp_bvec1;
82 
84  typedef vec<1, bool, aligned_mediump> aligned_mediump_bvec1;
85 
87  typedef vec<1, bool, aligned_lowp> aligned_lowp_bvec1;
88 
90  typedef vec<1, float, packed_highp> packed_highp_vec1;
91 
93  typedef vec<1, float, packed_mediump> packed_mediump_vec1;
94 
96  typedef vec<1, float, packed_lowp> packed_lowp_vec1;
97 
99  typedef vec<1, double, packed_highp> packed_highp_dvec1;
100 
102  typedef vec<1, double, packed_mediump> packed_mediump_dvec1;
103 
105  typedef vec<1, double, packed_lowp> packed_lowp_dvec1;
106 
108  typedef vec<1, int, packed_highp> packed_highp_ivec1;
109 
111  typedef vec<1, int, packed_mediump> packed_mediump_ivec1;
112 
114  typedef vec<1, int, packed_lowp> packed_lowp_ivec1;
115 
117  typedef vec<1, uint, packed_highp> packed_highp_uvec1;
118 
120  typedef vec<1, uint, packed_mediump> packed_mediump_uvec1;
121 
123  typedef vec<1, uint, packed_lowp> packed_lowp_uvec1;
124 
126  typedef vec<1, bool, packed_highp> packed_highp_bvec1;
127 
129  typedef vec<1, bool, packed_mediump> packed_mediump_bvec1;
130 
132  typedef vec<1, bool, packed_lowp> packed_lowp_bvec1;
133 
134  // -- *vec2 --
135 
137  typedef vec<2, float, aligned_highp> aligned_highp_vec2;
138 
140  typedef vec<2, float, aligned_mediump> aligned_mediump_vec2;
141 
143  typedef vec<2, float, aligned_lowp> aligned_lowp_vec2;
144 
146  typedef vec<2, double, aligned_highp> aligned_highp_dvec2;
147 
149  typedef vec<2, double, aligned_mediump> aligned_mediump_dvec2;
150 
152  typedef vec<2, double, aligned_lowp> aligned_lowp_dvec2;
153 
155  typedef vec<2, int, aligned_highp> aligned_highp_ivec2;
156 
158  typedef vec<2, int, aligned_mediump> aligned_mediump_ivec2;
159 
161  typedef vec<2, int, aligned_lowp> aligned_lowp_ivec2;
162 
164  typedef vec<2, uint, aligned_highp> aligned_highp_uvec2;
165 
167  typedef vec<2, uint, aligned_mediump> aligned_mediump_uvec2;
168 
170  typedef vec<2, uint, aligned_lowp> aligned_lowp_uvec2;
171 
173  typedef vec<2, bool, aligned_highp> aligned_highp_bvec2;
174 
176  typedef vec<2, bool, aligned_mediump> aligned_mediump_bvec2;
177 
179  typedef vec<2, bool, aligned_lowp> aligned_lowp_bvec2;
180 
182  typedef vec<2, float, packed_highp> packed_highp_vec2;
183 
185  typedef vec<2, float, packed_mediump> packed_mediump_vec2;
186 
188  typedef vec<2, float, packed_lowp> packed_lowp_vec2;
189 
191  typedef vec<2, double, packed_highp> packed_highp_dvec2;
192 
194  typedef vec<2, double, packed_mediump> packed_mediump_dvec2;
195 
197  typedef vec<2, double, packed_lowp> packed_lowp_dvec2;
198 
200  typedef vec<2, int, packed_highp> packed_highp_ivec2;
201 
203  typedef vec<2, int, packed_mediump> packed_mediump_ivec2;
204 
206  typedef vec<2, int, packed_lowp> packed_lowp_ivec2;
207 
209  typedef vec<2, uint, packed_highp> packed_highp_uvec2;
210 
212  typedef vec<2, uint, packed_mediump> packed_mediump_uvec2;
213 
215  typedef vec<2, uint, packed_lowp> packed_lowp_uvec2;
216 
218  typedef vec<2, bool, packed_highp> packed_highp_bvec2;
219 
221  typedef vec<2, bool, packed_mediump> packed_mediump_bvec2;
222 
224  typedef vec<2, bool, packed_lowp> packed_lowp_bvec2;
225 
226  // -- *vec3 --
227 
229  typedef vec<3, float, aligned_highp> aligned_highp_vec3;
230 
232  typedef vec<3, float, aligned_mediump> aligned_mediump_vec3;
233 
235  typedef vec<3, float, aligned_lowp> aligned_lowp_vec3;
236 
238  typedef vec<3, double, aligned_highp> aligned_highp_dvec3;
239 
241  typedef vec<3, double, aligned_mediump> aligned_mediump_dvec3;
242 
244  typedef vec<3, double, aligned_lowp> aligned_lowp_dvec3;
245 
247  typedef vec<3, int, aligned_highp> aligned_highp_ivec3;
248 
250  typedef vec<3, int, aligned_mediump> aligned_mediump_ivec3;
251 
253  typedef vec<3, int, aligned_lowp> aligned_lowp_ivec3;
254 
256  typedef vec<3, uint, aligned_highp> aligned_highp_uvec3;
257 
259  typedef vec<3, uint, aligned_mediump> aligned_mediump_uvec3;
260 
262  typedef vec<3, uint, aligned_lowp> aligned_lowp_uvec3;
263 
265  typedef vec<3, bool, aligned_highp> aligned_highp_bvec3;
266 
268  typedef vec<3, bool, aligned_mediump> aligned_mediump_bvec3;
269 
271  typedef vec<3, bool, aligned_lowp> aligned_lowp_bvec3;
272 
274  typedef vec<3, float, packed_highp> packed_highp_vec3;
275 
277  typedef vec<3, float, packed_mediump> packed_mediump_vec3;
278 
280  typedef vec<3, float, packed_lowp> packed_lowp_vec3;
281 
283  typedef vec<3, double, packed_highp> packed_highp_dvec3;
284 
286  typedef vec<3, double, packed_mediump> packed_mediump_dvec3;
287 
289  typedef vec<3, double, packed_lowp> packed_lowp_dvec3;
290 
292  typedef vec<3, int, packed_highp> packed_highp_ivec3;
293 
295  typedef vec<3, int, packed_mediump> packed_mediump_ivec3;
296 
298  typedef vec<3, int, packed_lowp> packed_lowp_ivec3;
299 
301  typedef vec<3, uint, packed_highp> packed_highp_uvec3;
302 
304  typedef vec<3, uint, packed_mediump> packed_mediump_uvec3;
305 
307  typedef vec<3, uint, packed_lowp> packed_lowp_uvec3;
308 
310  typedef vec<3, bool, packed_highp> packed_highp_bvec3;
311 
313  typedef vec<3, bool, packed_mediump> packed_mediump_bvec3;
314 
316  typedef vec<3, bool, packed_lowp> packed_lowp_bvec3;
317 
318  // -- *vec4 --
319 
321  typedef vec<4, float, aligned_highp> aligned_highp_vec4;
322 
324  typedef vec<4, float, aligned_mediump> aligned_mediump_vec4;
325 
327  typedef vec<4, float, aligned_lowp> aligned_lowp_vec4;
328 
330  typedef vec<4, double, aligned_highp> aligned_highp_dvec4;
331 
333  typedef vec<4, double, aligned_mediump> aligned_mediump_dvec4;
334 
336  typedef vec<4, double, aligned_lowp> aligned_lowp_dvec4;
337 
339  typedef vec<4, int, aligned_highp> aligned_highp_ivec4;
340 
342  typedef vec<4, int, aligned_mediump> aligned_mediump_ivec4;
343 
345  typedef vec<4, int, aligned_lowp> aligned_lowp_ivec4;
346 
348  typedef vec<4, uint, aligned_highp> aligned_highp_uvec4;
349 
351  typedef vec<4, uint, aligned_mediump> aligned_mediump_uvec4;
352 
354  typedef vec<4, uint, aligned_lowp> aligned_lowp_uvec4;
355 
357  typedef vec<4, bool, aligned_highp> aligned_highp_bvec4;
358 
360  typedef vec<4, bool, aligned_mediump> aligned_mediump_bvec4;
361 
363  typedef vec<4, bool, aligned_lowp> aligned_lowp_bvec4;
364 
366  typedef vec<4, float, packed_highp> packed_highp_vec4;
367 
369  typedef vec<4, float, packed_mediump> packed_mediump_vec4;
370 
372  typedef vec<4, float, packed_lowp> packed_lowp_vec4;
373 
375  typedef vec<4, double, packed_highp> packed_highp_dvec4;
376 
378  typedef vec<4, double, packed_mediump> packed_mediump_dvec4;
379 
381  typedef vec<4, double, packed_lowp> packed_lowp_dvec4;
382 
384  typedef vec<4, int, packed_highp> packed_highp_ivec4;
385 
387  typedef vec<4, int, packed_mediump> packed_mediump_ivec4;
388 
390  typedef vec<4, int, packed_lowp> packed_lowp_ivec4;
391 
393  typedef vec<4, uint, packed_highp> packed_highp_uvec4;
394 
396  typedef vec<4, uint, packed_mediump> packed_mediump_uvec4;
397 
399  typedef vec<4, uint, packed_lowp> packed_lowp_uvec4;
400 
402  typedef vec<4, bool, packed_highp> packed_highp_bvec4;
403 
405  typedef vec<4, bool, packed_mediump> packed_mediump_bvec4;
406 
408  typedef vec<4, bool, packed_lowp> packed_lowp_bvec4;
409 
410  // -- *mat2 --
411 
413  typedef mat<2, 2, float, aligned_highp> aligned_highp_mat2;
414 
416  typedef mat<2, 2, float, aligned_mediump> aligned_mediump_mat2;
417 
419  typedef mat<2, 2, float, aligned_lowp> aligned_lowp_mat2;
420 
422  typedef mat<2, 2, double, aligned_highp> aligned_highp_dmat2;
423 
425  typedef mat<2, 2, double, aligned_mediump> aligned_mediump_dmat2;
426 
428  typedef mat<2, 2, double, aligned_lowp> aligned_lowp_dmat2;
429 
431  typedef mat<2, 2, float, packed_highp> packed_highp_mat2;
432 
434  typedef mat<2, 2, float, packed_mediump> packed_mediump_mat2;
435 
437  typedef mat<2, 2, float, packed_lowp> packed_lowp_mat2;
438 
440  typedef mat<2, 2, double, packed_highp> packed_highp_dmat2;
441 
443  typedef mat<2, 2, double, packed_mediump> packed_mediump_dmat2;
444 
446  typedef mat<2, 2, double, packed_lowp> packed_lowp_dmat2;
447 
448  // -- *mat3 --
449 
451  typedef mat<3, 3, float, aligned_highp> aligned_highp_mat3;
452 
454  typedef mat<3, 3, float, aligned_mediump> aligned_mediump_mat3;
455 
457  typedef mat<3, 3, float, aligned_lowp> aligned_lowp_mat3;
458 
460  typedef mat<3, 3, double, aligned_highp> aligned_highp_dmat3;
461 
463  typedef mat<3, 3, double, aligned_mediump> aligned_mediump_dmat3;
464 
466  typedef mat<3, 3, double, aligned_lowp> aligned_lowp_dmat3;
467 
469  typedef mat<3, 3, float, packed_highp> packed_highp_mat3;
470 
472  typedef mat<3, 3, float, packed_mediump> packed_mediump_mat3;
473 
475  typedef mat<3, 3, float, packed_lowp> packed_lowp_mat3;
476 
478  typedef mat<3, 3, double, packed_highp> packed_highp_dmat3;
479 
481  typedef mat<3, 3, double, packed_mediump> packed_mediump_dmat3;
482 
484  typedef mat<3, 3, double, packed_lowp> packed_lowp_dmat3;
485 
486  // -- *mat4 --
487 
489  typedef mat<4, 4, float, aligned_highp> aligned_highp_mat4;
490 
492  typedef mat<4, 4, float, aligned_mediump> aligned_mediump_mat4;
493 
495  typedef mat<4, 4, float, aligned_lowp> aligned_lowp_mat4;
496 
498  typedef mat<4, 4, double, aligned_highp> aligned_highp_dmat4;
499 
501  typedef mat<4, 4, double, aligned_mediump> aligned_mediump_dmat4;
502 
504  typedef mat<4, 4, double, aligned_lowp> aligned_lowp_dmat4;
505 
507  typedef mat<4, 4, float, packed_highp> packed_highp_mat4;
508 
510  typedef mat<4, 4, float, packed_mediump> packed_mediump_mat4;
511 
513  typedef mat<4, 4, float, packed_lowp> packed_lowp_mat4;
514 
516  typedef mat<4, 4, double, packed_highp> packed_highp_dmat4;
517 
519  typedef mat<4, 4, double, packed_mediump> packed_mediump_dmat4;
520 
522  typedef mat<4, 4, double, packed_lowp> packed_lowp_dmat4;
523 
524  // -- *mat2x2 --
525 
527  typedef mat<2, 2, float, aligned_highp> aligned_highp_mat2x2;
528 
530  typedef mat<2, 2, float, aligned_mediump> aligned_mediump_mat2x2;
531 
533  typedef mat<2, 2, float, aligned_lowp> aligned_lowp_mat2x2;
534 
536  typedef mat<2, 2, double, aligned_highp> aligned_highp_dmat2x2;
537 
539  typedef mat<2, 2, double, aligned_mediump> aligned_mediump_dmat2x2;
540 
542  typedef mat<2, 2, double, aligned_lowp> aligned_lowp_dmat2x2;
543 
545  typedef mat<2, 2, float, packed_highp> packed_highp_mat2x2;
546 
548  typedef mat<2, 2, float, packed_mediump> packed_mediump_mat2x2;
549 
551  typedef mat<2, 2, float, packed_lowp> packed_lowp_mat2x2;
552 
554  typedef mat<2, 2, double, packed_highp> packed_highp_dmat2x2;
555 
557  typedef mat<2, 2, double, packed_mediump> packed_mediump_dmat2x2;
558 
560  typedef mat<2, 2, double, packed_lowp> packed_lowp_dmat2x2;
561 
562  // -- *mat2x3 --
563 
565  typedef mat<2, 3, float, aligned_highp> aligned_highp_mat2x3;
566 
568  typedef mat<2, 3, float, aligned_mediump> aligned_mediump_mat2x3;
569 
571  typedef mat<2, 3, float, aligned_lowp> aligned_lowp_mat2x3;
572 
574  typedef mat<2, 3, double, aligned_highp> aligned_highp_dmat2x3;
575 
577  typedef mat<2, 3, double, aligned_mediump> aligned_mediump_dmat2x3;
578 
580  typedef mat<2, 3, double, aligned_lowp> aligned_lowp_dmat2x3;
581 
583  typedef mat<2, 3, float, packed_highp> packed_highp_mat2x3;
584 
586  typedef mat<2, 3, float, packed_mediump> packed_mediump_mat2x3;
587 
589  typedef mat<2, 3, float, packed_lowp> packed_lowp_mat2x3;
590 
592  typedef mat<2, 3, double, packed_highp> packed_highp_dmat2x3;
593 
595  typedef mat<2, 3, double, packed_mediump> packed_mediump_dmat2x3;
596 
598  typedef mat<2, 3, double, packed_lowp> packed_lowp_dmat2x3;
599 
600  // -- *mat2x4 --
601 
603  typedef mat<2, 4, float, aligned_highp> aligned_highp_mat2x4;
604 
606  typedef mat<2, 4, float, aligned_mediump> aligned_mediump_mat2x4;
607 
609  typedef mat<2, 4, float, aligned_lowp> aligned_lowp_mat2x4;
610 
612  typedef mat<2, 4, double, aligned_highp> aligned_highp_dmat2x4;
613 
615  typedef mat<2, 4, double, aligned_mediump> aligned_mediump_dmat2x4;
616 
618  typedef mat<2, 4, double, aligned_lowp> aligned_lowp_dmat2x4;
619 
621  typedef mat<2, 4, float, packed_highp> packed_highp_mat2x4;
622 
624  typedef mat<2, 4, float, packed_mediump> packed_mediump_mat2x4;
625 
627  typedef mat<2, 4, float, packed_lowp> packed_lowp_mat2x4;
628 
630  typedef mat<2, 4, double, packed_highp> packed_highp_dmat2x4;
631 
633  typedef mat<2, 4, double, packed_mediump> packed_mediump_dmat2x4;
634 
636  typedef mat<2, 4, double, packed_lowp> packed_lowp_dmat2x4;
637 
638  // -- *mat3x2 --
639 
641  typedef mat<3, 2, float, aligned_highp> aligned_highp_mat3x2;
642 
644  typedef mat<3, 2, float, aligned_mediump> aligned_mediump_mat3x2;
645 
647  typedef mat<3, 2, float, aligned_lowp> aligned_lowp_mat3x2;
648 
650  typedef mat<3, 2, double, aligned_highp> aligned_highp_dmat3x2;
651 
653  typedef mat<3, 2, double, aligned_mediump> aligned_mediump_dmat3x2;
654 
656  typedef mat<3, 2, double, aligned_lowp> aligned_lowp_dmat3x2;
657 
659  typedef mat<3, 2, float, packed_highp> packed_highp_mat3x2;
660 
662  typedef mat<3, 2, float, packed_mediump> packed_mediump_mat3x2;
663 
665  typedef mat<3, 2, float, packed_lowp> packed_lowp_mat3x2;
666 
668  typedef mat<3, 2, double, packed_highp> packed_highp_dmat3x2;
669 
671  typedef mat<3, 2, double, packed_mediump> packed_mediump_dmat3x2;
672 
674  typedef mat<3, 2, double, packed_lowp> packed_lowp_dmat3x2;
675 
676  // -- *mat3x3 --
677 
679  typedef mat<3, 3, float, aligned_highp> aligned_highp_mat3x3;
680 
682  typedef mat<3, 3, float, aligned_mediump> aligned_mediump_mat3x3;
683 
685  typedef mat<3, 3, float, aligned_lowp> aligned_lowp_mat3x3;
686 
688  typedef mat<3, 3, double, aligned_highp> aligned_highp_dmat3x3;
689 
691  typedef mat<3, 3, double, aligned_mediump> aligned_mediump_dmat3x3;
692 
694  typedef mat<3, 3, double, aligned_lowp> aligned_lowp_dmat3x3;
695 
697  typedef mat<3, 3, float, packed_highp> packed_highp_mat3x3;
698 
700  typedef mat<3, 3, float, packed_mediump> packed_mediump_mat3x3;
701 
703  typedef mat<3, 3, float, packed_lowp> packed_lowp_mat3x3;
704 
706  typedef mat<3, 3, double, packed_highp> packed_highp_dmat3x3;
707 
709  typedef mat<3, 3, double, packed_mediump> packed_mediump_dmat3x3;
710 
712  typedef mat<3, 3, double, packed_lowp> packed_lowp_dmat3x3;
713 
714  // -- *mat3x4 --
715 
717  typedef mat<3, 4, float, aligned_highp> aligned_highp_mat3x4;
718 
720  typedef mat<3, 4, float, aligned_mediump> aligned_mediump_mat3x4;
721 
723  typedef mat<3, 4, float, aligned_lowp> aligned_lowp_mat3x4;
724 
726  typedef mat<3, 4, double, aligned_highp> aligned_highp_dmat3x4;
727 
729  typedef mat<3, 4, double, aligned_mediump> aligned_mediump_dmat3x4;
730 
732  typedef mat<3, 4, double, aligned_lowp> aligned_lowp_dmat3x4;
733 
735  typedef mat<3, 4, float, packed_highp> packed_highp_mat3x4;
736 
738  typedef mat<3, 4, float, packed_mediump> packed_mediump_mat3x4;
739 
741  typedef mat<3, 4, float, packed_lowp> packed_lowp_mat3x4;
742 
744  typedef mat<3, 4, double, packed_highp> packed_highp_dmat3x4;
745 
747  typedef mat<3, 4, double, packed_mediump> packed_mediump_dmat3x4;
748 
750  typedef mat<3, 4, double, packed_lowp> packed_lowp_dmat3x4;
751 
752  // -- *mat4x2 --
753 
755  typedef mat<4, 2, float, aligned_highp> aligned_highp_mat4x2;
756 
758  typedef mat<4, 2, float, aligned_mediump> aligned_mediump_mat4x2;
759 
761  typedef mat<4, 2, float, aligned_lowp> aligned_lowp_mat4x2;
762 
764  typedef mat<4, 2, double, aligned_highp> aligned_highp_dmat4x2;
765 
767  typedef mat<4, 2, double, aligned_mediump> aligned_mediump_dmat4x2;
768 
770  typedef mat<4, 2, double, aligned_lowp> aligned_lowp_dmat4x2;
771 
773  typedef mat<4, 2, float, packed_highp> packed_highp_mat4x2;
774 
776  typedef mat<4, 2, float, packed_mediump> packed_mediump_mat4x2;
777 
779  typedef mat<4, 2, float, packed_lowp> packed_lowp_mat4x2;
780 
782  typedef mat<4, 2, double, packed_highp> packed_highp_dmat4x2;
783 
785  typedef mat<4, 2, double, packed_mediump> packed_mediump_dmat4x2;
786 
788  typedef mat<4, 2, double, packed_lowp> packed_lowp_dmat4x2;
789 
790  // -- *mat4x3 --
791 
793  typedef mat<4, 3, float, aligned_highp> aligned_highp_mat4x3;
794 
796  typedef mat<4, 3, float, aligned_mediump> aligned_mediump_mat4x3;
797 
799  typedef mat<4, 3, float, aligned_lowp> aligned_lowp_mat4x3;
800 
802  typedef mat<4, 3, double, aligned_highp> aligned_highp_dmat4x3;
803 
805  typedef mat<4, 3, double, aligned_mediump> aligned_mediump_dmat4x3;
806 
808  typedef mat<4, 3, double, aligned_lowp> aligned_lowp_dmat4x3;
809 
811  typedef mat<4, 3, float, packed_highp> packed_highp_mat4x3;
812 
814  typedef mat<4, 3, float, packed_mediump> packed_mediump_mat4x3;
815 
817  typedef mat<4, 3, float, packed_lowp> packed_lowp_mat4x3;
818 
820  typedef mat<4, 3, double, packed_highp> packed_highp_dmat4x3;
821 
823  typedef mat<4, 3, double, packed_mediump> packed_mediump_dmat4x3;
824 
826  typedef mat<4, 3, double, packed_lowp> packed_lowp_dmat4x3;
827 
828  // -- *mat4x4 --
829 
831  typedef mat<4, 4, float, aligned_highp> aligned_highp_mat4x4;
832 
834  typedef mat<4, 4, float, aligned_mediump> aligned_mediump_mat4x4;
835 
837  typedef mat<4, 4, float, aligned_lowp> aligned_lowp_mat4x4;
838 
840  typedef mat<4, 4, double, aligned_highp> aligned_highp_dmat4x4;
841 
843  typedef mat<4, 4, double, aligned_mediump> aligned_mediump_dmat4x4;
844 
846  typedef mat<4, 4, double, aligned_lowp> aligned_lowp_dmat4x4;
847 
849  typedef mat<4, 4, float, packed_highp> packed_highp_mat4x4;
850 
852  typedef mat<4, 4, float, packed_mediump> packed_mediump_mat4x4;
853 
855  typedef mat<4, 4, float, packed_lowp> packed_lowp_mat4x4;
856 
858  typedef mat<4, 4, double, packed_highp> packed_highp_dmat4x4;
859 
861  typedef mat<4, 4, double, packed_mediump> packed_mediump_dmat4x4;
862 
864  typedef mat<4, 4, double, packed_lowp> packed_lowp_dmat4x4;
865 
866  // -- default --
867 
868 #if(defined(GLM_PRECISION_LOWP_FLOAT))
877 
884 
903 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
912 
919 
938 #else //defined(GLM_PRECISION_HIGHP_FLOAT)
941 
944 
947 
950 
953 
956 
959 
962 
965 
968 
971 
974 
977 
980 
983 
986 
989 
992 
995 
998 
1001 
1004 
1007 
1010 
1013 
1016 
1019 
1022 
1025 
1028 
1031 
1034 #endif//GLM_PRECISION
1035 
1036 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
1045 
1052 
1071 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
1080 
1087 
1106 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
1109 
1112 
1115 
1118 
1121 
1124 
1127 
1130 
1133 
1136 
1139 
1142 
1145 
1148 
1151 
1154 
1157 
1160 
1163 
1166 
1169 
1172 
1175 
1178 
1181 
1184 
1187 
1190 
1193 
1196 
1199 
1202 #endif//GLM_PRECISION
1203 
1204 #if(defined(GLM_PRECISION_LOWP_INT))
1209 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
1214 #else //defined(GLM_PRECISION_HIGHP_INT)
1217 
1220 
1223 
1226 
1229 
1232 
1235 
1238 #endif//GLM_PRECISION
1239 
1240  // -- Unsigned integer definition --
1241 
1242 #if(defined(GLM_PRECISION_LOWP_UINT))
1247 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
1252 #else //defined(GLM_PRECISION_HIGHP_UINT)
1255 
1258 
1261 
1264 
1267 
1270 
1273 
1276 #endif//GLM_PRECISION
1277 
1278 #if(defined(GLM_PRECISION_LOWP_BOOL))
1283 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
1288 #else //defined(GLM_PRECISION_HIGHP_BOOL)
1291 
1294 
1297 
1300 
1303 
1306 
1309 
1312 #endif//GLM_PRECISION
1313 
1315 }//namespace glm
mat< 3, 2, double, packed_lowp > packed_lowp_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 1, int, aligned_lowp > aligned_lowp_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 3, 2, float, packed_mediump > packed_mediump_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
aligned_highp_dmat4x2 aligned_dmat4x2
4 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
packed_highp_dmat4x2 packed_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 4, double, aligned_lowp > aligned_lowp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
mat< 3, 2, float, packed_lowp > packed_lowp_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 3, 4, float, packed_highp > packed_highp_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 1, bool, aligned_highp > aligned_highp_bvec1
1 component vector aligned in memory of bool values.
+
vec< 1, float, aligned_lowp > aligned_lowp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using low precision a...
+
packed_highp_bvec4 packed_bvec4
4 components vector tightly packed in memory of bool values.
+
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
2 components vector aligned in memory of bool values.
+
packed_highp_mat2 packed_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_mediump > packed_mediump_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
packed_highp_dmat2x4 packed_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
packed_highp_mat4x3 packed_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 4, double, packed_lowp > packed_lowp_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 1, uint, packed_highp > packed_highp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 2, float, aligned_mediump > aligned_mediump_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 4, 2, float, aligned_mediump > aligned_mediump_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_mediump > packed_mediump_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_uvec3 packed_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, bool, packed_highp > packed_highp_bvec4
4 components vector tightly packed in memory of bool values.
+
vec< 2, float, packed_lowp > packed_lowp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
Definition: common.hpp:18
+
packed_highp_mat4 packed_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_mediump > packed_mediump_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 4, 2, double, aligned_lowp > aligned_lowp_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
aligned_highp_bvec4 aligned_bvec4
4 components vector aligned in memory of bool values.
+
vec< 1, double, aligned_mediump > aligned_mediump_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using medium precisio...
+
mat< 4, 4, double, packed_highp > packed_highp_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_dmat3x4 aligned_dmat3x4
3 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 4, bool, packed_lowp > packed_lowp_bvec4
4 components vector tightly packed in memory of bool values.
+
aligned_highp_bvec2 aligned_bvec2
2 components vector aligned in memory of bool values.
+
aligned_highp_mat2x4 aligned_mat2x4
2 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
packed_highp_vec1 packed_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers.
+
packed_highp_dmat3x3 packed_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 4, 3, double, aligned_highp > aligned_highp_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 3, 4, double, packed_highp > packed_highp_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_dmat2x2 aligned_dmat2x2
2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 1, int, packed_highp > packed_highp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
vec< 2, float, aligned_highp > aligned_highp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 4, double, packed_highp > packed_highp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
vec< 1, float, packed_lowp > packed_lowp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using low prec...
+
vec< 2, int, packed_highp > packed_highp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
mat< 3, 2, float, packed_highp > packed_highp_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 3, float, aligned_lowp > aligned_lowp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
aligned_highp_dmat4x3 aligned_dmat4x3
4 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, packed_mediump > packed_mediump_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 2, double, packed_highp > packed_highp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
vec< 3, int, packed_lowp > packed_lowp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 3, double, packed_highp > packed_highp_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x3 packed_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 2, bool, packed_mediump > packed_mediump_bvec2
2 components vector tightly packed in memory of bool values.
+
vec< 4, float, aligned_lowp > aligned_lowp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
mat< 3, 3, double, packed_lowp > packed_lowp_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_vec2 packed_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers.
+
vec< 4, int, aligned_lowp > aligned_lowp_ivec4
4 components vector aligned in memory of signed integer numbers.
+
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
+
packed_highp_uvec2 packed_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, float, aligned_highp > aligned_highp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using high precision ...
+
mat< 4, 2, double, aligned_mediump > aligned_mediump_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_highp > packed_highp_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 2, 3, double, aligned_lowp > aligned_lowp_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 2, 3, float, packed_mediump > packed_mediump_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 2, 4, float, packed_lowp > packed_lowp_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, int, aligned_mediump > aligned_mediump_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
4 components vector aligned in memory of bool values.
+
vec< 2, bool, packed_highp > packed_highp_bvec2
2 components vector tightly packed in memory of bool values.
+
vec< 4, int, aligned_highp > aligned_highp_ivec4
4 components vector aligned in memory of signed integer numbers.
+
mat< 2, 2, float, aligned_highp > aligned_highp_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
packed_highp_dvec4 packed_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, uint, packed_mediump > packed_mediump_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 2, double, aligned_lowp > aligned_lowp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
packed_highp_dmat4 packed_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 4, double, aligned_highp > aligned_highp_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 2, bool, packed_lowp > packed_lowp_bvec2
2 components vector tightly packed in memory of bool values.
+
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 1, uint, aligned_highp > aligned_highp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 2, int, aligned_mediump > aligned_mediump_ivec2
2 components vector aligned in memory of signed integer numbers.
+
mat< 3, 4, double, aligned_mediump > aligned_mediump_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 2, float, aligned_lowp > aligned_lowp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
mat< 2, 2, double, packed_highp > packed_highp_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 3, double, aligned_mediump > aligned_mediump_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
mat< 4, 2, float, packed_highp > packed_highp_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 3, bool, packed_mediump > packed_mediump_bvec3
3 components vector tightly packed in memory of bool values.
+
vec< 2, uint, packed_mediump > packed_mediump_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, float, packed_lowp > packed_lowp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
+
vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 2, float, packed_mediump > packed_mediump_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 1, double, packed_highp > packed_highp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using high pre...
+
mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
+
packed_highp_mat3x3 packed_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
vec< 1, uint, packed_lowp > packed_lowp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 2, double, packed_highp > packed_highp_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, double, packed_lowp > packed_lowp_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 2, 2, double, packed_lowp > packed_lowp_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_mat2x4 packed_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 4, double, aligned_lowp > aligned_lowp_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 1, int, aligned_highp > aligned_highp_ivec1
1 component vector aligned in memory of signed integer numbers.
+
vec< 3, float, aligned_highp > aligned_highp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
aligned_highp_dmat3x2 aligned_dmat3x2
3 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 4, double, aligned_highp > aligned_highp_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 4, double, aligned_highp > aligned_highp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
mat< 2, 4, float, aligned_mediump > aligned_mediump_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 2, double, packed_lowp > packed_lowp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
mat< 3, 4, float, packed_lowp > packed_lowp_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
1 component vector aligned in memory of bool values.
+
vec< 2, double, packed_mediump > packed_mediump_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
vec< 4, float, packed_highp > packed_highp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
vec< 2, int, packed_mediump > packed_mediump_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
vec< 2, float, aligned_mediump > aligned_mediump_vec2
2 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
mat< 4, 4, double, packed_lowp > packed_lowp_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_lowp > packed_lowp_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, packed_highp > packed_highp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 2, double, packed_mediump > packed_mediump_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
packed_highp_uvec4 packed_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
aligned_highp_dmat2x3 aligned_dmat2x3
2 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 4, 2, double, aligned_highp > aligned_highp_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 1, float, aligned_mediump > aligned_mediump_vec1
1 component vector aligned in memory of single-precision floating-point numbers using medium precisio...
+
aligned_highp_bvec1 aligned_bvec1
1 component vector aligned in memory of bool values.
+
mat< 3, 4, float, packed_mediump > packed_mediump_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_ivec3 packed_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 4, float, packed_highp > packed_highp_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x2 packed_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 3, float, packed_lowp > packed_lowp_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 4, 3, float, packed_highp > packed_highp_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_mat2x2 packed_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 2, 3, float, packed_highp > packed_highp_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 1, double, packed_lowp > packed_lowp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using low prec...
+
vec< 2, uint, packed_lowp > packed_lowp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 4, float, packed_mediump > packed_mediump_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 2, bool, aligned_highp > aligned_highp_bvec2
2 components vector aligned in memory of bool values.
+
mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 2, uint, packed_highp > packed_highp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 1, double, aligned_highp > aligned_highp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using high precision ...
+
mat< 3, 3, float, packed_highp > packed_highp_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
packed_highp_dmat3 packed_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
3 components vector aligned in memory of bool values.
+
mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 2, int, aligned_lowp > aligned_lowp_ivec2
2 components vector aligned in memory of signed integer numbers.
+
vec< 2, int, packed_lowp > packed_lowp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
vec< 3, double, packed_lowp > packed_lowp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
4 components vector aligned in memory of bool values.
+
mat< 4, 4, float, aligned_highp > aligned_highp_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 4, double, aligned_mediump > aligned_mediump_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 4, 4, double, aligned_highp > aligned_highp_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
packed_highp_mat2x3 packed_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
vec< 2, float, packed_mediump > packed_mediump_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
mat< 4, 4, float, packed_lowp > packed_lowp_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, double, packed_highp > packed_highp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
mat< 4, 3, double, packed_highp > packed_highp_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_dmat3x3 aligned_dmat3x3
3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
aligned_highp_dmat2x4 aligned_dmat2x4
2 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
1 component vector aligned in memory of bool values.
+
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
+
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 3, float, aligned_mediump > aligned_mediump_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 2, double, aligned_mediump > aligned_mediump_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
vec< 3, int, packed_mediump > packed_mediump_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
vec< 1, bool, packed_lowp > packed_lowp_bvec1
1 component vector tightly packed in memory of bool values.
+
packed_highp_ivec2 packed_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
vec< 2, float, packed_highp > packed_highp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
+
mat< 4, 3, float, aligned_lowp > aligned_lowp_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 3, 2, double, aligned_highp > aligned_highp_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 4, int, packed_mediump > packed_mediump_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 3, uint, packed_lowp > packed_lowp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 4, double, packed_mediump > packed_mediump_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 2, 3, float, aligned_highp > aligned_highp_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 3, float, aligned_highp > aligned_highp_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 3, 4, double, packed_lowp > packed_lowp_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
3 components vector aligned in memory of bool values.
+
mat< 2, 3, double, aligned_mediump > aligned_mediump_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_mediump > packed_mediump_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 2, 4, double, packed_highp > packed_highp_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 3, float, aligned_mediump > aligned_mediump_vec3
3 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
vec< 2, uint, aligned_highp > aligned_highp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
aligned_highp_dmat2 aligned_dmat2
2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 4, 4, double, aligned_highp > aligned_highp_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
+
packed_highp_vec3 packed_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 2, float, packed_highp > packed_highp_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_bvec3 packed_bvec3
3 components vector tightly packed in memory of bool values.
+
packed_highp_mat4x2 packed_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
packed_highp_dmat3x4 packed_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 1, int, packed_mediump > packed_mediump_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
packed_highp_dvec1 packed_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, double, aligned_highp > aligned_highp_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 4, 3, double, packed_mediump > packed_mediump_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
+
aligned_highp_mat4x3 aligned_mat4x3
4 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 4, 4, float, packed_mediump > packed_mediump_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 4, 3, double, aligned_lowp > aligned_lowp_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 4, 4, float, packed_highp > packed_highp_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 4, bool, packed_mediump > packed_mediump_bvec4
4 components vector tightly packed in memory of bool values.
+
vec< 4, int, packed_highp > packed_highp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
packed_highp_dvec2 packed_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers.
+
vec< 4, float, aligned_mediump > aligned_mediump_vec4
4 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
mat< 4, 2, float, packed_mediump > packed_mediump_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 4, int, aligned_mediump > aligned_mediump_ivec4
4 components vector aligned in memory of signed integer numbers.
+
packed_highp_dmat4x3 packed_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
+
mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
packed_highp_ivec4 packed_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
vec< 1, uint, packed_mediump > packed_mediump_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, double, aligned_lowp > aligned_lowp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using low precision a...
+
vec< 2, int, aligned_highp > aligned_highp_ivec2
2 components vector aligned in memory of signed integer numbers.
+
mat< 2, 4, float, aligned_highp > aligned_highp_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 2, double, packed_highp > packed_highp_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, float, packed_lowp > packed_lowp_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 4, 2, float, aligned_highp > aligned_highp_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 3, double, packed_mediump > packed_mediump_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 2, double, packed_mediump > packed_mediump_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 4, uint, packed_highp > packed_highp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 3, int, aligned_lowp > aligned_lowp_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 2, double, aligned_highp > aligned_highp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
aligned_highp_mat2x3 aligned_mat2x3
2 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 3, 2, double, aligned_mediump > aligned_mediump_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, double, packed_lowp > packed_lowp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
packed_highp_ivec1 packed_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
aligned_highp_mat3x2 aligned_mat3x2
3 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 3, 3, double, packed_mediump > packed_mediump_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 1, double, packed_mediump > packed_mediump_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using medium p...
+
vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
2 components vector aligned in memory of bool values.
+
mat< 2, 4, double, packed_mediump > packed_mediump_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 2, double, aligned_lowp > aligned_lowp_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 2, 2, float, packed_highp > packed_highp_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
packed_highp_dmat3x2 packed_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 1, bool, packed_highp > packed_highp_bvec1
1 component vector tightly packed in memory of bool values.
+
mat< 3, 3, double, packed_lowp > packed_lowp_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 2, 2, double, packed_mediump > packed_mediump_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 3, float, packed_lowp > packed_lowp_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
+
vec< 4, int, packed_lowp > packed_lowp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
mat< 4, 2, float, aligned_lowp > aligned_lowp_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 4, uint, packed_mediump > packed_mediump_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 2, double, packed_lowp > packed_lowp_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_bvec1 packed_bvec1
1 components vector tightly packed in memory of bool values.
+
mat< 4, 3, float, packed_lowp > packed_lowp_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, bool, packed_highp > packed_highp_bvec3
3 components vector tightly packed in memory of bool values.
+
mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, float, packed_highp > packed_highp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using high pre...
+
mat< 4, 2, double, packed_lowp > packed_lowp_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 3, float, packed_lowp > packed_lowp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
mat< 2, 3, float, aligned_lowp > aligned_lowp_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, int, aligned_highp > aligned_highp_ivec3
3 components vector aligned in memory of signed integer numbers.
+
packed_highp_mat3 packed_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 4, 2, double, packed_mediump > packed_mediump_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 2, 2, float, aligned_highp > aligned_highp_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
aligned_highp_dmat4 aligned_dmat4
4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 2, 2, float, packed_lowp > packed_lowp_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 3, 3, double, packed_highp > packed_highp_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
packed_highp_mat4x4 packed_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 3, 3, float, aligned_highp > aligned_highp_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, int, packed_lowp > packed_lowp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
vec< 1, int, aligned_mediump > aligned_mediump_ivec1
1 component vector aligned in memory of signed integer numbers.
+
vec< 4, bool, aligned_highp > aligned_highp_bvec4
4 components vector aligned in memory of bool values.
+
mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, double, aligned_mediump > aligned_mediump_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
mat< 4, 2, double, packed_highp > packed_highp_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
aligned_highp_bvec3 aligned_bvec3
3 components vector aligned in memory of bool values.
+
mat< 2, 2, float, packed_mediump > packed_mediump_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 4, 3, float, aligned_mediump > aligned_mediump_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 4, float, aligned_lowp > aligned_lowp_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 4, uint, packed_lowp > packed_lowp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 4, 2, float, packed_lowp > packed_lowp_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
packed_highp_uvec1 packed_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, double, packed_mediump > packed_mediump_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
mat< 3, 2, float, aligned_highp > aligned_highp_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 3, double, packed_lowp > packed_lowp_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_vec4 packed_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers.
+
mat< 3, 3, double, aligned_highp > aligned_highp_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 2, 3, double, packed_lowp > packed_lowp_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 3, 4, float, aligned_mediump > aligned_mediump_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
packed_highp_dmat4x4 packed_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, double, aligned_highp > aligned_highp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
+
vec< 4, float, packed_mediump > packed_mediump_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
vec< 1, float, packed_mediump > packed_mediump_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using medium p...
+
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
+
packed_highp_mat3x2 packed_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, float, aligned_highp > aligned_highp_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, bool, packed_mediump > packed_mediump_bvec1
1 component vector tightly packed in memory of bool values.
+
vec< 3, float, packed_highp > packed_highp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
vec< 4, uint, aligned_highp > aligned_highp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
packed_highp_dvec3 packed_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers.
+
aligned_highp_mat4x2 aligned_mat4x2
4 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
packed_highp_bvec2 packed_bvec2
2 components vector tightly packed in memory of bool values.
+
mat< 4, 4, float, packed_highp > packed_highp_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 3, 4, double, aligned_lowp > aligned_lowp_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 4, float, aligned_highp > aligned_highp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 2, 2, float, packed_lowp > packed_lowp_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, bool, aligned_highp > aligned_highp_bvec3
3 components vector aligned in memory of bool values.
+
mat< 3, 3, double, aligned_highp > aligned_highp_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
aligned_highp_dmat3 aligned_dmat3
3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 2, 3, double, aligned_highp > aligned_highp_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 3, 4, float, aligned_lowp > aligned_lowp_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, int, packed_highp > packed_highp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 3, 2, float, aligned_lowp > aligned_lowp_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 4, 3, float, packed_mediump > packed_mediump_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_dmat2 packed_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, double, aligned_lowp > aligned_lowp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
vec< 3, float, packed_mediump > packed_mediump_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
aligned_highp_dmat4x4 aligned_dmat4x4
4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, packed_highp > packed_highp_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 3, bool, packed_lowp > packed_lowp_bvec3
3 components vector tightly packed in memory of bool values.
+
vec< 3, double, packed_mediump > packed_mediump_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
vec< 3, uint, aligned_highp > aligned_highp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 2, double, aligned_highp > aligned_highp_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, float, aligned_highp > aligned_highp_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 4, float, packed_mediump > packed_mediump_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_mat3x4 packed_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 3, double, aligned_mediump > aligned_mediump_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 4, float, aligned_highp > aligned_highp_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
aligned_highp_mat3x4 aligned_mat3x4
3 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 3, 3, float, packed_highp > packed_highp_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
+ + + + diff --git a/doc/api/a01384.html b/doc/api/a01384.html new file mode 100644 index 00000000..e17b7fb6 --- /dev/null +++ b/doc/api/a01384.html @@ -0,0 +1,1505 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtc/type_aligned.hpp File Reference
+
+
+ +

GLM_GTC_type_aligned +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Typedefs

+typedef aligned_highp_bvec1 aligned_bvec1
 1 component vector aligned in memory of bool values.
 
+typedef aligned_highp_bvec2 aligned_bvec2
 2 components vector aligned in memory of bool values.
 
+typedef aligned_highp_bvec3 aligned_bvec3
 3 components vector aligned in memory of bool values.
 
+typedef aligned_highp_bvec4 aligned_bvec4
 4 components vector aligned in memory of bool values.
 
+typedef aligned_highp_dmat2 aligned_dmat2
 2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat2x2 aligned_dmat2x2
 2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat2x3 aligned_dmat2x3
 2 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat2x4 aligned_dmat2x4
 2 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat3 aligned_dmat3
 3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat3x2 aligned_dmat3x2
 3 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat3x3 aligned_dmat3x3
 3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat3x4 aligned_dmat3x4
 3 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat4 aligned_dmat4
 4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat4x2 aligned_dmat4x2
 4 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat4x3 aligned_dmat4x3
 4 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dmat4x4 aligned_dmat4x4
 4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dvec1 aligned_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dvec2 aligned_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dvec3 aligned_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers.
 
+typedef aligned_highp_dvec4 aligned_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers.
 
+typedef vec< 1, bool, aligned_highp > aligned_highp_bvec1
 1 component vector aligned in memory of bool values.
 
+typedef vec< 2, bool, aligned_highp > aligned_highp_bvec2
 2 components vector aligned in memory of bool values.
 
+typedef vec< 3, bool, aligned_highp > aligned_highp_bvec3
 3 components vector aligned in memory of bool values.
 
+typedef vec< 4, bool, aligned_highp > aligned_highp_bvec4
 4 components vector aligned in memory of bool values.
 
+typedef mat< 2, 2, double, aligned_highp > aligned_highp_dmat2
 2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, double, aligned_highp > aligned_highp_dmat2x2
 2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, double, aligned_highp > aligned_highp_dmat2x3
 2 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, double, aligned_highp > aligned_highp_dmat2x4
 2 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, aligned_highp > aligned_highp_dmat3
 3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, double, aligned_highp > aligned_highp_dmat3x2
 3 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, aligned_highp > aligned_highp_dmat3x3
 3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, double, aligned_highp > aligned_highp_dmat3x4
 3 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, aligned_highp > aligned_highp_dmat4
 4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, double, aligned_highp > aligned_highp_dmat4x2
 4 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, double, aligned_highp > aligned_highp_dmat4x3
 4 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, aligned_highp > aligned_highp_dmat4x4
 4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 1, double, aligned_highp > aligned_highp_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 2, double, aligned_highp > aligned_highp_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 3, double, aligned_highp > aligned_highp_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 4, double, aligned_highp > aligned_highp_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 1, int, aligned_highp > aligned_highp_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
+typedef vec< 2, int, aligned_highp > aligned_highp_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 3, int, aligned_highp > aligned_highp_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 4, int, aligned_highp > aligned_highp_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
+typedef mat< 2, 2, float, aligned_highp > aligned_highp_mat2
 2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, float, aligned_highp > aligned_highp_mat2x2
 2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, float, aligned_highp > aligned_highp_mat2x3
 2 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, float, aligned_highp > aligned_highp_mat2x4
 2 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, aligned_highp > aligned_highp_mat3
 3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, float, aligned_highp > aligned_highp_mat3x2
 3 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, aligned_highp > aligned_highp_mat3x3
 3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, float, aligned_highp > aligned_highp_mat3x4
 3 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, aligned_highp > aligned_highp_mat4
 4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, float, aligned_highp > aligned_highp_mat4x2
 4 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, float, aligned_highp > aligned_highp_mat4x3
 4 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, aligned_highp > aligned_highp_mat4x4
 4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 1, uint, aligned_highp > aligned_highp_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 2, uint, aligned_highp > aligned_highp_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 3, uint, aligned_highp > aligned_highp_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 4, uint, aligned_highp > aligned_highp_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 1, float, aligned_highp > aligned_highp_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 2, float, aligned_highp > aligned_highp_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 3, float, aligned_highp > aligned_highp_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 4, float, aligned_highp > aligned_highp_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef aligned_highp_ivec1 aligned_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
+typedef aligned_highp_ivec2 aligned_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
+typedef aligned_highp_ivec3 aligned_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
+typedef aligned_highp_ivec4 aligned_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
 1 component vector aligned in memory of bool values.
 
+typedef vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
 2 components vector aligned in memory of bool values.
 
+typedef vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
 3 components vector aligned in memory of bool values.
 
+typedef vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
 4 components vector aligned in memory of bool values.
 
+typedef mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2
 2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2x2
 2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, double, aligned_lowp > aligned_lowp_dmat2x3
 2 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, double, aligned_lowp > aligned_lowp_dmat2x4
 2 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3
 3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, double, aligned_lowp > aligned_lowp_dmat3x2
 3 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3x3
 3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, double, aligned_lowp > aligned_lowp_dmat3x4
 3 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4
 4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, double, aligned_lowp > aligned_lowp_dmat4x2
 4 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, double, aligned_lowp > aligned_lowp_dmat4x3
 4 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4x4
 4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 1, double, aligned_lowp > aligned_lowp_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 2, double, aligned_lowp > aligned_lowp_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 3, double, aligned_lowp > aligned_lowp_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 4, double, aligned_lowp > aligned_lowp_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 1, int, aligned_lowp > aligned_lowp_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
+typedef vec< 2, int, aligned_lowp > aligned_lowp_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 3, int, aligned_lowp > aligned_lowp_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 4, int, aligned_lowp > aligned_lowp_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
+typedef mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2
 2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2x2
 2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, float, aligned_lowp > aligned_lowp_mat2x3
 2 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, float, aligned_lowp > aligned_lowp_mat2x4
 2 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3
 3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, float, aligned_lowp > aligned_lowp_mat3x2
 3 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3x3
 3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, float, aligned_lowp > aligned_lowp_mat3x4
 3 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4
 4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, float, aligned_lowp > aligned_lowp_mat4x2
 4 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, float, aligned_lowp > aligned_lowp_mat4x3
 4 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4x4
 4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 1, float, aligned_lowp > aligned_lowp_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 2, float, aligned_lowp > aligned_lowp_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 3, float, aligned_lowp > aligned_lowp_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 4, float, aligned_lowp > aligned_lowp_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef aligned_highp_mat2 aligned_mat2
 2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat2x2 aligned_mat2x2
 2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat2x3 aligned_mat2x3
 2 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat2x4 aligned_mat2x4
 2 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat3 aligned_mat3
 3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat3x2 aligned_mat3x2
 3 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat3x3 aligned_mat3x3
 3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat3x4 aligned_mat3x4
 3 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat4 aligned_mat4
 4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat4x2 aligned_mat4x2
 4 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat4x3 aligned_mat4x3
 4 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_mat4x4 aligned_mat4x4
 4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
 
+typedef vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
 1 component vector aligned in memory of bool values.
 
+typedef vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
 2 components vector aligned in memory of bool values.
 
+typedef vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
 3 components vector aligned in memory of bool values.
 
+typedef vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
 4 components vector aligned in memory of bool values.
 
+typedef mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2
 2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2x2
 2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, double, aligned_mediump > aligned_mediump_dmat2x3
 2 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, double, aligned_mediump > aligned_mediump_dmat2x4
 2 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3
 3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, double, aligned_mediump > aligned_mediump_dmat3x2
 3 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3x3
 3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, double, aligned_mediump > aligned_mediump_dmat3x4
 3 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4
 4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, double, aligned_mediump > aligned_mediump_dmat4x2
 4 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, double, aligned_mediump > aligned_mediump_dmat4x3
 4 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4x4
 4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 1, double, aligned_mediump > aligned_mediump_dvec1
 1 component vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 2, double, aligned_mediump > aligned_mediump_dvec2
 2 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 3, double, aligned_mediump > aligned_mediump_dvec3
 3 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 4, double, aligned_mediump > aligned_mediump_dvec4
 4 components vector aligned in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 1, int, aligned_mediump > aligned_mediump_ivec1
 1 component vector aligned in memory of signed integer numbers.
 
+typedef vec< 2, int, aligned_mediump > aligned_mediump_ivec2
 2 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 3, int, aligned_mediump > aligned_mediump_ivec3
 3 components vector aligned in memory of signed integer numbers.
 
+typedef vec< 4, int, aligned_mediump > aligned_mediump_ivec4
 4 components vector aligned in memory of signed integer numbers.
 
+typedef mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2
 2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2x2
 2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, float, aligned_mediump > aligned_mediump_mat2x3
 2 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, float, aligned_mediump > aligned_mediump_mat2x4
 2 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3
 3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, float, aligned_mediump > aligned_mediump_mat3x2
 3 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3x3
 3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, float, aligned_mediump > aligned_mediump_mat3x4
 3 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4
 4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, float, aligned_mediump > aligned_mediump_mat4x2
 4 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, float, aligned_mediump > aligned_mediump_mat4x3
 4 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4x4
 4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
+typedef vec< 1, float, aligned_mediump > aligned_mediump_vec1
 1 component vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 2, float, aligned_mediump > aligned_mediump_vec2
 2 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 3, float, aligned_mediump > aligned_mediump_vec3
 3 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 4, float, aligned_mediump > aligned_mediump_vec4
 4 components vector aligned in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef aligned_highp_uvec1 aligned_uvec1
 1 component vector aligned in memory of unsigned integer numbers.
 
+typedef aligned_highp_uvec2 aligned_uvec2
 2 components vector aligned in memory of unsigned integer numbers.
 
+typedef aligned_highp_uvec3 aligned_uvec3
 3 components vector aligned in memory of unsigned integer numbers.
 
+typedef aligned_highp_uvec4 aligned_uvec4
 4 components vector aligned in memory of unsigned integer numbers.
 
+typedef aligned_highp_vec1 aligned_vec1
 1 component vector aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_vec2 aligned_vec2
 2 components vector aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_vec3 aligned_vec3
 3 components vector aligned in memory of single-precision floating-point numbers.
 
+typedef aligned_highp_vec4 aligned_vec4
 4 components vector aligned in memory of single-precision floating-point numbers.
 
+typedef packed_highp_bvec1 packed_bvec1
 1 components vector tightly packed in memory of bool values.
 
+typedef packed_highp_bvec2 packed_bvec2
 2 components vector tightly packed in memory of bool values.
 
+typedef packed_highp_bvec3 packed_bvec3
 3 components vector tightly packed in memory of bool values.
 
+typedef packed_highp_bvec4 packed_bvec4
 4 components vector tightly packed in memory of bool values.
 
+typedef packed_highp_dmat2 packed_dmat2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat2x2 packed_dmat2x2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat2x3 packed_dmat2x3
 2 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat2x4 packed_dmat2x4
 2 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat3 packed_dmat3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat3x2 packed_dmat3x2
 3 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat3x3 packed_dmat3x3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat3x4 packed_dmat3x4
 3 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat4 packed_dmat4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat4x2 packed_dmat4x2
 4 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat4x3 packed_dmat4x3
 4 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dmat4x4 packed_dmat4x4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dvec1 packed_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dvec2 packed_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dvec3 packed_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers.
 
+typedef packed_highp_dvec4 packed_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers.
 
+typedef vec< 1, bool, packed_highp > packed_highp_bvec1
 1 component vector tightly packed in memory of bool values.
 
+typedef vec< 2, bool, packed_highp > packed_highp_bvec2
 2 components vector tightly packed in memory of bool values.
 
+typedef vec< 3, bool, packed_highp > packed_highp_bvec3
 3 components vector tightly packed in memory of bool values.
 
+typedef vec< 4, bool, packed_highp > packed_highp_bvec4
 4 components vector tightly packed in memory of bool values.
 
+typedef mat< 2, 2, double, packed_highp > packed_highp_dmat2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, double, packed_highp > packed_highp_dmat2x2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, double, packed_highp > packed_highp_dmat2x3
 2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, double, packed_highp > packed_highp_dmat2x4
 2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, packed_highp > packed_highp_dmat3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, double, packed_highp > packed_highp_dmat3x2
 3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, packed_highp > packed_highp_dmat3x3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, double, packed_highp > packed_highp_dmat3x4
 3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, packed_highp > packed_highp_dmat4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, double, packed_highp > packed_highp_dmat4x2
 4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, double, packed_highp > packed_highp_dmat4x3
 4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, packed_highp > packed_highp_dmat4x4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 1, double, packed_highp > packed_highp_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 2, double, packed_highp > packed_highp_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 3, double, packed_highp > packed_highp_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 4, double, packed_highp > packed_highp_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 1, int, packed_highp > packed_highp_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 2, int, packed_highp > packed_highp_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 3, int, packed_highp > packed_highp_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 4, int, packed_highp > packed_highp_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
+typedef mat< 2, 2, float, packed_highp > packed_highp_mat2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, float, packed_highp > packed_highp_mat2x2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, float, packed_highp > packed_highp_mat2x3
 2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, float, packed_highp > packed_highp_mat2x4
 2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, packed_highp > packed_highp_mat3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, float, packed_highp > packed_highp_mat3x2
 3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, packed_highp > packed_highp_mat3x3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, float, packed_highp > packed_highp_mat3x4
 3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, packed_highp > packed_highp_mat4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, float, packed_highp > packed_highp_mat4x2
 4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, float, packed_highp > packed_highp_mat4x3
 4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, packed_highp > packed_highp_mat4x4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 1, uint, packed_highp > packed_highp_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 2, uint, packed_highp > packed_highp_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 3, uint, packed_highp > packed_highp_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 4, uint, packed_highp > packed_highp_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 1, float, packed_highp > packed_highp_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 2, float, packed_highp > packed_highp_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 3, float, packed_highp > packed_highp_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef vec< 4, float, packed_highp > packed_highp_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using high precision arithmetic in term of ULPs.
 
+typedef packed_highp_ivec1 packed_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
+typedef packed_highp_ivec2 packed_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
+typedef packed_highp_ivec3 packed_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
+typedef packed_highp_ivec4 packed_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 1, bool, packed_lowp > packed_lowp_bvec1
 1 component vector tightly packed in memory of bool values.
 
+typedef vec< 2, bool, packed_lowp > packed_lowp_bvec2
 2 components vector tightly packed in memory of bool values.
 
+typedef vec< 3, bool, packed_lowp > packed_lowp_bvec3
 3 components vector tightly packed in memory of bool values.
 
+typedef vec< 4, bool, packed_lowp > packed_lowp_bvec4
 4 components vector tightly packed in memory of bool values.
 
+typedef mat< 2, 2, double, packed_lowp > packed_lowp_dmat2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, double, packed_lowp > packed_lowp_dmat2x2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, double, packed_lowp > packed_lowp_dmat2x3
 2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, double, packed_lowp > packed_lowp_dmat2x4
 2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, packed_lowp > packed_lowp_dmat3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, double, packed_lowp > packed_lowp_dmat3x2
 3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, packed_lowp > packed_lowp_dmat3x3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, double, packed_lowp > packed_lowp_dmat3x4
 3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, packed_lowp > packed_lowp_dmat4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, double, packed_lowp > packed_lowp_dmat4x2
 4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, double, packed_lowp > packed_lowp_dmat4x3
 4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, packed_lowp > packed_lowp_dmat4x4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 1, double, packed_lowp > packed_lowp_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 2, double, packed_lowp > packed_lowp_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 3, double, packed_lowp > packed_lowp_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 4, double, packed_lowp > packed_lowp_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 1, int, packed_lowp > packed_lowp_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 2, int, packed_lowp > packed_lowp_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 3, int, packed_lowp > packed_lowp_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 4, int, packed_lowp > packed_lowp_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
+typedef mat< 2, 2, float, packed_lowp > packed_lowp_mat2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, float, packed_lowp > packed_lowp_mat2x2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, float, packed_lowp > packed_lowp_mat2x3
 2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, float, packed_lowp > packed_lowp_mat2x4
 2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, packed_lowp > packed_lowp_mat3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, float, packed_lowp > packed_lowp_mat3x2
 3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, packed_lowp > packed_lowp_mat3x3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, float, packed_lowp > packed_lowp_mat3x4
 3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, packed_lowp > packed_lowp_mat4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, float, packed_lowp > packed_lowp_mat4x2
 4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, float, packed_lowp > packed_lowp_mat4x3
 4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, packed_lowp > packed_lowp_mat4x4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 1, uint, packed_lowp > packed_lowp_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 2, uint, packed_lowp > packed_lowp_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 3, uint, packed_lowp > packed_lowp_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 4, uint, packed_lowp > packed_lowp_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 1, float, packed_lowp > packed_lowp_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 2, float, packed_lowp > packed_lowp_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 3, float, packed_lowp > packed_lowp_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef vec< 4, float, packed_lowp > packed_lowp_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using low precision arithmetic in term of ULPs.
 
+typedef packed_highp_mat2 packed_mat2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat2x2 packed_mat2x2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat2x3 packed_mat2x3
 2 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat2x4 packed_mat2x4
 2 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat3 packed_mat3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat3x2 packed_mat3x2
 3 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat3x3 packed_mat3x3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat3x4 packed_mat3x4
 3 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat4 packed_mat4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat4x2 packed_mat4x2
 4 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat4x3 packed_mat4x3
 4 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_mat4x4 packed_mat4x4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
 
+typedef vec< 1, bool, packed_mediump > packed_mediump_bvec1
 1 component vector tightly packed in memory of bool values.
 
+typedef vec< 2, bool, packed_mediump > packed_mediump_bvec2
 2 components vector tightly packed in memory of bool values.
 
+typedef vec< 3, bool, packed_mediump > packed_mediump_bvec3
 3 components vector tightly packed in memory of bool values.
 
+typedef vec< 4, bool, packed_mediump > packed_mediump_bvec4
 4 components vector tightly packed in memory of bool values.
 
+typedef mat< 2, 2, double, packed_mediump > packed_mediump_dmat2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, double, packed_mediump > packed_mediump_dmat2x2
 2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, double, packed_mediump > packed_mediump_dmat2x3
 2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, double, packed_mediump > packed_mediump_dmat2x4
 2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, packed_mediump > packed_mediump_dmat3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, double, packed_mediump > packed_mediump_dmat3x2
 3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, double, packed_mediump > packed_mediump_dmat3x3
 3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, double, packed_mediump > packed_mediump_dmat3x4
 3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, packed_mediump > packed_mediump_dmat4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, double, packed_mediump > packed_mediump_dmat4x2
 4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, double, packed_mediump > packed_mediump_dmat4x3
 4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, double, packed_mediump > packed_mediump_dmat4x4
 4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 1, double, packed_mediump > packed_mediump_dvec1
 1 component vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 2, double, packed_mediump > packed_mediump_dvec2
 2 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 3, double, packed_mediump > packed_mediump_dvec3
 3 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 4, double, packed_mediump > packed_mediump_dvec4
 4 components vector tightly packed in memory of double-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 1, int, packed_mediump > packed_mediump_ivec1
 1 component vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 2, int, packed_mediump > packed_mediump_ivec2
 2 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 3, int, packed_mediump > packed_mediump_ivec3
 3 components vector tightly packed in memory of signed integer numbers.
 
+typedef vec< 4, int, packed_mediump > packed_mediump_ivec4
 4 components vector tightly packed in memory of signed integer numbers.
 
+typedef mat< 2, 2, float, packed_mediump > packed_mediump_mat2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 2, float, packed_mediump > packed_mediump_mat2x2
 2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 3, float, packed_mediump > packed_mediump_mat2x3
 2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 2, 4, float, packed_mediump > packed_mediump_mat2x4
 2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, packed_mediump > packed_mediump_mat3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 2, float, packed_mediump > packed_mediump_mat3x2
 3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 3, float, packed_mediump > packed_mediump_mat3x3
 3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 3, 4, float, packed_mediump > packed_mediump_mat3x4
 3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, packed_mediump > packed_mediump_mat4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 2, float, packed_mediump > packed_mediump_mat4x2
 4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 3, float, packed_mediump > packed_mediump_mat4x3
 4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef mat< 4, 4, float, packed_mediump > packed_mediump_mat4x4
 4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 1, uint, packed_mediump > packed_mediump_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 2, uint, packed_mediump > packed_mediump_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 3, uint, packed_mediump > packed_mediump_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 4, uint, packed_mediump > packed_mediump_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef vec< 1, float, packed_mediump > packed_mediump_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 2, float, packed_mediump > packed_mediump_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 3, float, packed_mediump > packed_mediump_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef vec< 4, float, packed_mediump > packed_mediump_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers using medium precision arithmetic in term of ULPs.
 
+typedef packed_highp_uvec1 packed_uvec1
 1 component vector tightly packed in memory of unsigned integer numbers.
 
+typedef packed_highp_uvec2 packed_uvec2
 2 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef packed_highp_uvec3 packed_uvec3
 3 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef packed_highp_uvec4 packed_uvec4
 4 components vector tightly packed in memory of unsigned integer numbers.
 
+typedef packed_highp_vec1 packed_vec1
 1 component vector tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_vec2 packed_vec2
 2 components vector tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_vec3 packed_vec3
 3 components vector tightly packed in memory of single-precision floating-point numbers.
 
+typedef packed_highp_vec4 packed_vec4
 4 components vector tightly packed in memory of single-precision floating-point numbers.
 
+

Detailed Description

+

GLM_GTC_type_aligned

+
See also
Core features (dependence)
+ +

Definition in file gtc/type_aligned.hpp.

+
+ + + + diff --git a/doc/api/a01384_source.html b/doc/api/a01384_source.html new file mode 100644 index 00000000..4b68e388 --- /dev/null +++ b/doc/api/a01384_source.html @@ -0,0 +1,434 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc/type_aligned.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 #if !GLM_CONFIG_ANONYMOUS_STRUCT
16 # error "GLM: Aligned gentypes require to enable C++ language extensions."
17 #endif
18 
19 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_type_aligned extension included")
21 #endif
22 
23 #include "../mat4x4.hpp"
24 #include "../mat4x3.hpp"
25 #include "../mat4x2.hpp"
26 #include "../mat3x4.hpp"
27 #include "../mat3x3.hpp"
28 #include "../mat3x2.hpp"
29 #include "../mat2x4.hpp"
30 #include "../mat2x3.hpp"
31 #include "../mat2x2.hpp"
32 #include "../gtc/vec1.hpp"
33 #include "../vec2.hpp"
34 #include "../vec3.hpp"
35 #include "../vec4.hpp"
36 
37 namespace glm
38 {
41 
42  // -- *vec1 --
43 
45  typedef vec<1, float, aligned_highp> aligned_highp_vec1;
46 
48  typedef vec<1, float, aligned_mediump> aligned_mediump_vec1;
49 
51  typedef vec<1, float, aligned_lowp> aligned_lowp_vec1;
52 
54  typedef vec<1, double, aligned_highp> aligned_highp_dvec1;
55 
57  typedef vec<1, double, aligned_mediump> aligned_mediump_dvec1;
58 
60  typedef vec<1, double, aligned_lowp> aligned_lowp_dvec1;
61 
63  typedef vec<1, int, aligned_highp> aligned_highp_ivec1;
64 
66  typedef vec<1, int, aligned_mediump> aligned_mediump_ivec1;
67 
69  typedef vec<1, int, aligned_lowp> aligned_lowp_ivec1;
70 
72  typedef vec<1, uint, aligned_highp> aligned_highp_uvec1;
73 
75  typedef vec<1, uint, aligned_mediump> aligned_mediump_uvec1;
76 
78  typedef vec<1, uint, aligned_lowp> aligned_lowp_uvec1;
79 
81  typedef vec<1, bool, aligned_highp> aligned_highp_bvec1;
82 
84  typedef vec<1, bool, aligned_mediump> aligned_mediump_bvec1;
85 
87  typedef vec<1, bool, aligned_lowp> aligned_lowp_bvec1;
88 
90  typedef vec<1, float, packed_highp> packed_highp_vec1;
91 
93  typedef vec<1, float, packed_mediump> packed_mediump_vec1;
94 
96  typedef vec<1, float, packed_lowp> packed_lowp_vec1;
97 
99  typedef vec<1, double, packed_highp> packed_highp_dvec1;
100 
102  typedef vec<1, double, packed_mediump> packed_mediump_dvec1;
103 
105  typedef vec<1, double, packed_lowp> packed_lowp_dvec1;
106 
108  typedef vec<1, int, packed_highp> packed_highp_ivec1;
109 
111  typedef vec<1, int, packed_mediump> packed_mediump_ivec1;
112 
114  typedef vec<1, int, packed_lowp> packed_lowp_ivec1;
115 
117  typedef vec<1, uint, packed_highp> packed_highp_uvec1;
118 
120  typedef vec<1, uint, packed_mediump> packed_mediump_uvec1;
121 
123  typedef vec<1, uint, packed_lowp> packed_lowp_uvec1;
124 
126  typedef vec<1, bool, packed_highp> packed_highp_bvec1;
127 
129  typedef vec<1, bool, packed_mediump> packed_mediump_bvec1;
130 
132  typedef vec<1, bool, packed_lowp> packed_lowp_bvec1;
133 
134  // -- *vec2 --
135 
137  typedef vec<2, float, aligned_highp> aligned_highp_vec2;
138 
140  typedef vec<2, float, aligned_mediump> aligned_mediump_vec2;
141 
143  typedef vec<2, float, aligned_lowp> aligned_lowp_vec2;
144 
146  typedef vec<2, double, aligned_highp> aligned_highp_dvec2;
147 
149  typedef vec<2, double, aligned_mediump> aligned_mediump_dvec2;
150 
152  typedef vec<2, double, aligned_lowp> aligned_lowp_dvec2;
153 
155  typedef vec<2, int, aligned_highp> aligned_highp_ivec2;
156 
158  typedef vec<2, int, aligned_mediump> aligned_mediump_ivec2;
159 
161  typedef vec<2, int, aligned_lowp> aligned_lowp_ivec2;
162 
164  typedef vec<2, uint, aligned_highp> aligned_highp_uvec2;
165 
167  typedef vec<2, uint, aligned_mediump> aligned_mediump_uvec2;
168 
170  typedef vec<2, uint, aligned_lowp> aligned_lowp_uvec2;
171 
173  typedef vec<2, bool, aligned_highp> aligned_highp_bvec2;
174 
176  typedef vec<2, bool, aligned_mediump> aligned_mediump_bvec2;
177 
179  typedef vec<2, bool, aligned_lowp> aligned_lowp_bvec2;
180 
182  typedef vec<2, float, packed_highp> packed_highp_vec2;
183 
185  typedef vec<2, float, packed_mediump> packed_mediump_vec2;
186 
188  typedef vec<2, float, packed_lowp> packed_lowp_vec2;
189 
191  typedef vec<2, double, packed_highp> packed_highp_dvec2;
192 
194  typedef vec<2, double, packed_mediump> packed_mediump_dvec2;
195 
197  typedef vec<2, double, packed_lowp> packed_lowp_dvec2;
198 
200  typedef vec<2, int, packed_highp> packed_highp_ivec2;
201 
203  typedef vec<2, int, packed_mediump> packed_mediump_ivec2;
204 
206  typedef vec<2, int, packed_lowp> packed_lowp_ivec2;
207 
209  typedef vec<2, uint, packed_highp> packed_highp_uvec2;
210 
212  typedef vec<2, uint, packed_mediump> packed_mediump_uvec2;
213 
215  typedef vec<2, uint, packed_lowp> packed_lowp_uvec2;
216 
218  typedef vec<2, bool, packed_highp> packed_highp_bvec2;
219 
221  typedef vec<2, bool, packed_mediump> packed_mediump_bvec2;
222 
224  typedef vec<2, bool, packed_lowp> packed_lowp_bvec2;
225 
226  // -- *vec3 --
227 
229  typedef vec<3, float, aligned_highp> aligned_highp_vec3;
230 
232  typedef vec<3, float, aligned_mediump> aligned_mediump_vec3;
233 
235  typedef vec<3, float, aligned_lowp> aligned_lowp_vec3;
236 
238  typedef vec<3, double, aligned_highp> aligned_highp_dvec3;
239 
241  typedef vec<3, double, aligned_mediump> aligned_mediump_dvec3;
242 
244  typedef vec<3, double, aligned_lowp> aligned_lowp_dvec3;
245 
247  typedef vec<3, int, aligned_highp> aligned_highp_ivec3;
248 
250  typedef vec<3, int, aligned_mediump> aligned_mediump_ivec3;
251 
253  typedef vec<3, int, aligned_lowp> aligned_lowp_ivec3;
254 
256  typedef vec<3, uint, aligned_highp> aligned_highp_uvec3;
257 
259  typedef vec<3, uint, aligned_mediump> aligned_mediump_uvec3;
260 
262  typedef vec<3, uint, aligned_lowp> aligned_lowp_uvec3;
263 
265  typedef vec<3, bool, aligned_highp> aligned_highp_bvec3;
266 
268  typedef vec<3, bool, aligned_mediump> aligned_mediump_bvec3;
269 
271  typedef vec<3, bool, aligned_lowp> aligned_lowp_bvec3;
272 
274  typedef vec<3, float, packed_highp> packed_highp_vec3;
275 
277  typedef vec<3, float, packed_mediump> packed_mediump_vec3;
278 
280  typedef vec<3, float, packed_lowp> packed_lowp_vec3;
281 
283  typedef vec<3, double, packed_highp> packed_highp_dvec3;
284 
286  typedef vec<3, double, packed_mediump> packed_mediump_dvec3;
287 
289  typedef vec<3, double, packed_lowp> packed_lowp_dvec3;
290 
292  typedef vec<3, int, packed_highp> packed_highp_ivec3;
293 
295  typedef vec<3, int, packed_mediump> packed_mediump_ivec3;
296 
298  typedef vec<3, int, packed_lowp> packed_lowp_ivec3;
299 
301  typedef vec<3, uint, packed_highp> packed_highp_uvec3;
302 
304  typedef vec<3, uint, packed_mediump> packed_mediump_uvec3;
305 
307  typedef vec<3, uint, packed_lowp> packed_lowp_uvec3;
308 
310  typedef vec<3, bool, packed_highp> packed_highp_bvec3;
311 
313  typedef vec<3, bool, packed_mediump> packed_mediump_bvec3;
314 
316  typedef vec<3, bool, packed_lowp> packed_lowp_bvec3;
317 
318  // -- *vec4 --
319 
321  typedef vec<4, float, aligned_highp> aligned_highp_vec4;
322 
324  typedef vec<4, float, aligned_mediump> aligned_mediump_vec4;
325 
327  typedef vec<4, float, aligned_lowp> aligned_lowp_vec4;
328 
330  typedef vec<4, double, aligned_highp> aligned_highp_dvec4;
331 
333  typedef vec<4, double, aligned_mediump> aligned_mediump_dvec4;
334 
336  typedef vec<4, double, aligned_lowp> aligned_lowp_dvec4;
337 
339  typedef vec<4, int, aligned_highp> aligned_highp_ivec4;
340 
342  typedef vec<4, int, aligned_mediump> aligned_mediump_ivec4;
343 
345  typedef vec<4, int, aligned_lowp> aligned_lowp_ivec4;
346 
348  typedef vec<4, uint, aligned_highp> aligned_highp_uvec4;
349 
351  typedef vec<4, uint, aligned_mediump> aligned_mediump_uvec4;
352 
354  typedef vec<4, uint, aligned_lowp> aligned_lowp_uvec4;
355 
357  typedef vec<4, bool, aligned_highp> aligned_highp_bvec4;
358 
360  typedef vec<4, bool, aligned_mediump> aligned_mediump_bvec4;
361 
363  typedef vec<4, bool, aligned_lowp> aligned_lowp_bvec4;
364 
366  typedef vec<4, float, packed_highp> packed_highp_vec4;
367 
369  typedef vec<4, float, packed_mediump> packed_mediump_vec4;
370 
372  typedef vec<4, float, packed_lowp> packed_lowp_vec4;
373 
375  typedef vec<4, double, packed_highp> packed_highp_dvec4;
376 
378  typedef vec<4, double, packed_mediump> packed_mediump_dvec4;
379 
381  typedef vec<4, double, packed_lowp> packed_lowp_dvec4;
382 
384  typedef vec<4, int, packed_highp> packed_highp_ivec4;
385 
387  typedef vec<4, int, packed_mediump> packed_mediump_ivec4;
388 
390  typedef vec<4, int, packed_lowp> packed_lowp_ivec4;
391 
393  typedef vec<4, uint, packed_highp> packed_highp_uvec4;
394 
396  typedef vec<4, uint, packed_mediump> packed_mediump_uvec4;
397 
399  typedef vec<4, uint, packed_lowp> packed_lowp_uvec4;
400 
402  typedef vec<4, bool, packed_highp> packed_highp_bvec4;
403 
405  typedef vec<4, bool, packed_mediump> packed_mediump_bvec4;
406 
408  typedef vec<4, bool, packed_lowp> packed_lowp_bvec4;
409 
410  // -- *mat2 --
411 
413  typedef mat<2, 2, float, aligned_highp> aligned_highp_mat2;
414 
416  typedef mat<2, 2, float, aligned_mediump> aligned_mediump_mat2;
417 
419  typedef mat<2, 2, float, aligned_lowp> aligned_lowp_mat2;
420 
422  typedef mat<2, 2, double, aligned_highp> aligned_highp_dmat2;
423 
425  typedef mat<2, 2, double, aligned_mediump> aligned_mediump_dmat2;
426 
428  typedef mat<2, 2, double, aligned_lowp> aligned_lowp_dmat2;
429 
431  typedef mat<2, 2, float, packed_highp> packed_highp_mat2;
432 
434  typedef mat<2, 2, float, packed_mediump> packed_mediump_mat2;
435 
437  typedef mat<2, 2, float, packed_lowp> packed_lowp_mat2;
438 
440  typedef mat<2, 2, double, packed_highp> packed_highp_dmat2;
441 
443  typedef mat<2, 2, double, packed_mediump> packed_mediump_dmat2;
444 
446  typedef mat<2, 2, double, packed_lowp> packed_lowp_dmat2;
447 
448  // -- *mat3 --
449 
451  typedef mat<3, 3, float, aligned_highp> aligned_highp_mat3;
452 
454  typedef mat<3, 3, float, aligned_mediump> aligned_mediump_mat3;
455 
457  typedef mat<3, 3, float, aligned_lowp> aligned_lowp_mat3;
458 
460  typedef mat<3, 3, double, aligned_highp> aligned_highp_dmat3;
461 
463  typedef mat<3, 3, double, aligned_mediump> aligned_mediump_dmat3;
464 
466  typedef mat<3, 3, double, aligned_lowp> aligned_lowp_dmat3;
467 
469  typedef mat<3, 3, float, packed_highp> packed_highp_mat3;
470 
472  typedef mat<3, 3, float, packed_mediump> packed_mediump_mat3;
473 
475  typedef mat<3, 3, float, packed_lowp> packed_lowp_mat3;
476 
478  typedef mat<3, 3, double, packed_highp> packed_highp_dmat3;
479 
481  typedef mat<3, 3, double, packed_mediump> packed_mediump_dmat3;
482 
484  typedef mat<3, 3, double, packed_lowp> packed_lowp_dmat3;
485 
486  // -- *mat4 --
487 
489  typedef mat<4, 4, float, aligned_highp> aligned_highp_mat4;
490 
492  typedef mat<4, 4, float, aligned_mediump> aligned_mediump_mat4;
493 
495  typedef mat<4, 4, float, aligned_lowp> aligned_lowp_mat4;
496 
498  typedef mat<4, 4, double, aligned_highp> aligned_highp_dmat4;
499 
501  typedef mat<4, 4, double, aligned_mediump> aligned_mediump_dmat4;
502 
504  typedef mat<4, 4, double, aligned_lowp> aligned_lowp_dmat4;
505 
507  typedef mat<4, 4, float, packed_highp> packed_highp_mat4;
508 
510  typedef mat<4, 4, float, packed_mediump> packed_mediump_mat4;
511 
513  typedef mat<4, 4, float, packed_lowp> packed_lowp_mat4;
514 
516  typedef mat<4, 4, double, packed_highp> packed_highp_dmat4;
517 
519  typedef mat<4, 4, double, packed_mediump> packed_mediump_dmat4;
520 
522  typedef mat<4, 4, double, packed_lowp> packed_lowp_dmat4;
523 
524  // -- *mat2x2 --
525 
527  typedef mat<2, 2, float, aligned_highp> aligned_highp_mat2x2;
528 
530  typedef mat<2, 2, float, aligned_mediump> aligned_mediump_mat2x2;
531 
533  typedef mat<2, 2, float, aligned_lowp> aligned_lowp_mat2x2;
534 
536  typedef mat<2, 2, double, aligned_highp> aligned_highp_dmat2x2;
537 
539  typedef mat<2, 2, double, aligned_mediump> aligned_mediump_dmat2x2;
540 
542  typedef mat<2, 2, double, aligned_lowp> aligned_lowp_dmat2x2;
543 
545  typedef mat<2, 2, float, packed_highp> packed_highp_mat2x2;
546 
548  typedef mat<2, 2, float, packed_mediump> packed_mediump_mat2x2;
549 
551  typedef mat<2, 2, float, packed_lowp> packed_lowp_mat2x2;
552 
554  typedef mat<2, 2, double, packed_highp> packed_highp_dmat2x2;
555 
557  typedef mat<2, 2, double, packed_mediump> packed_mediump_dmat2x2;
558 
560  typedef mat<2, 2, double, packed_lowp> packed_lowp_dmat2x2;
561 
562  // -- *mat2x3 --
563 
565  typedef mat<2, 3, float, aligned_highp> aligned_highp_mat2x3;
566 
568  typedef mat<2, 3, float, aligned_mediump> aligned_mediump_mat2x3;
569 
571  typedef mat<2, 3, float, aligned_lowp> aligned_lowp_mat2x3;
572 
574  typedef mat<2, 3, double, aligned_highp> aligned_highp_dmat2x3;
575 
577  typedef mat<2, 3, double, aligned_mediump> aligned_mediump_dmat2x3;
578 
580  typedef mat<2, 3, double, aligned_lowp> aligned_lowp_dmat2x3;
581 
583  typedef mat<2, 3, float, packed_highp> packed_highp_mat2x3;
584 
586  typedef mat<2, 3, float, packed_mediump> packed_mediump_mat2x3;
587 
589  typedef mat<2, 3, float, packed_lowp> packed_lowp_mat2x3;
590 
592  typedef mat<2, 3, double, packed_highp> packed_highp_dmat2x3;
593 
595  typedef mat<2, 3, double, packed_mediump> packed_mediump_dmat2x3;
596 
598  typedef mat<2, 3, double, packed_lowp> packed_lowp_dmat2x3;
599 
600  // -- *mat2x4 --
601 
603  typedef mat<2, 4, float, aligned_highp> aligned_highp_mat2x4;
604 
606  typedef mat<2, 4, float, aligned_mediump> aligned_mediump_mat2x4;
607 
609  typedef mat<2, 4, float, aligned_lowp> aligned_lowp_mat2x4;
610 
612  typedef mat<2, 4, double, aligned_highp> aligned_highp_dmat2x4;
613 
615  typedef mat<2, 4, double, aligned_mediump> aligned_mediump_dmat2x4;
616 
618  typedef mat<2, 4, double, aligned_lowp> aligned_lowp_dmat2x4;
619 
621  typedef mat<2, 4, float, packed_highp> packed_highp_mat2x4;
622 
624  typedef mat<2, 4, float, packed_mediump> packed_mediump_mat2x4;
625 
627  typedef mat<2, 4, float, packed_lowp> packed_lowp_mat2x4;
628 
630  typedef mat<2, 4, double, packed_highp> packed_highp_dmat2x4;
631 
633  typedef mat<2, 4, double, packed_mediump> packed_mediump_dmat2x4;
634 
636  typedef mat<2, 4, double, packed_lowp> packed_lowp_dmat2x4;
637 
638  // -- *mat3x2 --
639 
641  typedef mat<3, 2, float, aligned_highp> aligned_highp_mat3x2;
642 
644  typedef mat<3, 2, float, aligned_mediump> aligned_mediump_mat3x2;
645 
647  typedef mat<3, 2, float, aligned_lowp> aligned_lowp_mat3x2;
648 
650  typedef mat<3, 2, double, aligned_highp> aligned_highp_dmat3x2;
651 
653  typedef mat<3, 2, double, aligned_mediump> aligned_mediump_dmat3x2;
654 
656  typedef mat<3, 2, double, aligned_lowp> aligned_lowp_dmat3x2;
657 
659  typedef mat<3, 2, float, packed_highp> packed_highp_mat3x2;
660 
662  typedef mat<3, 2, float, packed_mediump> packed_mediump_mat3x2;
663 
665  typedef mat<3, 2, float, packed_lowp> packed_lowp_mat3x2;
666 
668  typedef mat<3, 2, double, packed_highp> packed_highp_dmat3x2;
669 
671  typedef mat<3, 2, double, packed_mediump> packed_mediump_dmat3x2;
672 
674  typedef mat<3, 2, double, packed_lowp> packed_lowp_dmat3x2;
675 
676  // -- *mat3x3 --
677 
679  typedef mat<3, 3, float, aligned_highp> aligned_highp_mat3x3;
680 
682  typedef mat<3, 3, float, aligned_mediump> aligned_mediump_mat3x3;
683 
685  typedef mat<3, 3, float, aligned_lowp> aligned_lowp_mat3x3;
686 
688  typedef mat<3, 3, double, aligned_highp> aligned_highp_dmat3x3;
689 
691  typedef mat<3, 3, double, aligned_mediump> aligned_mediump_dmat3x3;
692 
694  typedef mat<3, 3, double, aligned_lowp> aligned_lowp_dmat3x3;
695 
697  typedef mat<3, 3, float, packed_highp> packed_highp_mat3x3;
698 
700  typedef mat<3, 3, float, packed_mediump> packed_mediump_mat3x3;
701 
703  typedef mat<3, 3, float, packed_lowp> packed_lowp_mat3x3;
704 
706  typedef mat<3, 3, double, packed_highp> packed_highp_dmat3x3;
707 
709  typedef mat<3, 3, double, packed_mediump> packed_mediump_dmat3x3;
710 
712  typedef mat<3, 3, double, packed_lowp> packed_lowp_dmat3x3;
713 
714  // -- *mat3x4 --
715 
717  typedef mat<3, 4, float, aligned_highp> aligned_highp_mat3x4;
718 
720  typedef mat<3, 4, float, aligned_mediump> aligned_mediump_mat3x4;
721 
723  typedef mat<3, 4, float, aligned_lowp> aligned_lowp_mat3x4;
724 
726  typedef mat<3, 4, double, aligned_highp> aligned_highp_dmat3x4;
727 
729  typedef mat<3, 4, double, aligned_mediump> aligned_mediump_dmat3x4;
730 
732  typedef mat<3, 4, double, aligned_lowp> aligned_lowp_dmat3x4;
733 
735  typedef mat<3, 4, float, packed_highp> packed_highp_mat3x4;
736 
738  typedef mat<3, 4, float, packed_mediump> packed_mediump_mat3x4;
739 
741  typedef mat<3, 4, float, packed_lowp> packed_lowp_mat3x4;
742 
744  typedef mat<3, 4, double, packed_highp> packed_highp_dmat3x4;
745 
747  typedef mat<3, 4, double, packed_mediump> packed_mediump_dmat3x4;
748 
750  typedef mat<3, 4, double, packed_lowp> packed_lowp_dmat3x4;
751 
752  // -- *mat4x2 --
753 
755  typedef mat<4, 2, float, aligned_highp> aligned_highp_mat4x2;
756 
758  typedef mat<4, 2, float, aligned_mediump> aligned_mediump_mat4x2;
759 
761  typedef mat<4, 2, float, aligned_lowp> aligned_lowp_mat4x2;
762 
764  typedef mat<4, 2, double, aligned_highp> aligned_highp_dmat4x2;
765 
767  typedef mat<4, 2, double, aligned_mediump> aligned_mediump_dmat4x2;
768 
770  typedef mat<4, 2, double, aligned_lowp> aligned_lowp_dmat4x2;
771 
773  typedef mat<4, 2, float, packed_highp> packed_highp_mat4x2;
774 
776  typedef mat<4, 2, float, packed_mediump> packed_mediump_mat4x2;
777 
779  typedef mat<4, 2, float, packed_lowp> packed_lowp_mat4x2;
780 
782  typedef mat<4, 2, double, packed_highp> packed_highp_dmat4x2;
783 
785  typedef mat<4, 2, double, packed_mediump> packed_mediump_dmat4x2;
786 
788  typedef mat<4, 2, double, packed_lowp> packed_lowp_dmat4x2;
789 
790  // -- *mat4x3 --
791 
793  typedef mat<4, 3, float, aligned_highp> aligned_highp_mat4x3;
794 
796  typedef mat<4, 3, float, aligned_mediump> aligned_mediump_mat4x3;
797 
799  typedef mat<4, 3, float, aligned_lowp> aligned_lowp_mat4x3;
800 
802  typedef mat<4, 3, double, aligned_highp> aligned_highp_dmat4x3;
803 
805  typedef mat<4, 3, double, aligned_mediump> aligned_mediump_dmat4x3;
806 
808  typedef mat<4, 3, double, aligned_lowp> aligned_lowp_dmat4x3;
809 
811  typedef mat<4, 3, float, packed_highp> packed_highp_mat4x3;
812 
814  typedef mat<4, 3, float, packed_mediump> packed_mediump_mat4x3;
815 
817  typedef mat<4, 3, float, packed_lowp> packed_lowp_mat4x3;
818 
820  typedef mat<4, 3, double, packed_highp> packed_highp_dmat4x3;
821 
823  typedef mat<4, 3, double, packed_mediump> packed_mediump_dmat4x3;
824 
826  typedef mat<4, 3, double, packed_lowp> packed_lowp_dmat4x3;
827 
828  // -- *mat4x4 --
829 
831  typedef mat<4, 4, float, aligned_highp> aligned_highp_mat4x4;
832 
834  typedef mat<4, 4, float, aligned_mediump> aligned_mediump_mat4x4;
835 
837  typedef mat<4, 4, float, aligned_lowp> aligned_lowp_mat4x4;
838 
840  typedef mat<4, 4, double, aligned_highp> aligned_highp_dmat4x4;
841 
843  typedef mat<4, 4, double, aligned_mediump> aligned_mediump_dmat4x4;
844 
846  typedef mat<4, 4, double, aligned_lowp> aligned_lowp_dmat4x4;
847 
849  typedef mat<4, 4, float, packed_highp> packed_highp_mat4x4;
850 
852  typedef mat<4, 4, float, packed_mediump> packed_mediump_mat4x4;
853 
855  typedef mat<4, 4, float, packed_lowp> packed_lowp_mat4x4;
856 
858  typedef mat<4, 4, double, packed_highp> packed_highp_dmat4x4;
859 
861  typedef mat<4, 4, double, packed_mediump> packed_mediump_dmat4x4;
862 
864  typedef mat<4, 4, double, packed_lowp> packed_lowp_dmat4x4;
865 
866  // -- default --
867 
868 #if(defined(GLM_PRECISION_LOWP_FLOAT))
877 
884 
903 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
912 
919 
938 #else //defined(GLM_PRECISION_HIGHP_FLOAT)
941 
944 
947 
950 
953 
956 
959 
962 
965 
968 
971 
974 
977 
980 
983 
986 
989 
992 
995 
998 
1001 
1004 
1007 
1010 
1013 
1016 
1019 
1022 
1025 
1028 
1031 
1034 #endif//GLM_PRECISION
1035 
1036 #if(defined(GLM_PRECISION_LOWP_DOUBLE))
1045 
1052 
1071 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
1080 
1087 
1106 #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
1109 
1112 
1115 
1118 
1121 
1124 
1127 
1130 
1133 
1136 
1139 
1142 
1145 
1148 
1151 
1154 
1157 
1160 
1163 
1166 
1169 
1172 
1175 
1178 
1181 
1184 
1187 
1190 
1193 
1196 
1199 
1202 #endif//GLM_PRECISION
1203 
1204 #if(defined(GLM_PRECISION_LOWP_INT))
1209 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
1214 #else //defined(GLM_PRECISION_HIGHP_INT)
1217 
1220 
1223 
1226 
1229 
1232 
1235 
1238 #endif//GLM_PRECISION
1239 
1240  // -- Unsigned integer definition --
1241 
1242 #if(defined(GLM_PRECISION_LOWP_UINT))
1247 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
1252 #else //defined(GLM_PRECISION_HIGHP_UINT)
1255 
1258 
1261 
1264 
1267 
1270 
1273 
1276 #endif//GLM_PRECISION
1277 
1278 #if(defined(GLM_PRECISION_LOWP_BOOL))
1283 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
1288 #else //defined(GLM_PRECISION_HIGHP_BOOL)
1291 
1294 
1297 
1300 
1303 
1306 
1309 
1312 #endif//GLM_PRECISION
1313 
1315 }//namespace glm
mat< 3, 4, double, aligned_lowp > aligned_lowp_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 2, bool, aligned_mediump > aligned_mediump_bvec2
2 components vector aligned in memory of bool values.
+
vec< 4, bool, packed_lowp > packed_lowp_bvec4
4 components vector tightly packed in memory of bool values.
+
aligned_highp_mat2x4 aligned_mat2x4
2 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 1, bool, packed_highp > packed_highp_bvec1
1 component vector tightly packed in memory of bool values.
+
mat< 4, 3, double, aligned_highp > aligned_highp_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 3, float, aligned_highp > aligned_highp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
aligned_highp_dmat3x2 aligned_dmat3x2
3 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 4, double, aligned_highp > aligned_highp_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 3, uint, aligned_mediump > aligned_mediump_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 4, float, aligned_lowp > aligned_lowp_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, int, packed_highp > packed_highp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 3, 2, float, aligned_lowp > aligned_lowp_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 4, 3, float, packed_mediump > packed_mediump_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_bvec1 packed_bvec1
1 components vector tightly packed in memory of bool values.
+
mat< 4, 3, float, packed_lowp > packed_lowp_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 4, float, packed_highp > packed_highp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
vec< 2, double, packed_highp > packed_highp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
packed_highp_dmat2 packed_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 2, float, aligned_mediump > aligned_mediump_vec2
2 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
vec< 3, double, aligned_lowp > aligned_lowp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 4, 2, double, packed_lowp > packed_lowp_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 3, uint, packed_highp > packed_highp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 3, float, packed_lowp > packed_lowp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
vec< 3, uint, aligned_highp > aligned_highp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, uint, aligned_mediump > aligned_mediump_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
packed_highp_mat3 packed_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 2, float, aligned_highp > aligned_highp_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
aligned_highp_dmat2x3 aligned_dmat2x3
2 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 4, 2, double, aligned_highp > aligned_highp_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
packed_highp_vec2 packed_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers.
+
aligned_highp_dmat4 aligned_dmat4
4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
packed_highp_uvec2 packed_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 3, double, packed_highp > packed_highp_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x2 packed_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 4, 4, float, packed_mediump > packed_mediump_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_mat4x4 packed_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
vec< 4, uint, aligned_mediump > aligned_mediump_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, float, aligned_highp > aligned_highp_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 4, int, aligned_highp > aligned_highp_ivec4
4 components vector aligned in memory of signed integer numbers.
+
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 1, double, packed_lowp > packed_lowp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using low prec...
+
mat< 2, 2, float, aligned_highp > aligned_highp_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 2, uint, packed_lowp > packed_lowp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, int, aligned_lowp > aligned_lowp_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 4, 2, double, packed_highp > packed_highp_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 2, bool, aligned_highp > aligned_highp_bvec2
2 components vector aligned in memory of bool values.
+
packed_highp_dmat4x2 packed_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
packed_highp_uvec1 packed_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, bool, aligned_highp > aligned_highp_bvec1
1 component vector aligned in memory of bool values.
+
mat< 2, 4, double, aligned_highp > aligned_highp_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
packed_highp_vec4 packed_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers.
+
vec< 3, bool, aligned_mediump > aligned_mediump_bvec3
3 components vector aligned in memory of bool values.
+
vec< 3, double, aligned_mediump > aligned_mediump_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 1, uint, packed_highp > packed_highp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 2, int, aligned_lowp > aligned_lowp_ivec2
2 components vector aligned in memory of signed integer numbers.
+
mat< 2, 3, double, packed_lowp > packed_lowp_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 3, double, packed_lowp > packed_lowp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
+
mat< 2, 2, float, packed_mediump > packed_mediump_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
+
vec< 2, float, packed_mediump > packed_mediump_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
mat< 4, 4, float, packed_lowp > packed_lowp_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, double, packed_highp > packed_highp_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
vec< 4, uint, aligned_highp > aligned_highp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_dmat2x4 aligned_dmat2x4
2 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
packed_highp_bvec2 packed_bvec2
2 components vector tightly packed in memory of bool values.
+
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
+
vec< 2, double, aligned_mediump > aligned_mediump_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
vec< 3, int, packed_mediump > packed_mediump_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
vec< 4, float, aligned_highp > aligned_highp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
packed_highp_ivec2 packed_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
+
mat< 2, 4, double, aligned_lowp > aligned_lowp_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 3, 2, double, aligned_highp > aligned_highp_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
vec< 1, int, aligned_highp > aligned_highp_ivec1
1 component vector aligned in memory of signed integer numbers.
+
aligned_highp_dmat2x2 aligned_dmat2x2
2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 2, 4, float, aligned_mediump > aligned_mediump_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 4, float, packed_lowp > packed_lowp_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 3, 3, double, aligned_highp > aligned_highp_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 3, 4, double, packed_mediump > packed_mediump_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 2, float, packed_highp > packed_highp_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 3, float, aligned_lowp > aligned_lowp_vec3
3 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
aligned_highp_dmat4x3 aligned_dmat4x3
4 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 2, int, packed_mediump > packed_mediump_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 3, float, packed_mediump > packed_mediump_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
aligned_highp_bvec1 aligned_bvec1
1 component vector aligned in memory of bool values.
+
mat< 3, 3, float, aligned_highp > aligned_highp_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, float, aligned_highp > aligned_highp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using high precision ...
+
mat< 4, 4, double, aligned_highp > aligned_highp_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 4, 2, double, aligned_mediump > aligned_mediump_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 2, 4, float, packed_lowp > packed_lowp_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
aligned_highp_mat3x4 aligned_mat3x4
3 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
packed_highp_dmat3x4 packed_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 3, 2, float, packed_lowp > packed_lowp_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 2, double, aligned_lowp > aligned_lowp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
vec< 4, bool, packed_mediump > packed_mediump_bvec4
4 components vector tightly packed in memory of bool values.
+
vec< 2, uint, packed_highp > packed_highp_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 2, bool, packed_lowp > packed_lowp_bvec2
2 components vector tightly packed in memory of bool values.
+
mat< 3, 4, double, aligned_mediump > aligned_mediump_dmat3x4
3 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 1, double, aligned_highp > aligned_highp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using high precision ...
+
packed_highp_bvec4 packed_bvec4
4 components vector tightly packed in memory of bool values.
+
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 2, double, packed_highp > packed_highp_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x4 packed_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
packed_highp_mat4x3 packed_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 3, 2, float, aligned_mediump > aligned_mediump_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 2, uint, packed_mediump > packed_mediump_uvec2
2 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 2, int, packed_lowp > packed_lowp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
mat< 4, 2, float, aligned_mediump > aligned_mediump_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 1, double, aligned_lowp > aligned_lowp_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using low precision a...
+
vec< 4, bool, aligned_lowp > aligned_lowp_bvec4
4 components vector aligned in memory of bool values.
+
vec< 4, uint, aligned_lowp > aligned_lowp_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 4, double, aligned_mediump > aligned_mediump_dmat2x4
2 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, double, packed_highp > packed_highp_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, float, packed_lowp > packed_lowp_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
packed_highp_mat4 packed_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
+
packed_highp_mat2x3 packed_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, double, packed_mediump > packed_mediump_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 4, 2, double, aligned_lowp > aligned_lowp_dmat4x2
4 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
aligned_highp_dmat3x3 aligned_dmat3x3
3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
aligned_highp_mat2x3 aligned_mat2x3
2 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 3, float, aligned_mediump > aligned_mediump_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, double, packed_lowp > packed_lowp_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
aligned_highp_bvec2 aligned_bvec2
2 components vector aligned in memory of bool values.
+
vec< 1, bool, packed_lowp > packed_lowp_bvec1
1 component vector tightly packed in memory of bool values.
+
vec< 2, float, packed_highp > packed_highp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
packed_highp_vec1 packed_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers.
+
packed_highp_dmat3x3 packed_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, packed_mediump > packed_mediump_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 1, int, packed_highp > packed_highp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
mat< 3, 2, double, aligned_lowp > aligned_lowp_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 4, double, aligned_highp > aligned_highp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
packed_highp_dmat3x2 packed_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 4, 3, float, aligned_highp > aligned_highp_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, float, packed_lowp > packed_lowp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using low prec...
+
mat< 2, 3, double, aligned_mediump > aligned_mediump_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 2, 3, double, packed_highp > packed_highp_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
packed_highp_dmat2x3 packed_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 4, 4, double, packed_lowp > packed_lowp_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 3, 3, float, packed_lowp > packed_lowp_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
packed_highp_uvec4 packed_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 4, uint, packed_mediump > packed_mediump_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 4, 4, double, aligned_mediump > aligned_mediump_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 2, bool, packed_mediump > packed_mediump_bvec2
2 components vector tightly packed in memory of bool values.
+
vec< 3, float, aligned_mediump > aligned_mediump_vec3
3 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
vec< 2, uint, aligned_highp > aligned_highp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
vec< 3, bool, packed_highp > packed_highp_bvec3
3 components vector tightly packed in memory of bool values.
+
vec< 1, float, aligned_mediump > aligned_mediump_vec1
1 component vector aligned in memory of single-precision floating-point numbers using medium precisio...
+
vec< 4, int, aligned_lowp > aligned_lowp_ivec4
4 components vector aligned in memory of signed integer numbers.
+
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
+
aligned_highp_dmat2 aligned_dmat2
2 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 3, int, aligned_highp > aligned_highp_ivec3
3 components vector aligned in memory of signed integer numbers.
+
mat< 3, 4, float, packed_mediump > packed_mediump_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_ivec3 packed_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 4, float, packed_highp > packed_highp_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 4, 4, double, packed_highp > packed_highp_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 2, 3, double, aligned_lowp > aligned_lowp_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 2, 3, float, packed_mediump > packed_mediump_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_vec3 packed_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers.
+
vec< 3, int, aligned_mediump > aligned_mediump_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 4, bool, aligned_mediump > aligned_mediump_bvec4
4 components vector aligned in memory of bool values.
+
packed_highp_mat4x2 packed_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
packed_highp_mat2x2 packed_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 3, float, packed_highp > packed_highp_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 2, 4, float, packed_mediump > packed_mediump_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
+
aligned_highp_mat4x3 aligned_mat4x3
4 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 1, int, aligned_mediump > aligned_mediump_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 4, 4, float, packed_highp > packed_highp_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, double, aligned_lowp > aligned_lowp_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 2, float, aligned_lowp > aligned_lowp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
vec< 4, uint, packed_lowp > packed_lowp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 4, 2, float, packed_lowp > packed_lowp_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 4, float, aligned_mediump > aligned_mediump_vec4
4 components vector aligned in memory of single-precision floating-point numbers using medium precisi...
+
mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 4, int, aligned_mediump > aligned_mediump_ivec4
4 components vector aligned in memory of signed integer numbers.
+
packed_highp_dmat3 packed_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 4, double, packed_mediump > packed_mediump_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
+
packed_highp_ivec4 packed_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
mat< 4, 2, float, packed_highp > packed_highp_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 3, bool, packed_mediump > packed_mediump_bvec3
3 components vector tightly packed in memory of bool values.
+
mat< 4, 3, double, packed_lowp > packed_lowp_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 4, float, packed_lowp > packed_lowp_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
vec< 2, int, aligned_highp > aligned_highp_ivec2
2 components vector aligned in memory of signed integer numbers.
+
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
+
mat< 3, 3, double, aligned_highp > aligned_highp_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 2, 4, float, aligned_highp > aligned_highp_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 4, double, aligned_highp > aligned_highp_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
packed_highp_dmat4x4 packed_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3x3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 4, 3, double, packed_highp > packed_highp_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 4, uint, packed_highp > packed_highp_uvec4
4 components vector tightly packed in memory of unsigned integer numbers.
+
vec< 3, double, aligned_highp > aligned_highp_dvec3
3 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
packed_highp_mat3x3 packed_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers.
+
vec< 1, uint, packed_lowp > packed_lowp_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 1, float, packed_mediump > packed_mediump_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using medium p...
+
mat< 3, 2, double, packed_highp > packed_highp_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 1, bool, aligned_lowp > aligned_lowp_bvec1
1 component vector aligned in memory of bool values.
+
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
mat< 4, 4, float, aligned_highp > aligned_highp_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4x4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
packed_highp_mat2x4 packed_mat2x4
2 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
aligned_highp_mat4x2 aligned_mat4x2
4 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 4, int, packed_mediump > packed_mediump_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
vec< 1, double, packed_mediump > packed_mediump_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using medium p...
+
mat< 2, 2, float, packed_highp > packed_highp_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 2, double, packed_lowp > packed_lowp_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
+
mat< 2, 2, float, packed_lowp > packed_lowp_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
vec< 3, uint, packed_lowp > packed_lowp_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 3, 3, double, packed_lowp > packed_lowp_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 3, 3, float, packed_lowp > packed_lowp_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, bool, aligned_lowp > aligned_lowp_bvec3
3 components vector aligned in memory of bool values.
+
vec< 1, bool, aligned_mediump > aligned_mediump_bvec1
1 component vector aligned in memory of bool values.
+
vec< 2, double, packed_mediump > packed_mediump_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
mat< 2, 2, float, aligned_lowp > aligned_lowp_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 2, 3, double, aligned_highp > aligned_highp_dmat2x3
2 by 3 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 2, 2, double, packed_mediump > packed_mediump_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 4, 2, float, aligned_lowp > aligned_lowp_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 2, 2, double, packed_lowp > packed_lowp_dmat2x2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
aligned_highp_dmat4x4 aligned_dmat4x4
4 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, double, packed_highp > packed_highp_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 3, bool, packed_lowp > packed_lowp_bvec3
3 components vector tightly packed in memory of bool values.
+
vec< 3, double, packed_mediump > packed_mediump_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers using medium ...
+
mat< 2, 2, double, aligned_highp > aligned_highp_dmat2x2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
+
mat< 2, 3, float, packed_lowp > packed_lowp_mat2x3
2 by 3 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
mat< 4, 3, float, packed_highp > packed_highp_mat4x3
4 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 2, 2, float, packed_highp > packed_highp_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 1, int, packed_mediump > packed_mediump_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
packed_highp_mat3x4 packed_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 3, double, aligned_mediump > aligned_mediump_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
mat< 4, 3, double, packed_mediump > packed_mediump_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 4, 4, float, packed_mediump > packed_mediump_mat4x4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 4, bool, aligned_highp > aligned_highp_bvec4
4 components vector aligned in memory of bool values.
+
mat< 3, 3, double, aligned_mediump > aligned_mediump_dmat3
3 by 3 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
vec< 4, double, aligned_mediump > aligned_mediump_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using medium precisi...
+
mat< 4, 4, float, aligned_lowp > aligned_lowp_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 2, 2, float, packed_mediump > packed_mediump_mat2x2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 3, 2, float, packed_mediump > packed_mediump_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
mat< 4, 3, float, aligned_mediump > aligned_mediump_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
aligned_highp_dmat4x2 aligned_dmat4x2
4 by 2 matrix tightly aligned in memory of double-precision floating-point numbers.
+
vec< 4, int, packed_highp > packed_highp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
mat< 3, 3, float, packed_highp > packed_highp_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 3, 4, float, packed_highp > packed_highp_mat3x4
3 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 1, uint, aligned_lowp > aligned_lowp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 3, 2, float, aligned_highp > aligned_highp_mat3x2
3 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
vec< 1, uint, packed_mediump > packed_mediump_uvec1
1 component vector tightly packed in memory of unsigned integer numbers.
+
vec< 2, bool, aligned_lowp > aligned_lowp_bvec2
2 components vector aligned in memory of bool values.
+
mat< 4, 4, float, aligned_highp > aligned_highp_mat4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 4, 4, double, packed_mediump > packed_mediump_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 2, 4, double, packed_lowp > packed_lowp_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
vec< 4, bool, packed_highp > packed_highp_bvec4
4 components vector tightly packed in memory of bool values.
+
mat< 4, 2, float, aligned_highp > aligned_highp_mat4x2
4 by 2 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 3, 2, double, packed_mediump > packed_mediump_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 2, float, packed_lowp > packed_lowp_vec2
2 components vector tightly packed in memory of single-precision floating-point numbers using low pre...
+
vec< 3, int, aligned_lowp > aligned_lowp_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 4, float, packed_mediump > packed_mediump_vec4
4 components vector tightly packed in memory of single-precision floating-point numbers using medium ...
+
vec< 2, double, aligned_highp > aligned_highp_dvec2
2 components vector aligned in memory of double-precision floating-point numbers using high precision...
+
mat< 3, 2, double, aligned_mediump > aligned_mediump_dmat3x2
3 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
packed_highp_mat3x2 packed_mat3x2
3 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 2, 2, float, aligned_mediump > aligned_mediump_mat2x2
2 by 2 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 4, double, packed_lowp > packed_lowp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using low pre...
+
vec< 1, bool, packed_mediump > packed_mediump_bvec1
1 component vector tightly packed in memory of bool values.
+
packed_highp_ivec1 packed_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
vec< 1, double, aligned_mediump > aligned_mediump_dvec1
1 component vector aligned in memory of double-precision floating-point numbers using medium precisio...
+
aligned_highp_mat3x2 aligned_mat3x2
3 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 4, 3, float, aligned_lowp > aligned_lowp_mat4x3
4 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 4, 4, double, packed_highp > packed_highp_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 4, 4, float, packed_highp > packed_highp_mat4
4 by 4 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
mat< 2, 4, double, packed_mediump > packed_mediump_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
aligned_highp_dmat3x4 aligned_dmat3x4
3 by 4 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 2, 2, double, aligned_lowp > aligned_lowp_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 2, 3, float, aligned_highp > aligned_highp_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 2, 2, double, packed_mediump > packed_mediump_dmat2
2 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 4, double, packed_lowp > packed_lowp_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 3, 4, double, packed_highp > packed_highp_dmat3x4
3 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
vec< 2, float, aligned_highp > aligned_highp_vec2
2 components vector aligned in memory of single-precision floating-point numbers using high precision...
+
vec< 3, bool, aligned_highp > aligned_highp_bvec3
3 components vector aligned in memory of bool values.
+
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
+
vec< 4, int, packed_lowp > packed_lowp_ivec4
4 components vector tightly packed in memory of signed integer numbers.
+
vec< 4, double, packed_highp > packed_highp_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers using high pr...
+
aligned_highp_dmat3 aligned_dmat3
3 by 3 matrix tightly aligned in memory of double-precision floating-point numbers.
+
mat< 3, 3, float, packed_mediump > packed_mediump_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
vec< 2, int, packed_highp > packed_highp_ivec2
2 components vector tightly packed in memory of signed integer numbers.
+
mat< 2, 4, double, packed_highp > packed_highp_dmat2x4
2 by 4 matrix tightly packed in memory of double-precision floating-point numbers using high precisio...
+
mat< 3, 3, double, packed_mediump > packed_mediump_dmat3x3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
vec< 3, int, packed_lowp > packed_lowp_ivec3
3 components vector tightly packed in memory of signed integer numbers.
+
mat< 4, 4, double, aligned_lowp > aligned_lowp_dmat4
4 by 4 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
vec< 2, uint, aligned_mediump > aligned_mediump_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
Definition: common.hpp:18
+
vec< 1, float, packed_highp > packed_highp_vec1
1 component vector tightly packed in memory of single-precision floating-point numbers using high pre...
+
mat< 2, 3, float, aligned_lowp > aligned_lowp_mat2x3
2 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
mat< 3, 3, float, aligned_mediump > aligned_mediump_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
vec< 4, float, aligned_lowp > aligned_lowp_vec4
4 components vector aligned in memory of single-precision floating-point numbers using low precision ...
+
mat< 3, 3, double, packed_lowp > packed_lowp_dmat3
3 by 3 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
mat< 4, 2, double, packed_mediump > packed_mediump_dmat4x2
4 by 2 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
packed_highp_bvec3 packed_bvec3
3 components vector tightly packed in memory of bool values.
+
mat< 2, 2, float, packed_lowp > packed_lowp_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers using low precision...
+
packed_highp_dvec1 packed_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers.
+
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 2, double, aligned_highp > aligned_highp_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using high precision arith...
+
mat< 3, 4, float, aligned_highp > aligned_highp_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using high precision arith...
+
mat< 3, 3, float, packed_highp > packed_highp_mat3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using high precisio...
+
vec< 2, uint, aligned_lowp > aligned_lowp_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 2, bool, packed_highp > packed_highp_bvec2
2 components vector tightly packed in memory of bool values.
+
vec< 1, int, packed_lowp > packed_lowp_ivec1
1 component vector tightly packed in memory of signed integer numbers.
+
mat< 4, 3, double, aligned_lowp > aligned_lowp_dmat4x3
4 by 3 matrix aligned in memory of double-precision floating-point numbers using low precision arithm...
+
mat< 3, 2, double, packed_lowp > packed_lowp_dmat3x2
3 by 2 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
aligned_highp_bvec3 aligned_bvec3
3 components vector aligned in memory of bool values.
+
packed_highp_dvec4 packed_dvec4
4 components vector tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 4, float, aligned_lowp > aligned_lowp_mat2x4
2 by 4 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 3, uint, packed_mediump > packed_mediump_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
packed_highp_dvec2 packed_dvec2
2 components vector tightly packed in memory of double-precision floating-point numbers.
+
vec< 3, uint, aligned_lowp > aligned_lowp_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 4, double, aligned_lowp > aligned_lowp_dvec4
4 components vector aligned in memory of double-precision floating-point numbers using low precision ...
+
mat< 4, 2, float, packed_mediump > packed_mediump_mat4x2
4 by 2 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_dmat4 packed_dmat4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers.
+
packed_highp_dmat4x3 packed_dmat4x3
4 by 3 matrix tightly packed in memory of double-precision floating-point numbers.
+
vec< 1, float, aligned_lowp > aligned_lowp_vec1
1 component vector aligned in memory of single-precision floating-point numbers using low precision a...
+
vec< 1, uint, aligned_highp > aligned_highp_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 2, int, aligned_mediump > aligned_mediump_ivec2
2 components vector aligned in memory of signed integer numbers.
+
packed_highp_mat2 packed_mat2
2 by 2 matrix tightly packed in memory of single-precision floating-point numbers.
+
mat< 4, 4, float, aligned_mediump > aligned_mediump_mat4x4
4 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 4, float, aligned_mediump > aligned_mediump_mat3x4
3 by 4 matrix aligned in memory of single-precision floating-point numbers using medium precision ari...
+
mat< 3, 3, float, packed_mediump > packed_mediump_mat3x3
3 by 3 matrix tightly packed in memory of single-precision floating-point numbers using medium precis...
+
packed_highp_uvec3 packed_uvec3
3 components vector tightly packed in memory of unsigned integer numbers.
+
mat< 2, 3, double, packed_mediump > packed_mediump_dmat2x3
2 by 3 matrix tightly packed in memory of double-precision floating-point numbers using medium precis...
+
mat< 3, 3, float, aligned_lowp > aligned_lowp_mat3x3
3 by 3 matrix aligned in memory of single-precision floating-point numbers using low precision arithm...
+
vec< 1, double, packed_highp > packed_highp_dvec1
1 component vector tightly packed in memory of double-precision floating-point numbers using high pre...
+
vec< 3, float, packed_highp > packed_highp_vec3
3 components vector tightly packed in memory of single-precision floating-point numbers using high pr...
+
aligned_highp_bvec4 aligned_bvec4
4 components vector aligned in memory of bool values.
+
mat< 4, 4, double, packed_lowp > packed_lowp_dmat4x4
4 by 4 matrix tightly packed in memory of double-precision floating-point numbers using low precision...
+
packed_highp_dvec3 packed_dvec3
3 components vector tightly packed in memory of double-precision floating-point numbers.
+
mat< 2, 2, double, aligned_mediump > aligned_mediump_dmat2
2 by 2 matrix aligned in memory of double-precision floating-point numbers using medium precision ari...
+
+ + + + diff --git a/doc/api/a01385.html b/doc/api/a01385.html new file mode 100644 index 00000000..3a573684 --- /dev/null +++ b/doc/api/a01385.html @@ -0,0 +1,508 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/type_aligned.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

 GLM_ALIGNED_TYPEDEF (lowp_int8, aligned_lowp_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_int16, aligned_lowp_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_int32, aligned_lowp_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_int64, aligned_lowp_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_int8_t, aligned_lowp_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_int16_t, aligned_lowp_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_int32_t, aligned_lowp_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_int64_t, aligned_lowp_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_i8, aligned_lowp_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_i16, aligned_lowp_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_i32, aligned_lowp_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_i64, aligned_lowp_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_int8, aligned_mediump_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_int16, aligned_mediump_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_int32, aligned_mediump_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_int64, aligned_mediump_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_int8_t, aligned_mediump_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_int16_t, aligned_mediump_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_int32_t, aligned_mediump_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_int64_t, aligned_mediump_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_i8, aligned_mediump_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_i16, aligned_mediump_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_i32, aligned_mediump_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_i64, aligned_mediump_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_int8, aligned_highp_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_int16, aligned_highp_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_int32, aligned_highp_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_int64, aligned_highp_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_int8_t, aligned_highp_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_int16_t, aligned_highp_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_int32_t, aligned_highp_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_int64_t, aligned_highp_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_i8, aligned_highp_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_i16, aligned_highp_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_i32, aligned_highp_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_i64, aligned_highp_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (int8, aligned_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (int16, aligned_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (int32, aligned_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (int64, aligned_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (int8_t, aligned_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (int16_t, aligned_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (int32_t, aligned_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (int64_t, aligned_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (i8, aligned_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (i16, aligned_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (i32, aligned_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (i64, aligned_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (ivec1, aligned_ivec1, 4)
 
 GLM_ALIGNED_TYPEDEF (ivec2, aligned_ivec2, 8)
 
 GLM_ALIGNED_TYPEDEF (ivec3, aligned_ivec3, 16)
 
 GLM_ALIGNED_TYPEDEF (ivec4, aligned_ivec4, 16)
 
 GLM_ALIGNED_TYPEDEF (i8vec1, aligned_i8vec1, 1)
 
 GLM_ALIGNED_TYPEDEF (i8vec2, aligned_i8vec2, 2)
 
 GLM_ALIGNED_TYPEDEF (i8vec3, aligned_i8vec3, 4)
 
 GLM_ALIGNED_TYPEDEF (i8vec4, aligned_i8vec4, 4)
 
 GLM_ALIGNED_TYPEDEF (i16vec1, aligned_i16vec1, 2)
 
 GLM_ALIGNED_TYPEDEF (i16vec2, aligned_i16vec2, 4)
 
 GLM_ALIGNED_TYPEDEF (i16vec3, aligned_i16vec3, 8)
 
 GLM_ALIGNED_TYPEDEF (i16vec4, aligned_i16vec4, 8)
 
 GLM_ALIGNED_TYPEDEF (i32vec1, aligned_i32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (i32vec2, aligned_i32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (i32vec3, aligned_i32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (i32vec4, aligned_i32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (i64vec1, aligned_i64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (i64vec2, aligned_i64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (i64vec3, aligned_i64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (i64vec4, aligned_i64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8, aligned_lowp_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16, aligned_lowp_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32, aligned_lowp_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64, aligned_lowp_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8_t, aligned_lowp_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16_t, aligned_lowp_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32_t, aligned_lowp_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64_t, aligned_lowp_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_u8, aligned_lowp_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_u16, aligned_lowp_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_u32, aligned_lowp_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_u64, aligned_lowp_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8, aligned_mediump_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16, aligned_mediump_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32, aligned_mediump_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64, aligned_mediump_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8_t, aligned_mediump_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16_t, aligned_mediump_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32_t, aligned_mediump_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64_t, aligned_mediump_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_u8, aligned_mediump_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_u16, aligned_mediump_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_u32, aligned_mediump_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_u64, aligned_mediump_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_uint8, aligned_highp_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_uint16, aligned_highp_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_uint32, aligned_highp_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_uint64, aligned_highp_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_uint8_t, aligned_highp_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_uint16_t, aligned_highp_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_uint32_t, aligned_highp_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_uint64_t, aligned_highp_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_u8, aligned_highp_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_u16, aligned_highp_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_u32, aligned_highp_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_u64, aligned_highp_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (uint8, aligned_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (uint16, aligned_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (uint32, aligned_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (uint64, aligned_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (uint8_t, aligned_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (uint16_t, aligned_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (uint32_t, aligned_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (uint64_t, aligned_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (u8, aligned_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (u16, aligned_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (u32, aligned_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (u64, aligned_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (uvec1, aligned_uvec1, 4)
 
 GLM_ALIGNED_TYPEDEF (uvec2, aligned_uvec2, 8)
 
 GLM_ALIGNED_TYPEDEF (uvec3, aligned_uvec3, 16)
 
 GLM_ALIGNED_TYPEDEF (uvec4, aligned_uvec4, 16)
 
 GLM_ALIGNED_TYPEDEF (u8vec1, aligned_u8vec1, 1)
 
 GLM_ALIGNED_TYPEDEF (u8vec2, aligned_u8vec2, 2)
 
 GLM_ALIGNED_TYPEDEF (u8vec3, aligned_u8vec3, 4)
 
 GLM_ALIGNED_TYPEDEF (u8vec4, aligned_u8vec4, 4)
 
 GLM_ALIGNED_TYPEDEF (u16vec1, aligned_u16vec1, 2)
 
 GLM_ALIGNED_TYPEDEF (u16vec2, aligned_u16vec2, 4)
 
 GLM_ALIGNED_TYPEDEF (u16vec3, aligned_u16vec3, 8)
 
 GLM_ALIGNED_TYPEDEF (u16vec4, aligned_u16vec4, 8)
 
 GLM_ALIGNED_TYPEDEF (u32vec1, aligned_u32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (u32vec2, aligned_u32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (u32vec3, aligned_u32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (u32vec4, aligned_u32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (u64vec1, aligned_u64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (u64vec2, aligned_u64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (u64vec3, aligned_u64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (u64vec4, aligned_u64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_float32, 4)
 
 GLM_ALIGNED_TYPEDEF (float32_t, aligned_float32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_f32, 4)
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_float64, 8)
 
 GLM_ALIGNED_TYPEDEF (float64_t, aligned_float64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_f64, 8)
 
 GLM_ALIGNED_TYPEDEF (vec1, aligned_vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (vec2, aligned_vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (vec3, aligned_vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (vec4, aligned_vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (fvec1, aligned_fvec1, 4)
 
 GLM_ALIGNED_TYPEDEF (fvec2, aligned_fvec2, 8)
 
 GLM_ALIGNED_TYPEDEF (fvec3, aligned_fvec3, 16)
 
 GLM_ALIGNED_TYPEDEF (fvec4, aligned_fvec4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32vec1, aligned_f32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (f32vec2, aligned_f32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (f32vec3, aligned_f32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32vec4, aligned_f32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (dvec1, aligned_dvec1, 8)
 
 GLM_ALIGNED_TYPEDEF (dvec2, aligned_dvec2, 16)
 
 GLM_ALIGNED_TYPEDEF (dvec3, aligned_dvec3, 32)
 
 GLM_ALIGNED_TYPEDEF (dvec4, aligned_dvec4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64vec1, aligned_f64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (f64vec2, aligned_f64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (f64vec3, aligned_f64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64vec4, aligned_f64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (mat2, aligned_mat2, 16)
 
 GLM_ALIGNED_TYPEDEF (mat3, aligned_mat3, 16)
 
 GLM_ALIGNED_TYPEDEF (mat4, aligned_mat4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x3, aligned_fmat2x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x4, aligned_fmat2x4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x2, aligned_fmat3x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x4, aligned_fmat3x4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x2, aligned_fmat4x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x3, aligned_fmat4x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x3, aligned_f32mat2x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x4, aligned_f32mat2x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x2, aligned_f32mat3x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x4, aligned_f32mat3x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x2, aligned_f32mat4x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x3, aligned_f32mat4x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x3, aligned_f64mat2x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x4, aligned_f64mat2x4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x2, aligned_f64mat3x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x4, aligned_f64mat3x4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x2, aligned_f64mat4x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x3, aligned_f64mat4x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4x4, 32)
 
 GLM_ALIGNED_TYPEDEF (quat, aligned_quat, 16)
 
 GLM_ALIGNED_TYPEDEF (quat, aligned_fquat, 16)
 
 GLM_ALIGNED_TYPEDEF (dquat, aligned_dquat, 32)
 
 GLM_ALIGNED_TYPEDEF (f32quat, aligned_f32quat, 16)
 
 GLM_ALIGNED_TYPEDEF (f64quat, aligned_f64quat, 32)
 
+

Detailed Description

+

GLM_GTX_type_aligned

+
See also
Core features (dependence)
+
+GLM_GTC_quaternion (dependence)
+ +

Definition in file gtx/type_aligned.hpp.

+
+ + + + diff --git a/doc/api/a01385_source.html b/doc/api/a01385_source.html new file mode 100644 index 00000000..4e71181b --- /dev/null +++ b/doc/api/a01385_source.html @@ -0,0 +1,296 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/type_aligned.hpp
+
+
+Go to the documentation of this file.
1 
14 #pragma once
15 
16 // Dependency:
17 #include "../gtc/type_precision.hpp"
18 #include "../gtc/quaternion.hpp"
19 
20 #ifndef GLM_ENABLE_EXPERIMENTAL
21 # error "GLM: GLM_GTX_type_aligned is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
22 #endif
23 
24 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
25 # pragma message("GLM: GLM_GTX_type_aligned extension included")
26 #endif
27 
28 namespace glm
29 {
31  // Signed int vector types
32 
35 
38  GLM_ALIGNED_TYPEDEF(lowp_int8, aligned_lowp_int8, 1);
39 
42  GLM_ALIGNED_TYPEDEF(lowp_int16, aligned_lowp_int16, 2);
43 
46  GLM_ALIGNED_TYPEDEF(lowp_int32, aligned_lowp_int32, 4);
47 
50  GLM_ALIGNED_TYPEDEF(lowp_int64, aligned_lowp_int64, 8);
51 
52 
55  GLM_ALIGNED_TYPEDEF(lowp_int8_t, aligned_lowp_int8_t, 1);
56 
59  GLM_ALIGNED_TYPEDEF(lowp_int16_t, aligned_lowp_int16_t, 2);
60 
63  GLM_ALIGNED_TYPEDEF(lowp_int32_t, aligned_lowp_int32_t, 4);
64 
67  GLM_ALIGNED_TYPEDEF(lowp_int64_t, aligned_lowp_int64_t, 8);
68 
69 
72  GLM_ALIGNED_TYPEDEF(lowp_i8, aligned_lowp_i8, 1);
73 
76  GLM_ALIGNED_TYPEDEF(lowp_i16, aligned_lowp_i16, 2);
77 
80  GLM_ALIGNED_TYPEDEF(lowp_i32, aligned_lowp_i32, 4);
81 
84  GLM_ALIGNED_TYPEDEF(lowp_i64, aligned_lowp_i64, 8);
85 
86 
89  GLM_ALIGNED_TYPEDEF(mediump_int8, aligned_mediump_int8, 1);
90 
93  GLM_ALIGNED_TYPEDEF(mediump_int16, aligned_mediump_int16, 2);
94 
97  GLM_ALIGNED_TYPEDEF(mediump_int32, aligned_mediump_int32, 4);
98 
101  GLM_ALIGNED_TYPEDEF(mediump_int64, aligned_mediump_int64, 8);
102 
103 
106  GLM_ALIGNED_TYPEDEF(mediump_int8_t, aligned_mediump_int8_t, 1);
107 
110  GLM_ALIGNED_TYPEDEF(mediump_int16_t, aligned_mediump_int16_t, 2);
111 
114  GLM_ALIGNED_TYPEDEF(mediump_int32_t, aligned_mediump_int32_t, 4);
115 
118  GLM_ALIGNED_TYPEDEF(mediump_int64_t, aligned_mediump_int64_t, 8);
119 
120 
123  GLM_ALIGNED_TYPEDEF(mediump_i8, aligned_mediump_i8, 1);
124 
127  GLM_ALIGNED_TYPEDEF(mediump_i16, aligned_mediump_i16, 2);
128 
131  GLM_ALIGNED_TYPEDEF(mediump_i32, aligned_mediump_i32, 4);
132 
135  GLM_ALIGNED_TYPEDEF(mediump_i64, aligned_mediump_i64, 8);
136 
137 
140  GLM_ALIGNED_TYPEDEF(highp_int8, aligned_highp_int8, 1);
141 
144  GLM_ALIGNED_TYPEDEF(highp_int16, aligned_highp_int16, 2);
145 
148  GLM_ALIGNED_TYPEDEF(highp_int32, aligned_highp_int32, 4);
149 
152  GLM_ALIGNED_TYPEDEF(highp_int64, aligned_highp_int64, 8);
153 
154 
157  GLM_ALIGNED_TYPEDEF(highp_int8_t, aligned_highp_int8_t, 1);
158 
161  GLM_ALIGNED_TYPEDEF(highp_int16_t, aligned_highp_int16_t, 2);
162 
165  GLM_ALIGNED_TYPEDEF(highp_int32_t, aligned_highp_int32_t, 4);
166 
169  GLM_ALIGNED_TYPEDEF(highp_int64_t, aligned_highp_int64_t, 8);
170 
171 
174  GLM_ALIGNED_TYPEDEF(highp_i8, aligned_highp_i8, 1);
175 
178  GLM_ALIGNED_TYPEDEF(highp_i16, aligned_highp_i16, 2);
179 
182  GLM_ALIGNED_TYPEDEF(highp_i32, aligned_highp_i32, 4);
183 
186  GLM_ALIGNED_TYPEDEF(highp_i64, aligned_highp_i64, 8);
187 
188 
191  GLM_ALIGNED_TYPEDEF(int8, aligned_int8, 1);
192 
195  GLM_ALIGNED_TYPEDEF(int16, aligned_int16, 2);
196 
199  GLM_ALIGNED_TYPEDEF(int32, aligned_int32, 4);
200 
203  GLM_ALIGNED_TYPEDEF(int64, aligned_int64, 8);
204 
205 
208  GLM_ALIGNED_TYPEDEF(int8_t, aligned_int8_t, 1);
209 
212  GLM_ALIGNED_TYPEDEF(int16_t, aligned_int16_t, 2);
213 
216  GLM_ALIGNED_TYPEDEF(int32_t, aligned_int32_t, 4);
217 
220  GLM_ALIGNED_TYPEDEF(int64_t, aligned_int64_t, 8);
221 
222 
225  GLM_ALIGNED_TYPEDEF(i8, aligned_i8, 1);
226 
229  GLM_ALIGNED_TYPEDEF(i16, aligned_i16, 2);
230 
233  GLM_ALIGNED_TYPEDEF(i32, aligned_i32, 4);
234 
237  GLM_ALIGNED_TYPEDEF(i64, aligned_i64, 8);
238 
239 
243 
247 
251 
255 
256 
259  GLM_ALIGNED_TYPEDEF(i8vec1, aligned_i8vec1, 1);
260 
263  GLM_ALIGNED_TYPEDEF(i8vec2, aligned_i8vec2, 2);
264 
267  GLM_ALIGNED_TYPEDEF(i8vec3, aligned_i8vec3, 4);
268 
271  GLM_ALIGNED_TYPEDEF(i8vec4, aligned_i8vec4, 4);
272 
273 
276  GLM_ALIGNED_TYPEDEF(i16vec1, aligned_i16vec1, 2);
277 
280  GLM_ALIGNED_TYPEDEF(i16vec2, aligned_i16vec2, 4);
281 
284  GLM_ALIGNED_TYPEDEF(i16vec3, aligned_i16vec3, 8);
285 
288  GLM_ALIGNED_TYPEDEF(i16vec4, aligned_i16vec4, 8);
289 
290 
293  GLM_ALIGNED_TYPEDEF(i32vec1, aligned_i32vec1, 4);
294 
297  GLM_ALIGNED_TYPEDEF(i32vec2, aligned_i32vec2, 8);
298 
301  GLM_ALIGNED_TYPEDEF(i32vec3, aligned_i32vec3, 16);
302 
305  GLM_ALIGNED_TYPEDEF(i32vec4, aligned_i32vec4, 16);
306 
307 
310  GLM_ALIGNED_TYPEDEF(i64vec1, aligned_i64vec1, 8);
311 
314  GLM_ALIGNED_TYPEDEF(i64vec2, aligned_i64vec2, 16);
315 
318  GLM_ALIGNED_TYPEDEF(i64vec3, aligned_i64vec3, 32);
319 
322  GLM_ALIGNED_TYPEDEF(i64vec4, aligned_i64vec4, 32);
323 
324 
326  // Unsigned int vector types
327 
330  GLM_ALIGNED_TYPEDEF(lowp_uint8, aligned_lowp_uint8, 1);
331 
334  GLM_ALIGNED_TYPEDEF(lowp_uint16, aligned_lowp_uint16, 2);
335 
338  GLM_ALIGNED_TYPEDEF(lowp_uint32, aligned_lowp_uint32, 4);
339 
342  GLM_ALIGNED_TYPEDEF(lowp_uint64, aligned_lowp_uint64, 8);
343 
344 
347  GLM_ALIGNED_TYPEDEF(lowp_uint8_t, aligned_lowp_uint8_t, 1);
348 
351  GLM_ALIGNED_TYPEDEF(lowp_uint16_t, aligned_lowp_uint16_t, 2);
352 
355  GLM_ALIGNED_TYPEDEF(lowp_uint32_t, aligned_lowp_uint32_t, 4);
356 
359  GLM_ALIGNED_TYPEDEF(lowp_uint64_t, aligned_lowp_uint64_t, 8);
360 
361 
364  GLM_ALIGNED_TYPEDEF(lowp_u8, aligned_lowp_u8, 1);
365 
368  GLM_ALIGNED_TYPEDEF(lowp_u16, aligned_lowp_u16, 2);
369 
372  GLM_ALIGNED_TYPEDEF(lowp_u32, aligned_lowp_u32, 4);
373 
376  GLM_ALIGNED_TYPEDEF(lowp_u64, aligned_lowp_u64, 8);
377 
378 
381  GLM_ALIGNED_TYPEDEF(mediump_uint8, aligned_mediump_uint8, 1);
382 
385  GLM_ALIGNED_TYPEDEF(mediump_uint16, aligned_mediump_uint16, 2);
386 
389  GLM_ALIGNED_TYPEDEF(mediump_uint32, aligned_mediump_uint32, 4);
390 
393  GLM_ALIGNED_TYPEDEF(mediump_uint64, aligned_mediump_uint64, 8);
394 
395 
398  GLM_ALIGNED_TYPEDEF(mediump_uint8_t, aligned_mediump_uint8_t, 1);
399 
402  GLM_ALIGNED_TYPEDEF(mediump_uint16_t, aligned_mediump_uint16_t, 2);
403 
406  GLM_ALIGNED_TYPEDEF(mediump_uint32_t, aligned_mediump_uint32_t, 4);
407 
410  GLM_ALIGNED_TYPEDEF(mediump_uint64_t, aligned_mediump_uint64_t, 8);
411 
412 
415  GLM_ALIGNED_TYPEDEF(mediump_u8, aligned_mediump_u8, 1);
416 
419  GLM_ALIGNED_TYPEDEF(mediump_u16, aligned_mediump_u16, 2);
420 
423  GLM_ALIGNED_TYPEDEF(mediump_u32, aligned_mediump_u32, 4);
424 
427  GLM_ALIGNED_TYPEDEF(mediump_u64, aligned_mediump_u64, 8);
428 
429 
432  GLM_ALIGNED_TYPEDEF(highp_uint8, aligned_highp_uint8, 1);
433 
436  GLM_ALIGNED_TYPEDEF(highp_uint16, aligned_highp_uint16, 2);
437 
440  GLM_ALIGNED_TYPEDEF(highp_uint32, aligned_highp_uint32, 4);
441 
444  GLM_ALIGNED_TYPEDEF(highp_uint64, aligned_highp_uint64, 8);
445 
446 
449  GLM_ALIGNED_TYPEDEF(highp_uint8_t, aligned_highp_uint8_t, 1);
450 
453  GLM_ALIGNED_TYPEDEF(highp_uint16_t, aligned_highp_uint16_t, 2);
454 
457  GLM_ALIGNED_TYPEDEF(highp_uint32_t, aligned_highp_uint32_t, 4);
458 
461  GLM_ALIGNED_TYPEDEF(highp_uint64_t, aligned_highp_uint64_t, 8);
462 
463 
466  GLM_ALIGNED_TYPEDEF(highp_u8, aligned_highp_u8, 1);
467 
470  GLM_ALIGNED_TYPEDEF(highp_u16, aligned_highp_u16, 2);
471 
474  GLM_ALIGNED_TYPEDEF(highp_u32, aligned_highp_u32, 4);
475 
478  GLM_ALIGNED_TYPEDEF(highp_u64, aligned_highp_u64, 8);
479 
480 
483  GLM_ALIGNED_TYPEDEF(uint8, aligned_uint8, 1);
484 
487  GLM_ALIGNED_TYPEDEF(uint16, aligned_uint16, 2);
488 
491  GLM_ALIGNED_TYPEDEF(uint32, aligned_uint32, 4);
492 
495  GLM_ALIGNED_TYPEDEF(uint64, aligned_uint64, 8);
496 
497 
500  GLM_ALIGNED_TYPEDEF(uint8_t, aligned_uint8_t, 1);
501 
504  GLM_ALIGNED_TYPEDEF(uint16_t, aligned_uint16_t, 2);
505 
508  GLM_ALIGNED_TYPEDEF(uint32_t, aligned_uint32_t, 4);
509 
512  GLM_ALIGNED_TYPEDEF(uint64_t, aligned_uint64_t, 8);
513 
514 
517  GLM_ALIGNED_TYPEDEF(u8, aligned_u8, 1);
518 
521  GLM_ALIGNED_TYPEDEF(u16, aligned_u16, 2);
522 
525  GLM_ALIGNED_TYPEDEF(u32, aligned_u32, 4);
526 
529  GLM_ALIGNED_TYPEDEF(u64, aligned_u64, 8);
530 
531 
535 
539 
543 
547 
548 
551  GLM_ALIGNED_TYPEDEF(u8vec1, aligned_u8vec1, 1);
552 
555  GLM_ALIGNED_TYPEDEF(u8vec2, aligned_u8vec2, 2);
556 
559  GLM_ALIGNED_TYPEDEF(u8vec3, aligned_u8vec3, 4);
560 
563  GLM_ALIGNED_TYPEDEF(u8vec4, aligned_u8vec4, 4);
564 
565 
568  GLM_ALIGNED_TYPEDEF(u16vec1, aligned_u16vec1, 2);
569 
572  GLM_ALIGNED_TYPEDEF(u16vec2, aligned_u16vec2, 4);
573 
576  GLM_ALIGNED_TYPEDEF(u16vec3, aligned_u16vec3, 8);
577 
580  GLM_ALIGNED_TYPEDEF(u16vec4, aligned_u16vec4, 8);
581 
582 
585  GLM_ALIGNED_TYPEDEF(u32vec1, aligned_u32vec1, 4);
586 
589  GLM_ALIGNED_TYPEDEF(u32vec2, aligned_u32vec2, 8);
590 
593  GLM_ALIGNED_TYPEDEF(u32vec3, aligned_u32vec3, 16);
594 
597  GLM_ALIGNED_TYPEDEF(u32vec4, aligned_u32vec4, 16);
598 
599 
602  GLM_ALIGNED_TYPEDEF(u64vec1, aligned_u64vec1, 8);
603 
606  GLM_ALIGNED_TYPEDEF(u64vec2, aligned_u64vec2, 16);
607 
610  GLM_ALIGNED_TYPEDEF(u64vec3, aligned_u64vec3, 32);
611 
614  GLM_ALIGNED_TYPEDEF(u64vec4, aligned_u64vec4, 32);
615 
616 
618  // Float vector types
619 
622  GLM_ALIGNED_TYPEDEF(float32, aligned_float32, 4);
623 
626  GLM_ALIGNED_TYPEDEF(float32_t, aligned_float32_t, 4);
627 
630  GLM_ALIGNED_TYPEDEF(float32, aligned_f32, 4);
631 
632 # ifndef GLM_FORCE_SINGLE_ONLY
633 
636  GLM_ALIGNED_TYPEDEF(float64, aligned_float64, 8);
637 
640  GLM_ALIGNED_TYPEDEF(float64_t, aligned_float64_t, 8);
641 
644  GLM_ALIGNED_TYPEDEF(float64, aligned_f64, 8);
645 
646 # endif//GLM_FORCE_SINGLE_ONLY
647 
648 
652 
656 
660 
664 
665 
668  GLM_ALIGNED_TYPEDEF(fvec1, aligned_fvec1, 4);
669 
672  GLM_ALIGNED_TYPEDEF(fvec2, aligned_fvec2, 8);
673 
676  GLM_ALIGNED_TYPEDEF(fvec3, aligned_fvec3, 16);
677 
680  GLM_ALIGNED_TYPEDEF(fvec4, aligned_fvec4, 16);
681 
682 
685  GLM_ALIGNED_TYPEDEF(f32vec1, aligned_f32vec1, 4);
686 
689  GLM_ALIGNED_TYPEDEF(f32vec2, aligned_f32vec2, 8);
690 
693  GLM_ALIGNED_TYPEDEF(f32vec3, aligned_f32vec3, 16);
694 
697  GLM_ALIGNED_TYPEDEF(f32vec4, aligned_f32vec4, 16);
698 
699 
703 
707 
711 
715 
716 
717 # ifndef GLM_FORCE_SINGLE_ONLY
718 
721  GLM_ALIGNED_TYPEDEF(f64vec1, aligned_f64vec1, 8);
722 
725  GLM_ALIGNED_TYPEDEF(f64vec2, aligned_f64vec2, 16);
726 
729  GLM_ALIGNED_TYPEDEF(f64vec3, aligned_f64vec3, 32);
730 
733  GLM_ALIGNED_TYPEDEF(f64vec4, aligned_f64vec4, 32);
734 
735 # endif//GLM_FORCE_SINGLE_ONLY
736 
738  // Float matrix types
739 
742  //typedef detail::tmat1<f32> mat1;
743 
747 
751 
755 
756 
759  //typedef detail::tmat1x1<f32> mat1;
760 
764 
768 
772 
773 
776  //typedef detail::tmat1x1<f32> fmat1;
777 
780  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2, 16);
781 
784  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3, 16);
785 
788  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4, 16);
789 
790 
793  //typedef f32 fmat1x1;
794 
797  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2x2, 16);
798 
801  GLM_ALIGNED_TYPEDEF(fmat2x3, aligned_fmat2x3, 16);
802 
805  GLM_ALIGNED_TYPEDEF(fmat2x4, aligned_fmat2x4, 16);
806 
809  GLM_ALIGNED_TYPEDEF(fmat3x2, aligned_fmat3x2, 16);
810 
813  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3x3, 16);
814 
817  GLM_ALIGNED_TYPEDEF(fmat3x4, aligned_fmat3x4, 16);
818 
821  GLM_ALIGNED_TYPEDEF(fmat4x2, aligned_fmat4x2, 16);
822 
825  GLM_ALIGNED_TYPEDEF(fmat4x3, aligned_fmat4x3, 16);
826 
829  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4x4, 16);
830 
831 
834  //typedef detail::tmat1x1<f32, defaultp> f32mat1;
835 
838  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2, 16);
839 
842  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3, 16);
843 
846  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4, 16);
847 
848 
851  //typedef f32 f32mat1x1;
852 
855  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2x2, 16);
856 
859  GLM_ALIGNED_TYPEDEF(f32mat2x3, aligned_f32mat2x3, 16);
860 
863  GLM_ALIGNED_TYPEDEF(f32mat2x4, aligned_f32mat2x4, 16);
864 
867  GLM_ALIGNED_TYPEDEF(f32mat3x2, aligned_f32mat3x2, 16);
868 
871  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3x3, 16);
872 
875  GLM_ALIGNED_TYPEDEF(f32mat3x4, aligned_f32mat3x4, 16);
876 
879  GLM_ALIGNED_TYPEDEF(f32mat4x2, aligned_f32mat4x2, 16);
880 
883  GLM_ALIGNED_TYPEDEF(f32mat4x3, aligned_f32mat4x3, 16);
884 
887  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4x4, 16);
888 
889 
890 # ifndef GLM_FORCE_SINGLE_ONLY
891 
894  //typedef detail::tmat1x1<f64, defaultp> f64mat1;
895 
898  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2, 32);
899 
902  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3, 32);
903 
906  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4, 32);
907 
908 
911  //typedef f64 f64mat1x1;
912 
915  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2x2, 32);
916 
919  GLM_ALIGNED_TYPEDEF(f64mat2x3, aligned_f64mat2x3, 32);
920 
923  GLM_ALIGNED_TYPEDEF(f64mat2x4, aligned_f64mat2x4, 32);
924 
927  GLM_ALIGNED_TYPEDEF(f64mat3x2, aligned_f64mat3x2, 32);
928 
931  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3x3, 32);
932 
935  GLM_ALIGNED_TYPEDEF(f64mat3x4, aligned_f64mat3x4, 32);
936 
939  GLM_ALIGNED_TYPEDEF(f64mat4x2, aligned_f64mat4x2, 32);
940 
943  GLM_ALIGNED_TYPEDEF(f64mat4x3, aligned_f64mat4x3, 32);
944 
947  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4x4, 32);
948 
949 # endif//GLM_FORCE_SINGLE_ONLY
950 
951 
953  // Quaternion types
954 
957  GLM_ALIGNED_TYPEDEF(quat, aligned_quat, 16);
958 
961  GLM_ALIGNED_TYPEDEF(quat, aligned_fquat, 16);
962 
965  GLM_ALIGNED_TYPEDEF(dquat, aligned_dquat, 32);
966 
969  GLM_ALIGNED_TYPEDEF(f32quat, aligned_f32quat, 16);
970 
971 # ifndef GLM_FORCE_SINGLE_ONLY
972 
975  GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32);
976 
977 # endif//GLM_FORCE_SINGLE_ONLY
978 
980 }//namespace glm
981 
982 #include "type_aligned.inl"
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
+
vec< 3, u16, defaultp > u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:361
+
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
+
vec< 1, i16, defaultp > i16vec1
16 bit signed integer scalar type.
Definition: fwd.hpp:257
+
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:114
+
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
Definition: fwd.hpp:815
+
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:502
+
int64 i64
64 bit signed integer type.
Definition: fwd.hpp:76
+
int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:59
+
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:95
+
vec< 2, i64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:298
+
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:444
+
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:40
+
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:82
+
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
+
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:32
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
double float64
Double precision floating-point numbers.
+
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:98
+
int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:70
+
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:501
+
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:666
+
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:79
+
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:703
+
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
double float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:176
+
vec< 3, i16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:259
+
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
+
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:123
+
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:91
+
int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:78
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:112
+
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:89
+
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:84
+
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:128
+
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:664
+
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:137
+
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:60
+
vec< 1, i64, defaultp > i64vec1
64 bit signed integer scalar type.
Definition: fwd.hpp:297
+
vec< 1, u32, defaultp > u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:379
+
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:108
+
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:100
+
int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:33
+
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:661
+
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:52
+
int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:47
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:665
+
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:701
+
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:126
+
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
+
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:464
+
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:132
+
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
+
int16 i16
16 bit signed integer type.
Definition: fwd.hpp:48
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:56
+
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:138
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:96
+
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:140
+
int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:66
+
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:708
+
vec< 1, i32, defaultp > i32vec1
32 bit signed integer scalar type.
Definition: fwd.hpp:277
+
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:104
+
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:69
+
int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:38
+
vec< 3, i64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:299
+
vec< 3, u32, defaultp > u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:381
+
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:785
+
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:705
+
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:462
+
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:133
+
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:782
+
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:663
+
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:136
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:142
+
vec< 4, u32, defaultp > u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:382
+
float float32
Single precision floating-point numbers.
+
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:660
+
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
Definition: fwd.hpp:805
+
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:504
+
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:31
+
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:783
+
vec< 3, u64, defaultp > u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:401
+
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:784
+
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:702
+
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:83
+
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:74
+
int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:36
+
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
+
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
+
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:94
+
vec< 4, u64, defaultp > u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:402
+
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:124
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
+
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:105
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:73
+
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:46
+
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:41
+
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:110
+
int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:64
+
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:704
+
vec< 1, i8, defaultp > i8vec1
8 bit signed integer scalar type.
Definition: fwd.hpp:237
+
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:443
+
float float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:160
+
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:662
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:129
+
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
+
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:786
+
int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:85
+
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:51
+
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:131
+
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
+
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:668
+
int8 i8
8 bit signed integer type.
Definition: fwd.hpp:34
+
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:141
+
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:109
+
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:706
+
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:99
+
int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:45
+
int32 i32
32 bit signed integer type.
Definition: fwd.hpp:62
+
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:101
+
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
+
GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32)
Double-qualifier floating-point aligned quaternion.
+
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:781
+
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
+
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:55
+
int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:61
+
int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:80
+
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
+
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:118
+
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:90
+
vec< 1, u64, defaultp > u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:399
+
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
Definition: vector_int1.hpp:28
+
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:442
+
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
+
detail::int64 int64
64 bit signed integer type.
+
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:667
+
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:65
+
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:103
+
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:113
+
vec< 3, u8, defaultp > u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:341
+
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:463
+
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
vec< 4, i64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:300
+
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:441
+
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, u8, defaultp > u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:339
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:54
+
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:707
+
vec< 3, i8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:239
+
int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:50
+
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:503
+
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
+
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:143
+
vec< 1, u16, defaultp > u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:359
+
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:461
+
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:68
+
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:780
+
vec< 2, u64, defaultp > u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:400
+
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
+
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:119
+
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
Definition: vector_int2.hpp:15
+
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
+
Definition: common.hpp:20
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
Definition: vector_int3.hpp:15
+
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:115
+
vec< 3, i32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:279
+
int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:42
+
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
+
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:117
+
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:788
+
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:127
+
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:122
+
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:700
+
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
+
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:37
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:787
+
vec< 4, i32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:280
+
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:75
+
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
+
+ + + + diff --git a/doc/api/a01386.html b/doc/api/a01386.html new file mode 100644 index 00000000..a715e002 --- /dev/null +++ b/doc/api/a01386.html @@ -0,0 +1,507 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+ +
+
gtx/type_aligned.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

 GLM_ALIGNED_TYPEDEF (lowp_int8, aligned_lowp_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_int16, aligned_lowp_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_int32, aligned_lowp_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_int64, aligned_lowp_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_int8_t, aligned_lowp_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_int16_t, aligned_lowp_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_int32_t, aligned_lowp_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_int64_t, aligned_lowp_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_i8, aligned_lowp_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_i16, aligned_lowp_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_i32, aligned_lowp_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_i64, aligned_lowp_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_int8, aligned_mediump_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_int16, aligned_mediump_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_int32, aligned_mediump_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_int64, aligned_mediump_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_int8_t, aligned_mediump_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_int16_t, aligned_mediump_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_int32_t, aligned_mediump_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_int64_t, aligned_mediump_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_i8, aligned_mediump_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_i16, aligned_mediump_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_i32, aligned_mediump_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_i64, aligned_mediump_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_int8, aligned_highp_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_int16, aligned_highp_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_int32, aligned_highp_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_int64, aligned_highp_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_int8_t, aligned_highp_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_int16_t, aligned_highp_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_int32_t, aligned_highp_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_int64_t, aligned_highp_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_i8, aligned_highp_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_i16, aligned_highp_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_i32, aligned_highp_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_i64, aligned_highp_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (int8, aligned_int8, 1)
 
 GLM_ALIGNED_TYPEDEF (int16, aligned_int16, 2)
 
 GLM_ALIGNED_TYPEDEF (int32, aligned_int32, 4)
 
 GLM_ALIGNED_TYPEDEF (int64, aligned_int64, 8)
 
 GLM_ALIGNED_TYPEDEF (int8_t, aligned_int8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (int16_t, aligned_int16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (int32_t, aligned_int32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (int64_t, aligned_int64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (i8, aligned_i8, 1)
 
 GLM_ALIGNED_TYPEDEF (i16, aligned_i16, 2)
 
 GLM_ALIGNED_TYPEDEF (i32, aligned_i32, 4)
 
 GLM_ALIGNED_TYPEDEF (i64, aligned_i64, 8)
 
 GLM_ALIGNED_TYPEDEF (ivec1, aligned_ivec1, 4)
 
 GLM_ALIGNED_TYPEDEF (ivec2, aligned_ivec2, 8)
 
 GLM_ALIGNED_TYPEDEF (ivec3, aligned_ivec3, 16)
 
 GLM_ALIGNED_TYPEDEF (ivec4, aligned_ivec4, 16)
 
 GLM_ALIGNED_TYPEDEF (i8vec1, aligned_i8vec1, 1)
 
 GLM_ALIGNED_TYPEDEF (i8vec2, aligned_i8vec2, 2)
 
 GLM_ALIGNED_TYPEDEF (i8vec3, aligned_i8vec3, 4)
 
 GLM_ALIGNED_TYPEDEF (i8vec4, aligned_i8vec4, 4)
 
 GLM_ALIGNED_TYPEDEF (i16vec1, aligned_i16vec1, 2)
 
 GLM_ALIGNED_TYPEDEF (i16vec2, aligned_i16vec2, 4)
 
 GLM_ALIGNED_TYPEDEF (i16vec3, aligned_i16vec3, 8)
 
 GLM_ALIGNED_TYPEDEF (i16vec4, aligned_i16vec4, 8)
 
 GLM_ALIGNED_TYPEDEF (i32vec1, aligned_i32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (i32vec2, aligned_i32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (i32vec3, aligned_i32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (i32vec4, aligned_i32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (i64vec1, aligned_i64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (i64vec2, aligned_i64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (i64vec3, aligned_i64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (i64vec4, aligned_i64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8, aligned_lowp_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16, aligned_lowp_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32, aligned_lowp_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64, aligned_lowp_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8_t, aligned_lowp_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16_t, aligned_lowp_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32_t, aligned_lowp_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64_t, aligned_lowp_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (lowp_u8, aligned_lowp_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (lowp_u16, aligned_lowp_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (lowp_u32, aligned_lowp_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (lowp_u64, aligned_lowp_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8, aligned_mediump_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16, aligned_mediump_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32, aligned_mediump_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64, aligned_mediump_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8_t, aligned_mediump_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16_t, aligned_mediump_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32_t, aligned_mediump_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64_t, aligned_mediump_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (mediump_u8, aligned_mediump_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (mediump_u16, aligned_mediump_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (mediump_u32, aligned_mediump_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (mediump_u64, aligned_mediump_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_uint8, aligned_highp_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_uint16, aligned_highp_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_uint32, aligned_highp_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_uint64, aligned_highp_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_uint8_t, aligned_highp_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_uint16_t, aligned_highp_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_uint32_t, aligned_highp_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_uint64_t, aligned_highp_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (highp_u8, aligned_highp_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (highp_u16, aligned_highp_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (highp_u32, aligned_highp_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (highp_u64, aligned_highp_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (uint8, aligned_uint8, 1)
 
 GLM_ALIGNED_TYPEDEF (uint16, aligned_uint16, 2)
 
 GLM_ALIGNED_TYPEDEF (uint32, aligned_uint32, 4)
 
 GLM_ALIGNED_TYPEDEF (uint64, aligned_uint64, 8)
 
 GLM_ALIGNED_TYPEDEF (uint8_t, aligned_uint8_t, 1)
 
 GLM_ALIGNED_TYPEDEF (uint16_t, aligned_uint16_t, 2)
 
 GLM_ALIGNED_TYPEDEF (uint32_t, aligned_uint32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (uint64_t, aligned_uint64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (u8, aligned_u8, 1)
 
 GLM_ALIGNED_TYPEDEF (u16, aligned_u16, 2)
 
 GLM_ALIGNED_TYPEDEF (u32, aligned_u32, 4)
 
 GLM_ALIGNED_TYPEDEF (u64, aligned_u64, 8)
 
 GLM_ALIGNED_TYPEDEF (uvec1, aligned_uvec1, 4)
 
 GLM_ALIGNED_TYPEDEF (uvec2, aligned_uvec2, 8)
 
 GLM_ALIGNED_TYPEDEF (uvec3, aligned_uvec3, 16)
 
 GLM_ALIGNED_TYPEDEF (uvec4, aligned_uvec4, 16)
 
 GLM_ALIGNED_TYPEDEF (u8vec1, aligned_u8vec1, 1)
 
 GLM_ALIGNED_TYPEDEF (u8vec2, aligned_u8vec2, 2)
 
 GLM_ALIGNED_TYPEDEF (u8vec3, aligned_u8vec3, 4)
 
 GLM_ALIGNED_TYPEDEF (u8vec4, aligned_u8vec4, 4)
 
 GLM_ALIGNED_TYPEDEF (u16vec1, aligned_u16vec1, 2)
 
 GLM_ALIGNED_TYPEDEF (u16vec2, aligned_u16vec2, 4)
 
 GLM_ALIGNED_TYPEDEF (u16vec3, aligned_u16vec3, 8)
 
 GLM_ALIGNED_TYPEDEF (u16vec4, aligned_u16vec4, 8)
 
 GLM_ALIGNED_TYPEDEF (u32vec1, aligned_u32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (u32vec2, aligned_u32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (u32vec3, aligned_u32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (u32vec4, aligned_u32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (u64vec1, aligned_u64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (u64vec2, aligned_u64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (u64vec3, aligned_u64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (u64vec4, aligned_u64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_float32, 4)
 
 GLM_ALIGNED_TYPEDEF (float32_t, aligned_float32_t, 4)
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_f32, 4)
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_float64, 8)
 
 GLM_ALIGNED_TYPEDEF (float64_t, aligned_float64_t, 8)
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_f64, 8)
 
 GLM_ALIGNED_TYPEDEF (vec1, aligned_vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (vec2, aligned_vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (vec3, aligned_vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (vec4, aligned_vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (fvec1, aligned_fvec1, 4)
 
 GLM_ALIGNED_TYPEDEF (fvec2, aligned_fvec2, 8)
 
 GLM_ALIGNED_TYPEDEF (fvec3, aligned_fvec3, 16)
 
 GLM_ALIGNED_TYPEDEF (fvec4, aligned_fvec4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32vec1, aligned_f32vec1, 4)
 
 GLM_ALIGNED_TYPEDEF (f32vec2, aligned_f32vec2, 8)
 
 GLM_ALIGNED_TYPEDEF (f32vec3, aligned_f32vec3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32vec4, aligned_f32vec4, 16)
 
 GLM_ALIGNED_TYPEDEF (dvec1, aligned_dvec1, 8)
 
 GLM_ALIGNED_TYPEDEF (dvec2, aligned_dvec2, 16)
 
 GLM_ALIGNED_TYPEDEF (dvec3, aligned_dvec3, 32)
 
 GLM_ALIGNED_TYPEDEF (dvec4, aligned_dvec4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64vec1, aligned_f64vec1, 8)
 
 GLM_ALIGNED_TYPEDEF (f64vec2, aligned_f64vec2, 16)
 
 GLM_ALIGNED_TYPEDEF (f64vec3, aligned_f64vec3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64vec4, aligned_f64vec4, 32)
 
 GLM_ALIGNED_TYPEDEF (mat2, aligned_mat2, 16)
 
 GLM_ALIGNED_TYPEDEF (mat3, aligned_mat3, 16)
 
 GLM_ALIGNED_TYPEDEF (mat4, aligned_mat4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x3, aligned_fmat2x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat2x4, aligned_fmat2x4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x2, aligned_fmat3x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat3x4, aligned_fmat3x4, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x2, aligned_fmat4x2, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x3, aligned_fmat4x3, 16)
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x3, aligned_f32mat2x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat2x4, aligned_f32mat2x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x2, aligned_f32mat3x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat3x4, aligned_f32mat3x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x2, aligned_f32mat4x2, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x3, aligned_f32mat4x3, 16)
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4x4, 16)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x3, aligned_f64mat2x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat2x4, aligned_f64mat2x4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x2, aligned_f64mat3x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat3x4, aligned_f64mat3x4, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x2, aligned_f64mat4x2, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x3, aligned_f64mat4x3, 32)
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4x4, 32)
 
 GLM_ALIGNED_TYPEDEF (quat, aligned_quat, 16)
 
 GLM_ALIGNED_TYPEDEF (quat, aligned_fquat, 16)
 
 GLM_ALIGNED_TYPEDEF (dquat, aligned_dquat, 32)
 
 GLM_ALIGNED_TYPEDEF (f32quat, aligned_f32quat, 16)
 
 GLM_ALIGNED_TYPEDEF (f64quat, aligned_f64quat, 32)
 
+

Detailed Description

+
See also
Core features (dependence)
+
+GLM_GTC_quaternion (dependence)
+ +

Definition in file gtx/type_aligned.hpp.

+
+ + + + diff --git a/doc/api/a01386_source.html b/doc/api/a01386_source.html new file mode 100644 index 00000000..f64a8c63 --- /dev/null +++ b/doc/api/a01386_source.html @@ -0,0 +1,296 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/type_aligned.hpp
+
+
+Go to the documentation of this file.
1 
16 #pragma once
17 
18 // Dependency:
19 #include "../gtc/type_precision.hpp"
20 #include "../gtc/quaternion.hpp"
21 
22 #ifndef GLM_ENABLE_EXPERIMENTAL
23 # error "GLM: GLM_GTX_type_aligned is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
24 #endif
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTX_type_aligned extension included")
28 #endif
29 
30 namespace glm
31 {
33  // Signed int vector types
34 
37 
40  GLM_ALIGNED_TYPEDEF(lowp_int8, aligned_lowp_int8, 1);
41 
44  GLM_ALIGNED_TYPEDEF(lowp_int16, aligned_lowp_int16, 2);
45 
48  GLM_ALIGNED_TYPEDEF(lowp_int32, aligned_lowp_int32, 4);
49 
52  GLM_ALIGNED_TYPEDEF(lowp_int64, aligned_lowp_int64, 8);
53 
54 
57  GLM_ALIGNED_TYPEDEF(lowp_int8_t, aligned_lowp_int8_t, 1);
58 
61  GLM_ALIGNED_TYPEDEF(lowp_int16_t, aligned_lowp_int16_t, 2);
62 
65  GLM_ALIGNED_TYPEDEF(lowp_int32_t, aligned_lowp_int32_t, 4);
66 
69  GLM_ALIGNED_TYPEDEF(lowp_int64_t, aligned_lowp_int64_t, 8);
70 
71 
74  GLM_ALIGNED_TYPEDEF(lowp_i8, aligned_lowp_i8, 1);
75 
78  GLM_ALIGNED_TYPEDEF(lowp_i16, aligned_lowp_i16, 2);
79 
82  GLM_ALIGNED_TYPEDEF(lowp_i32, aligned_lowp_i32, 4);
83 
86  GLM_ALIGNED_TYPEDEF(lowp_i64, aligned_lowp_i64, 8);
87 
88 
91  GLM_ALIGNED_TYPEDEF(mediump_int8, aligned_mediump_int8, 1);
92 
95  GLM_ALIGNED_TYPEDEF(mediump_int16, aligned_mediump_int16, 2);
96 
99  GLM_ALIGNED_TYPEDEF(mediump_int32, aligned_mediump_int32, 4);
100 
103  GLM_ALIGNED_TYPEDEF(mediump_int64, aligned_mediump_int64, 8);
104 
105 
108  GLM_ALIGNED_TYPEDEF(mediump_int8_t, aligned_mediump_int8_t, 1);
109 
112  GLM_ALIGNED_TYPEDEF(mediump_int16_t, aligned_mediump_int16_t, 2);
113 
116  GLM_ALIGNED_TYPEDEF(mediump_int32_t, aligned_mediump_int32_t, 4);
117 
120  GLM_ALIGNED_TYPEDEF(mediump_int64_t, aligned_mediump_int64_t, 8);
121 
122 
125  GLM_ALIGNED_TYPEDEF(mediump_i8, aligned_mediump_i8, 1);
126 
129  GLM_ALIGNED_TYPEDEF(mediump_i16, aligned_mediump_i16, 2);
130 
133  GLM_ALIGNED_TYPEDEF(mediump_i32, aligned_mediump_i32, 4);
134 
137  GLM_ALIGNED_TYPEDEF(mediump_i64, aligned_mediump_i64, 8);
138 
139 
142  GLM_ALIGNED_TYPEDEF(highp_int8, aligned_highp_int8, 1);
143 
146  GLM_ALIGNED_TYPEDEF(highp_int16, aligned_highp_int16, 2);
147 
150  GLM_ALIGNED_TYPEDEF(highp_int32, aligned_highp_int32, 4);
151 
154  GLM_ALIGNED_TYPEDEF(highp_int64, aligned_highp_int64, 8);
155 
156 
159  GLM_ALIGNED_TYPEDEF(highp_int8_t, aligned_highp_int8_t, 1);
160 
163  GLM_ALIGNED_TYPEDEF(highp_int16_t, aligned_highp_int16_t, 2);
164 
167  GLM_ALIGNED_TYPEDEF(highp_int32_t, aligned_highp_int32_t, 4);
168 
171  GLM_ALIGNED_TYPEDEF(highp_int64_t, aligned_highp_int64_t, 8);
172 
173 
176  GLM_ALIGNED_TYPEDEF(highp_i8, aligned_highp_i8, 1);
177 
180  GLM_ALIGNED_TYPEDEF(highp_i16, aligned_highp_i16, 2);
181 
184  GLM_ALIGNED_TYPEDEF(highp_i32, aligned_highp_i32, 4);
185 
188  GLM_ALIGNED_TYPEDEF(highp_i64, aligned_highp_i64, 8);
189 
190 
193  GLM_ALIGNED_TYPEDEF(int8, aligned_int8, 1);
194 
197  GLM_ALIGNED_TYPEDEF(int16, aligned_int16, 2);
198 
201  GLM_ALIGNED_TYPEDEF(int32, aligned_int32, 4);
202 
205  GLM_ALIGNED_TYPEDEF(int64, aligned_int64, 8);
206 
207 
210  GLM_ALIGNED_TYPEDEF(int8_t, aligned_int8_t, 1);
211 
214  GLM_ALIGNED_TYPEDEF(int16_t, aligned_int16_t, 2);
215 
218  GLM_ALIGNED_TYPEDEF(int32_t, aligned_int32_t, 4);
219 
222  GLM_ALIGNED_TYPEDEF(int64_t, aligned_int64_t, 8);
223 
224 
227  GLM_ALIGNED_TYPEDEF(i8, aligned_i8, 1);
228 
231  GLM_ALIGNED_TYPEDEF(i16, aligned_i16, 2);
232 
235  GLM_ALIGNED_TYPEDEF(i32, aligned_i32, 4);
236 
239  GLM_ALIGNED_TYPEDEF(i64, aligned_i64, 8);
240 
241 
245 
249 
253 
257 
258 
261  GLM_ALIGNED_TYPEDEF(i8vec1, aligned_i8vec1, 1);
262 
265  GLM_ALIGNED_TYPEDEF(i8vec2, aligned_i8vec2, 2);
266 
269  GLM_ALIGNED_TYPEDEF(i8vec3, aligned_i8vec3, 4);
270 
273  GLM_ALIGNED_TYPEDEF(i8vec4, aligned_i8vec4, 4);
274 
275 
278  GLM_ALIGNED_TYPEDEF(i16vec1, aligned_i16vec1, 2);
279 
282  GLM_ALIGNED_TYPEDEF(i16vec2, aligned_i16vec2, 4);
283 
286  GLM_ALIGNED_TYPEDEF(i16vec3, aligned_i16vec3, 8);
287 
290  GLM_ALIGNED_TYPEDEF(i16vec4, aligned_i16vec4, 8);
291 
292 
295  GLM_ALIGNED_TYPEDEF(i32vec1, aligned_i32vec1, 4);
296 
299  GLM_ALIGNED_TYPEDEF(i32vec2, aligned_i32vec2, 8);
300 
303  GLM_ALIGNED_TYPEDEF(i32vec3, aligned_i32vec3, 16);
304 
307  GLM_ALIGNED_TYPEDEF(i32vec4, aligned_i32vec4, 16);
308 
309 
312  GLM_ALIGNED_TYPEDEF(i64vec1, aligned_i64vec1, 8);
313 
316  GLM_ALIGNED_TYPEDEF(i64vec2, aligned_i64vec2, 16);
317 
320  GLM_ALIGNED_TYPEDEF(i64vec3, aligned_i64vec3, 32);
321 
324  GLM_ALIGNED_TYPEDEF(i64vec4, aligned_i64vec4, 32);
325 
326 
328  // Unsigned int vector types
329 
332  GLM_ALIGNED_TYPEDEF(lowp_uint8, aligned_lowp_uint8, 1);
333 
336  GLM_ALIGNED_TYPEDEF(lowp_uint16, aligned_lowp_uint16, 2);
337 
340  GLM_ALIGNED_TYPEDEF(lowp_uint32, aligned_lowp_uint32, 4);
341 
344  GLM_ALIGNED_TYPEDEF(lowp_uint64, aligned_lowp_uint64, 8);
345 
346 
349  GLM_ALIGNED_TYPEDEF(lowp_uint8_t, aligned_lowp_uint8_t, 1);
350 
353  GLM_ALIGNED_TYPEDEF(lowp_uint16_t, aligned_lowp_uint16_t, 2);
354 
357  GLM_ALIGNED_TYPEDEF(lowp_uint32_t, aligned_lowp_uint32_t, 4);
358 
361  GLM_ALIGNED_TYPEDEF(lowp_uint64_t, aligned_lowp_uint64_t, 8);
362 
363 
366  GLM_ALIGNED_TYPEDEF(lowp_u8, aligned_lowp_u8, 1);
367 
370  GLM_ALIGNED_TYPEDEF(lowp_u16, aligned_lowp_u16, 2);
371 
374  GLM_ALIGNED_TYPEDEF(lowp_u32, aligned_lowp_u32, 4);
375 
378  GLM_ALIGNED_TYPEDEF(lowp_u64, aligned_lowp_u64, 8);
379 
380 
383  GLM_ALIGNED_TYPEDEF(mediump_uint8, aligned_mediump_uint8, 1);
384 
387  GLM_ALIGNED_TYPEDEF(mediump_uint16, aligned_mediump_uint16, 2);
388 
391  GLM_ALIGNED_TYPEDEF(mediump_uint32, aligned_mediump_uint32, 4);
392 
395  GLM_ALIGNED_TYPEDEF(mediump_uint64, aligned_mediump_uint64, 8);
396 
397 
400  GLM_ALIGNED_TYPEDEF(mediump_uint8_t, aligned_mediump_uint8_t, 1);
401 
404  GLM_ALIGNED_TYPEDEF(mediump_uint16_t, aligned_mediump_uint16_t, 2);
405 
408  GLM_ALIGNED_TYPEDEF(mediump_uint32_t, aligned_mediump_uint32_t, 4);
409 
412  GLM_ALIGNED_TYPEDEF(mediump_uint64_t, aligned_mediump_uint64_t, 8);
413 
414 
417  GLM_ALIGNED_TYPEDEF(mediump_u8, aligned_mediump_u8, 1);
418 
421  GLM_ALIGNED_TYPEDEF(mediump_u16, aligned_mediump_u16, 2);
422 
425  GLM_ALIGNED_TYPEDEF(mediump_u32, aligned_mediump_u32, 4);
426 
429  GLM_ALIGNED_TYPEDEF(mediump_u64, aligned_mediump_u64, 8);
430 
431 
434  GLM_ALIGNED_TYPEDEF(highp_uint8, aligned_highp_uint8, 1);
435 
438  GLM_ALIGNED_TYPEDEF(highp_uint16, aligned_highp_uint16, 2);
439 
442  GLM_ALIGNED_TYPEDEF(highp_uint32, aligned_highp_uint32, 4);
443 
446  GLM_ALIGNED_TYPEDEF(highp_uint64, aligned_highp_uint64, 8);
447 
448 
451  GLM_ALIGNED_TYPEDEF(highp_uint8_t, aligned_highp_uint8_t, 1);
452 
455  GLM_ALIGNED_TYPEDEF(highp_uint16_t, aligned_highp_uint16_t, 2);
456 
459  GLM_ALIGNED_TYPEDEF(highp_uint32_t, aligned_highp_uint32_t, 4);
460 
463  GLM_ALIGNED_TYPEDEF(highp_uint64_t, aligned_highp_uint64_t, 8);
464 
465 
468  GLM_ALIGNED_TYPEDEF(highp_u8, aligned_highp_u8, 1);
469 
472  GLM_ALIGNED_TYPEDEF(highp_u16, aligned_highp_u16, 2);
473 
476  GLM_ALIGNED_TYPEDEF(highp_u32, aligned_highp_u32, 4);
477 
480  GLM_ALIGNED_TYPEDEF(highp_u64, aligned_highp_u64, 8);
481 
482 
485  GLM_ALIGNED_TYPEDEF(uint8, aligned_uint8, 1);
486 
489  GLM_ALIGNED_TYPEDEF(uint16, aligned_uint16, 2);
490 
493  GLM_ALIGNED_TYPEDEF(uint32, aligned_uint32, 4);
494 
497  GLM_ALIGNED_TYPEDEF(uint64, aligned_uint64, 8);
498 
499 
502  GLM_ALIGNED_TYPEDEF(uint8_t, aligned_uint8_t, 1);
503 
506  GLM_ALIGNED_TYPEDEF(uint16_t, aligned_uint16_t, 2);
507 
510  GLM_ALIGNED_TYPEDEF(uint32_t, aligned_uint32_t, 4);
511 
514  GLM_ALIGNED_TYPEDEF(uint64_t, aligned_uint64_t, 8);
515 
516 
519  GLM_ALIGNED_TYPEDEF(u8, aligned_u8, 1);
520 
523  GLM_ALIGNED_TYPEDEF(u16, aligned_u16, 2);
524 
527  GLM_ALIGNED_TYPEDEF(u32, aligned_u32, 4);
528 
531  GLM_ALIGNED_TYPEDEF(u64, aligned_u64, 8);
532 
533 
537 
541 
545 
549 
550 
553  GLM_ALIGNED_TYPEDEF(u8vec1, aligned_u8vec1, 1);
554 
557  GLM_ALIGNED_TYPEDEF(u8vec2, aligned_u8vec2, 2);
558 
561  GLM_ALIGNED_TYPEDEF(u8vec3, aligned_u8vec3, 4);
562 
565  GLM_ALIGNED_TYPEDEF(u8vec4, aligned_u8vec4, 4);
566 
567 
570  GLM_ALIGNED_TYPEDEF(u16vec1, aligned_u16vec1, 2);
571 
574  GLM_ALIGNED_TYPEDEF(u16vec2, aligned_u16vec2, 4);
575 
578  GLM_ALIGNED_TYPEDEF(u16vec3, aligned_u16vec3, 8);
579 
582  GLM_ALIGNED_TYPEDEF(u16vec4, aligned_u16vec4, 8);
583 
584 
587  GLM_ALIGNED_TYPEDEF(u32vec1, aligned_u32vec1, 4);
588 
591  GLM_ALIGNED_TYPEDEF(u32vec2, aligned_u32vec2, 8);
592 
595  GLM_ALIGNED_TYPEDEF(u32vec3, aligned_u32vec3, 16);
596 
599  GLM_ALIGNED_TYPEDEF(u32vec4, aligned_u32vec4, 16);
600 
601 
604  GLM_ALIGNED_TYPEDEF(u64vec1, aligned_u64vec1, 8);
605 
608  GLM_ALIGNED_TYPEDEF(u64vec2, aligned_u64vec2, 16);
609 
612  GLM_ALIGNED_TYPEDEF(u64vec3, aligned_u64vec3, 32);
613 
616  GLM_ALIGNED_TYPEDEF(u64vec4, aligned_u64vec4, 32);
617 
618 
620  // Float vector types
621 
624  GLM_ALIGNED_TYPEDEF(float32, aligned_float32, 4);
625 
628  GLM_ALIGNED_TYPEDEF(float32_t, aligned_float32_t, 4);
629 
632  GLM_ALIGNED_TYPEDEF(float32, aligned_f32, 4);
633 
634 # ifndef GLM_FORCE_SINGLE_ONLY
635 
638  GLM_ALIGNED_TYPEDEF(float64, aligned_float64, 8);
639 
642  GLM_ALIGNED_TYPEDEF(float64_t, aligned_float64_t, 8);
643 
646  GLM_ALIGNED_TYPEDEF(float64, aligned_f64, 8);
647 
648 # endif//GLM_FORCE_SINGLE_ONLY
649 
650 
654 
658 
662 
666 
667 
670  GLM_ALIGNED_TYPEDEF(fvec1, aligned_fvec1, 4);
671 
674  GLM_ALIGNED_TYPEDEF(fvec2, aligned_fvec2, 8);
675 
678  GLM_ALIGNED_TYPEDEF(fvec3, aligned_fvec3, 16);
679 
682  GLM_ALIGNED_TYPEDEF(fvec4, aligned_fvec4, 16);
683 
684 
687  GLM_ALIGNED_TYPEDEF(f32vec1, aligned_f32vec1, 4);
688 
691  GLM_ALIGNED_TYPEDEF(f32vec2, aligned_f32vec2, 8);
692 
695  GLM_ALIGNED_TYPEDEF(f32vec3, aligned_f32vec3, 16);
696 
699  GLM_ALIGNED_TYPEDEF(f32vec4, aligned_f32vec4, 16);
700 
701 
705 
709 
713 
717 
718 
719 # ifndef GLM_FORCE_SINGLE_ONLY
720 
723  GLM_ALIGNED_TYPEDEF(f64vec1, aligned_f64vec1, 8);
724 
727  GLM_ALIGNED_TYPEDEF(f64vec2, aligned_f64vec2, 16);
728 
731  GLM_ALIGNED_TYPEDEF(f64vec3, aligned_f64vec3, 32);
732 
735  GLM_ALIGNED_TYPEDEF(f64vec4, aligned_f64vec4, 32);
736 
737 # endif//GLM_FORCE_SINGLE_ONLY
738 
740  // Float matrix types
741 
744  //typedef detail::tmat1<f32> mat1;
745 
749 
753 
757 
758 
761  //typedef detail::tmat1x1<f32> mat1;
762 
766 
770 
774 
775 
778  //typedef detail::tmat1x1<f32> fmat1;
779 
782  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2, 16);
783 
786  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3, 16);
787 
790  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4, 16);
791 
792 
795  //typedef f32 fmat1x1;
796 
799  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2x2, 16);
800 
803  GLM_ALIGNED_TYPEDEF(fmat2x3, aligned_fmat2x3, 16);
804 
807  GLM_ALIGNED_TYPEDEF(fmat2x4, aligned_fmat2x4, 16);
808 
811  GLM_ALIGNED_TYPEDEF(fmat3x2, aligned_fmat3x2, 16);
812 
815  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3x3, 16);
816 
819  GLM_ALIGNED_TYPEDEF(fmat3x4, aligned_fmat3x4, 16);
820 
823  GLM_ALIGNED_TYPEDEF(fmat4x2, aligned_fmat4x2, 16);
824 
827  GLM_ALIGNED_TYPEDEF(fmat4x3, aligned_fmat4x3, 16);
828 
831  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4x4, 16);
832 
833 
836  //typedef detail::tmat1x1<f32, defaultp> f32mat1;
837 
840  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2, 16);
841 
844  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3, 16);
845 
848  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4, 16);
849 
850 
853  //typedef f32 f32mat1x1;
854 
857  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2x2, 16);
858 
861  GLM_ALIGNED_TYPEDEF(f32mat2x3, aligned_f32mat2x3, 16);
862 
865  GLM_ALIGNED_TYPEDEF(f32mat2x4, aligned_f32mat2x4, 16);
866 
869  GLM_ALIGNED_TYPEDEF(f32mat3x2, aligned_f32mat3x2, 16);
870 
873  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3x3, 16);
874 
877  GLM_ALIGNED_TYPEDEF(f32mat3x4, aligned_f32mat3x4, 16);
878 
881  GLM_ALIGNED_TYPEDEF(f32mat4x2, aligned_f32mat4x2, 16);
882 
885  GLM_ALIGNED_TYPEDEF(f32mat4x3, aligned_f32mat4x3, 16);
886 
889  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4x4, 16);
890 
891 
892 # ifndef GLM_FORCE_SINGLE_ONLY
893 
896  //typedef detail::tmat1x1<f64, defaultp> f64mat1;
897 
900  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2, 32);
901 
904  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3, 32);
905 
908  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4, 32);
909 
910 
913  //typedef f64 f64mat1x1;
914 
917  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2x2, 32);
918 
921  GLM_ALIGNED_TYPEDEF(f64mat2x3, aligned_f64mat2x3, 32);
922 
925  GLM_ALIGNED_TYPEDEF(f64mat2x4, aligned_f64mat2x4, 32);
926 
929  GLM_ALIGNED_TYPEDEF(f64mat3x2, aligned_f64mat3x2, 32);
930 
933  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3x3, 32);
934 
937  GLM_ALIGNED_TYPEDEF(f64mat3x4, aligned_f64mat3x4, 32);
938 
941  GLM_ALIGNED_TYPEDEF(f64mat4x2, aligned_f64mat4x2, 32);
942 
945  GLM_ALIGNED_TYPEDEF(f64mat4x3, aligned_f64mat4x3, 32);
946 
949  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4x4, 32);
950 
951 # endif//GLM_FORCE_SINGLE_ONLY
952 
953 
955  // Quaternion types
956 
959  GLM_ALIGNED_TYPEDEF(quat, aligned_quat, 16);
960 
963  GLM_ALIGNED_TYPEDEF(quat, aligned_fquat, 16);
964 
967  GLM_ALIGNED_TYPEDEF(dquat, aligned_dquat, 32);
968 
971  GLM_ALIGNED_TYPEDEF(f32quat, aligned_f32quat, 16);
972 
973 # ifndef GLM_FORCE_SINGLE_ONLY
974 
977  GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32);
978 
979 # endif//GLM_FORCE_SINGLE_ONLY
980 
982 }//namespace glm
983 
984 #include "type_aligned.inl"
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
+
vec< 3, u16, defaultp > u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:361
+
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
+
vec< 1, i16, defaultp > i16vec1
16 bit signed integer scalar type.
Definition: fwd.hpp:257
+
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:114
+
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
Definition: fwd.hpp:815
+
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:502
+
int64 i64
64 bit signed integer type.
Definition: fwd.hpp:76
+
int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:59
+
Definition: common.hpp:18
+
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:95
+
vec< 2, i64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:298
+
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:444
+
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:40
+
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:82
+
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
+
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:32
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
double float64
Double precision floating-point numbers.
+
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:98
+
int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:70
+
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:501
+
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:666
+
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:79
+
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:703
+
double float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:176
+
vec< 3, i16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:259
+
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
+
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:123
+
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:91
+
int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:78
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:112
+
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:89
+
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:84
+
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:128
+
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:664
+
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:137
+
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:60
+
vec< 1, i64, defaultp > i64vec1
64 bit signed integer scalar type.
Definition: fwd.hpp:297
+
vec< 1, u32, defaultp > u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:379
+
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:108
+
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:100
+
int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:33
+
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:661
+
int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:52
+
int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:47
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:665
+
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:701
+
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:126
+
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
+
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:464
+
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:132
+
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
+
int16 i16
16 bit signed integer type.
Definition: fwd.hpp:48
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:56
+
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:138
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:96
+
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:140
+
int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:66
+
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:708
+
vec< 1, i32, defaultp > i32vec1
32 bit signed integer scalar type.
Definition: fwd.hpp:277
+
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:104
+
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:69
+
int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:38
+
vec< 3, i64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:299
+
vec< 3, u32, defaultp > u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:381
+
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:785
+
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:705
+
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:462
+
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:133
+
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:782
+
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:663
+
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:136
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:142
+
vec< 4, u32, defaultp > u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:382
+
float float32
Single precision floating-point numbers.
+
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:660
+
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
Definition: fwd.hpp:805
+
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:504
+
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:31
+
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:783
+
vec< 3, u64, defaultp > u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:401
+
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:784
+
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:702
+
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:83
+
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:74
+
int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:36
+
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
+
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
+
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:94
+
vec< 4, u64, defaultp > u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:402
+
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:124
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
+
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:105
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:73
+
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:46
+
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:41
+
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:110
+
int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:64
+
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:704
+
vec< 1, i8, defaultp > i8vec1
8 bit signed integer scalar type.
Definition: fwd.hpp:237
+
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:443
+
float float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:160
+
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:662
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:129
+
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
+
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:786
+
int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:85
+
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:51
+
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:131
+
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
+
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:668
+
int8 i8
8 bit signed integer type.
Definition: fwd.hpp:34
+
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:141
+
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:109
+
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:706
+
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:99
+
int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:45
+
int32 i32
32 bit signed integer type.
Definition: fwd.hpp:62
+
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:101
+
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
+
GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32)
Double-qualifier floating-point aligned quaternion.
+
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:781
+
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
+
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:55
+
int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:61
+
int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:80
+
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
+
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:118
+
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:90
+
vec< 1, u64, defaultp > u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:399
+
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
Definition: vector_int1.hpp:28
+
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:442
+
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
+
detail::int64 int64
64 bit signed integer type.
+
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:667
+
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:65
+
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:103
+
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:113
+
vec< 3, u8, defaultp > u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:341
+
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:463
+
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
vec< 4, i64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:300
+
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:441
+
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
vec< 1, u8, defaultp > u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:339
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:54
+
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:707
+
vec< 3, i8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:239
+
int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:50
+
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:503
+
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
+
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:143
+
vec< 1, u16, defaultp > u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:359
+
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:461
+
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:68
+
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:780
+
vec< 2, u64, defaultp > u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:400
+
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
+
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:119
+
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
Definition: vector_int2.hpp:15
+
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
Definition: vector_int3.hpp:15
+
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:115
+
vec< 3, i32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:279
+
int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:42
+
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
+
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:117
+
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:788
+
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:127
+
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:122
+
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:700
+
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
+
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:37
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:787
+
vec< 4, i32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:280
+
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:75
+
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
+
+ + + + diff --git a/doc/api/a00103.html b/doc/api/a01387.html similarity index 77% rename from doc/api/a00103.html rename to doc/api/a01387.html index 2f3be80c..f859ad77 100644 --- a/doc/api/a00103.html +++ b/doc/api/a01387.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: type_aligned.hpp File Reference @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@
- + - - + + + +
@@ -91,654 +73,645 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search');
-

GLM_GTX_type_aligned +

GLM_GTX_type_aligned More...

-

Go to the source code of this file.

+

Go to the source code of this file.

- - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - - - - + + + + + - - + + - - + +

Functions

 GLM_ALIGNED_TYPEDEF (lowp_int8, aligned_lowp_int8, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int8, aligned_lowp_int8, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int16, aligned_lowp_int16, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int16, aligned_lowp_int16, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int32, aligned_lowp_int32, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int32, aligned_lowp_int32, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int64, aligned_lowp_int64, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int64, aligned_lowp_int64, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int8_t, aligned_lowp_int8_t, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int8_t, aligned_lowp_int8_t, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int16_t, aligned_lowp_int16_t, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int16_t, aligned_lowp_int16_t, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int32_t, aligned_lowp_int32_t, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int32_t, aligned_lowp_int32_t, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_int64_t, aligned_lowp_int64_t, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_int64_t, aligned_lowp_int64_t, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_i8, aligned_lowp_i8, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i8, aligned_lowp_i8, 1)
 Low qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_i16, aligned_lowp_i16, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i16, aligned_lowp_i16, 2)
 Low qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_i32, aligned_lowp_i32, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i32, aligned_lowp_i32, 4)
 Low qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_i64, aligned_lowp_i64, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_i64, aligned_lowp_i64, 8)
 Low qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int8, aligned_mediump_int8, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int8, aligned_mediump_int8, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int16, aligned_mediump_int16, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int16, aligned_mediump_int16, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int32, aligned_mediump_int32, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int32, aligned_mediump_int32, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int64, aligned_mediump_int64, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int64, aligned_mediump_int64, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int8_t, aligned_mediump_int8_t, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int8_t, aligned_mediump_int8_t, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int16_t, aligned_mediump_int16_t, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int16_t, aligned_mediump_int16_t, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int32_t, aligned_mediump_int32_t, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int32_t, aligned_mediump_int32_t, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_int64_t, aligned_mediump_int64_t, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_int64_t, aligned_mediump_int64_t, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_i8, aligned_mediump_i8, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i8, aligned_mediump_i8, 1)
 Medium qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_i16, aligned_mediump_i16, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i16, aligned_mediump_i16, 2)
 Medium qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_i32, aligned_mediump_i32, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i32, aligned_mediump_i32, 4)
 Medium qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_i64, aligned_mediump_i64, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_i64, aligned_mediump_i64, 8)
 Medium qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int8, aligned_highp_int8, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int8, aligned_highp_int8, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int16, aligned_highp_int16, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int16, aligned_highp_int16, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int32, aligned_highp_int32, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int32, aligned_highp_int32, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int64, aligned_highp_int64, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int64, aligned_highp_int64, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int8_t, aligned_highp_int8_t, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int8_t, aligned_highp_int8_t, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int16_t, aligned_highp_int16_t, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int16_t, aligned_highp_int16_t, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int32_t, aligned_highp_int32_t, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int32_t, aligned_highp_int32_t, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_int64_t, aligned_highp_int64_t, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_int64_t, aligned_highp_int64_t, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_i8, aligned_highp_i8, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i8, aligned_highp_i8, 1)
 High qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_i16, aligned_highp_i16, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i16, aligned_highp_i16, 2)
 High qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_i32, aligned_highp_i32, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i32, aligned_highp_i32, 4)
 High qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_i64, aligned_highp_i64, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_i64, aligned_highp_i64, 8)
 High qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int8, aligned_int8, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int8, aligned_int8, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int16, aligned_int16, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int16, aligned_int16, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int32, aligned_int32, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int32, aligned_int32, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int64, aligned_int64, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int64, aligned_int64, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int8_t, aligned_int8_t, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int8_t, aligned_int8_t, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int16_t, aligned_int16_t, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int16_t, aligned_int16_t, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int32_t, aligned_int32_t, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int32_t, aligned_int32_t, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (int64_t, aligned_int64_t, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (int64_t, aligned_int64_t, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i8, aligned_i8, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i8, aligned_i8, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i16, aligned_i16, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i16, aligned_i16, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i32, aligned_i32, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i32, aligned_i32, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i64, aligned_i64, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i64, aligned_i64, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (ivec1, aligned_ivec1, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (ivec1, aligned_ivec1, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (ivec2, aligned_ivec2, 8)
 Default qualifier 32 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (ivec2, aligned_ivec2, 8)
 Default qualifier 32 bit signed integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (ivec3, aligned_ivec3, 16)
 Default qualifier 32 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (ivec3, aligned_ivec3, 16)
 Default qualifier 32 bit signed integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (ivec4, aligned_ivec4, 16)
 Default qualifier 32 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (ivec4, aligned_ivec4, 16)
 Default qualifier 32 bit signed integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i8vec1, aligned_i8vec1, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i8vec1, aligned_i8vec1, 1)
 Default qualifier 8 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i8vec2, aligned_i8vec2, 2)
 Default qualifier 8 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i8vec2, aligned_i8vec2, 2)
 Default qualifier 8 bit signed integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i8vec3, aligned_i8vec3, 4)
 Default qualifier 8 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i8vec3, aligned_i8vec3, 4)
 Default qualifier 8 bit signed integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i8vec4, aligned_i8vec4, 4)
 Default qualifier 8 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i8vec4, aligned_i8vec4, 4)
 Default qualifier 8 bit signed integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i16vec1, aligned_i16vec1, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i16vec1, aligned_i16vec1, 2)
 Default qualifier 16 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i16vec2, aligned_i16vec2, 4)
 Default qualifier 16 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i16vec2, aligned_i16vec2, 4)
 Default qualifier 16 bit signed integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i16vec3, aligned_i16vec3, 8)
 Default qualifier 16 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i16vec3, aligned_i16vec3, 8)
 Default qualifier 16 bit signed integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i16vec4, aligned_i16vec4, 8)
 Default qualifier 16 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i16vec4, aligned_i16vec4, 8)
 Default qualifier 16 bit signed integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i32vec1, aligned_i32vec1, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i32vec1, aligned_i32vec1, 4)
 Default qualifier 32 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i32vec2, aligned_i32vec2, 8)
 Default qualifier 32 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i32vec2, aligned_i32vec2, 8)
 Default qualifier 32 bit signed integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i32vec3, aligned_i32vec3, 16)
 Default qualifier 32 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i32vec3, aligned_i32vec3, 16)
 Default qualifier 32 bit signed integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i32vec4, aligned_i32vec4, 16)
 Default qualifier 32 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i32vec4, aligned_i32vec4, 16)
 Default qualifier 32 bit signed integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i64vec1, aligned_i64vec1, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (i64vec1, aligned_i64vec1, 8)
 Default qualifier 64 bit signed integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (i64vec2, aligned_i64vec2, 16)
 Default qualifier 64 bit signed integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (i64vec2, aligned_i64vec2, 16)
 Default qualifier 64 bit signed integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i64vec3, aligned_i64vec3, 32)
 Default qualifier 64 bit signed integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (i64vec3, aligned_i64vec3, 32)
 Default qualifier 64 bit signed integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (i64vec4, aligned_i64vec4, 32)
 Default qualifier 64 bit signed integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (i64vec4, aligned_i64vec4, 32)
 Default qualifier 64 bit signed integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8, aligned_lowp_uint8, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint8, aligned_lowp_uint8, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16, aligned_lowp_uint16, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint16, aligned_lowp_uint16, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32, aligned_lowp_uint32, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint32, aligned_lowp_uint32, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64, aligned_lowp_uint64, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint64, aligned_lowp_uint64, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint8_t, aligned_lowp_uint8_t, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint8_t, aligned_lowp_uint8_t, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint16_t, aligned_lowp_uint16_t, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint16_t, aligned_lowp_uint16_t, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint32_t, aligned_lowp_uint32_t, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint32_t, aligned_lowp_uint32_t, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_uint64_t, aligned_lowp_uint64_t, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_uint64_t, aligned_lowp_uint64_t, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_u8, aligned_lowp_u8, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u8, aligned_lowp_u8, 1)
 Low qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_u16, aligned_lowp_u16, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u16, aligned_lowp_u16, 2)
 Low qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_u32, aligned_lowp_u32, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u32, aligned_lowp_u32, 4)
 Low qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (lowp_u64, aligned_lowp_u64, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (lowp_u64, aligned_lowp_u64, 8)
 Low qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8, aligned_mediump_uint8, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint8, aligned_mediump_uint8, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16, aligned_mediump_uint16, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint16, aligned_mediump_uint16, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32, aligned_mediump_uint32, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint32, aligned_mediump_uint32, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64, aligned_mediump_uint64, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint64, aligned_mediump_uint64, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint8_t, aligned_mediump_uint8_t, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint8_t, aligned_mediump_uint8_t, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint16_t, aligned_mediump_uint16_t, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint16_t, aligned_mediump_uint16_t, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint32_t, aligned_mediump_uint32_t, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint32_t, aligned_mediump_uint32_t, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_uint64_t, aligned_mediump_uint64_t, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_uint64_t, aligned_mediump_uint64_t, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_u8, aligned_mediump_u8, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u8, aligned_mediump_u8, 1)
 Medium qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_u16, aligned_mediump_u16, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u16, aligned_mediump_u16, 2)
 Medium qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_u32, aligned_mediump_u32, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u32, aligned_mediump_u32, 4)
 Medium qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (mediump_u64, aligned_mediump_u64, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (mediump_u64, aligned_mediump_u64, 8)
 Medium qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint8, aligned_highp_uint8, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint8, aligned_highp_uint8, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint16, aligned_highp_uint16, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint16, aligned_highp_uint16, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint32, aligned_highp_uint32, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint32, aligned_highp_uint32, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint64, aligned_highp_uint64, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint64, aligned_highp_uint64, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint8_t, aligned_highp_uint8_t, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint8_t, aligned_highp_uint8_t, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint16_t, aligned_highp_uint16_t, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint16_t, aligned_highp_uint16_t, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint32_t, aligned_highp_uint32_t, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint32_t, aligned_highp_uint32_t, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_uint64_t, aligned_highp_uint64_t, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_uint64_t, aligned_highp_uint64_t, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_u8, aligned_highp_u8, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u8, aligned_highp_u8, 1)
 High qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_u16, aligned_highp_u16, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u16, aligned_highp_u16, 2)
 High qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_u32, aligned_highp_u32, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u32, aligned_highp_u32, 4)
 High qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (highp_u64, aligned_highp_u64, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (highp_u64, aligned_highp_u64, 8)
 High qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint8, aligned_uint8, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint8, aligned_uint8, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint16, aligned_uint16, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint16, aligned_uint16, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint32, aligned_uint32, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint32, aligned_uint32, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint64, aligned_uint64, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint64, aligned_uint64, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint8_t, aligned_uint8_t, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint8_t, aligned_uint8_t, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint16_t, aligned_uint16_t, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint16_t, aligned_uint16_t, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint32_t, aligned_uint32_t, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint32_t, aligned_uint32_t, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uint64_t, aligned_uint64_t, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uint64_t, aligned_uint64_t, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u8, aligned_u8, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u8, aligned_u8, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u16, aligned_u16, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u16, aligned_u16, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u32, aligned_u32, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u32, aligned_u32, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u64, aligned_u64, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u64, aligned_u64, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uvec1, aligned_uvec1, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (uvec1, aligned_uvec1, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (uvec2, aligned_uvec2, 8)
 Default qualifier 32 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (uvec2, aligned_uvec2, 8)
 Default qualifier 32 bit unsigned integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (uvec3, aligned_uvec3, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (uvec3, aligned_uvec3, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (uvec4, aligned_uvec4, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (uvec4, aligned_uvec4, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u8vec1, aligned_u8vec1, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u8vec1, aligned_u8vec1, 1)
 Default qualifier 8 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u8vec2, aligned_u8vec2, 2)
 Default qualifier 8 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u8vec2, aligned_u8vec2, 2)
 Default qualifier 8 bit unsigned integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u8vec3, aligned_u8vec3, 4)
 Default qualifier 8 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u8vec3, aligned_u8vec3, 4)
 Default qualifier 8 bit unsigned integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u8vec4, aligned_u8vec4, 4)
 Default qualifier 8 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u8vec4, aligned_u8vec4, 4)
 Default qualifier 8 bit unsigned integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u16vec1, aligned_u16vec1, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u16vec1, aligned_u16vec1, 2)
 Default qualifier 16 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u16vec2, aligned_u16vec2, 4)
 Default qualifier 16 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u16vec2, aligned_u16vec2, 4)
 Default qualifier 16 bit unsigned integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u16vec3, aligned_u16vec3, 8)
 Default qualifier 16 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u16vec3, aligned_u16vec3, 8)
 Default qualifier 16 bit unsigned integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u16vec4, aligned_u16vec4, 8)
 Default qualifier 16 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u16vec4, aligned_u16vec4, 8)
 Default qualifier 16 bit unsigned integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u32vec1, aligned_u32vec1, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u32vec1, aligned_u32vec1, 4)
 Default qualifier 32 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u32vec2, aligned_u32vec2, 8)
 Default qualifier 32 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u32vec2, aligned_u32vec2, 8)
 Default qualifier 32 bit unsigned integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u32vec3, aligned_u32vec3, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u32vec3, aligned_u32vec3, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u32vec4, aligned_u32vec4, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u32vec4, aligned_u32vec4, 16)
 Default qualifier 32 bit unsigned integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u64vec1, aligned_u64vec1, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 GLM_ALIGNED_TYPEDEF (u64vec1, aligned_u64vec1, 8)
 Default qualifier 64 bit unsigned integer aligned scalar type. More...
 
 GLM_ALIGNED_TYPEDEF (u64vec2, aligned_u64vec2, 16)
 Default qualifier 64 bit unsigned integer aligned vector of 2 components type. More...
 GLM_ALIGNED_TYPEDEF (u64vec2, aligned_u64vec2, 16)
 Default qualifier 64 bit unsigned integer aligned vector of 2 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u64vec3, aligned_u64vec3, 32)
 Default qualifier 64 bit unsigned integer aligned vector of 3 components type. More...
 GLM_ALIGNED_TYPEDEF (u64vec3, aligned_u64vec3, 32)
 Default qualifier 64 bit unsigned integer aligned vector of 3 components type. More...
 
 GLM_ALIGNED_TYPEDEF (u64vec4, aligned_u64vec4, 32)
 Default qualifier 64 bit unsigned integer aligned vector of 4 components type. More...
 GLM_ALIGNED_TYPEDEF (u64vec4, aligned_u64vec4, 32)
 Default qualifier 64 bit unsigned integer aligned vector of 4 components type. More...
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_float32, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float32, aligned_float32, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 
 GLM_ALIGNED_TYPEDEF (float32_t, aligned_float32_t, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float32_t, aligned_float32_t, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 
 GLM_ALIGNED_TYPEDEF (float32, aligned_f32, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float32, aligned_f32, 4)
 32 bit single-qualifier floating-point aligned scalar. More...
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_float64, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float64, aligned_float64, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 
 GLM_ALIGNED_TYPEDEF (float64_t, aligned_float64_t, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float64_t, aligned_float64_t, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 
 GLM_ALIGNED_TYPEDEF (float64, aligned_f64, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 GLM_ALIGNED_TYPEDEF (float64, aligned_f64, 8)
 64 bit double-qualifier floating-point aligned scalar. More...
 
 GLM_ALIGNED_TYPEDEF (vec1, aligned_vec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (vec1, aligned_vec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 
 GLM_ALIGNED_TYPEDEF (vec2, aligned_vec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (vec2, aligned_vec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 
 GLM_ALIGNED_TYPEDEF (vec3, aligned_vec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (vec3, aligned_vec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 
 GLM_ALIGNED_TYPEDEF (vec4, aligned_vec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (vec4, aligned_vec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 
 GLM_ALIGNED_TYPEDEF (fvec1, aligned_fvec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (fvec1, aligned_fvec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 
 GLM_ALIGNED_TYPEDEF (fvec2, aligned_fvec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (fvec2, aligned_fvec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 
 GLM_ALIGNED_TYPEDEF (fvec3, aligned_fvec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (fvec3, aligned_fvec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 
 GLM_ALIGNED_TYPEDEF (fvec4, aligned_fvec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (fvec4, aligned_fvec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 
 GLM_ALIGNED_TYPEDEF (f32vec1, aligned_f32vec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (f32vec1, aligned_f32vec1, 4)
 Single-qualifier floating-point aligned vector of 1 component. More...
 
 GLM_ALIGNED_TYPEDEF (f32vec2, aligned_f32vec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (f32vec2, aligned_f32vec2, 8)
 Single-qualifier floating-point aligned vector of 2 components. More...
 
 GLM_ALIGNED_TYPEDEF (f32vec3, aligned_f32vec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (f32vec3, aligned_f32vec3, 16)
 Single-qualifier floating-point aligned vector of 3 components. More...
 
 GLM_ALIGNED_TYPEDEF (f32vec4, aligned_f32vec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (f32vec4, aligned_f32vec4, 16)
 Single-qualifier floating-point aligned vector of 4 components. More...
 
 GLM_ALIGNED_TYPEDEF (dvec1, aligned_dvec1, 8)
 Double-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (dvec1, aligned_dvec1, 8)
 Double-qualifier floating-point aligned vector of 1 component. More...
 
 GLM_ALIGNED_TYPEDEF (dvec2, aligned_dvec2, 16)
 Double-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (dvec2, aligned_dvec2, 16)
 Double-qualifier floating-point aligned vector of 2 components. More...
 
 GLM_ALIGNED_TYPEDEF (dvec3, aligned_dvec3, 32)
 Double-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (dvec3, aligned_dvec3, 32)
 Double-qualifier floating-point aligned vector of 3 components. More...
 
 GLM_ALIGNED_TYPEDEF (dvec4, aligned_dvec4, 32)
 Double-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (dvec4, aligned_dvec4, 32)
 Double-qualifier floating-point aligned vector of 4 components. More...
 
 GLM_ALIGNED_TYPEDEF (f64vec1, aligned_f64vec1, 8)
 Double-qualifier floating-point aligned vector of 1 component. More...
 GLM_ALIGNED_TYPEDEF (f64vec1, aligned_f64vec1, 8)
 Double-qualifier floating-point aligned vector of 1 component. More...
 
 GLM_ALIGNED_TYPEDEF (f64vec2, aligned_f64vec2, 16)
 Double-qualifier floating-point aligned vector of 2 components. More...
 GLM_ALIGNED_TYPEDEF (f64vec2, aligned_f64vec2, 16)
 Double-qualifier floating-point aligned vector of 2 components. More...
 
 GLM_ALIGNED_TYPEDEF (f64vec3, aligned_f64vec3, 32)
 Double-qualifier floating-point aligned vector of 3 components. More...
 GLM_ALIGNED_TYPEDEF (f64vec3, aligned_f64vec3, 32)
 Double-qualifier floating-point aligned vector of 3 components. More...
 
 GLM_ALIGNED_TYPEDEF (f64vec4, aligned_f64vec4, 32)
 Double-qualifier floating-point aligned vector of 4 components. More...
 GLM_ALIGNED_TYPEDEF (f64vec4, aligned_f64vec4, 32)
 Double-qualifier floating-point aligned vector of 4 components. More...
 
 GLM_ALIGNED_TYPEDEF (mat2, aligned_mat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat3, aligned_mat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat4, aligned_mat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat2x2, aligned_mat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat3x3, aligned_mat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat4x4, aligned_mat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (mat2, aligned_mat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat3, aligned_mat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (mat4, aligned_mat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat2x2, aligned_fmat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat2x3, aligned_fmat2x3, 16)
 Single-qualifier floating-point aligned 2x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat2x3, aligned_fmat2x3, 16)
 Single-qualifier floating-point aligned 2x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat2x4, aligned_fmat2x4, 16)
 Single-qualifier floating-point aligned 2x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat2x4, aligned_fmat2x4, 16)
 Single-qualifier floating-point aligned 2x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat3x2, aligned_fmat3x2, 16)
 Single-qualifier floating-point aligned 3x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x2, aligned_fmat3x2, 16)
 Single-qualifier floating-point aligned 3x2 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x3, aligned_fmat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat3x4, aligned_fmat3x4, 16)
 Single-qualifier floating-point aligned 3x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat3x4, aligned_fmat3x4, 16)
 Single-qualifier floating-point aligned 3x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat4x2, aligned_fmat4x2, 16)
 Single-qualifier floating-point aligned 4x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x2, aligned_fmat4x2, 16)
 Single-qualifier floating-point aligned 4x2 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat4x3, aligned_fmat4x3, 16)
 Single-qualifier floating-point aligned 4x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x3, aligned_fmat4x3, 16)
 Single-qualifier floating-point aligned 4x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (fmat4x4, aligned_fmat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x2, aligned_f32mat2x2, 16)
 Single-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat2x3, aligned_f32mat2x3, 16)
 Single-qualifier floating-point aligned 2x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x3, aligned_f32mat2x3, 16)
 Single-qualifier floating-point aligned 2x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat2x4, aligned_f32mat2x4, 16)
 Single-qualifier floating-point aligned 2x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat2x4, aligned_f32mat2x4, 16)
 Single-qualifier floating-point aligned 2x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat3x2, aligned_f32mat3x2, 16)
 Single-qualifier floating-point aligned 3x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x2, aligned_f32mat3x2, 16)
 Single-qualifier floating-point aligned 3x2 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x3, aligned_f32mat3x3, 16)
 Single-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat3x4, aligned_f32mat3x4, 16)
 Single-qualifier floating-point aligned 3x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat3x4, aligned_f32mat3x4, 16)
 Single-qualifier floating-point aligned 3x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat4x2, aligned_f32mat4x2, 16)
 Single-qualifier floating-point aligned 4x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x2, aligned_f32mat4x2, 16)
 Single-qualifier floating-point aligned 4x2 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat4x3, aligned_f32mat4x3, 16)
 Single-qualifier floating-point aligned 4x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x3, aligned_f32mat4x3, 16)
 Single-qualifier floating-point aligned 4x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f32mat4x4, aligned_f32mat4x4, 16)
 Single-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2, 32)
 Double-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2, 32)
 Double-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3, 32)
 Double-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3, 32)
 Double-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4, 32)
 Double-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4, 32)
 Double-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2x2, 32)
 Double-qualifier floating-point aligned 1x1 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x2, aligned_f64mat2x2, 32)
 Double-qualifier floating-point aligned 1x1 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat2x3, aligned_f64mat2x3, 32)
 Double-qualifier floating-point aligned 2x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x3, aligned_f64mat2x3, 32)
 Double-qualifier floating-point aligned 2x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat2x4, aligned_f64mat2x4, 32)
 Double-qualifier floating-point aligned 2x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat2x4, aligned_f64mat2x4, 32)
 Double-qualifier floating-point aligned 2x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat3x2, aligned_f64mat3x2, 32)
 Double-qualifier floating-point aligned 3x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x2, aligned_f64mat3x2, 32)
 Double-qualifier floating-point aligned 3x2 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3x3, 32)
 Double-qualifier floating-point aligned 3x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x3, aligned_f64mat3x3, 32)
 Double-qualifier floating-point aligned 3x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat3x4, aligned_f64mat3x4, 32)
 Double-qualifier floating-point aligned 3x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat3x4, aligned_f64mat3x4, 32)
 Double-qualifier floating-point aligned 3x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat4x2, aligned_f64mat4x2, 32)
 Double-qualifier floating-point aligned 4x2 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x2, aligned_f64mat4x2, 32)
 Double-qualifier floating-point aligned 4x2 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat4x3, aligned_f64mat4x3, 32)
 Double-qualifier floating-point aligned 4x3 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x3, aligned_f64mat4x3, 32)
 Double-qualifier floating-point aligned 4x3 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4x4, 32)
 Double-qualifier floating-point aligned 4x4 matrix. More...
 GLM_ALIGNED_TYPEDEF (f64mat4x4, aligned_f64mat4x4, 32)
 Double-qualifier floating-point aligned 4x4 matrix. More...
 
 GLM_ALIGNED_TYPEDEF (quat, aligned_quat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (quat, aligned_quat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 
 GLM_ALIGNED_TYPEDEF (fquat, aligned_fquat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 
 GLM_ALIGNED_TYPEDEF (dquat, aligned_dquat, 32)
 Double-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (quat, aligned_fquat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 
 GLM_ALIGNED_TYPEDEF (dquat, aligned_dquat, 32)
 Double-qualifier floating-point aligned quaternion. More...
 
 GLM_ALIGNED_TYPEDEF (f32quat, aligned_f32quat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (f32quat, aligned_f32quat, 16)
 Single-qualifier floating-point aligned quaternion. More...
 
 GLM_ALIGNED_TYPEDEF (f64quat, aligned_f64quat, 32)
 Double-qualifier floating-point aligned quaternion. More...
 GLM_ALIGNED_TYPEDEF (f64quat, aligned_f64quat, 32)
 Double-qualifier floating-point aligned quaternion. More...
 

Detailed Description

-

GLM_GTX_type_aligned

-
See also
Core features (dependence)
+

GLM_GTX_type_aligned

+
See also
Core features (dependence)
-GLM_GTC_quaternion (dependence)
+GLM_GTC_quaternion (dependence)
-

Definition in file gtx/type_aligned.hpp.

+

Definition in file gtx/type_aligned.hpp.

diff --git a/doc/api/a01387_source.html b/doc/api/a01387_source.html new file mode 100644 index 00000000..d2baccb2 --- /dev/null +++ b/doc/api/a01387_source.html @@ -0,0 +1,294 @@ + + + + + + + +0.9.9 API documenation: type_aligned.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx/type_aligned.hpp
+
+
+Go to the documentation of this file.
1 
16 #pragma once
17 
18 // Dependency:
19 #include "../gtc/type_precision.hpp"
20 #include "../gtc/quaternion.hpp"
21 
22 #ifndef GLM_ENABLE_EXPERIMENTAL
23 # error "GLM: GLM_GTX_type_aligned is an experimental extension and may change in the future. Use #define GLM_ENABLE_EXPERIMENTAL before including it, if you really want to use it."
24 #endif
25 
26 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
27 # pragma message("GLM: GLM_GTX_type_aligned extension included")
28 #endif
29 
30 namespace glm
31 {
33  // Signed int vector types
34 
37 
40  GLM_ALIGNED_TYPEDEF(lowp_int8, aligned_lowp_int8, 1);
41 
44  GLM_ALIGNED_TYPEDEF(lowp_int16, aligned_lowp_int16, 2);
45 
48  GLM_ALIGNED_TYPEDEF(lowp_int32, aligned_lowp_int32, 4);
49 
52  GLM_ALIGNED_TYPEDEF(lowp_int64, aligned_lowp_int64, 8);
53 
54 
57  GLM_ALIGNED_TYPEDEF(lowp_int8_t, aligned_lowp_int8_t, 1);
58 
61  GLM_ALIGNED_TYPEDEF(lowp_int16_t, aligned_lowp_int16_t, 2);
62 
65  GLM_ALIGNED_TYPEDEF(lowp_int32_t, aligned_lowp_int32_t, 4);
66 
69  GLM_ALIGNED_TYPEDEF(lowp_int64_t, aligned_lowp_int64_t, 8);
70 
71 
74  GLM_ALIGNED_TYPEDEF(lowp_i8, aligned_lowp_i8, 1);
75 
78  GLM_ALIGNED_TYPEDEF(lowp_i16, aligned_lowp_i16, 2);
79 
82  GLM_ALIGNED_TYPEDEF(lowp_i32, aligned_lowp_i32, 4);
83 
86  GLM_ALIGNED_TYPEDEF(lowp_i64, aligned_lowp_i64, 8);
87 
88 
91  GLM_ALIGNED_TYPEDEF(mediump_int8, aligned_mediump_int8, 1);
92 
95  GLM_ALIGNED_TYPEDEF(mediump_int16, aligned_mediump_int16, 2);
96 
99  GLM_ALIGNED_TYPEDEF(mediump_int32, aligned_mediump_int32, 4);
100 
103  GLM_ALIGNED_TYPEDEF(mediump_int64, aligned_mediump_int64, 8);
104 
105 
108  GLM_ALIGNED_TYPEDEF(mediump_int8_t, aligned_mediump_int8_t, 1);
109 
112  GLM_ALIGNED_TYPEDEF(mediump_int16_t, aligned_mediump_int16_t, 2);
113 
116  GLM_ALIGNED_TYPEDEF(mediump_int32_t, aligned_mediump_int32_t, 4);
117 
120  GLM_ALIGNED_TYPEDEF(mediump_int64_t, aligned_mediump_int64_t, 8);
121 
122 
125  GLM_ALIGNED_TYPEDEF(mediump_i8, aligned_mediump_i8, 1);
126 
129  GLM_ALIGNED_TYPEDEF(mediump_i16, aligned_mediump_i16, 2);
130 
133  GLM_ALIGNED_TYPEDEF(mediump_i32, aligned_mediump_i32, 4);
134 
137  GLM_ALIGNED_TYPEDEF(mediump_i64, aligned_mediump_i64, 8);
138 
139 
142  GLM_ALIGNED_TYPEDEF(highp_int8, aligned_highp_int8, 1);
143 
146  GLM_ALIGNED_TYPEDEF(highp_int16, aligned_highp_int16, 2);
147 
150  GLM_ALIGNED_TYPEDEF(highp_int32, aligned_highp_int32, 4);
151 
154  GLM_ALIGNED_TYPEDEF(highp_int64, aligned_highp_int64, 8);
155 
156 
159  GLM_ALIGNED_TYPEDEF(highp_int8_t, aligned_highp_int8_t, 1);
160 
163  GLM_ALIGNED_TYPEDEF(highp_int16_t, aligned_highp_int16_t, 2);
164 
167  GLM_ALIGNED_TYPEDEF(highp_int32_t, aligned_highp_int32_t, 4);
168 
171  GLM_ALIGNED_TYPEDEF(highp_int64_t, aligned_highp_int64_t, 8);
172 
173 
176  GLM_ALIGNED_TYPEDEF(highp_i8, aligned_highp_i8, 1);
177 
180  GLM_ALIGNED_TYPEDEF(highp_i16, aligned_highp_i16, 2);
181 
184  GLM_ALIGNED_TYPEDEF(highp_i32, aligned_highp_i32, 4);
185 
188  GLM_ALIGNED_TYPEDEF(highp_i64, aligned_highp_i64, 8);
189 
190 
193  GLM_ALIGNED_TYPEDEF(int8, aligned_int8, 1);
194 
197  GLM_ALIGNED_TYPEDEF(int16, aligned_int16, 2);
198 
201  GLM_ALIGNED_TYPEDEF(int32, aligned_int32, 4);
202 
205  GLM_ALIGNED_TYPEDEF(int64, aligned_int64, 8);
206 
207 
210  GLM_ALIGNED_TYPEDEF(int8_t, aligned_int8_t, 1);
211 
214  GLM_ALIGNED_TYPEDEF(int16_t, aligned_int16_t, 2);
215 
218  GLM_ALIGNED_TYPEDEF(int32_t, aligned_int32_t, 4);
219 
222  GLM_ALIGNED_TYPEDEF(int64_t, aligned_int64_t, 8);
223 
224 
227  GLM_ALIGNED_TYPEDEF(i8, aligned_i8, 1);
228 
231  GLM_ALIGNED_TYPEDEF(i16, aligned_i16, 2);
232 
235  GLM_ALIGNED_TYPEDEF(i32, aligned_i32, 4);
236 
239  GLM_ALIGNED_TYPEDEF(i64, aligned_i64, 8);
240 
241 
245 
249 
253 
257 
258 
261  GLM_ALIGNED_TYPEDEF(i8vec1, aligned_i8vec1, 1);
262 
265  GLM_ALIGNED_TYPEDEF(i8vec2, aligned_i8vec2, 2);
266 
269  GLM_ALIGNED_TYPEDEF(i8vec3, aligned_i8vec3, 4);
270 
273  GLM_ALIGNED_TYPEDEF(i8vec4, aligned_i8vec4, 4);
274 
275 
278  GLM_ALIGNED_TYPEDEF(i16vec1, aligned_i16vec1, 2);
279 
282  GLM_ALIGNED_TYPEDEF(i16vec2, aligned_i16vec2, 4);
283 
286  GLM_ALIGNED_TYPEDEF(i16vec3, aligned_i16vec3, 8);
287 
290  GLM_ALIGNED_TYPEDEF(i16vec4, aligned_i16vec4, 8);
291 
292 
295  GLM_ALIGNED_TYPEDEF(i32vec1, aligned_i32vec1, 4);
296 
299  GLM_ALIGNED_TYPEDEF(i32vec2, aligned_i32vec2, 8);
300 
303  GLM_ALIGNED_TYPEDEF(i32vec3, aligned_i32vec3, 16);
304 
307  GLM_ALIGNED_TYPEDEF(i32vec4, aligned_i32vec4, 16);
308 
309 
312  GLM_ALIGNED_TYPEDEF(i64vec1, aligned_i64vec1, 8);
313 
316  GLM_ALIGNED_TYPEDEF(i64vec2, aligned_i64vec2, 16);
317 
320  GLM_ALIGNED_TYPEDEF(i64vec3, aligned_i64vec3, 32);
321 
324  GLM_ALIGNED_TYPEDEF(i64vec4, aligned_i64vec4, 32);
325 
326 
328  // Unsigned int vector types
329 
332  GLM_ALIGNED_TYPEDEF(lowp_uint8, aligned_lowp_uint8, 1);
333 
336  GLM_ALIGNED_TYPEDEF(lowp_uint16, aligned_lowp_uint16, 2);
337 
340  GLM_ALIGNED_TYPEDEF(lowp_uint32, aligned_lowp_uint32, 4);
341 
344  GLM_ALIGNED_TYPEDEF(lowp_uint64, aligned_lowp_uint64, 8);
345 
346 
349  GLM_ALIGNED_TYPEDEF(lowp_uint8_t, aligned_lowp_uint8_t, 1);
350 
353  GLM_ALIGNED_TYPEDEF(lowp_uint16_t, aligned_lowp_uint16_t, 2);
354 
357  GLM_ALIGNED_TYPEDEF(lowp_uint32_t, aligned_lowp_uint32_t, 4);
358 
361  GLM_ALIGNED_TYPEDEF(lowp_uint64_t, aligned_lowp_uint64_t, 8);
362 
363 
366  GLM_ALIGNED_TYPEDEF(lowp_u8, aligned_lowp_u8, 1);
367 
370  GLM_ALIGNED_TYPEDEF(lowp_u16, aligned_lowp_u16, 2);
371 
374  GLM_ALIGNED_TYPEDEF(lowp_u32, aligned_lowp_u32, 4);
375 
378  GLM_ALIGNED_TYPEDEF(lowp_u64, aligned_lowp_u64, 8);
379 
380 
383  GLM_ALIGNED_TYPEDEF(mediump_uint8, aligned_mediump_uint8, 1);
384 
387  GLM_ALIGNED_TYPEDEF(mediump_uint16, aligned_mediump_uint16, 2);
388 
391  GLM_ALIGNED_TYPEDEF(mediump_uint32, aligned_mediump_uint32, 4);
392 
395  GLM_ALIGNED_TYPEDEF(mediump_uint64, aligned_mediump_uint64, 8);
396 
397 
400  GLM_ALIGNED_TYPEDEF(mediump_uint8_t, aligned_mediump_uint8_t, 1);
401 
404  GLM_ALIGNED_TYPEDEF(mediump_uint16_t, aligned_mediump_uint16_t, 2);
405 
408  GLM_ALIGNED_TYPEDEF(mediump_uint32_t, aligned_mediump_uint32_t, 4);
409 
412  GLM_ALIGNED_TYPEDEF(mediump_uint64_t, aligned_mediump_uint64_t, 8);
413 
414 
417  GLM_ALIGNED_TYPEDEF(mediump_u8, aligned_mediump_u8, 1);
418 
421  GLM_ALIGNED_TYPEDEF(mediump_u16, aligned_mediump_u16, 2);
422 
425  GLM_ALIGNED_TYPEDEF(mediump_u32, aligned_mediump_u32, 4);
426 
429  GLM_ALIGNED_TYPEDEF(mediump_u64, aligned_mediump_u64, 8);
430 
431 
434  GLM_ALIGNED_TYPEDEF(highp_uint8, aligned_highp_uint8, 1);
435 
438  GLM_ALIGNED_TYPEDEF(highp_uint16, aligned_highp_uint16, 2);
439 
442  GLM_ALIGNED_TYPEDEF(highp_uint32, aligned_highp_uint32, 4);
443 
446  GLM_ALIGNED_TYPEDEF(highp_uint64, aligned_highp_uint64, 8);
447 
448 
451  GLM_ALIGNED_TYPEDEF(highp_uint8_t, aligned_highp_uint8_t, 1);
452 
455  GLM_ALIGNED_TYPEDEF(highp_uint16_t, aligned_highp_uint16_t, 2);
456 
459  GLM_ALIGNED_TYPEDEF(highp_uint32_t, aligned_highp_uint32_t, 4);
460 
463  GLM_ALIGNED_TYPEDEF(highp_uint64_t, aligned_highp_uint64_t, 8);
464 
465 
468  GLM_ALIGNED_TYPEDEF(highp_u8, aligned_highp_u8, 1);
469 
472  GLM_ALIGNED_TYPEDEF(highp_u16, aligned_highp_u16, 2);
473 
476  GLM_ALIGNED_TYPEDEF(highp_u32, aligned_highp_u32, 4);
477 
480  GLM_ALIGNED_TYPEDEF(highp_u64, aligned_highp_u64, 8);
481 
482 
485  GLM_ALIGNED_TYPEDEF(uint8, aligned_uint8, 1);
486 
489  GLM_ALIGNED_TYPEDEF(uint16, aligned_uint16, 2);
490 
493  GLM_ALIGNED_TYPEDEF(uint32, aligned_uint32, 4);
494 
497  GLM_ALIGNED_TYPEDEF(uint64, aligned_uint64, 8);
498 
499 
502  GLM_ALIGNED_TYPEDEF(uint8_t, aligned_uint8_t, 1);
503 
506  GLM_ALIGNED_TYPEDEF(uint16_t, aligned_uint16_t, 2);
507 
510  GLM_ALIGNED_TYPEDEF(uint32_t, aligned_uint32_t, 4);
511 
514  GLM_ALIGNED_TYPEDEF(uint64_t, aligned_uint64_t, 8);
515 
516 
519  GLM_ALIGNED_TYPEDEF(u8, aligned_u8, 1);
520 
523  GLM_ALIGNED_TYPEDEF(u16, aligned_u16, 2);
524 
527  GLM_ALIGNED_TYPEDEF(u32, aligned_u32, 4);
528 
531  GLM_ALIGNED_TYPEDEF(u64, aligned_u64, 8);
532 
533 
537 
541 
545 
549 
550 
553  GLM_ALIGNED_TYPEDEF(u8vec1, aligned_u8vec1, 1);
554 
557  GLM_ALIGNED_TYPEDEF(u8vec2, aligned_u8vec2, 2);
558 
561  GLM_ALIGNED_TYPEDEF(u8vec3, aligned_u8vec3, 4);
562 
565  GLM_ALIGNED_TYPEDEF(u8vec4, aligned_u8vec4, 4);
566 
567 
570  GLM_ALIGNED_TYPEDEF(u16vec1, aligned_u16vec1, 2);
571 
574  GLM_ALIGNED_TYPEDEF(u16vec2, aligned_u16vec2, 4);
575 
578  GLM_ALIGNED_TYPEDEF(u16vec3, aligned_u16vec3, 8);
579 
582  GLM_ALIGNED_TYPEDEF(u16vec4, aligned_u16vec4, 8);
583 
584 
587  GLM_ALIGNED_TYPEDEF(u32vec1, aligned_u32vec1, 4);
588 
591  GLM_ALIGNED_TYPEDEF(u32vec2, aligned_u32vec2, 8);
592 
595  GLM_ALIGNED_TYPEDEF(u32vec3, aligned_u32vec3, 16);
596 
599  GLM_ALIGNED_TYPEDEF(u32vec4, aligned_u32vec4, 16);
600 
601 
604  GLM_ALIGNED_TYPEDEF(u64vec1, aligned_u64vec1, 8);
605 
608  GLM_ALIGNED_TYPEDEF(u64vec2, aligned_u64vec2, 16);
609 
612  GLM_ALIGNED_TYPEDEF(u64vec3, aligned_u64vec3, 32);
613 
616  GLM_ALIGNED_TYPEDEF(u64vec4, aligned_u64vec4, 32);
617 
618 
620  // Float vector types
621 
624  GLM_ALIGNED_TYPEDEF(float32, aligned_float32, 4);
625 
628  GLM_ALIGNED_TYPEDEF(float32_t, aligned_float32_t, 4);
629 
632  GLM_ALIGNED_TYPEDEF(float32, aligned_f32, 4);
633 
634 # ifndef GLM_FORCE_SINGLE_ONLY
635 
638  GLM_ALIGNED_TYPEDEF(float64, aligned_float64, 8);
639 
642  GLM_ALIGNED_TYPEDEF(float64_t, aligned_float64_t, 8);
643 
646  GLM_ALIGNED_TYPEDEF(float64, aligned_f64, 8);
647 
648 # endif//GLM_FORCE_SINGLE_ONLY
649 
650 
654 
658 
662 
666 
667 
670  GLM_ALIGNED_TYPEDEF(fvec1, aligned_fvec1, 4);
671 
674  GLM_ALIGNED_TYPEDEF(fvec2, aligned_fvec2, 8);
675 
678  GLM_ALIGNED_TYPEDEF(fvec3, aligned_fvec3, 16);
679 
682  GLM_ALIGNED_TYPEDEF(fvec4, aligned_fvec4, 16);
683 
684 
687  GLM_ALIGNED_TYPEDEF(f32vec1, aligned_f32vec1, 4);
688 
691  GLM_ALIGNED_TYPEDEF(f32vec2, aligned_f32vec2, 8);
692 
695  GLM_ALIGNED_TYPEDEF(f32vec3, aligned_f32vec3, 16);
696 
699  GLM_ALIGNED_TYPEDEF(f32vec4, aligned_f32vec4, 16);
700 
701 
705 
709 
713 
717 
718 
719 # ifndef GLM_FORCE_SINGLE_ONLY
720 
723  GLM_ALIGNED_TYPEDEF(f64vec1, aligned_f64vec1, 8);
724 
727  GLM_ALIGNED_TYPEDEF(f64vec2, aligned_f64vec2, 16);
728 
731  GLM_ALIGNED_TYPEDEF(f64vec3, aligned_f64vec3, 32);
732 
735  GLM_ALIGNED_TYPEDEF(f64vec4, aligned_f64vec4, 32);
736 
737 # endif//GLM_FORCE_SINGLE_ONLY
738 
740  // Float matrix types
741 
744  //typedef detail::tmat1<f32> mat1;
745 
749 
753 
757 
758 
761  //typedef detail::tmat1x1<f32> mat1;
762 
766 
770 
774 
775 
778  //typedef detail::tmat1x1<f32> fmat1;
779 
782  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2, 16);
783 
786  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3, 16);
787 
790  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4, 16);
791 
792 
795  //typedef f32 fmat1x1;
796 
799  GLM_ALIGNED_TYPEDEF(fmat2x2, aligned_fmat2x2, 16);
800 
803  GLM_ALIGNED_TYPEDEF(fmat2x3, aligned_fmat2x3, 16);
804 
807  GLM_ALIGNED_TYPEDEF(fmat2x4, aligned_fmat2x4, 16);
808 
811  GLM_ALIGNED_TYPEDEF(fmat3x2, aligned_fmat3x2, 16);
812 
815  GLM_ALIGNED_TYPEDEF(fmat3x3, aligned_fmat3x3, 16);
816 
819  GLM_ALIGNED_TYPEDEF(fmat3x4, aligned_fmat3x4, 16);
820 
823  GLM_ALIGNED_TYPEDEF(fmat4x2, aligned_fmat4x2, 16);
824 
827  GLM_ALIGNED_TYPEDEF(fmat4x3, aligned_fmat4x3, 16);
828 
831  GLM_ALIGNED_TYPEDEF(fmat4x4, aligned_fmat4x4, 16);
832 
833 
836  //typedef detail::tmat1x1<f32, defaultp> f32mat1;
837 
840  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2, 16);
841 
844  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3, 16);
845 
848  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4, 16);
849 
850 
853  //typedef f32 f32mat1x1;
854 
857  GLM_ALIGNED_TYPEDEF(f32mat2x2, aligned_f32mat2x2, 16);
858 
861  GLM_ALIGNED_TYPEDEF(f32mat2x3, aligned_f32mat2x3, 16);
862 
865  GLM_ALIGNED_TYPEDEF(f32mat2x4, aligned_f32mat2x4, 16);
866 
869  GLM_ALIGNED_TYPEDEF(f32mat3x2, aligned_f32mat3x2, 16);
870 
873  GLM_ALIGNED_TYPEDEF(f32mat3x3, aligned_f32mat3x3, 16);
874 
877  GLM_ALIGNED_TYPEDEF(f32mat3x4, aligned_f32mat3x4, 16);
878 
881  GLM_ALIGNED_TYPEDEF(f32mat4x2, aligned_f32mat4x2, 16);
882 
885  GLM_ALIGNED_TYPEDEF(f32mat4x3, aligned_f32mat4x3, 16);
886 
889  GLM_ALIGNED_TYPEDEF(f32mat4x4, aligned_f32mat4x4, 16);
890 
891 
892 # ifndef GLM_FORCE_SINGLE_ONLY
893 
896  //typedef detail::tmat1x1<f64, defaultp> f64mat1;
897 
900  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2, 32);
901 
904  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3, 32);
905 
908  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4, 32);
909 
910 
913  //typedef f64 f64mat1x1;
914 
917  GLM_ALIGNED_TYPEDEF(f64mat2x2, aligned_f64mat2x2, 32);
918 
921  GLM_ALIGNED_TYPEDEF(f64mat2x3, aligned_f64mat2x3, 32);
922 
925  GLM_ALIGNED_TYPEDEF(f64mat2x4, aligned_f64mat2x4, 32);
926 
929  GLM_ALIGNED_TYPEDEF(f64mat3x2, aligned_f64mat3x2, 32);
930 
933  GLM_ALIGNED_TYPEDEF(f64mat3x3, aligned_f64mat3x3, 32);
934 
937  GLM_ALIGNED_TYPEDEF(f64mat3x4, aligned_f64mat3x4, 32);
938 
941  GLM_ALIGNED_TYPEDEF(f64mat4x2, aligned_f64mat4x2, 32);
942 
945  GLM_ALIGNED_TYPEDEF(f64mat4x3, aligned_f64mat4x3, 32);
946 
949  GLM_ALIGNED_TYPEDEF(f64mat4x4, aligned_f64mat4x4, 32);
950 
951 # endif//GLM_FORCE_SINGLE_ONLY
952 
953 
955  // Quaternion types
956 
959  GLM_ALIGNED_TYPEDEF(quat, aligned_quat, 16);
960 
963  GLM_ALIGNED_TYPEDEF(quat, aligned_fquat, 16);
964 
967  GLM_ALIGNED_TYPEDEF(dquat, aligned_dquat, 32);
968 
971  GLM_ALIGNED_TYPEDEF(f32quat, aligned_f32quat, 16);
972 
973 # ifndef GLM_FORCE_SINGLE_ONLY
974 
977  GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32);
978 
979 # endif//GLM_FORCE_SINGLE_ONLY
980 
982 }//namespace glm
983 
984 #include "type_aligned.inl"
vec< 1, u64, defaultp > u64vec1
Default qualifier 64 bit unsigned integer scalar type.
Definition: fwd.hpp:399
+
uint16 highp_u16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:105
+
vec< 4, f32, defaultp > fvec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:444
+
vec< 4, double, defaultp > dvec4
4 components vector of double-precision floating-point numbers.
+
qua< float, defaultp > quat
Quaternion of single-precision floating-point numbers.
+
mat< 3, 4, f32, defaultp > fmat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:667
+
mat< 4, 4, f64, defaultp > f64mat4x4
Double-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:788
+
int32 lowp_int32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:64
+
vec< 3, double, defaultp > dvec3
3 components vector of double-precision floating-point numbers.
+
mat< 4, 4, f32, defaultp > f32mat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:708
+
vec< 3, float, defaultp > vec3
3 components vector of single-precision floating-point numbers.
+
detail::uint64 uint64
64 bit unsigned integer type.
+
uint8 lowp_uint8_t
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:98
+
mat< 3, 3, float, defaultp > mat3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
vec< 2, f32, defaultp > f32vec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:462
+
int8 int8_t
8 bit signed integer type.
Definition: fwd.hpp:43
+
mat< 4, 2, f32, defaultp > fmat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:662
+
vec< 4, i32, defaultp > i32vec4
32 bit signed integer vector of 4 components type.
Definition: fwd.hpp:280
+
uint32 uint32_t
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:129
+
vec< 1, u8, defaultp > u8vec1
Default qualifier 8 bit unsigned integer scalar type.
Definition: fwd.hpp:339
+
mat< 2, 3, f32, defaultp > fmat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:663
+
uint64 mediump_uint64_t
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:141
+
aligned_highp_uvec1 aligned_uvec1
1 component vector aligned in memory of unsigned integer numbers.
+
vec< 4, unsigned int, defaultp > uvec4
4 components vector of unsigned integer numbers.
+
uint64 u64
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:134
+
int32 i32
32 bit signed integer type.
Definition: fwd.hpp:62
+
int16 lowp_int16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:50
+
vec< 4, f64, defaultp > f64vec4
Double-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:504
+
uint64 highp_uint64_t
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:142
+
vec< 1, u32, defaultp > u32vec1
Default qualifier 32 bit unsigned integer scalar type.
Definition: fwd.hpp:379
+
qua< f64, defaultp > f64quat
Double-qualifier floating-point quaternion.
Definition: fwd.hpp:815
+
vec< 3, f64, defaultp > f64vec3
Double-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:503
+
mat< 2, 3, f64, defaultp > f64mat2x3
Double-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:783
+
int64 highp_int64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:80
+
vec< 2, f64, defaultp > f64vec2
Double-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:502
+
mat< 3, 2, f64, defaultp > f64mat3x2
Double-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:781
+
vec< 1, u16, defaultp > u16vec1
Default qualifier 16 bit unsigned integer scalar type.
Definition: fwd.hpp:359
+
int16 highp_i16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:47
+
mat< 4, 4, float, defaultp > mat4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
uint8 u8
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:92
+
uint32 mediump_u32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:118
+
aligned_highp_vec3 aligned_vec3
3 components vector aligned in memory of single-precision floating-point numbers. ...
+
aligned_highp_ivec2 aligned_ivec2
2 components vector aligned in memory of signed integer numbers.
+
mat< 3, 3, f64, defaultp > f64mat3x3
Double-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:784
+
int64 mediump_i64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:74
+
vec< 4, u8, defaultp > u8vec4
Default qualifier 8 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:342
+
uint8 lowp_uint8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:94
+
uint16 uint16_t
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:115
+
vec< 2, float, defaultp > vec2
2 components vector of single-precision floating-point numbers.
+
uint32 highp_u32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:119
+
aligned_highp_ivec4 aligned_ivec4
4 components vector aligned in memory of signed integer numbers.
+
vec< 2, int, defaultp > ivec2
2 components vector of signed integer numbers.
Definition: vector_int2.hpp:15
+
uint32 highp_uint32
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:124
+
aligned_highp_ivec3 aligned_ivec3
3 components vector aligned in memory of signed integer numbers.
+
vec< 3, f32, defaultp > f32vec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:463
+
int64 lowp_i64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:73
+
uint16 lowp_u16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:103
+
uint8 highp_uint8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:96
+
vec< 1, i8, defaultp > i8vec1
8 bit signed integer scalar type.
Definition: fwd.hpp:237
+
mat< 2, 4, f32, defaultp > fmat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:666
+
vec< 3, f32, defaultp > fvec3
Single-qualifier floating-point vector of 3 components.
Definition: fwd.hpp:443
+
vec< 4, i64, defaultp > i64vec4
64 bit signed integer vector of 4 components type.
Definition: fwd.hpp:300
+
vec< 3, i64, defaultp > i64vec3
64 bit signed integer vector of 3 components type.
Definition: fwd.hpp:299
+
vec< 1, f32, defaultp > fvec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:441
+
mat< 2, 2, f32, defaultp > f32mat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:700
+
int8 mediump_int8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:37
+
mat< 2, 4, f64, defaultp > f64mat2x4
Double-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:786
+
mat< 4, 4, f32, defaultp > fmat4x4
Single-qualifier floating-point 4x4 matrix.
Definition: fwd.hpp:668
+
uint16 u16
Default qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:106
+
int64 int64_t
64 bit signed integer type.
Definition: fwd.hpp:85
+
int16 lowp_int16_t
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:54
+
mat< 3, 4, f32, defaultp > f32mat3x4
Single-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:707
+
uint8 mediump_uint8_t
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:99
+
int32 int32_t
32 bit signed integer type.
Definition: fwd.hpp:71
+
int16 lowp_i16
Low qualifier 16 bit signed integer type.
Definition: fwd.hpp:45
+
GLM_ALIGNED_TYPEDEF(f64quat, aligned_f64quat, 32)
Double-qualifier floating-point aligned quaternion.
+
vec< 1, i16, defaultp > i16vec1
16 bit signed integer scalar type.
Definition: fwd.hpp:257
+
aligned_highp_mat3 aligned_mat3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
uint8 uint8_t
Default qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:101
+
mat< 3, 2, f32, defaultp > fmat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:661
+
int16 highp_int16
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:52
+
vec< 2, unsigned int, defaultp > uvec2
2 components vector of unsigned integer numbers.
+
mat< 4, 3, f32, defaultp > fmat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:665
+
int16 int16_t
16 bit signed integer type.
Definition: fwd.hpp:57
+
int64 i64
64 bit signed integer type.
Definition: fwd.hpp:76
+
int64 mediump_int64_t
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:83
+
aligned_highp_dvec4 aligned_dvec4
4 components vector aligned in memory of double-precision floating-point numbers. ...
+
vec< 2, i64, defaultp > i64vec2
64 bit signed integer vector of 2 components type.
Definition: fwd.hpp:298
+
int32 mediump_int32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:65
+
vec< 4, u64, defaultp > u64vec4
Default qualifier 64 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:402
+
vec< 3, u8, defaultp > u8vec3
Default qualifier 8 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:341
+
int64 lowp_int64_t
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:82
+
int8 mediump_int8_t
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:41
+
uint16 highp_uint16
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:110
+
int8 mediump_i8
Medium qualifier 8 bit signed integer type.
Definition: fwd.hpp:32
+
aligned_highp_uvec3 aligned_uvec3
3 components vector aligned in memory of unsigned integer numbers.
+
aligned_highp_vec2 aligned_vec2
2 components vector aligned in memory of single-precision floating-point numbers. ...
+
int32 highp_int32_t
32 bit signed integer type.
Definition: fwd.hpp:70
+
mat< 4, 3, f32, defaultp > f32mat4x3
Single-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:705
+
uint16 lowp_uint16_t
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:112
+
vec< 2, double, defaultp > dvec2
2 components vector of double-precision floating-point numbers.
+
vec< 3, u16, defaultp > u16vec3
Default qualifier 16 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:361
+
uint8 lowp_u8
Low qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:89
+
aligned_highp_vec1 aligned_vec1
1 component vector aligned in memory of single-precision floating-point numbers.
+
vec< 1, i64, defaultp > i64vec1
64 bit signed integer scalar type.
Definition: fwd.hpp:297
+
uint64 lowp_uint64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:136
+
uint16 mediump_uint16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:109
+
vec< 3, i8, defaultp > i8vec3
8 bit signed integer vector of 3 components type.
Definition: fwd.hpp:239
+
mat< 2, 4, f32, defaultp > f32mat2x4
Single-qualifier floating-point 2x4 matrix.
Definition: fwd.hpp:706
+
aligned_highp_mat4 aligned_mat4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
aligned_highp_uvec2 aligned_uvec2
2 components vector aligned in memory of unsigned integer numbers.
+
uint16 highp_uint16_t
High qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:114
+
aligned_highp_mat2 aligned_mat2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
aligned_highp_dvec1 aligned_dvec1
1 component vector aligned in memory of double-precision floating-point numbers.
+
vec< 2, i8, defaultp > i8vec2
8 bit signed integer vector of 2 components type.
Definition: fwd.hpp:238
+
vec< 1, f32, defaultp > f32vec1
Single-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:461
+
mat< 3, 2, f32, defaultp > f32mat3x2
Single-qualifier floating-point 3x2 matrix.
Definition: fwd.hpp:701
+
aligned_highp_vec4 aligned_vec4
4 components vector aligned in memory of single-precision floating-point numbers. ...
+
mat< 3, 3, float, defaultp > mat3x3
3 columns of 3 components matrix of single-precision floating-point numbers.
+
vec< 3, i32, defaultp > i32vec3
32 bit signed integer vector of 3 components type.
Definition: fwd.hpp:279
+
uint8 mediump_uint8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:95
+
aligned_highp_uvec4 aligned_uvec4
4 components vector aligned in memory of unsigned integer numbers.
+
vec< 3, int, defaultp > ivec3
3 components vector of signed integer numbers.
Definition: vector_int3.hpp:15
+
uint32 lowp_u32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:117
+
int8 highp_int8_t
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:42
+
vec< 4, i8, defaultp > i8vec4
8 bit signed integer vector of 4 components type.
Definition: fwd.hpp:240
+
aligned_highp_ivec1 aligned_ivec1
1 component vector aligned in memory of signed integer numbers.
+
uint64 highp_uint64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:138
+
aligned_highp_mat3x3 aligned_mat3x3
3 by 3 matrix tightly aligned in memory of single-precision floating-point numbers.
+
uint32 lowp_uint32
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:122
+
vec< 2, i16, defaultp > i16vec2
16 bit signed integer vector of 2 components type.
Definition: fwd.hpp:258
+
uint32 mediump_uint32_t
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:127
+
uint16 mediump_u16
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:104
+
mat< 3, 3, f32, defaultp > f32mat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:704
+
vec< 1, float, defaultp > vec1
1 components vector of single-precision floating-point numbers.
+
uint32 u32
Default qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:120
+
vec< 2, u16, defaultp > u16vec2
Default qualifier 16 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:360
+
vec< 4, i16, defaultp > i16vec4
16 bit signed integer vector of 4 components type.
Definition: fwd.hpp:260
+
vec< 3, u32, defaultp > u32vec3
Default qualifier 32 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:381
+
aligned_highp_dvec3 aligned_dvec3
3 components vector aligned in memory of double-precision floating-point numbers. ...
+
int64 highp_i64
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:75
+
int64 lowp_int64
Low qualifier 64 bit signed integer type.
Definition: fwd.hpp:78
+
int64 highp_int64_t
High qualifier 64 bit signed integer type.
Definition: fwd.hpp:84
+
mat< 3, 3, f32, defaultp > fmat3x3
Single-qualifier floating-point 3x3 matrix.
Definition: fwd.hpp:664
+
vec< 2, u32, defaultp > u32vec2
Default qualifier 32 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:380
+
int8 i8
8 bit signed integer type.
Definition: fwd.hpp:34
+
vec< 4, u32, defaultp > u32vec4
Default qualifier 32 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:382
+
uint16 lowp_uint16
Low qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:108
+
uint8 highp_uint8_t
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:100
+
mat< 2, 2, f32, defaultp > fmat2x2
Single-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:660
+
int8 highp_i8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:33
+
vec< 1, int, defaultp > ivec1
1 component vector of signed integer numbers.
Definition: vector_int1.hpp:29
+
mat< 2, 2, f64, defaultp > f64mat2x2
Double-qualifier floating-point 1x1 matrix.
Definition: fwd.hpp:780
+
uint32 lowp_uint32_t
Low qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:126
+
int8 lowp_i8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:31
+
mat< 4, 2, f32, defaultp > f32mat4x2
Single-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:702
+
int32 lowp_i32
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:59
+
vec< 2, u8, defaultp > u8vec2
Default qualifier 8 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:340
+
mat< 2, 2, float, defaultp > mat2x2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
vec< 1, double, defaultp > dvec1
1 components vector of double-precision floating-point numbers.
+
int16 highp_int16_t
High qualifier 16 bit signed integer type.
Definition: fwd.hpp:56
+
int8 lowp_int8_t
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:40
+
uint16 mediump_uint16_t
Medium qualifier 16 bit unsigned integer type.
Definition: fwd.hpp:113
+
aligned_highp_dvec2 aligned_dvec2
2 components vector aligned in memory of double-precision floating-point numbers. ...
+
vec< 1, i32, defaultp > i32vec1
32 bit signed integer scalar type.
Definition: fwd.hpp:277
+
int16 mediump_i16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:46
+
vec< 1, f64, defaultp > f64vec1
Double-qualifier floating-point vector of 1 component.
Definition: fwd.hpp:501
+
mat< 2, 3, f32, defaultp > f32mat2x3
Single-qualifier floating-point 2x3 matrix.
Definition: fwd.hpp:703
+
uint64 lowp_uint64_t
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:140
+
int32 highp_int32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:66
+
int8 highp_int8
High qualifier 8 bit signed integer type.
Definition: fwd.hpp:38
+
double float64_t
Default 64 bit double-qualifier floating-point scalar.
Definition: fwd.hpp:176
+
vec< 3, i16, defaultp > i16vec3
16 bit signed integer vector of 3 components type.
Definition: fwd.hpp:259
+
Definition: common.hpp:18
+
uint32 mediump_uint32
Medium qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:123
+
uint8 highp_u8
High qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:91
+
qua< double, defaultp > dquat
Quaternion of double-precision floating-point numbers.
+
int32 mediump_int32_t
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:69
+
int64 mediump_int64
Medium qualifier 64 bit signed integer type.
Definition: fwd.hpp:79
+
mat< 4, 3, f64, defaultp > f64mat4x3
Double-qualifier floating-point 4x3 matrix.
Definition: fwd.hpp:785
+
detail::int64 int64
64 bit signed integer type.
+
vec< 4, u16, defaultp > u16vec4
Default qualifier 16 bit unsigned integer vector of 4 components type.
Definition: fwd.hpp:362
+
mat< 4, 4, float, defaultp > mat4x4
4 columns of 4 components matrix of single-precision floating-point numbers.
+
mat< 3, 4, f64, defaultp > f64mat3x4
Double-qualifier floating-point 3x4 matrix.
Definition: fwd.hpp:787
+
float float32_t
Default 32 bit single-qualifier floating-point scalar.
Definition: fwd.hpp:160
+
vec< 4, float, defaultp > vec4
4 components vector of single-precision floating-point numbers.
+
vec< 2, i32, defaultp > i32vec2
32 bit signed integer vector of 2 components type.
Definition: fwd.hpp:278
+
uint32 highp_uint32_t
High qualifier 32 bit unsigned integer type.
Definition: fwd.hpp:128
+
aligned_highp_mat4x4 aligned_mat4x4
4 by 4 matrix tightly aligned in memory of single-precision floating-point numbers.
+
int16 mediump_int16
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:51
+
int32 mediump_i32
Medium qualifier 32 bit signed integer type.
Definition: fwd.hpp:60
+
uint64 lowp_u64
Low qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:131
+
aligned_highp_mat2x2 aligned_mat2x2
2 by 2 matrix tightly aligned in memory of single-precision floating-point numbers.
+
uint64 highp_u64
High qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:133
+
vec< 4, int, defaultp > ivec4
4 components vector of signed integer numbers.
Definition: vector_int4.hpp:15
+
uint64 mediump_uint64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:137
+
mat< 4, 2, f64, defaultp > f64mat4x2
Double-qualifier floating-point 4x2 matrix.
Definition: fwd.hpp:782
+
vec< 3, unsigned int, defaultp > uvec3
3 components vector of unsigned integer numbers.
+
uint64 uint64_t
Default qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:143
+
mat< 2, 2, float, defaultp > mat2
2 columns of 2 components matrix of single-precision floating-point numbers.
+
int16 mediump_int16_t
Medium qualifier 16 bit signed integer type.
Definition: fwd.hpp:55
+
int32 lowp_int32_t
Low qualifier 32 bit signed integer type.
Definition: fwd.hpp:68
+
qua< f32, defaultp > f32quat
Single-qualifier floating-point quaternion.
Definition: fwd.hpp:805
+
vec< 2, u64, defaultp > u64vec2
Default qualifier 64 bit unsigned integer vector of 2 components type.
Definition: fwd.hpp:400
+
int32 highp_i32
High qualifier 32 bit signed integer type.
Definition: fwd.hpp:61
+
uint8 mediump_u8
Medium qualifier 8 bit unsigned integer type.
Definition: fwd.hpp:90
+
vec< 3, u64, defaultp > u64vec3
Default qualifier 64 bit unsigned integer vector of 3 components type.
Definition: fwd.hpp:401
+
int16 i16
16 bit signed integer type.
Definition: fwd.hpp:48
+
vec< 4, f32, defaultp > f32vec4
Single-qualifier floating-point vector of 4 components.
Definition: fwd.hpp:464
+
uint64 mediump_u64
Medium qualifier 64 bit unsigned integer type.
Definition: fwd.hpp:132
+
vec< 2, f32, defaultp > fvec2
Single-qualifier floating-point vector of 2 components.
Definition: fwd.hpp:442
+
vec< 1, unsigned int, defaultp > uvec1
1 component vector of unsigned integer numbers.
+
int8 lowp_int8
Low qualifier 8 bit signed integer type.
Definition: fwd.hpp:36
+
+ + + + diff --git a/doc/api/a01388.html b/doc/api/a01388.html new file mode 100644 index 00000000..65848536 --- /dev/null +++ b/doc/api/a01388.html @@ -0,0 +1,105 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 
+

Detailed Description

+

GLM_EXT_vector_relational

+ +

Definition in file ext/vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a01388_source.html b/doc/api/a01388_source.html new file mode 100644 index 00000000..da54ade9 --- /dev/null +++ b/doc/api/a01388_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_vector_relational extension included")
22 #endif
23 
24 namespace glm
25 {
28 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
44  template<length_t L, typename T, qualifier Q>
45  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
46 
53  template<length_t L, typename T, qualifier Q>
54  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
55 
62  template<length_t L, typename T, qualifier Q>
63  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
64 
66 }//namespace glm
67 
68 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
Definition: common.hpp:20
+
+ + + + diff --git a/doc/api/a01389.html b/doc/api/a01389.html new file mode 100644 index 00000000..d8d9b71c --- /dev/null +++ b/doc/api/a01389.html @@ -0,0 +1,101 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 
+
+ + + + diff --git a/doc/api/a01389_source.html b/doc/api/a01389_source.html new file mode 100644 index 00000000..690598bb --- /dev/null +++ b/doc/api/a01389_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
15 #pragma once
16 
17 // Dependencies
18 #include "../detail/qualifier.hpp"
19 
20 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
21 # pragma message("GLM: GLM_EXT_vector_relational extension included")
22 #endif
23 
24 namespace glm
25 {
28 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
44  template<length_t L, typename T, qualifier Q>
45  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
46 
53  template<length_t L, typename T, qualifier Q>
54  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
55 
62  template<length_t L, typename T, qualifier Q>
63  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
64 
66 }//namespace glm
67 
68 #include "vector_relational.inl"
Definition: common.hpp:18
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
+ + + + diff --git a/doc/api/a01390.html b/doc/api/a01390.html new file mode 100644 index 00000000..c0867b05 --- /dev/null +++ b/doc/api/a01390.html @@ -0,0 +1,113 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

GLM_EXT_vector_relational +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
+

Detailed Description

+

GLM_EXT_vector_relational

+
See also
Core features (dependence)
+ +

Definition in file ext/vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a01390_source.html b/doc/api/a01390_source.html new file mode 100644 index 00000000..b47e2fec --- /dev/null +++ b/doc/api/a01390_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/qualifier.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_relational extension included")
20 #endif
21 
22 namespace glm
23 {
26 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
48 
57  template<length_t L, typename T, qualifier Q>
58  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
59 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
70 
72 }//namespace glm
73 
74 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01391.html b/doc/api/a01391.html new file mode 100644 index 00000000..6ced2d61 --- /dev/null +++ b/doc/api/a01391.html @@ -0,0 +1,113 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

GLM_EXT_vector_relational +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
+

Detailed Description

+

GLM_EXT_vector_relational

+
See also
Core features (dependence)
+ +

Definition in file ext/vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a01391_source.html b/doc/api/a01391_source.html new file mode 100644 index 00000000..03a26056 --- /dev/null +++ b/doc/api/a01391_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/qualifier.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_relational extension included")
20 #endif
21 
22 namespace glm
23 {
26 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
48 
57  template<length_t L, typename T, qualifier Q>
58  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
59 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
70 
72 }//namespace glm
73 
74 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
Definition: common.hpp:18
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
+ + + + diff --git a/doc/api/a01392.html b/doc/api/a01392.html new file mode 100644 index 00000000..5c69e4f0 --- /dev/null +++ b/doc/api/a01392.html @@ -0,0 +1,113 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

GLM_EXT_vector_relational +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
+

Detailed Description

+

GLM_EXT_vector_relational

+
See also
Core features (dependence)
+ +

Definition in file ext/vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a01392_source.html b/doc/api/a01392_source.html new file mode 100644 index 00000000..10b85927 --- /dev/null +++ b/doc/api/a01392_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/qualifier.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_relational extension included")
20 #endif
21 
22 namespace glm
23 {
26 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
48 
57  template<length_t L, typename T, qualifier Q>
58  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
59 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
70 
72 }//namespace glm
73 
74 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01393.html b/doc/api/a01393.html new file mode 100644 index 00000000..e6914305 --- /dev/null +++ b/doc/api/a01393.html @@ -0,0 +1,113 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

GLM_EXT_matrix_relational +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
+

Detailed Description

+

GLM_EXT_matrix_relational

+
See also
Core features (dependence)
+ +

Definition in file ext/vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a01393_source.html b/doc/api/a01393_source.html new file mode 100644 index 00000000..7d86b75e --- /dev/null +++ b/doc/api/a01393_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/qualifier.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_relational extension included")
20 #endif
21 
22 namespace glm
23 {
26 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
48 
57  template<length_t L, typename T, qualifier Q>
58  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
59 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
70 
72 }//namespace glm
73 
74 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/a01394.html b/doc/api/a01394.html new file mode 100644 index 00000000..9f3a3b75 --- /dev/null +++ b/doc/api/a01394.html @@ -0,0 +1,113 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp File Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+Functions
+
+
ext/vector_relational.hpp File Reference
+
+
+ +

GLM_EXT_vector_relational +More...

+ +

Go to the source code of this file.

+ + + + + + + + + + + + + + + + + + +

+Functions

template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| < epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, T epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
template<length_t L, typename T , qualifier Q>
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual (vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
 Returns the component-wise comparison of |x - y| >= epsilon. More...
 
+

Detailed Description

+

GLM_EXT_vector_relational

+
See also
Core features (dependence)
+ +

Definition in file ext/vector_relational.hpp.

+
+ + + + diff --git a/doc/api/a01394_source.html b/doc/api/a01394_source.html new file mode 100644 index 00000000..8731a6c6 --- /dev/null +++ b/doc/api/a01394_source.html @@ -0,0 +1,85 @@ + + + + + + + +0.9.9 API documenation: vector_relational.hpp Source File + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext/vector_relational.hpp
+
+
+Go to the documentation of this file.
1 
13 #pragma once
14 
15 // Dependencies
16 #include "../detail/qualifier.hpp"
17 
18 #if GLM_MESSAGES == GLM_ENABLE && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_EXT_vector_relational extension included")
20 #endif
21 
22 namespace glm
23 {
26 
35  template<length_t L, typename T, qualifier Q>
36  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
37 
46  template<length_t L, typename T, qualifier Q>
47  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> equal(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
48 
57  template<length_t L, typename T, qualifier Q>
58  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, T epsilon);
59 
68  template<length_t L, typename T, qualifier Q>
69  GLM_FUNC_DECL GLM_CONSTEXPR vec<L, bool, Q> notEqual(vec<L, T, Q> const& x, vec<L, T, Q> const& y, vec<L, T, Q> const& epsilon);
70 
72 }//namespace glm
73 
74 #include "vector_relational.inl"
GLM_FUNC_DECL GLM_CONSTEXPR genType epsilon()
Return the epsilon constant for floating point types.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > equal(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| < epsilon.
+
GLM_FUNC_DECL GLM_CONSTEXPR vec< L, bool, Q > notEqual(vec< L, T, Q > const &x, vec< L, T, Q > const &y, vec< L, T, Q > const &epsilon)
Returns the component-wise comparison of |x - y| >= epsilon.
+
Definition: common.hpp:18
+
+ + + + diff --git a/doc/api/arrowdown.png b/doc/api/arrowdown.png deleted file mode 100644 index 0b63f6d3..00000000 Binary files a/doc/api/arrowdown.png and /dev/null differ diff --git a/doc/api/arrowright.png b/doc/api/arrowright.png deleted file mode 100644 index c6ee22f9..00000000 Binary files a/doc/api/arrowright.png and /dev/null differ diff --git a/doc/api/dir_02cc19cee4c4780485bfe81520450212.html b/doc/api/dir_02cc19cee4c4780485bfe81520450212.html new file mode 100644 index 00000000..1e12b283 --- /dev/null +++ b/doc/api/dir_02cc19cee4c4780485bfe81520450212.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: christophericcio Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
christophericcio Directory Reference
+
+
+
+ + + + diff --git a/doc/api/dir_1551bf7b389c96495cd64da3774a1843.html b/doc/api/dir_1551bf7b389c96495cd64da3774a1843.html new file mode 100644 index 00000000..0d8dadab --- /dev/null +++ b/doc/api/dir_1551bf7b389c96495cd64da3774a1843.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: doc Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
doc Directory Reference
+
+
+
+ + + + diff --git a/doc/api/dir_2c9f37f6a8d2004101d7524672238505.html b/doc/api/dir_2c9f37f6a8d2004101d7524672238505.html new file mode 100644 index 00000000..0b6b77af --- /dev/null +++ b/doc/api/dir_2c9f37f6a8d2004101d7524672238505.html @@ -0,0 +1,111 @@ + + + + + + + +0.9.9 API documenation: detail Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
detail Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  type_mat2x2.hpp [code]
 
file  type_mat2x3.hpp [code]
 
file  type_mat2x4.hpp [code]
 
file  type_mat3x2.hpp [code]
 
file  type_mat3x3.hpp [code]
 
file  type_mat3x4.hpp [code]
 
file  type_mat4x2.hpp [code]
 
file  type_mat4x3.hpp [code]
 
file  type_mat4x4.hpp [code]
 
file  type_vec1.hpp [code]
 
file  type_vec2.hpp [code]
 
file  type_vec3.hpp [code]
 
file  type_vec4.hpp [code]
 
+
+ + + + diff --git a/doc/api/dir_304be5dfae1339a7705426c0b536faf2.html b/doc/api/dir_304be5dfae1339a7705426c0b536faf2.html deleted file mode 100644 index e4e37d88..00000000 --- a/doc/api/dir_304be5dfae1339a7705426c0b536faf2.html +++ /dev/null @@ -1,178 +0,0 @@ - - - - - - -0.9.9 API documenation: glm Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
glm Directory Reference
-
-
- - - - - - - - - - -

-Directories

directory  detail
 
directory  ext
 
directory  gtc
 
directory  gtx
 
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  common.hpp [code]
 Core features
 
file  exponential.hpp [code]
 Core features
 
file  ext.hpp [code]
 Core features (Dependence)
 
file  fwd.hpp [code]
 Core features
 
file  geometric.hpp [code]
 Core features
 
file  glm.hpp [code]
 Core features
 
file  integer.hpp [code]
 Core features
 
file  mat2x2.hpp [code]
 Core features
 
file  mat2x3.hpp [code]
 Core features
 
file  mat2x4.hpp [code]
 Core features
 
file  mat3x2.hpp [code]
 Core features
 
file  mat3x3.hpp [code]
 Core features
 
file  mat3x4.hpp [code]
 Core features
 
file  mat4x2.hpp [code]
 Core features
 
file  mat4x3.hpp [code]
 Core features
 
file  mat4x4.hpp [code]
 Core features
 
file  matrix.hpp [code]
 Core features
 
file  packing.hpp [code]
 Core features
 
file  trigonometric.hpp [code]
 Core features
 
file  vec2.hpp [code]
 Core features
 
file  vec3.hpp [code]
 Core features
 
file  vec4.hpp [code]
 Core features
 
file  vector_relational.hpp [code]
 Core features
 
-
- - - - diff --git a/doc/api/dir_3da5c411f748022d233cc92a3c5e2a02.html b/doc/api/dir_3da5c411f748022d233cc92a3c5e2a02.html new file mode 100644 index 00000000..df4be4ac --- /dev/null +++ b/doc/api/dir_3da5c411f748022d233cc92a3c5e2a02.html @@ -0,0 +1,211 @@ + + + + + + + +0.9.9 API documenation: gtx Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtx Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  associated_min_max.hpp [code]
 
file  bit.hpp [code]
 
file  closest_point.hpp [code]
 
file  color_encoding.hpp [code]
 
file  gtx/color_space.hpp [code]
 
file  color_space_YCoCg.hpp [code]
 
file  gtx/common.hpp [code]
 
file  compatibility.hpp [code]
 
file  component_wise.hpp [code]
 
file  dual_quaternion.hpp [code]
 
file  easing.hpp [code]
 
file  euler_angles.hpp [code]
 
file  extend.hpp [code]
 
file  extended_min_max.hpp [code]
 
file  exterior_product.hpp [code]
 
file  fast_exponential.hpp [code]
 
file  fast_square_root.hpp [code]
 
file  fast_trigonometry.hpp [code]
 
file  functions.hpp [code]
 
file  gradient_paint.hpp [code]
 
file  handed_coordinate_space.hpp [code]
 
file  hash.hpp [code]
 
file  gtx/integer.hpp [code]
 
file  intersect.hpp [code]
 
file  io.hpp [code]
 
file  log_base.hpp [code]
 
file  matrix_cross_product.hpp [code]
 
file  matrix_decompose.hpp [code]
 
file  matrix_factorisation.hpp [code]
 
file  matrix_interpolation.hpp [code]
 
file  matrix_major_storage.hpp [code]
 
file  matrix_operation.hpp [code]
 
file  matrix_query.hpp [code]
 
file  matrix_transform_2d.hpp [code]
 
file  mixed_product.hpp [code]
 
file  norm.hpp [code]
 
file  normal.hpp [code]
 
file  normalize_dot.hpp [code]
 
file  number_precision.hpp [code]
 
file  optimum_pow.hpp [code]
 
file  orthonormalize.hpp [code]
 
file  perpendicular.hpp [code]
 
file  polar_coordinates.hpp [code]
 
file  projection.hpp [code]
 
file  gtx/quaternion.hpp [code]
 
file  range.hpp [code]
 
file  raw_data.hpp [code]
 
file  rotate_normalized_axis.hpp [code]
 
file  rotate_vector.hpp [code]
 
file  scalar_multiplication.hpp [code]
 
file  gtx/scalar_relational.hpp [code]
 
file  spline.hpp [code]
 
file  std_based_type.hpp [code]
 
file  string_cast.hpp [code]
 
file  texture.hpp [code]
 
file  transform.hpp [code]
 
file  transform2.hpp [code]
 
file  gtx/type_aligned.hpp [code]
 
file  type_trait.hpp [code]
 
file  vec_swizzle.hpp [code]
 
file  vector_angle.hpp [code]
 
file  vector_query.hpp [code]
 
file  wrap.hpp [code]
 
+
+ + + + diff --git a/doc/api/dir_45973f864e07b2505003ae343b7c8af7.html b/doc/api/dir_45973f864e07b2505003ae343b7c8af7.html deleted file mode 100644 index 9920acc3..00000000 --- a/doc/api/dir_45973f864e07b2505003ae343b7c8af7.html +++ /dev/null @@ -1,102 +0,0 @@ - - - - - - -0.9.9 API documenation: glm Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
glm Directory Reference
-
-
- - - - - - -

-Directories

directory  doc
 
directory  glm
 
-
- - - - diff --git a/doc/api/dir_48eca2e6cf73effdec262031e861eeb0.html b/doc/api/dir_48eca2e6cf73effdec262031e861eeb0.html deleted file mode 100644 index 1c781ace..00000000 --- a/doc/api/dir_48eca2e6cf73effdec262031e861eeb0.html +++ /dev/null @@ -1,100 +0,0 @@ - - - - - - -0.9.9 API documenation: doc Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
doc Directory Reference
-
-
- - - - -

-Files

file  man.doxy [code]
 
-
- - - - diff --git a/doc/api/dir_4ca6aa55b50e6be994025af27820140e.html b/doc/api/dir_4ca6aa55b50e6be994025af27820140e.html new file mode 100644 index 00000000..7e18f8a5 --- /dev/null +++ b/doc/api/dir_4ca6aa55b50e6be994025af27820140e.html @@ -0,0 +1,132 @@ + + + + + + + +0.9.9 API documenation: glm Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
glm Directory Reference
+
+
+ + +

+Directories

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  common.hpp [code]
 
file  exponential.hpp [code]
 
file  ext.hpp [code]
 
file  geometric.hpp [code]
 
file  glm.hpp [code]
 
file  integer.hpp [code]
 
file  mat2x2.hpp [code]
 
file  mat2x3.hpp [code]
 
file  mat2x4.hpp [code]
 
file  mat3x2.hpp [code]
 
file  mat3x3.hpp [code]
 
file  mat3x4.hpp [code]
 
file  mat4x2.hpp [code]
 
file  mat4x3.hpp [code]
 
file  mat4x4.hpp [code]
 
file  matrix.hpp [code]
 
file  packing.hpp [code]
 
file  trigonometric.hpp [code]
 
file  vec2.hpp [code]
 
file  vec3.hpp [code]
 
file  vec4.hpp [code]
 
file  vector_relational.hpp [code]
 
+
+ + + + diff --git a/doc/api/dir_54de7df3bc9880881b14ec07f256fd2e.html b/doc/api/dir_54de7df3bc9880881b14ec07f256fd2e.html new file mode 100644 index 00000000..3904862a --- /dev/null +++ b/doc/api/dir_54de7df3bc9880881b14ec07f256fd2e.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: Documents Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Documents Directory Reference
+
+
+
+ + + + diff --git a/doc/api/dir_627f4a52155b61a75c7c4851d7df9027.html b/doc/api/dir_627f4a52155b61a75c7c4851d7df9027.html new file mode 100644 index 00000000..64ab8017 --- /dev/null +++ b/doc/api/dir_627f4a52155b61a75c7c4851d7df9027.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: Github Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Github Directory Reference
+
+
+
+ + + + diff --git a/doc/api/dir_6399a054f5929b58eaa476233e406ce8.html b/doc/api/dir_6399a054f5929b58eaa476233e406ce8.html new file mode 100644 index 00000000..e4b4f529 --- /dev/null +++ b/doc/api/dir_6399a054f5929b58eaa476233e406ce8.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: Repository Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Repository Directory Reference
+
+
+
+ + + + diff --git a/doc/api/dir_7997edb062bdde9a99cb6835d42b0d9d.html b/doc/api/dir_7997edb062bdde9a99cb6835d42b0d9d.html deleted file mode 100644 index 0b386acf..00000000 --- a/doc/api/dir_7997edb062bdde9a99cb6835d42b0d9d.html +++ /dev/null @@ -1,158 +0,0 @@ - - - - - - -0.9.9 API documenation: gtc Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
gtc Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  bitfield.hpp [code]
 GLM_GTC_bitfield
 
file  gtc/color_space.hpp [code]
 GLM_GTC_color_space
 
file  constants.hpp [code]
 GLM_GTC_constants
 
file  epsilon.hpp [code]
 GLM_GTC_epsilon
 
file  gtc/integer.hpp [code]
 GLM_GTC_integer
 
file  matrix_access.hpp [code]
 GLM_GTC_matrix_access
 
file  matrix_integer.hpp [code]
 GLM_GTC_matrix_integer
 
file  matrix_inverse.hpp [code]
 GLM_GTC_matrix_inverse
 
file  matrix_transform.hpp [code]
 GLM_GTC_matrix_transform
 
file  noise.hpp [code]
 GLM_GTC_noise
 
file  gtc/packing.hpp [code]
 GLM_GTC_packing
 
file  gtc/quaternion.hpp [code]
 GLM_GTC_quaternion
 
file  random.hpp [code]
 GLM_GTC_random
 
file  reciprocal.hpp [code]
 GLM_GTC_reciprocal
 
file  round.hpp [code]
 GLM_GTC_round
 
file  gtc/type_aligned.hpp [code]
 GLM_GTC_type_aligned
 
file  type_precision.hpp [code]
 GLM_GTC_type_precision
 
file  type_ptr.hpp [code]
 GLM_GTC_type_ptr
 
file  ulp.hpp [code]
 GLM_GTC_ulp
 
file  gtc/vec1.hpp [code]
 GLM_GTC_vec1
 
-
- - - - diff --git a/doc/api/dir_b115b02f1dab989141fcd87ab0462f01.html b/doc/api/dir_b115b02f1dab989141fcd87ab0462f01.html new file mode 100644 index 00000000..d69b02c9 --- /dev/null +++ b/doc/api/dir_b115b02f1dab989141fcd87ab0462f01.html @@ -0,0 +1,279 @@ + + + + + + + +0.9.9 API documenation: ext Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
ext Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  matrix_clip_space.hpp [code]
 
file  matrix_double2x2.hpp [code]
 
file  matrix_double2x2_precision.hpp [code]
 
file  matrix_double2x3.hpp [code]
 
file  matrix_double2x3_precision.hpp [code]
 
file  matrix_double2x4.hpp [code]
 
file  matrix_double2x4_precision.hpp [code]
 
file  matrix_double3x2.hpp [code]
 
file  matrix_double3x2_precision.hpp [code]
 
file  matrix_double3x3.hpp [code]
 
file  matrix_double3x3_precision.hpp [code]
 
file  matrix_double3x4.hpp [code]
 
file  matrix_double3x4_precision.hpp [code]
 
file  matrix_double4x2.hpp [code]
 
file  matrix_double4x2_precision.hpp [code]
 
file  matrix_double4x3.hpp [code]
 
file  matrix_double4x3_precision.hpp [code]
 
file  matrix_double4x4.hpp [code]
 
file  matrix_double4x4_precision.hpp [code]
 
file  matrix_float2x2.hpp [code]
 
file  matrix_float2x2_precision.hpp [code]
 
file  matrix_float2x3.hpp [code]
 
file  matrix_float2x3_precision.hpp [code]
 
file  matrix_float2x4.hpp [code]
 
file  matrix_float2x4_precision.hpp [code]
 
file  matrix_float3x2.hpp [code]
 
file  matrix_float3x2_precision.hpp [code]
 
file  matrix_float3x3.hpp [code]
 
file  matrix_float3x3_precision.hpp [code]
 
file  matrix_float3x4.hpp [code]
 
file  matrix_float3x4_precision.hpp [code]
 
file  matrix_float4x2.hpp [code]
 
file  matrix_float4x3.hpp [code]
 
file  matrix_float4x3_precision.hpp [code]
 
file  matrix_float4x4.hpp [code]
 
file  matrix_float4x4_precision.hpp [code]
 
file  matrix_projection.hpp [code]
 
file  matrix_relational.hpp [code]
 
file  ext/matrix_transform.hpp [code]
 
file  quaternion_common.hpp [code]
 
file  quaternion_double.hpp [code]
 
file  quaternion_double_precision.hpp [code]
 
file  quaternion_exponential.hpp [code]
 
file  quaternion_float.hpp [code]
 
file  quaternion_float_precision.hpp [code]
 
file  quaternion_geometric.hpp [code]
 
file  quaternion_relational.hpp [code]
 
file  quaternion_transform.hpp [code]
 
file  quaternion_trigonometric.hpp [code]
 
file  scalar_common.hpp [code]
 
file  scalar_constants.hpp [code]
 
file  scalar_float_sized.hpp [code]
 
file  scalar_int_sized.hpp [code]
 
file  ext/scalar_relational.hpp [code]
 
file  scalar_uint_sized.hpp [code]
 
file  vector_bool1.hpp [code]
 
file  vector_bool1_precision.hpp [code]
 
file  vector_bool2.hpp [code]
 
file  vector_bool2_precision.hpp [code]
 
file  vector_bool3.hpp [code]
 
file  vector_bool3_precision.hpp [code]
 
file  vector_bool4.hpp [code]
 
file  vector_bool4_precision.hpp [code]
 
file  vector_common.hpp [code]
 
file  vector_double1.hpp [code]
 
file  vector_double1_precision.hpp [code]
 
file  vector_double2.hpp [code]
 
file  vector_double2_precision.hpp [code]
 
file  vector_double3.hpp [code]
 
file  vector_double3_precision.hpp [code]
 
file  vector_double4.hpp [code]
 
file  vector_double4_precision.hpp [code]
 
file  vector_float1.hpp [code]
 
file  vector_float1_precision.hpp [code]
 
file  vector_float2.hpp [code]
 
file  vector_float2_precision.hpp [code]
 
file  vector_float3.hpp [code]
 
file  vector_float3_precision.hpp [code]
 
file  vector_float4.hpp [code]
 
file  vector_float4_precision.hpp [code]
 
file  vector_int1.hpp [code]
 
file  vector_int1_precision.hpp [code]
 
file  vector_int2.hpp [code]
 
file  vector_int2_precision.hpp [code]
 
file  vector_int3.hpp [code]
 
file  vector_int3_precision.hpp [code]
 
file  vector_int4.hpp [code]
 
file  vector_int4_precision.hpp [code]
 
file  ext/vector_relational.hpp [code]
 
file  vector_uint1.hpp [code]
 
file  vector_uint1_precision.hpp [code]
 
file  vector_uint2.hpp [code]
 
file  vector_uint2_precision.hpp [code]
 
file  vector_uint3.hpp [code]
 
file  vector_uint3_precision.hpp [code]
 
file  vector_uint4.hpp [code]
 
file  vector_uint4_precision.hpp [code]
 
+
+ + + + diff --git a/doc/api/dir_d522931ffa1371640980b621734a4381.html b/doc/api/dir_d522931ffa1371640980b621734a4381.html new file mode 100644 index 00000000..9cd36381 --- /dev/null +++ b/doc/api/dir_d522931ffa1371640980b621734a4381.html @@ -0,0 +1,81 @@ + + + + + + + +0.9.9 API documenation: Users Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
Users Directory Reference
+
+
+
+ + + + diff --git a/doc/api/dir_d67f29d45f601ce6f7c09a9184f9bc53.html b/doc/api/dir_d67f29d45f601ce6f7c09a9184f9bc53.html deleted file mode 100644 index 8a4974a3..00000000 --- a/doc/api/dir_d67f29d45f601ce6f7c09a9184f9bc53.html +++ /dev/null @@ -1,104 +0,0 @@ - - - - - - -0.9.9 API documenation: ext Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
ext Directory Reference
-
-
- - - - - - - - -

-Files

file  ext/vec1.hpp [code]
 GLM_EXT_vec1
 
file  ext/vector_relational.hpp [code]
 GLM_EXT_vector_relational
 
-
- - - - diff --git a/doc/api/dir_da256b9dd32ba43e2eaa8a2832c37f1b.html b/doc/api/dir_da256b9dd32ba43e2eaa8a2832c37f1b.html deleted file mode 100644 index 2851f5c2..00000000 --- a/doc/api/dir_da256b9dd32ba43e2eaa8a2832c37f1b.html +++ /dev/null @@ -1,180 +0,0 @@ - - - - - - -0.9.9 API documenation: detail Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
detail Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  _features.hpp [code]
 Core features
 
file  _fixes.hpp [code]
 Core features
 
file  _noise.hpp [code]
 Core features
 
file  _swizzle.hpp [code]
 Core features
 
file  _swizzle_func.hpp [code]
 Core features
 
file  _vectorize.hpp [code]
 Core features
 
file  compute_vector_relational.hpp [code]
 
file  qualifier.hpp [code]
 Core features
 
file  setup.hpp [code]
 Core features
 
file  type_float.hpp [code]
 Core features
 
file  type_gentype.hpp [code]
 Core features
 
file  type_half.hpp [code]
 Core features
 
file  type_int.hpp [code]
 Core features
 
file  type_mat.hpp [code]
 Core features
 
file  type_mat2x2.hpp [code]
 Core features
 
file  type_mat2x3.hpp [code]
 Core features
 
file  type_mat2x4.hpp [code]
 Core features
 
file  type_mat3x2.hpp [code]
 Core features
 
file  type_mat3x3.hpp [code]
 Core features
 
file  type_mat3x4.hpp [code]
 Core features
 
file  type_mat4x2.hpp [code]
 Core features
 
file  type_mat4x3.hpp [code]
 Core features
 
file  type_mat4x4.hpp [code]
 Core features
 
file  type_vec.hpp [code]
 Core features
 
file  type_vec1.hpp [code]
 
file  type_vec2.hpp [code]
 Core features
 
file  type_vec3.hpp [code]
 Core features
 
file  type_vec4.hpp [code]
 Core features
 
-
- - - - diff --git a/doc/api/dir_e6ae9283c4fa4619048a0a88dfd00585.html b/doc/api/dir_e6ae9283c4fa4619048a0a88dfd00585.html new file mode 100644 index 00000000..4640124b --- /dev/null +++ b/doc/api/dir_e6ae9283c4fa4619048a0a88dfd00585.html @@ -0,0 +1,125 @@ + + + + + + + +0.9.9 API documenation: gtc Directory Reference + + + + + + + + + +
+
+ + + + + + + +
+
0.9.9 API documenation +
+
+
+ + + + + + + + +
+
+ + +
+ +
+ + +
+
+
+
gtc Directory Reference
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Files

file  bitfield.hpp [code]
 
file  gtc/color_space.hpp [code]
 
file  constants.hpp [code]
 
file  epsilon.hpp [code]
 
file  gtc/integer.hpp [code]
 
file  matrix_access.hpp [code]
 
file  matrix_integer.hpp [code]
 
file  matrix_inverse.hpp [code]
 
file  gtc/matrix_transform.hpp [code]
 
file  noise.hpp [code]
 
file  gtc/packing.hpp [code]
 
file  gtc/quaternion.hpp [code]
 
file  random.hpp [code]
 
file  reciprocal.hpp [code]
 
file  round.hpp [code]
 
file  gtc/type_aligned.hpp [code]
 
file  type_precision.hpp [code]
 
file  type_ptr.hpp [code]
 
file  ulp.hpp [code]
 
file  vec1.hpp [code]
 
+
+ + + + diff --git a/doc/api/dir_e8f3c1046ba4b357711397765359cd18.html b/doc/api/dir_e8f3c1046ba4b357711397765359cd18.html deleted file mode 100644 index 41ebf3e5..00000000 --- a/doc/api/dir_e8f3c1046ba4b357711397765359cd18.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - - -0.9.9 API documenation: gtx Directory Reference - - - - - - - - - - -
-
- - - - - - - -
-
0.9.9 API documenation -
-
-
- - - - - -
-
- - -
- -
- - -
-
-
-
gtx Directory Reference
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

-Files

file  associated_min_max.hpp [code]
 GLM_GTX_associated_min_max
 
file  bit.hpp [code]
 GLM_GTX_bit
 
file  closest_point.hpp [code]
 GLM_GTX_closest_point
 
file  color_encoding.hpp [code]
 GLM_GTX_color_encoding
 
file  gtx/color_space.hpp [code]
 GLM_GTX_color_space
 
file  color_space_YCoCg.hpp [code]
 GLM_GTX_color_space_YCoCg
 
file  gtx/common.hpp [code]
 GLM_GTX_common
 
file  compatibility.hpp [code]
 GLM_GTX_compatibility
 
file  component_wise.hpp [code]
 GLM_GTX_component_wise
 
file  dual_quaternion.hpp [code]
 GLM_GTX_dual_quaternion
 
file  easing.hpp [code]
 GLM_GTX_easing
 
file  euler_angles.hpp [code]
 GLM_GTX_euler_angles
 
file  extend.hpp [code]
 GLM_GTX_extend
 
file  extended_min_max.hpp [code]
 GLM_GTX_extented_min_max
 
file  exterior_product.hpp [code]
 GLM_GTX_exterior_product
 
file  fast_exponential.hpp [code]
 GLM_GTX_fast_exponential
 
file  fast_square_root.hpp [code]
 GLM_GTX_fast_square_root
 
file  fast_trigonometry.hpp [code]
 GLM_GTX_fast_trigonometry
 
file  functions.hpp [code]
 GLM_GTX_functions
 
file  gradient_paint.hpp [code]
 GLM_GTX_gradient_paint
 
file  handed_coordinate_space.hpp [code]
 GLM_GTX_handed_coordinate_space
 
file  hash.hpp [code]
 GLM_GTX_hash
 
file  gtx/integer.hpp [code]
 GLM_GTX_integer
 
file  intersect.hpp [code]
 GLM_GTX_intersect
 
file  io.hpp [code]
 GLM_GTX_io
 
file  log_base.hpp [code]
 GLM_GTX_log_base
 
file  matrix_cross_product.hpp [code]
 GLM_GTX_matrix_cross_product
 
file  matrix_decompose.hpp [code]
 GLM_GTX_matrix_decompose
 
file  matrix_factorisation.hpp [code]
 GLM_GTX_matrix_factorisation
 
file  matrix_interpolation.hpp [code]
 GLM_GTX_matrix_interpolation
 
file  matrix_major_storage.hpp [code]
 GLM_GTX_matrix_major_storage
 
file  matrix_operation.hpp [code]
 GLM_GTX_matrix_operation
 
file  matrix_query.hpp [code]
 GLM_GTX_matrix_query
 
file  matrix_transform_2d.hpp [code]
 GLM_GTX_matrix_transform_2d
 
file  mixed_product.hpp [code]
 GLM_GTX_mixed_producte
 
file  norm.hpp [code]
 GLM_GTX_norm
 
file  normal.hpp [code]
 GLM_GTX_normal
 
file  normalize_dot.hpp [code]
 GLM_GTX_normalize_dot
 
file  number_precision.hpp [code]
 GLM_GTX_number_precision
 
file  optimum_pow.hpp [code]
 GLM_GTX_optimum_pow
 
file  orthonormalize.hpp [code]
 GLM_GTX_orthonormalize
 
file  perpendicular.hpp [code]
 GLM_GTX_perpendicular
 
file  polar_coordinates.hpp [code]
 GLM_GTX_polar_coordinates
 
file  projection.hpp [code]
 GLM_GTX_projection
 
file  gtx/quaternion.hpp [code]
 GLM_GTX_quaternion
 
file  range.hpp [code]
 GLM_GTX_range
 
file  raw_data.hpp [code]
 GLM_GTX_raw_data
 
file  rotate_normalized_axis.hpp [code]
 GLM_GTX_rotate_normalized_axis
 
file  rotate_vector.hpp [code]
 GLM_GTX_rotate_vector
 
file  scalar_multiplication.hpp [code]
 Experimental extensions
 
file  scalar_relational.hpp [code]
 GLM_GTX_scalar_relational
 
file  spline.hpp [code]
 GLM_GTX_spline
 
file  std_based_type.hpp [code]
 GLM_GTX_std_based_type
 
file  string_cast.hpp [code]
 GLM_GTX_string_cast
 
file  texture.hpp [code]
 GLM_GTX_texture
 
file  transform.hpp [code]
 GLM_GTX_transform
 
file  transform2.hpp [code]
 GLM_GTX_transform2
 
file  gtx/type_aligned.hpp [code]
 GLM_GTX_type_aligned
 
file  type_trait.hpp [code]
 GLM_GTX_type_trait
 
file  vec_swizzle.hpp [code]
 GLM_GTX_vec_swizzle
 
file  vector_angle.hpp [code]
 GLM_GTX_vector_angle
 
file  vector_query.hpp [code]
 GLM_GTX_vector_query
 
file  wrap.hpp [code]
 GLM_GTX_wrap
 
-
- - - - diff --git a/doc/api/dir_934f46a345653ef2b3014a1b37a162c1.html b/doc/api/dir_ffdfd01cf51cdb2fe8bd5e55c6e0c4e8.html similarity index 57% rename from doc/api/dir_934f46a345653ef2b3014a1b37a162c1.html rename to doc/api/dir_ffdfd01cf51cdb2fe8bd5e55c6e0c4e8.html index da722dfe..f87d3885 100644 --- a/doc/api/dir_934f46a345653ef2b3014a1b37a162c1.html +++ b/doc/api/dir_ffdfd01cf51cdb2fe8bd5e55c6e0c4e8.html @@ -3,17 +3,15 @@ - -0.9.9 API documenation: G: Directory Reference + + +0.9.9 API documenation: glm Directory Reference - @@ -32,33 +30,22 @@ - + - + + + +
-
G: Directory Reference
+
glm Directory Reference
- -

Directories

directory  Source
 
diff --git a/doc/api/dynsections.js b/doc/api/dynsections.js index 1e6bf07f..537e3e49 100644 --- a/doc/api/dynsections.js +++ b/doc/api/dynsections.js @@ -1,3 +1,26 @@ +/* + @licstart The following is the entire license notice for the + JavaScript code in this file. + + Copyright (C) 1997-2017 by Dimitri van Heesch + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + + @licend The above is the entire license notice + for the JavaScript code in this file + */ function toggleVisibility(linkObj) { var base = $(linkObj).attr('id'); @@ -15,7 +38,7 @@ function toggleVisibility(linkObj) summary.hide(); $(linkObj).removeClass('closed').addClass('opened'); $(trigger).attr('src',src.substring(0,src.length-10)+'open.png'); - } + } return false; } @@ -37,7 +60,7 @@ function toggleLevel(level) $(this).show(); } else if (l==level+1) { i.removeClass('iconfclosed iconfopen').addClass('iconfclosed'); - a.html('►'); + a.html('▶'); $(this).show(); } else { $(this).hide(); @@ -64,7 +87,7 @@ function toggleFolder(id) // replace down arrow by right arrow for current row var currentRowSpans = currentRow.find("span"); currentRowSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed"); - currentRowSpans.filter(".arrow").html('►'); + currentRowSpans.filter(".arrow").html('▶'); rows.filter("[id^=row_"+id+"]").hide(); // hide all children } else { // we are SHOWING // replace right arrow by down arrow for current row @@ -74,7 +97,7 @@ function toggleFolder(id) // replace down arrows by right arrows for child rows var childRowsSpans = childRows.find("span"); childRowsSpans.filter(".iconfopen").removeClass("iconfopen").addClass("iconfclosed"); - childRowsSpans.filter(".arrow").html('►'); + childRowsSpans.filter(".arrow").html('▶'); childRows.show(); //show all children } updateStripes(); @@ -94,7 +117,7 @@ function toggleInherit(id) $(img).attr('src',src.substring(0,src.length-10)+'open.png'); } } - +/* @license-end */ $(document).ready(function() { $('.code,.codeRef').each(function() { diff --git a/doc/api/files.html b/doc/api/files.html index 900609ad..9a155895 100644 --- a/doc/api/files.html +++ b/doc/api/files.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: File List @@ -11,9 +12,6 @@ - @@ -32,38 +30,22 @@ - + - - + + + +
Here is a list of all documented files with brief descriptions:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
 _features.hppCore features
 _fixes.hppCore features
 _noise.hppCore features
 _swizzle.hppCore features
 _swizzle_func.hppCore features
 _vectorize.hppCore features
 associated_min_max.hppGLM_GTX_associated_min_max
 bit.hppGLM_GTX_bit
 bitfield.hppGLM_GTC_bitfield
 closest_point.hppGLM_GTX_closest_point
 color_encoding.hppGLM_GTX_color_encoding
 gtc/color_space.hppGLM_GTC_color_space
 gtx/color_space.hppGLM_GTX_color_space
 color_space_YCoCg.hppGLM_GTX_color_space_YCoCg
 common.hppCore features
 gtx/common.hppGLM_GTX_common
 compatibility.hppGLM_GTX_compatibility
 component_wise.hppGLM_GTX_component_wise
 compute_vector_relational.hpp
 constants.hppGLM_GTC_constants
 dual_quaternion.hppGLM_GTX_dual_quaternion
 easing.hppGLM_GTX_easing
 epsilon.hppGLM_GTC_epsilon
 euler_angles.hppGLM_GTX_euler_angles
 exponential.hppCore features
 ext.hppCore features (Dependence)
 extend.hppGLM_GTX_extend
 extended_min_max.hppGLM_GTX_extented_min_max
 exterior_product.hppGLM_GTX_exterior_product
 fast_exponential.hppGLM_GTX_fast_exponential
 fast_square_root.hppGLM_GTX_fast_square_root
 fast_trigonometry.hppGLM_GTX_fast_trigonometry
 functions.hppGLM_GTX_functions
 fwd.hppCore features
 geometric.hppCore features
 glm.hppCore features
 gradient_paint.hppGLM_GTX_gradient_paint
 handed_coordinate_space.hppGLM_GTX_handed_coordinate_space
 hash.hppGLM_GTX_hash
 gtc/integer.hppGLM_GTC_integer
 gtx/integer.hppGLM_GTX_integer
 integer.hppCore features
 intersect.hppGLM_GTX_intersect
 io.hppGLM_GTX_io
 log_base.hppGLM_GTX_log_base
 man.doxy
 mat2x2.hppCore features
 mat2x3.hppCore features
 mat2x4.hppCore features
 mat3x2.hppCore features
 mat3x3.hppCore features
 mat3x4.hppCore features
 mat4x2.hppCore features
 mat4x3.hppCore features
 mat4x4.hppCore features
 matrix.hppCore features
 matrix_access.hppGLM_GTC_matrix_access
 matrix_cross_product.hppGLM_GTX_matrix_cross_product
 matrix_decompose.hppGLM_GTX_matrix_decompose
 matrix_factorisation.hppGLM_GTX_matrix_factorisation
 matrix_integer.hppGLM_GTC_matrix_integer
 matrix_interpolation.hppGLM_GTX_matrix_interpolation
 matrix_inverse.hppGLM_GTC_matrix_inverse
 matrix_major_storage.hppGLM_GTX_matrix_major_storage
 matrix_operation.hppGLM_GTX_matrix_operation
 matrix_query.hppGLM_GTX_matrix_query
 matrix_transform.hppGLM_GTC_matrix_transform
 matrix_transform_2d.hppGLM_GTX_matrix_transform_2d
 mixed_product.hppGLM_GTX_mixed_producte
 noise.hppGLM_GTC_noise
 norm.hppGLM_GTX_norm
 normal.hppGLM_GTX_normal
 normalize_dot.hppGLM_GTX_normalize_dot
 number_precision.hppGLM_GTX_number_precision
 optimum_pow.hppGLM_GTX_optimum_pow
 orthonormalize.hppGLM_GTX_orthonormalize
 gtc/packing.hppGLM_GTC_packing
 packing.hppCore features
 perpendicular.hppGLM_GTX_perpendicular
 polar_coordinates.hppGLM_GTX_polar_coordinates
 projection.hppGLM_GTX_projection
 qualifier.hppCore features
 gtc/quaternion.hppGLM_GTC_quaternion
 gtx/quaternion.hppGLM_GTX_quaternion
 random.hppGLM_GTC_random
 range.hppGLM_GTX_range
 raw_data.hppGLM_GTX_raw_data
 reciprocal.hppGLM_GTC_reciprocal
 rotate_normalized_axis.hppGLM_GTX_rotate_normalized_axis
 rotate_vector.hppGLM_GTX_rotate_vector
 round.hppGLM_GTC_round
 scalar_multiplication.hppExperimental extensions
 scalar_relational.hppGLM_GTX_scalar_relational
 setup.hppCore features
 spline.hppGLM_GTX_spline
 std_based_type.hppGLM_GTX_std_based_type
 string_cast.hppGLM_GTX_string_cast
 texture.hppGLM_GTX_texture
 transform.hppGLM_GTX_transform
 transform2.hppGLM_GTX_transform2
 trigonometric.hppCore features
 gtc/type_aligned.hppGLM_GTC_type_aligned
 gtx/type_aligned.hppGLM_GTX_type_aligned
 type_float.hppCore features
 type_gentype.hppCore features
 type_half.hppCore features
 type_int.hppCore features
 type_mat.hppCore features
 type_mat2x2.hppCore features
 type_mat2x3.hppCore features
 type_mat2x4.hppCore features
 type_mat3x2.hppCore features
 type_mat3x3.hppCore features
 type_mat3x4.hppCore features
 type_mat4x2.hppCore features
 type_mat4x3.hppCore features
 type_mat4x4.hppCore features
 type_precision.hppGLM_GTC_type_precision
 type_ptr.hppGLM_GTC_type_ptr
 type_trait.hppGLM_GTX_type_trait
 type_vec.hppCore features
 type_vec1.hpp
 type_vec2.hppCore features
 type_vec3.hppCore features
 type_vec4.hppCore features
 ulp.hppGLM_GTC_ulp
 ext/vec1.hppGLM_EXT_vec1
 gtc/vec1.hppGLM_GTC_vec1
 vec2.hppCore features
 vec3.hppCore features
 vec4.hppCore features
 vec_swizzle.hppGLM_GTX_vec_swizzle
 vector_angle.hppGLM_GTX_vector_angle
 vector_query.hppGLM_GTX_vector_query
 ext/vector_relational.hppGLM_EXT_vector_relational
 vector_relational.hppCore features
 wrap.hppGLM_GTX_wrap
 _features.hpp
 _fixes.hpp
 _noise.hpp
 _swizzle.hpp
 _swizzle_func.hpp
 _vectorize.hpp
 associated_min_max.hppGLM_GTX_associated_min_max
 bit.hppGLM_GTX_bit
 bitfield.hppGLM_GTC_bitfield
 closest_point.hppGLM_GTX_closest_point
 color_encoding.hppGLM_GTX_color_encoding
 gtc/color_space.hppGLM_GTC_color_space
 gtx/color_space.hppGLM_GTX_color_space
 color_space_YCoCg.hppGLM_GTX_color_space_YCoCg
 common.hppCore features
 gtx/common.hppGLM_GTX_common
 compatibility.hppGLM_GTX_compatibility
 component_wise.hppGLM_GTX_component_wise
 compute_common.hpp
 compute_vector_relational.hpp
 constants.hppGLM_GTC_constants
 dual_quaternion.hppGLM_GTX_dual_quaternion
 easing.hppGLM_GTX_easing
 epsilon.hppGLM_GTC_epsilon
 euler_angles.hppGLM_GTX_euler_angles
 exponential.hppCore features
 ext.hppCore features (Dependence)
 extend.hppGLM_GTX_extend
 extended_min_max.hppGLM_GTX_extented_min_max
 exterior_product.hppGLM_GTX_exterior_product
 fast_exponential.hppGLM_GTX_fast_exponential
 fast_square_root.hppGLM_GTX_fast_square_root
 fast_trigonometry.hppGLM_GTX_fast_trigonometry
 functions.hppGLM_GTX_functions
 fwd.hpp
 geometric.hppCore features
 glm.hppCore features
 gradient_paint.hppGLM_GTX_gradient_paint
 handed_coordinate_space.hppGLM_GTX_handed_coordinate_space
 hash.hppGLM_GTX_hash
 gtc/integer.hppGLM_GTC_integer
 gtx/integer.hppGLM_GTX_integer
 integer.hppCore features
 intersect.hppGLM_GTX_intersect
 io.hppGLM_GTX_io
 log_base.hppGLM_GTX_log_base
 man.doxy
 mat2x2.hppCore features
 mat2x3.hppCore features
 mat2x4.hppCore features
 mat3x2.hppCore features
 mat3x3.hppCore features
 mat3x4.hppCore features
 mat4x2.hppCore features
 mat4x3.hppCore features
 mat4x4.hppCore features
 matrix.hppCore features
 matrix_access.hppGLM_GTC_matrix_access
 matrix_clip_space.hppGLM_EXT_matrix_clip_space
 matrix_cross_product.hppGLM_GTX_matrix_cross_product
 matrix_decompose.hppGLM_GTX_matrix_decompose
 matrix_double2x2.hppCore features
 matrix_double2x2_precision.hppCore features
 matrix_double2x3.hppCore features
 matrix_double2x3_precision.hppCore features
 matrix_double2x4.hppCore features
 matrix_double2x4_precision.hppCore features
 matrix_double3x2.hppCore features
 matrix_double3x2_precision.hppCore features
 matrix_double3x3.hppCore features
 matrix_double3x3_precision.hppCore features
 matrix_double3x4.hppCore features
 matrix_double3x4_precision.hppCore features
 matrix_double4x2.hppCore features
 matrix_double4x2_precision.hppCore features
 matrix_double4x3.hppCore features
 matrix_double4x3_precision.hppCore features
 matrix_double4x4.hppCore features
 matrix_double4x4_precision.hppCore features
 matrix_factorisation.hppGLM_GTX_matrix_factorisation
 matrix_float2x2.hppCore features
 matrix_float2x2_precision.hppCore features
 matrix_float2x3.hppCore features
 matrix_float2x3_precision.hppCore features
 matrix_float2x4.hppCore features
 matrix_float2x4_precision.hppCore features
 matrix_float3x2.hppCore features
 matrix_float3x2_precision.hppCore features
 matrix_float3x3.hppCore features
 matrix_float3x3_precision.hppCore features
 matrix_float3x4.hppCore features
 matrix_float3x4_precision.hppCore features
 matrix_float4x2.hppCore features
 matrix_float4x2_precision.hpp
 matrix_float4x3.hppCore features
 matrix_float4x3_precision.hppCore features
 matrix_float4x4.hppCore features
 matrix_float4x4_precision.hppCore features
 matrix_integer.hppGLM_GTC_matrix_integer
 matrix_interpolation.hppGLM_GTX_matrix_interpolation
 matrix_inverse.hppGLM_GTC_matrix_inverse
 matrix_major_storage.hppGLM_GTX_matrix_major_storage
 matrix_operation.hppGLM_GTX_matrix_operation
 matrix_projection.hppGLM_EXT_matrix_projection
 matrix_query.hppGLM_GTX_matrix_query
 matrix_relational.hppGLM_EXT_matrix_relational
 ext/matrix_transform.hppGLM_EXT_matrix_transform
 gtc/matrix_transform.hppGLM_GTC_matrix_transform
 matrix_transform_2d.hppGLM_GTX_matrix_transform_2d
 mixed_product.hppGLM_GTX_mixed_producte
 noise.hppGLM_GTC_noise
 norm.hppGLM_GTX_norm
 normal.hppGLM_GTX_normal
 normalize_dot.hppGLM_GTX_normalize_dot
 number_precision.hppGLM_GTX_number_precision
 optimum_pow.hppGLM_GTX_optimum_pow
 orthonormalize.hppGLM_GTX_orthonormalize
 gtc/packing.hppGLM_GTC_packing
 packing.hppCore features
 perpendicular.hppGLM_GTX_perpendicular
 polar_coordinates.hppGLM_GTX_polar_coordinates
 projection.hppGLM_GTX_projection
 qualifier.hpp
 gtc/quaternion.hppGLM_GTC_quaternion
 gtx/quaternion.hppGLM_GTX_quaternion
 quaternion_common.hppGLM_EXT_quaternion_common
 quaternion_double.hppGLM_EXT_quaternion_double
 quaternion_double_precision.hppGLM_EXT_quaternion_double_precision
 quaternion_exponential.hppGLM_EXT_quaternion_exponential
 quaternion_float.hppGLM_EXT_quaternion_float
 quaternion_float_precision.hppGLM_EXT_quaternion_float_precision
 quaternion_geometric.hppGLM_EXT_quaternion_geometric
 quaternion_relational.hppGLM_EXT_quaternion_relational
 quaternion_transform.hppGLM_EXT_quaternion_transform
 quaternion_trigonometric.hppGLM_EXT_quaternion_trigonometric
 random.hppGLM_GTC_random
 range.hppGLM_GTX_range
 raw_data.hppGLM_GTX_raw_data
 reciprocal.hppGLM_GTC_reciprocal
 rotate_normalized_axis.hppGLM_GTX_rotate_normalized_axis
 rotate_vector.hppGLM_GTX_rotate_vector
 round.hppGLM_GTC_round
 scalar_common.hppGLM_EXT_scalar_common
 scalar_constants.hppGLM_EXT_scalar_constants
 scalar_float_sized.hppGLM_EXT_scalar_float_sized
 scalar_int_sized.hppGLM_EXT_scalar_int_sized
 scalar_multiplication.hppExperimental extensions
 ext/scalar_relational.hppGLM_EXT_scalar_relational
 gtx/scalar_relational.hppGLM_GTX_scalar_relational
 scalar_uint_sized.hppGLM_EXT_scalar_uint_sized
 setup.hpp
 spline.hppGLM_GTX_spline
 std_based_type.hppGLM_GTX_std_based_type
 string_cast.hppGLM_GTX_string_cast
 texture.hppGLM_GTX_texture
 transform.hppGLM_GTX_transform
 transform2.hppGLM_GTX_transform2
 trigonometric.hppCore features
 gtc/type_aligned.hppGLM_GTC_type_aligned
 gtx/type_aligned.hppGLM_GTX_type_aligned
 type_half.hpp
 type_mat2x2.hppCore features
 type_mat2x3.hppCore features
 type_mat2x4.hppCore features
 type_mat3x2.hppCore features
 type_mat3x3.hppCore features
 type_mat3x4.hppCore features
 type_mat4x2.hppCore features
 type_mat4x3.hppCore features
 type_mat4x4.hppCore features
 type_precision.hppGLM_GTC_type_precision
 type_ptr.hppGLM_GTC_type_ptr
 type_quat.hpp
 type_trait.hppGLM_GTX_type_trait
 type_vec1.hppCore features
 type_vec2.hppCore features
 type_vec3.hppCore features
 type_vec4.hppCore features
 ulp.hppGLM_GTC_ulp
 vec1.hppGLM_GTC_vec1
 vec2.hppCore features
 vec3.hppCore features
 vec4.hppCore features
 vec_swizzle.hppGLM_GTX_vec_swizzle
 vector_angle.hppGLM_GTX_vector_angle
 vector_bool1.hppGLM_EXT_vector_bool1
 vector_bool1_precision.hppGLM_EXT_vector_bool1_precision
 vector_bool2.hppCore features
 vector_bool2_precision.hppCore features
 vector_bool3.hppCore features
 vector_bool3_precision.hppCore features
 vector_bool4.hppCore features
 vector_bool4_precision.hppCore features
 vector_common.hppGLM_EXT_vector_common
 vector_double1.hppGLM_EXT_vector_double1
 vector_double1_precision.hppGLM_EXT_vector_double1_precision
 vector_double2.hppCore features
 vector_double2_precision.hppCore features
 vector_double3.hppCore features
 vector_double3_precision.hppCore features
 vector_double4.hppCore features
 vector_double4_precision.hppCore features
 vector_float1.hppGLM_EXT_vector_float1
 vector_float1_precision.hppGLM_EXT_vector_float1_precision
 vector_float2.hppCore features
 vector_float2_precision.hppCore features
 vector_float3.hppCore features
 vector_float3_precision.hppCore features
 vector_float4.hppCore features
 vector_float4_precision.hppCore features
 vector_int1.hppGLM_EXT_vector_int1
 vector_int1_precision.hppGLM_EXT_vector_int1_precision
 vector_int2.hppCore features
 vector_int2_precision.hppCore features
 vector_int3.hppCore features
 vector_int3_precision.hppCore features
 vector_int4.hppCore features
 vector_int4_precision.hppCore features
 vector_query.hppGLM_GTX_vector_query
 ext/vector_relational.hppGLM_EXT_vector_relational
 vector_relational.hppCore features
 vector_uint1.hppGLM_EXT_vector_uint1
 vector_uint1_precision.hppGLM_EXT_vector_uint1_precision
 vector_uint2.hppCore features
 vector_uint2_precision.hppCore features
 vector_uint3.hppCore features
 vector_uint3_precision.hppCore features
 vector_uint4.hppCore features
 vector_uint4_precision.hppCore features
 wrap.hppGLM_GTX_wrap
@@ -230,7 +305,7 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); diff --git a/doc/api/index.html b/doc/api/index.html index f3640ab9..cac4cdf4 100644 --- a/doc/api/index.html +++ b/doc/api/index.html @@ -3,7 +3,8 @@ - + + 0.9.9 API documenation: OpenGL Mathematics (GLM) @@ -11,9 +12,6 @@ - @@ -32,33 +30,22 @@ - + - + + + + ');if(/sw|se|ne|nw/.test(j)){h.css({zIndex:++k.zIndex})}if("se"==j){h.addClass("ui-icon ui-icon-gripsmall-diagonal-se")}this.handles[j]=".ui-resizable-"+j;this.element.append(h)}}this._renderAxis=function(q){q=q||this.element;for(var n in this.handles){if(this.handles[n].constructor==String){this.handles[n]=c(this.handles[n],this.element).show()}if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var o=c(this.handles[n],this.element),p=0;p=/sw|ne|nw|se|n|s/.test(n)?o.outerHeight():o.outerWidth();var m=["padding",/ne|nw|n/.test(n)?"Top":/se|sw|s/.test(n)?"Bottom":/^e$/.test(n)?"Right":"Left"].join("");q.css(m,p);this._proportionallyResize()}if(!c(this.handles[n]).length){continue}}};this._renderAxis(this.element);this._handles=c(".ui-resizable-handle",this.element).disableSelection();this._handles.mouseover(function(){if(!f.resizing){if(this.className){var i=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i)}f.axis=i&&i[1]?i[1]:"se"}});if(k.autoHide){this._handles.hide();c(this.element).addClass("ui-resizable-autohide").hover(function(){if(k.disabled){return}c(this).removeClass("ui-resizable-autohide");f._handles.show()},function(){if(k.disabled){return}if(!f.resizing){c(this).addClass("ui-resizable-autohide");f._handles.hide()}})}this._mouseInit()},destroy:function(){this._mouseDestroy();var e=function(g){c(g).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){e(this.element);var f=this.element;f.after(this.originalElement.css({position:f.css("position"),width:f.outerWidth(),height:f.outerHeight(),top:f.css("top"),left:f.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle);e(this.originalElement);return this},_mouseCapture:function(f){var g=false;for(var e in this.handles){if(c(this.handles[e])[0]==f.target){g=true}}return !this.options.disabled&&g},_mouseStart:function(g){var j=this.options,f=this.element.position(),e=this.element;this.resizing=true;this.documentScroll={top:c(document).scrollTop(),left:c(document).scrollLeft()};if(e.is(".ui-draggable")||(/absolute/).test(e.css("position"))){e.css({position:"absolute",top:f.top,left:f.left})}this._renderProxy();var k=b(this.helper.css("left")),h=b(this.helper.css("top"));if(j.containment){k+=c(j.containment).scrollLeft()||0;h+=c(j.containment).scrollTop()||0}this.offset=this.helper.offset();this.position={left:k,top:h};this.size=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalSize=this._helper?{width:e.outerWidth(),height:e.outerHeight()}:{width:e.width(),height:e.height()};this.originalPosition={left:k,top:h};this.sizeDiff={width:e.outerWidth()-e.width(),height:e.outerHeight()-e.height()};this.originalMousePosition={left:g.pageX,top:g.pageY};this.aspectRatio=(typeof j.aspectRatio=="number")?j.aspectRatio:((this.originalSize.width/this.originalSize.height)||1);var i=c(".ui-resizable-"+this.axis).css("cursor");c("body").css("cursor",i=="auto"?this.axis+"-resize":i);e.addClass("ui-resizable-resizing");this._propagate("start",g);return true},_mouseDrag:function(e){var h=this.helper,g=this.options,m={},q=this,j=this.originalMousePosition,n=this.axis;var r=(e.pageX-j.left)||0,p=(e.pageY-j.top)||0;var i=this._change[n];if(!i){return false}var l=i.apply(this,[e,r,p]),k=c.browser.msie&&c.browser.version<7,f=this.sizeDiff;this._updateVirtualBoundaries(e.shiftKey);if(this._aspectRatio||e.shiftKey){l=this._updateRatio(l,e)}l=this._respectSize(l,e);this._propagate("resize",e);h.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"});if(!this._helper&&this._proportionallyResizeElements.length){this._proportionallyResize()}this._updateCache(l);this._trigger("resize",e,this.ui());return false},_mouseStop:function(h){this.resizing=false;var i=this.options,m=this;if(this._helper){var g=this._proportionallyResizeElements,e=g.length&&(/textarea/i).test(g[0].nodeName),f=e&&c.ui.hasScroll(g[0],"left")?0:m.sizeDiff.height,k=e?0:m.sizeDiff.width;var n={width:(m.helper.width()-k),height:(m.helper.height()-f)},j=(parseInt(m.element.css("left"),10)+(m.position.left-m.originalPosition.left))||null,l=(parseInt(m.element.css("top"),10)+(m.position.top-m.originalPosition.top))||null;if(!i.animate){this.element.css(c.extend(n,{top:l,left:j}))}m.helper.height(m.size.height);m.helper.width(m.size.width);if(this._helper&&!i.animate){this._proportionallyResize()}}c("body").css("cursor","auto");this.element.removeClass("ui-resizable-resizing");this._propagate("stop",h);if(this._helper){this.helper.remove()}return false},_updateVirtualBoundaries:function(g){var j=this.options,i,h,f,k,e;e={minWidth:a(j.minWidth)?j.minWidth:0,maxWidth:a(j.maxWidth)?j.maxWidth:Infinity,minHeight:a(j.minHeight)?j.minHeight:0,maxHeight:a(j.maxHeight)?j.maxHeight:Infinity};if(this._aspectRatio||g){i=e.minHeight*this.aspectRatio;f=e.minWidth/this.aspectRatio;h=e.maxHeight*this.aspectRatio;k=e.maxWidth/this.aspectRatio;if(i>e.minWidth){e.minWidth=i}if(f>e.minHeight){e.minHeight=f}if(hl.width),s=a(l.height)&&i.minHeight&&(i.minHeight>l.height);if(h){l.width=i.minWidth}if(s){l.height=i.minHeight}if(t){l.width=i.maxWidth}if(m){l.height=i.maxHeight}var f=this.originalPosition.left+this.originalSize.width,p=this.position.top+this.size.height;var k=/sw|nw|w/.test(q),e=/nw|ne|n/.test(q);if(h&&k){l.left=f-i.minWidth}if(t&&k){l.left=f-i.maxWidth}if(s&&e){l.top=p-i.minHeight}if(m&&e){l.top=p-i.maxHeight}var n=!l.width&&!l.height;if(n&&!l.left&&l.top){l.top=null}else{if(n&&!l.top&&l.left){l.left=null}}return l},_proportionallyResize:function(){var k=this.options;if(!this._proportionallyResizeElements.length){return}var g=this.helper||this.element;for(var f=0;f');var e=c.browser.msie&&c.browser.version<7,g=(e?1:0),h=(e?2:-1);this.helper.addClass(this._helper).css({width:this.element.outerWidth()+h,height:this.element.outerHeight()+h,position:"absolute",left:this.elementOffset.left-g+"px",top:this.elementOffset.top-g+"px",zIndex:++i.zIndex});this.helper.appendTo("body").disableSelection()}else{this.helper=this.element}},_change:{e:function(g,f,e){return{width:this.originalSize.width+f}},w:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{left:i.left+f,width:g.width-f}},n:function(h,f,e){var j=this.options,g=this.originalSize,i=this.originalPosition;return{top:i.top+e,height:g.height-e}},s:function(g,f,e){return{height:this.originalSize.height+e}},se:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},sw:function(g,f,e){return c.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[g,f,e]))},ne:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[g,f,e]))},nw:function(g,f,e){return c.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[g,f,e]))}},_propagate:function(f,e){c.ui.plugin.call(this,f,[e,this.ui()]);(f!="resize"&&this._trigger(f,e,this.ui()))},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}});c.extend(c.ui.resizable,{version:"1.8.18"});c.ui.plugin.add("resizable","alsoResize",{start:function(f,g){var e=c(this).data("resizable"),i=e.options;var h=function(j){c(j).each(function(){var k=c(this);k.data("resizable-alsoresize",{width:parseInt(k.width(),10),height:parseInt(k.height(),10),left:parseInt(k.css("left"),10),top:parseInt(k.css("top"),10)})})};if(typeof(i.alsoResize)=="object"&&!i.alsoResize.parentNode){if(i.alsoResize.length){i.alsoResize=i.alsoResize[0];h(i.alsoResize)}else{c.each(i.alsoResize,function(j){h(j)})}}else{h(i.alsoResize)}},resize:function(g,i){var f=c(this).data("resizable"),j=f.options,h=f.originalSize,l=f.originalPosition;var k={height:(f.size.height-h.height)||0,width:(f.size.width-h.width)||0,top:(f.position.top-l.top)||0,left:(f.position.left-l.left)||0},e=function(m,n){c(m).each(function(){var q=c(this),r=c(this).data("resizable-alsoresize"),p={},o=n&&n.length?n:q.parents(i.originalElement[0]).length?["width","height"]:["width","height","top","left"];c.each(o,function(s,u){var t=(r[u]||0)+(k[u]||0);if(t&&t>=0){p[u]=t||null}});q.css(p)})};if(typeof(j.alsoResize)=="object"&&!j.alsoResize.nodeType){c.each(j.alsoResize,function(m,n){e(m,n)})}else{e(j.alsoResize)}},stop:function(e,f){c(this).removeData("resizable-alsoresize")}});c.ui.plugin.add("resizable","animate",{stop:function(i,n){var p=c(this).data("resizable"),j=p.options;var h=p._proportionallyResizeElements,e=h.length&&(/textarea/i).test(h[0].nodeName),f=e&&c.ui.hasScroll(h[0],"left")?0:p.sizeDiff.height,l=e?0:p.sizeDiff.width;var g={width:(p.size.width-l),height:(p.size.height-f)},k=(parseInt(p.element.css("left"),10)+(p.position.left-p.originalPosition.left))||null,m=(parseInt(p.element.css("top"),10)+(p.position.top-p.originalPosition.top))||null;p.element.animate(c.extend(g,m&&k?{top:m,left:k}:{}),{duration:j.animateDuration,easing:j.animateEasing,step:function(){var o={width:parseInt(p.element.css("width"),10),height:parseInt(p.element.css("height"),10),top:parseInt(p.element.css("top"),10),left:parseInt(p.element.css("left"),10)};if(h&&h.length){c(h[0]).css({width:o.width,height:o.height})}p._updateCache(o);p._propagate("resize",i)}})}});c.ui.plugin.add("resizable","containment",{start:function(f,r){var t=c(this).data("resizable"),j=t.options,l=t.element;var g=j.containment,k=(g instanceof c)?g.get(0):(/parent/.test(g))?l.parent().get(0):g;if(!k){return}t.containerElement=c(k);if(/document/.test(g)||g==document){t.containerOffset={left:0,top:0};t.containerPosition={left:0,top:0};t.parentData={element:c(document),left:0,top:0,width:c(document).width(),height:c(document).height()||document.body.parentNode.scrollHeight}}else{var n=c(k),i=[];c(["Top","Right","Left","Bottom"]).each(function(p,o){i[p]=b(n.css("padding"+o))});t.containerOffset=n.offset();t.containerPosition=n.position();t.containerSize={height:(n.innerHeight()-i[3]),width:(n.innerWidth()-i[1])};var q=t.containerOffset,e=t.containerSize.height,m=t.containerSize.width,h=(c.ui.hasScroll(k,"left")?k.scrollWidth:m),s=(c.ui.hasScroll(k)?k.scrollHeight:e);t.parentData={element:k,left:q.left,top:q.top,width:h,height:s}}},resize:function(g,q){var t=c(this).data("resizable"),i=t.options,f=t.containerSize,p=t.containerOffset,m=t.size,n=t.position,r=t._aspectRatio||g.shiftKey,e={top:0,left:0},h=t.containerElement;if(h[0]!=document&&(/static/).test(h.css("position"))){e=p}if(n.left<(t._helper?p.left:0)){t.size.width=t.size.width+(t._helper?(t.position.left-p.left):(t.position.left-e.left));if(r){t.size.height=t.size.width/i.aspectRatio}t.position.left=i.helper?p.left:0}if(n.top<(t._helper?p.top:0)){t.size.height=t.size.height+(t._helper?(t.position.top-p.top):t.position.top);if(r){t.size.width=t.size.height*i.aspectRatio}t.position.top=t._helper?p.top:0}t.offset.left=t.parentData.left+t.position.left;t.offset.top=t.parentData.top+t.position.top;var l=Math.abs((t._helper?t.offset.left-e.left:(t.offset.left-e.left))+t.sizeDiff.width),s=Math.abs((t._helper?t.offset.top-e.top:(t.offset.top-p.top))+t.sizeDiff.height);var k=t.containerElement.get(0)==t.element.parent().get(0),j=/relative|absolute/.test(t.containerElement.css("position"));if(k&&j){l-=t.parentData.left}if(l+t.size.width>=t.parentData.width){t.size.width=t.parentData.width-l;if(r){t.size.height=t.size.width/t.aspectRatio}}if(s+t.size.height>=t.parentData.height){t.size.height=t.parentData.height-s;if(r){t.size.width=t.size.height*t.aspectRatio}}},stop:function(f,n){var q=c(this).data("resizable"),g=q.options,l=q.position,m=q.containerOffset,e=q.containerPosition,i=q.containerElement;var j=c(q.helper),r=j.offset(),p=j.outerWidth()-q.sizeDiff.width,k=j.outerHeight()-q.sizeDiff.height;if(q._helper&&!g.animate&&(/relative/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}if(q._helper&&!g.animate&&(/static/).test(i.css("position"))){c(this).css({left:r.left-e.left-m.left,width:p,height:k})}}});c.ui.plugin.add("resizable","ghost",{start:function(g,h){var e=c(this).data("resizable"),i=e.options,f=e.size;e.ghost=e.originalElement.clone();e.ghost.css({opacity:0.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof i.ghost=="string"?i.ghost:"");e.ghost.appendTo(e.helper)},resize:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost){e.ghost.css({position:"relative",height:e.size.height,width:e.size.width})}},stop:function(f,g){var e=c(this).data("resizable"),h=e.options;if(e.ghost&&e.helper){e.helper.get(0).removeChild(e.ghost.get(0))}}});c.ui.plugin.add("resizable","grid",{resize:function(e,m){var p=c(this).data("resizable"),h=p.options,k=p.size,i=p.originalSize,j=p.originalPosition,n=p.axis,l=h._aspectRatio||e.shiftKey;h.grid=typeof h.grid=="number"?[h.grid,h.grid]:h.grid;var g=Math.round((k.width-i.width)/(h.grid[0]||1))*(h.grid[0]||1),f=Math.round((k.height-i.height)/(h.grid[1]||1))*(h.grid[1]||1);if(/^(se|s|e)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f}else{if(/^(ne)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f}else{if(/^(sw)$/.test(n)){p.size.width=i.width+g;p.size.height=i.height+f;p.position.left=j.left-g}else{p.size.width=i.width+g;p.size.height=i.height+f;p.position.top=j.top-f;p.position.left=j.left-g}}}}});var b=function(e){return parseInt(e,10)||0};var a=function(e){return !isNaN(parseInt(e,10))}})(jQuery);/*! * jQuery hashchange event - v1.3 - 7/21/2010 * http://benalman.com/projects/jquery-hashchange-plugin/ - * + * * Copyright (c) 2010 "Cowboy" Ben Alman * Dual licensed under the MIT and GPL licenses. * http://benalman.com/about/license/ @@ -65,4 +93,23 @@ Released under MIT license. https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt */ -(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{a(jQuery)}}(function(k){var A=k(document),s=k(window),w=k("body");var n="displayController",e="hasActiveHover",d="forcedOpen",u="hasMouseMove",f="mouseOnToPopup",g="originalTitle",y="powertip",o="powertipjq",l="powertiptarget",E=180/Math.PI;var c={isTipOpen:false,isFixedTipOpen:false,isClosing:false,tipOpenImminent:false,activeHover:null,currentX:0,currentY:0,previousX:0,previousY:0,desyncTimeout:null,mouseTrackingActive:false,delayInProgress:false,windowWidth:0,windowHeight:0,scrollTop:0,scrollLeft:0};var p={none:0,top:1,bottom:2,left:4,right:8};k.fn.powerTip=function(F,N){if(!this.length){return this}if(k.type(F)==="string"&&k.powerTip[F]){return k.powerTip[F].call(this,this,N)}var O=k.extend({},k.fn.powerTip.defaults,F),G=new x(O);h();this.each(function M(){var R=k(this),Q=R.data(y),P=R.data(o),T=R.data(l),S;if(R.data(n)){k.powerTip.destroy(R)}S=R.attr("title");if(!Q&&!T&&!P&&S){R.data(y,S);R.data(g,S);R.removeAttr("title")}R.data(n,new t(R,O,G))});if(!O.manual){this.on({"mouseenter.powertip":function J(P){k.powerTip.show(this,P)},"mouseleave.powertip":function L(){k.powerTip.hide(this)},"focus.powertip":function K(){k.powerTip.show(this)},"blur.powertip":function H(){k.powerTip.hide(this,true)},"keydown.powertip":function I(P){if(P.keyCode===27){k.powerTip.hide(this,true)}}})}return this};k.fn.powerTip.defaults={fadeInTime:200,fadeOutTime:100,followMouse:false,popupId:"powerTip",intentSensitivity:7,intentPollInterval:100,closeDelay:100,placement:"n",smartPlacement:false,offset:10,mouseOnToPopup:false,manual:false};k.fn.powerTip.smartPlacementLists={n:["n","ne","nw","s"],e:["e","ne","se","w","nw","sw","n","s","e"],s:["s","se","sw","n"],w:["w","nw","sw","e","ne","se","n","s","w"],nw:["nw","w","sw","n","s","se","nw"],ne:["ne","e","se","n","s","sw","ne"],sw:["sw","w","nw","s","n","ne","sw"],se:["se","e","ne","s","n","nw","se"],"nw-alt":["nw-alt","n","ne-alt","sw-alt","s","se-alt","w","e"],"ne-alt":["ne-alt","n","nw-alt","se-alt","s","sw-alt","e","w"],"sw-alt":["sw-alt","s","se-alt","nw-alt","n","ne-alt","w","e"],"se-alt":["se-alt","s","sw-alt","ne-alt","n","nw-alt","e","w"]};k.powerTip={show:function z(F,G){if(G){i(G);c.previousX=G.pageX;c.previousY=G.pageY;k(F).data(n).show()}else{k(F).first().data(n).show(true,true)}return F},reposition:function r(F){k(F).first().data(n).resetPosition();return F},hide:function D(G,F){if(G){k(G).first().data(n).hide(F)}else{if(c.activeHover){c.activeHover.data(n).hide(true)}}return G},destroy:function C(G){k(G).off(".powertip").each(function F(){var I=k(this),H=[g,n,e,d];if(I.data(g)){I.attr("title",I.data(g));H.push(y)}I.removeData(H)});return G}};k.powerTip.showTip=k.powerTip.show;k.powerTip.closeTip=k.powerTip.hide;function b(){var F=this;F.top="auto";F.left="auto";F.right="auto";F.bottom="auto";F.set=function(H,G){if(k.isNumeric(G)){F[H]=Math.round(G)}}}function t(K,N,F){var J=null;function L(P,Q){M();if(!K.data(e)){if(!P){c.tipOpenImminent=true;J=setTimeout(function O(){J=null;I()},N.intentPollInterval)}else{if(Q){K.data(d,true)}F.showTip(K)}}}function G(P){M();c.tipOpenImminent=false;if(K.data(e)){K.data(d,false);if(!P){c.delayInProgress=true;J=setTimeout(function O(){J=null;F.hideTip(K);c.delayInProgress=false},N.closeDelay)}else{F.hideTip(K)}}}function I(){var Q=Math.abs(c.previousX-c.currentX),O=Math.abs(c.previousY-c.currentY),P=Q+O;if(P",{id:Q.popupId});if(w.length===0){w=k("body")}w.append(O)}if(Q.followMouse){if(!O.data(u)){A.on("mousemove",M);s.on("scroll",M);O.data(u,true)}}if(Q.mouseOnToPopup){O.on({mouseenter:function L(){if(O.data(f)){if(c.activeHover){c.activeHover.data(n).cancel()}}},mouseleave:function N(){if(c.activeHover){c.activeHover.data(n).hide()}}})}function I(S){S.data(e,true);O.queue(function R(T){H(S);T()})}function H(S){var U;if(!S.data(e)){return}if(c.isTipOpen){if(!c.isClosing){K(c.activeHover)}O.delay(100).queue(function R(V){H(S);V()});return}S.trigger("powerTipPreRender");U=B(S);if(U){O.empty().append(U)}else{return}S.trigger("powerTipRender");c.activeHover=S;c.isTipOpen=true;O.data(f,Q.mouseOnToPopup);if(!Q.followMouse){G(S);c.isFixedTipOpen=true}else{M()}O.fadeIn(Q.fadeInTime,function T(){if(!c.desyncTimeout){c.desyncTimeout=setInterval(J,500)}S.trigger("powerTipOpen")})}function K(R){c.isClosing=true;c.activeHover=null;c.isTipOpen=false;c.desyncTimeout=clearInterval(c.desyncTimeout);R.data(e,false);R.data(d,false);O.fadeOut(Q.fadeOutTime,function S(){var T=new b();c.isClosing=false;c.isFixedTipOpen=false;O.removeClass();T.set("top",c.currentY+Q.offset);T.set("left",c.currentX+Q.offset);O.css(T);R.trigger("powerTipClose")})}function M(){if(!c.isFixedTipOpen&&(c.isTipOpen||(c.tipOpenImminent&&O.data(u)))){var R=O.outerWidth(),V=O.outerHeight(),U=new b(),S,T;U.set("top",c.currentY+Q.offset);U.set("left",c.currentX+Q.offset);S=m(U,R,V);if(S!==p.none){T=a(S);if(T===1){if(S===p.right){U.set("left",c.windowWidth-R)}else{if(S===p.bottom){U.set("top",c.scrollTop+c.windowHeight-V)}}}else{U.set("left",c.currentX-R-Q.offset);U.set("top",c.currentY-V-Q.offset)}}O.css(U)}}function G(S){var R,T;if(Q.smartPlacement){R=k.fn.powerTip.smartPlacementLists[Q.placement];k.each(R,function(U,W){var V=m(F(S,W),O.outerWidth(),O.outerHeight());T=W;if(V===p.none){return false}})}else{F(S,Q.placement);T=Q.placement}O.addClass(T)}function F(U,T){var R=0,S,W,V=new b();V.set("top",0);V.set("left",0);O.css(V);do{S=O.outerWidth();W=O.outerHeight();V=P.compute(U,T,S,W,Q.offset);O.css(V)}while(++R<=5&&(S!==O.outerWidth()||W!==O.outerHeight()));return V}function J(){var R=false;if(c.isTipOpen&&!c.isClosing&&!c.delayInProgress){if(c.activeHover.data(e)===false||c.activeHover.is(":disabled")){R=true}else{if(!v(c.activeHover)&&!c.activeHover.is(":focus")&&!c.activeHover.data(d)){if(O.data(f)){if(!v(O)){R=true}}else{R=true}}}if(R){K(c.activeHover)}}}this.showTip=I;this.hideTip=K;this.resetPosition=G}function q(F){return window.SVGElement&&F[0] instanceof SVGElement}function h(){if(!c.mouseTrackingActive){c.mouseTrackingActive=true;k(function H(){c.scrollLeft=s.scrollLeft();c.scrollTop=s.scrollTop();c.windowWidth=s.width();c.windowHeight=s.height()});A.on("mousemove",i);s.on({resize:function G(){c.windowWidth=s.width();c.windowHeight=s.height()},scroll:function F(){var I=s.scrollLeft(),J=s.scrollTop();if(I!==c.scrollLeft){c.currentX+=I-c.scrollLeft;c.scrollLeft=I}if(J!==c.scrollTop){c.currentY+=J-c.scrollTop;c.scrollTop=J}}})}}function i(F){c.currentX=F.pageX;c.currentY=F.pageY}function v(F){var H=F.offset(),J=F[0].getBoundingClientRect(),I=J.right-J.left,G=J.bottom-J.top;return c.currentX>=H.left&&c.currentX<=H.left+I&&c.currentY>=H.top&&c.currentY<=H.top+G}function B(I){var G=I.data(y),F=I.data(o),K=I.data(l),H,J;if(G){if(k.isFunction(G)){G=G.call(I[0])}J=G}else{if(F){if(k.isFunction(F)){F=F.call(I[0])}if(F.length>0){J=F.clone(true,true)}}else{if(K){H=k("#"+K);if(H.length>0){J=H.html()}}}}return J}function m(M,L,K){var G=c.scrollTop,J=c.scrollLeft,I=G+c.windowHeight,F=J+c.windowWidth,H=p.none;if(M.topI||Math.abs(M.bottom-c.windowHeight)>I){H|=p.bottom}if(M.leftF){H|=p.left}if(M.left+L>F||M.right",{id:Q.popupId});if(w.length===0){w=k("body")}w.append(O)}if(Q.followMouse){if(!O.data(u)){A.on("mousemove",M);s.on("scroll",M);O.data(u,true)}}if(Q.mouseOnToPopup){O.on({mouseenter:function L(){if(O.data(f)){if(c.activeHover){c.activeHover.data(n).cancel()}}},mouseleave:function N(){if(c.activeHover){c.activeHover.data(n).hide()}}})}function I(S){S.data(e,true);O.queue(function R(T){H(S);T()})}function H(S){var U;if(!S.data(e)){return}if(c.isTipOpen){if(!c.isClosing){K(c.activeHover)}O.delay(100).queue(function R(V){H(S);V()});return}S.trigger("powerTipPreRender");U=B(S);if(U){O.empty().append(U)}else{return}S.trigger("powerTipRender");c.activeHover=S;c.isTipOpen=true;O.data(f,Q.mouseOnToPopup);if(!Q.followMouse){G(S);c.isFixedTipOpen=true}else{M()}O.fadeIn(Q.fadeInTime,function T(){if(!c.desyncTimeout){c.desyncTimeout=setInterval(J,500)}S.trigger("powerTipOpen")})}function K(R){c.isClosing=true;c.activeHover=null;c.isTipOpen=false;c.desyncTimeout=clearInterval(c.desyncTimeout);R.data(e,false);R.data(d,false);O.fadeOut(Q.fadeOutTime,function S(){var T=new b();c.isClosing=false;c.isFixedTipOpen=false;O.removeClass();T.set("top",c.currentY+Q.offset);T.set("left",c.currentX+Q.offset);O.css(T);R.trigger("powerTipClose")})}function M(){if(!c.isFixedTipOpen&&(c.isTipOpen||(c.tipOpenImminent&&O.data(u)))){var R=O.outerWidth(),V=O.outerHeight(),U=new b(),S,T;U.set("top",c.currentY+Q.offset);U.set("left",c.currentX+Q.offset);S=m(U,R,V);if(S!==p.none){T=a(S);if(T===1){if(S===p.right){U.set("left",c.windowWidth-R)}else{if(S===p.bottom){U.set("top",c.scrollTop+c.windowHeight-V)}}}else{U.set("left",c.currentX-R-Q.offset);U.set("top",c.currentY-V-Q.offset)}}O.css(U)}}function G(S){var R,T;if(Q.smartPlacement){R=k.fn.powerTip.smartPlacementLists[Q.placement];k.each(R,function(U,W){var V=m(F(S,W),O.outerWidth(),O.outerHeight());T=W;if(V===p.none){return false}})}else{F(S,Q.placement);T=Q.placement}O.addClass(T)}function F(U,T){var R=0,S,W,V=new b();V.set("top",0);V.set("left",0);O.css(V);do{S=O.outerWidth();W=O.outerHeight();V=P.compute(U,T,S,W,Q.offset);O.css(V)}while(++R<=5&&(S!==O.outerWidth()||W!==O.outerHeight()));return V}function J(){var R=false;if(c.isTipOpen&&!c.isClosing&&!c.delayInProgress){if(c.activeHover.data(e)===false||c.activeHover.is(":disabled")){R=true}else{if(!v(c.activeHover)&&!c.activeHover.is(":focus")&&!c.activeHover.data(d)){if(O.data(f)){if(!v(O)){R=true}}else{R=true}}}if(R){K(c.activeHover)}}}this.showTip=I;this.hideTip=K;this.resetPosition=G}function q(F){return window.SVGElement&&F[0] instanceof SVGElement}function h(){if(!c.mouseTrackingActive){c.mouseTrackingActive=true;k(function H(){c.scrollLeft=s.scrollLeft();c.scrollTop=s.scrollTop();c.windowWidth=s.width();c.windowHeight=s.height()});A.on("mousemove",i);s.on({resize:function G(){c.windowWidth=s.width();c.windowHeight=s.height()},scroll:function F(){var I=s.scrollLeft(),J=s.scrollTop();if(I!==c.scrollLeft){c.currentX+=I-c.scrollLeft;c.scrollLeft=I}if(J!==c.scrollTop){c.currentY+=J-c.scrollTop;c.scrollTop=J}}})}}function i(F){c.currentX=F.pageX;c.currentY=F.pageY}function v(F){var H=F.offset(),J=F[0].getBoundingClientRect(),I=J.right-J.left,G=J.bottom-J.top;return c.currentX>=H.left&&c.currentX<=H.left+I&&c.currentY>=H.top&&c.currentY<=H.top+G}function B(I){var G=I.data(y),F=I.data(o),K=I.data(l),H,J;if(G){if(k.isFunction(G)){G=G.call(I[0])}J=G}else{if(F){if(k.isFunction(F)){F=F.call(I[0])}if(F.length>0){J=F.clone(true,true)}}else{if(K){H=k("#"+K);if(H.length>0){J=H.html()}}}}return J}function m(M,L,K){var G=c.scrollTop,J=c.scrollLeft,I=G+c.windowHeight,F=J+c.windowWidth,H=p.none;if(M.topI||Math.abs(M.bottom-c.windowHeight)>I){H|=p.bottom}if(M.leftF){H|=p.left}if(M.left+L>F||M.right1){return}h.preventDefault();var j=h.originalEvent.changedTouches[0],g=document.createEvent("MouseEvents");g.initMouseEvent(i,true,true,window,1,j.screenX,j.screenY,j.clientX,j.clientY,false,false,false,false,0,null);h.target.dispatchEvent(g)}d._touchStart=function(h){var g=this;if(a||!g._mouseCapture(h.originalEvent.changedTouches[0])){return}a=true;g._touchMoved=false;e(h,"mouseover");e(h,"mousemove");e(h,"mousedown")};d._touchMove=function(g){if(!a){return}this._touchMoved=true;e(g,"mousemove")};d._touchEnd=function(g){if(!a){return}e(g,"mouseup");e(g,"mouseout");if(!this._touchMoved){e(g,"click")}a=false};d._mouseInit=function(){var g=this;g.element.bind({touchstart:b.proxy(g,"_touchStart"),touchmove:b.proxy(g,"_touchMove"),touchend:b.proxy(g,"_touchEnd")});f.call(g)};d._mouseDestroy=function(){var g=this;g.element.unbind({touchstart:b.proxy(g,"_touchStart"),touchmove:b.proxy(g,"_touchMove"),touchend:b.proxy(g,"_touchEnd")});c.call(g)}})(jQuery);/*! + * SmartMenus jQuery Plugin - v1.0.0 - January 27, 2016 + * http://www.smartmenus.org/ + * + * Copyright Vasil Dinkov, Vadikom Web Ltd. + * http://vadikom.com + * + * Licensed MIT + */ +(function(a){if(typeof define==="function"&&define.amd){define(["jquery"],a)}else{if(typeof module==="object"&&typeof module.exports==="object"){module.exports=a(require("jquery"))}else{a(jQuery)}}}(function(a){var b=[],e=!!window.createPopup,f=false,d="ontouchstart" in window,h=false,g=window.requestAnimationFrame||function(l){return setTimeout(l,1000/60)},c=window.cancelAnimationFrame||function(l){clearTimeout(l)};function k(m){var n=".smartmenus_mouse";if(!h&&!m){var o=true,l=null;a(document).bind(i([["mousemove",function(s){var t={x:s.pageX,y:s.pageY,timeStamp:new Date().getTime()};if(l){var q=Math.abs(l.x-t.x),p=Math.abs(l.y-t.y);if((q>0||p>0)&&q<=2&&p<=2&&t.timeStamp-l.timeStamp<=300){f=true;if(o){var r=a(s.target).closest("a");if(r.is("a")){a.each(b,function(){if(a.contains(this.$root[0],r[0])){this.itemEnter({currentTarget:r[0]});return false}})}o=false}}}l=t}],[d?"touchstart":"pointerover pointermove pointerout MSPointerOver MSPointerMove MSPointerOut",function(p){if(j(p.originalEvent)){f=false}}]],n));h=true}else{if(h&&m){a(document).unbind(n);h=false}}}function j(l){return !/^(4|mouse)$/.test(l.pointerType)}function i(l,n){if(!n){n=""}var m={};a.each(l,function(o,p){m[p[0].split(" ").join(n+" ")+n]=p[1]});return m}a.SmartMenus=function(m,l){this.$root=a(m);this.opts=l;this.rootId="";this.accessIdPrefix="";this.$subArrow=null;this.activatedItems=[];this.visibleSubMenus=[];this.showTimeout=0;this.hideTimeout=0;this.scrollTimeout=0;this.clickActivated=false;this.focusActivated=false;this.zIndexInc=0;this.idInc=0;this.$firstLink=null;this.$firstSub=null;this.disabled=false;this.$disableOverlay=null;this.$touchScrollingSub=null;this.cssTransforms3d="perspective" in m.style||"webkitPerspective" in m.style;this.wasCollapsible=false;this.init()};a.extend(a.SmartMenus,{hideAll:function(){a.each(b,function(){this.menuHideAll()})},destroy:function(){while(b.length){b[0].destroy()}k(true)},prototype:{init:function(n){var l=this;if(!n){b.push(this);this.rootId=(new Date().getTime()+Math.random()+"").replace(/\D/g,"");this.accessIdPrefix="sm-"+this.rootId+"-";if(this.$root.hasClass("sm-rtl")){this.opts.rightToLeftSubMenus=true}var r=".smartmenus";this.$root.data("smartmenus",this).attr("data-smartmenus-id",this.rootId).dataSM("level",1).bind(i([["mouseover focusin",a.proxy(this.rootOver,this)],["mouseout focusout",a.proxy(this.rootOut,this)],["keydown",a.proxy(this.rootKeyDown,this)]],r)).delegate("a",i([["mouseenter",a.proxy(this.itemEnter,this)],["mouseleave",a.proxy(this.itemLeave,this)],["mousedown",a.proxy(this.itemDown,this)],["focus",a.proxy(this.itemFocus,this)],["blur",a.proxy(this.itemBlur,this)],["click",a.proxy(this.itemClick,this)]],r));r+=this.rootId;if(this.opts.hideOnClick){a(document).bind(i([["touchstart",a.proxy(this.docTouchStart,this)],["touchmove",a.proxy(this.docTouchMove,this)],["touchend",a.proxy(this.docTouchEnd,this)],["click",a.proxy(this.docClick,this)]],r))}a(window).bind(i([["resize orientationchange",a.proxy(this.winResize,this)]],r));if(this.opts.subIndicators){this.$subArrow=a("").addClass("sub-arrow");if(this.opts.subIndicatorsText){this.$subArrow.html(this.opts.subIndicatorsText)}}k()}this.$firstSub=this.$root.find("ul").each(function(){l.menuInit(a(this))}).eq(0);this.$firstLink=this.$root.find("a").eq(0);if(this.opts.markCurrentItem){var p=/(index|default)\.[^#\?\/]*/i,m=/#.*/,q=window.location.href.replace(p,""),o=q.replace(m,"");this.$root.find("a").each(function(){var s=this.href.replace(p,""),t=a(this);if(s==q||s==o){t.addClass("current");if(l.opts.markCurrentTree){t.parentsUntil("[data-smartmenus-id]","ul").each(function(){a(this).dataSM("parent-a").addClass("current")})}}})}this.wasCollapsible=this.isCollapsible()},destroy:function(m){if(!m){var n=".smartmenus";this.$root.removeData("smartmenus").removeAttr("data-smartmenus-id").removeDataSM("level").unbind(n).undelegate(n);n+=this.rootId;a(document).unbind(n);a(window).unbind(n);if(this.opts.subIndicators){this.$subArrow=null}}this.menuHideAll();var l=this;this.$root.find("ul").each(function(){var o=a(this);if(o.dataSM("scroll-arrows")){o.dataSM("scroll-arrows").remove()}if(o.dataSM("shown-before")){if(l.opts.subMenusMinWidth||l.opts.subMenusMaxWidth){o.css({width:"",minWidth:"",maxWidth:""}).removeClass("sm-nowrap")}if(o.dataSM("scroll-arrows")){o.dataSM("scroll-arrows").remove()}o.css({zIndex:"",top:"",left:"",marginLeft:"",marginTop:"",display:""})}if((o.attr("id")||"").indexOf(l.accessIdPrefix)==0){o.removeAttr("id")}}).removeDataSM("in-mega").removeDataSM("shown-before").removeDataSM("ie-shim").removeDataSM("scroll-arrows").removeDataSM("parent-a").removeDataSM("level").removeDataSM("beforefirstshowfired").removeAttr("role").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeAttr("aria-expanded");this.$root.find("a.has-submenu").each(function(){var o=a(this);if(o.attr("id").indexOf(l.accessIdPrefix)==0){o.removeAttr("id")}}).removeClass("has-submenu").removeDataSM("sub").removeAttr("aria-haspopup").removeAttr("aria-controls").removeAttr("aria-expanded").closest("li").removeDataSM("sub");if(this.opts.subIndicators){this.$root.find("span.sub-arrow").remove()}if(this.opts.markCurrentItem){this.$root.find("a.current").removeClass("current")}if(!m){this.$root=null;this.$firstLink=null;this.$firstSub=null;if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}b.splice(a.inArray(this,b),1)}},disable:function(l){if(!this.disabled){this.menuHideAll();if(!l&&!this.opts.isPopup&&this.$root.is(":visible")){var m=this.$root.offset();this.$disableOverlay=a('
').css({position:"absolute",top:m.top,left:m.left,width:this.$root.outerWidth(),height:this.$root.outerHeight(),zIndex:this.getStartZIndex(true),opacity:0}).appendTo(document.body)}this.disabled=true}},docClick:function(l){if(this.$touchScrollingSub){this.$touchScrollingSub=null;return}if(this.visibleSubMenus.length&&!a.contains(this.$root[0],l.target)||a(l.target).is("a")){this.menuHideAll()}},docTouchEnd:function(m){if(!this.lastTouch){return}if(this.visibleSubMenus.length&&(this.lastTouch.x2===undefined||this.lastTouch.x1==this.lastTouch.x2)&&(this.lastTouch.y2===undefined||this.lastTouch.y1==this.lastTouch.y2)&&(!this.lastTouch.target||!a.contains(this.$root[0],this.lastTouch.target))){if(this.hideTimeout){clearTimeout(this.hideTimeout);this.hideTimeout=0}var l=this;this.hideTimeout=setTimeout(function(){l.menuHideAll()},350)}this.lastTouch=null},docTouchMove:function(m){if(!this.lastTouch){return}var l=m.originalEvent.touches[0];this.lastTouch.x2=l.pageX;this.lastTouch.y2=l.pageY},docTouchStart:function(m){var l=m.originalEvent.touches[0];this.lastTouch={x1:l.pageX,y1:l.pageY,target:l.target}},enable:function(){if(this.disabled){if(this.$disableOverlay){this.$disableOverlay.remove();this.$disableOverlay=null}this.disabled=false}},getClosestMenu:function(m){var l=a(m).closest("ul");while(l.dataSM("in-mega")){l=l.parent().closest("ul")}return l[0]||null},getHeight:function(l){return this.getOffset(l,true)},getOffset:function(n,l){var m;if(n.css("display")=="none"){m={position:n[0].style.position,visibility:n[0].style.visibility};n.css({position:"absolute",visibility:"hidden"}).show()}var o=n[0].getBoundingClientRect&&n[0].getBoundingClientRect(),p=o&&(l?o.height||o.bottom-o.top:o.width||o.right-o.left);if(!p&&p!==0){p=l?n[0].offsetHeight:n[0].offsetWidth}if(m){n.hide().css(m)}return p},getStartZIndex:function(l){var m=parseInt(this[l?"$root":"$firstSub"].css("z-index"));if(!l&&isNaN(m)){m=parseInt(this.$root.css("z-index"))}return !isNaN(m)?m:1},getTouchPoint:function(l){return l.touches&&l.touches[0]||l.changedTouches&&l.changedTouches[0]||l},getViewport:function(l){var m=l?"Height":"Width",o=document.documentElement["client"+m],n=window["inner"+m];if(n){o=Math.min(o,n)}return o},getViewportHeight:function(){return this.getViewport(true)},getViewportWidth:function(){return this.getViewport()},getWidth:function(l){return this.getOffset(l)},handleEvents:function(){return !this.disabled&&this.isCSSOn()},handleItemEvents:function(l){return this.handleEvents()&&!this.isLinkInMegaMenu(l)},isCollapsible:function(){return this.$firstSub.css("position")=="static"},isCSSOn:function(){return this.$firstLink.css("display")=="block"},isFixed:function(){var l=this.$root.css("position")=="fixed";if(!l){this.$root.parentsUntil("body").each(function(){if(a(this).css("position")=="fixed"){l=true;return false}})}return l},isLinkInMegaMenu:function(l){return a(this.getClosestMenu(l[0])).hasClass("mega-menu")},isTouchMode:function(){return !f||this.opts.noMouseOver||this.isCollapsible()},itemActivate:function(p,l){var n=p.closest("ul"),q=n.dataSM("level");if(q>1&&(!this.activatedItems[q-2]||this.activatedItems[q-2][0]!=n.dataSM("parent-a")[0])){var m=this;a(n.parentsUntil("[data-smartmenus-id]","ul").get().reverse()).add(n).each(function(){m.itemActivate(a(this).dataSM("parent-a"))})}if(!this.isCollapsible()||l){this.menuHideSubMenus(!this.activatedItems[q-1]||this.activatedItems[q-1][0]!=p[0]?q-1:q)}this.activatedItems[q-1]=p;if(this.$root.triggerHandler("activate.smapi",p[0])===false){return}var o=p.dataSM("sub");if(o&&(this.isTouchMode()||(!this.opts.showOnClick||this.clickActivated))){this.menuShow(o)}},itemBlur:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}this.$root.triggerHandler("blur.smapi",l[0])},itemClick:function(o){var n=a(o.currentTarget);if(!this.handleItemEvents(n)){return}if(this.$touchScrollingSub&&this.$touchScrollingSub[0]==n.closest("ul")[0]){this.$touchScrollingSub=null;o.stopPropagation();return false}if(this.$root.triggerHandler("click.smapi",n[0])===false){return false}var p=a(o.target).is("span.sub-arrow"),m=n.dataSM("sub"),l=m?m.dataSM("level")==2:false;if(m&&!m.is(":visible")){if(this.opts.showOnClick&&l){this.clickActivated=true}this.itemActivate(n);if(m.is(":visible")){this.focusActivated=true;return false}}else{if(this.isCollapsible()&&p){this.itemActivate(n);this.menuHide(m);return false}}if(this.opts.showOnClick&&l||n.hasClass("disabled")||this.$root.triggerHandler("select.smapi",n[0])===false){return false}},itemDown:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}l.dataSM("mousedown",true)},itemEnter:function(n){var m=a(n.currentTarget);if(!this.handleItemEvents(m)){return}if(!this.isTouchMode()){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}var l=this;this.showTimeout=setTimeout(function(){l.itemActivate(m)},this.opts.showOnClick&&m.closest("ul").dataSM("level")==1?1:this.opts.showTimeout)}this.$root.triggerHandler("mouseenter.smapi",m[0])},itemFocus:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}if(this.focusActivated&&(!this.isTouchMode()||!l.dataSM("mousedown"))&&(!this.activatedItems.length||this.activatedItems[this.activatedItems.length-1][0]!=l[0])){this.itemActivate(l,true)}this.$root.triggerHandler("focus.smapi",l[0])},itemLeave:function(m){var l=a(m.currentTarget);if(!this.handleItemEvents(l)){return}if(!this.isTouchMode()){l[0].blur();if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}}l.removeDataSM("mousedown");this.$root.triggerHandler("mouseleave.smapi",l[0])},menuHide:function(m){if(this.$root.triggerHandler("beforehide.smapi",m[0])===false){return}m.stop(true,true);if(m.css("display")!="none"){var l=function(){m.css("z-index","")};if(this.isCollapsible()){if(this.opts.collapsibleHideFunction){this.opts.collapsibleHideFunction.call(this,m,l)}else{m.hide(this.opts.collapsibleHideDuration,l)}}else{if(this.opts.hideFunction){this.opts.hideFunction.call(this,m,l)}else{m.hide(this.opts.hideDuration,l)}}if(m.dataSM("ie-shim")){m.dataSM("ie-shim").remove().css({"-webkit-transform":"",transform:""})}if(m.dataSM("scroll")){this.menuScrollStop(m);m.css({"touch-action":"","-ms-touch-action":"","-webkit-transform":"",transform:""}).unbind(".smartmenus_scroll").removeDataSM("scroll").dataSM("scroll-arrows").hide()}m.dataSM("parent-a").removeClass("highlighted").attr("aria-expanded","false");m.attr({"aria-expanded":"false","aria-hidden":"true"});var n=m.dataSM("level");this.activatedItems.splice(n-1,1);this.visibleSubMenus.splice(a.inArray(m,this.visibleSubMenus),1);this.$root.triggerHandler("hide.smapi",m[0])}},menuHideAll:function(){if(this.showTimeout){clearTimeout(this.showTimeout);this.showTimeout=0}var m=this.opts.isPopup?1:0;for(var l=this.visibleSubMenus.length-1;l>=m;l--){this.menuHide(this.visibleSubMenus[l])}if(this.opts.isPopup){this.$root.stop(true,true);if(this.$root.is(":visible")){if(this.opts.hideFunction){this.opts.hideFunction.call(this,this.$root)}else{this.$root.hide(this.opts.hideDuration)}if(this.$root.dataSM("ie-shim")){this.$root.dataSM("ie-shim").remove()}}}this.activatedItems=[];this.visibleSubMenus=[];this.clickActivated=false;this.focusActivated=false;this.zIndexInc=0;this.$root.triggerHandler("hideAll.smapi")},menuHideSubMenus:function(n){for(var l=this.activatedItems.length-1;l>=n;l--){var m=this.activatedItems[l].dataSM("sub");if(m){this.menuHide(m)}}},menuIframeShim:function(l){if(e&&this.opts.overlapControlsInIE&&!l.dataSM("ie-shim")){l.dataSM("ie-shim",a("