• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 ///////////////////////////////////////////////////////////////////////////////////
2 /// OpenGL Mathematics (glm.g-truc.net)
3 ///
4 /// Copyright (c) 2005 - 2014 G-Truc Creation (www.g-truc.net)
5 /// Permission is hereby granted, free of charge, to any person obtaining a copy
6 /// of this software and associated documentation files (the "Software"), to deal
7 /// in the Software without restriction, including without limitation the rights
8 /// to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 /// copies of the Software, and to permit persons to whom the Software is
10 /// furnished to do so, subject to the following conditions:
11 ///
12 /// The above copyright notice and this permission notice shall be included in
13 /// all copies or substantial portions of the Software.
14 ///
15 /// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 /// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 /// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 /// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 /// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 /// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21 /// THE SOFTWARE.
22 ///
23 /// @file glm/glm.hpp
24 /// @date 2009-05-01 / 2011-05-16
25 /// @author Christophe Riccio
26 ///
27 /// @ref core (Dependence)
28 ///
29 /// @defgroup gtc GTC Extensions (Stable)
30 ///
31 /// @brief Functions and types that the GLSL specification doesn't define, but useful to have for a C++ program.
32 ///
33 /// GTC extensions aim to be stable.
34 ///
35 /// Even if it's highly unrecommended, it's possible to include all the extensions at once by
36 /// including <glm/ext.hpp>. Otherwise, each extension needs to be included  a specific file.
37 ///
38 /// @defgroup gtx GTX Extensions (Experimental)
39 ///
40 /// @brief Functions and types that the GLSL specification doesn't define, but
41 /// useful to have for a C++ program.
42 ///
43 /// Experimental extensions are useful functions and types, but the development of
44 /// their API and functionality is not necessarily stable. They can change
45 /// substantially between versions. Backwards compatibility is not much of an issue
46 /// for them.
47 ///
48 /// Even if it's highly unrecommended, it's possible to include all the extensions
49 /// at once by including <glm/ext.hpp>. Otherwise, each extension needs to be
50 /// included  a specific file.
51 ///
52 /// @defgroup virtrev VIRTREV Extensions
53 ///
54 /// @brief Extensions develop and maintain by Mathieu [matrem] Roumillac
55 /// (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showprofile&User=22660).
56 ///////////////////////////////////////////////////////////////////////////////////
57 
58 #ifndef GLM_EXT_INCLUDED
59 #define GLM_EXT_INCLUDED
60 
61 #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED))
62 #	define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
63 #	pragma message("GLM: All extensions included (not recommanded)")
64 #endif//GLM_MESSAGES
65 
66 #include "./gtc/constants.hpp"
67 #include "./gtc/epsilon.hpp"
68 #include "./gtc/matrix_access.hpp"
69 #include "./gtc/matrix_integer.hpp"
70 #include "./gtc/matrix_inverse.hpp"
71 #include "./gtc/matrix_transform.hpp"
72 #include "./gtc/noise.hpp"
73 #include "./gtc/packing.hpp"
74 #include "./gtc/quaternion.hpp"
75 #include "./gtc/random.hpp"
76 #include "./gtc/reciprocal.hpp"
77 #include "./gtc/type_precision.hpp"
78 #include "./gtc/type_ptr.hpp"
79 #include "./gtc/ulp.hpp"
80 
81 #include "./gtx/associated_min_max.hpp"
82 #include "./gtx/bit.hpp"
83 #include "./gtx/closest_point.hpp"
84 #include "./gtx/color_space.hpp"
85 #include "./gtx/color_space_YCoCg.hpp"
86 #include "./gtx/compatibility.hpp"
87 #include "./gtx/component_wise.hpp"
88 #include "./gtx/dual_quaternion.hpp"
89 #include "./gtx/euler_angles.hpp"
90 #include "./gtx/extend.hpp"
91 #include "./gtx/extented_min_max.hpp"
92 #include "./gtx/fast_exponential.hpp"
93 #include "./gtx/fast_square_root.hpp"
94 #include "./gtx/fast_trigonometry.hpp"
95 #include "./gtx/gradient_paint.hpp"
96 #include "./gtx/handed_coordinate_space.hpp"
97 #include "./gtx/inertia.hpp"
98 #include "./gtx/int_10_10_10_2.hpp"
99 #include "./gtx/integer.hpp"
100 #include "./gtx/intersect.hpp"
101 #include "./gtx/log_base.hpp"
102 #include "./gtx/matrix_cross_product.hpp"
103 #include "./gtx/matrix_interpolation.hpp"
104 #include "./gtx/matrix_major_storage.hpp"
105 #include "./gtx/matrix_operation.hpp"
106 #include "./gtx/matrix_query.hpp"
107 #include "./gtx/mixed_product.hpp"
108 #include "./gtx/multiple.hpp"
109 #include "./gtx/norm.hpp"
110 #include "./gtx/normal.hpp"
111 #include "./gtx/normalize_dot.hpp"
112 #include "./gtx/number_precision.hpp"
113 #include "./gtx/optimum_pow.hpp"
114 #include "./gtx/orthonormalize.hpp"
115 #include "./gtx/perpendicular.hpp"
116 #include "./gtx/polar_coordinates.hpp"
117 #include "./gtx/projection.hpp"
118 #include "./gtx/quaternion.hpp"
119 #include "./gtx/raw_data.hpp"
120 #include "./gtx/rotate_vector.hpp"
121 #include "./gtx/spline.hpp"
122 #include "./gtx/std_based_type.hpp"
123 #if(!(GLM_COMPILER & GLM_COMPILER_CUDA))
124 #	include "./gtx/string_cast.hpp"
125 #endif
126 #include "./gtx/transform.hpp"
127 #include "./gtx/transform2.hpp"
128 #include "./gtx/vec1.hpp"
129 #include "./gtx/vector_angle.hpp"
130 #include "./gtx/vector_query.hpp"
131 #include "./gtx/wrap.hpp"
132 
133 #if(GLM_ARCH & GLM_ARCH_SSE2)
134 #	include "./gtx/simd_vec4.hpp"
135 #	include "./gtx/simd_mat4.hpp"
136 #endif
137 
138 #endif //GLM_EXT_INCLUDED
139