1 /// @file glm/ext.hpp 2 /// 3 /// @ref core (Dependence) 4 /// 5 /// @defgroup gtc GTC Extensions (Stable) 6 /// 7 /// @brief Functions and types that the GLSL specification doesn't define, but useful to have for a C++ program. 8 /// 9 /// GTC extensions aim to be stable. 10 /// 11 /// Even if it's highly unrecommended, it's possible to include all the extensions at once by 12 /// including <glm/ext.hpp>. Otherwise, each extension needs to be included a specific file. 13 /// 14 /// @defgroup gtx GTX Extensions (Experimental) 15 /// 16 /// @brief Functions and types that the GLSL specification doesn't define, but 17 /// useful to have for a C++ program. 18 /// 19 /// Experimental extensions are useful functions and types, but the development of 20 /// their API and functionality is not necessarily stable. They can change 21 /// substantially between versions. Backwards compatibility is not much of an issue 22 /// for them. 23 /// 24 /// Even if it's highly unrecommended, it's possible to include all the extensions 25 /// at once by including <glm/ext.hpp>. Otherwise, each extension needs to be 26 /// included a specific file. 27 28 #pragma once 29 30 #include "glm.hpp" 31 32 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED) 33 # define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED 34 # pragma message("GLM: All extensions included (not recommanded)") 35 #endif//GLM_MESSAGES 36 37 #include "./gtc/bitfield.hpp" 38 #include "./gtc/color_space.hpp" 39 #include "./gtc/constants.hpp" 40 #include "./gtc/epsilon.hpp" 41 #include "./gtc/functions.hpp" 42 #include "./gtc/integer.hpp" 43 #include "./gtc/matrix_access.hpp" 44 #include "./gtc/matrix_integer.hpp" 45 #include "./gtc/matrix_inverse.hpp" 46 #include "./gtc/matrix_transform.hpp" 47 #include "./gtc/noise.hpp" 48 #include "./gtc/packing.hpp" 49 #include "./gtc/quaternion.hpp" 50 #include "./gtc/random.hpp" 51 #include "./gtc/reciprocal.hpp" 52 #include "./gtc/round.hpp" 53 //#include "./gtc/type_aligned.hpp" 54 #include "./gtc/type_precision.hpp" 55 #include "./gtc/type_ptr.hpp" 56 #include "./gtc/ulp.hpp" 57 #include "./gtc/vec1.hpp" 58 #if GLM_HAS_ALIGNED_TYPE 59 # include "./gtc/type_aligned.hpp" 60 #endif 61 62 #include "./gtx/associated_min_max.hpp" 63 #include "./gtx/bit.hpp" 64 #include "./gtx/closest_point.hpp" 65 #include "./gtx/color_space.hpp" 66 #include "./gtx/color_space_YCoCg.hpp" 67 #include "./gtx/compatibility.hpp" 68 #include "./gtx/component_wise.hpp" 69 #include "./gtx/dual_quaternion.hpp" 70 #include "./gtx/euler_angles.hpp" 71 #include "./gtx/extend.hpp" 72 #include "./gtx/extended_min_max.hpp" 73 #include "./gtx/fast_exponential.hpp" 74 #include "./gtx/fast_square_root.hpp" 75 #include "./gtx/fast_trigonometry.hpp" 76 #include "./gtx/gradient_paint.hpp" 77 #include "./gtx/handed_coordinate_space.hpp" 78 #include "./gtx/integer.hpp" 79 #include "./gtx/intersect.hpp" 80 #include "./gtx/log_base.hpp" 81 #include "./gtx/matrix_cross_product.hpp" 82 #include "./gtx/matrix_interpolation.hpp" 83 #include "./gtx/matrix_major_storage.hpp" 84 #include "./gtx/matrix_operation.hpp" 85 #include "./gtx/matrix_query.hpp" 86 #include "./gtx/mixed_product.hpp" 87 #include "./gtx/norm.hpp" 88 #include "./gtx/normal.hpp" 89 #include "./gtx/normalize_dot.hpp" 90 #include "./gtx/number_precision.hpp" 91 #include "./gtx/optimum_pow.hpp" 92 #include "./gtx/orthonormalize.hpp" 93 #include "./gtx/perpendicular.hpp" 94 #include "./gtx/polar_coordinates.hpp" 95 #include "./gtx/projection.hpp" 96 #include "./gtx/quaternion.hpp" 97 #include "./gtx/raw_data.hpp" 98 #include "./gtx/rotate_vector.hpp" 99 #include "./gtx/spline.hpp" 100 #include "./gtx/std_based_type.hpp" 101 #if !(GLM_COMPILER & GLM_COMPILER_CUDA) 102 # include "./gtx/string_cast.hpp" 103 #endif 104 #include "./gtx/transform.hpp" 105 #include "./gtx/transform2.hpp" 106 #include "./gtx/vector_angle.hpp" 107 #include "./gtx/vector_query.hpp" 108 #include "./gtx/wrap.hpp" 109 110 #if GLM_HAS_TEMPLATE_ALIASES 111 # include "./gtx/scalar_multiplication.hpp" 112 #endif 113 114 #if GLM_HAS_RANGE_FOR 115 # include "./gtx/range.hpp" 116 #endif 117