You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

145 lines
5.3 KiB

  1. ///////////////////////////////////////////////////////////////////////////////////
  2. /// OpenGL Mathematics (glm.g-truc.net)
  3. ///
  4. /// Copyright (c) 2005 - 2013 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. #ifndef glm_ext
  58. #define glm_ext
  59. #if(defined(GLM_MESSAGES) && !defined(GLM_MESSAGE_EXT_INCLUDED_DISPLAYED))
  60. # define GLM_MESSAGE_EXT_INCLUDED_DISPLAYED
  61. # pragma message("GLM: All extensions included (not recommanded)")
  62. #endif//GLM_MESSAGES
  63. #include "./gtc/constants.hpp"
  64. #include "./gtc/epsilon.hpp"
  65. #include "./gtc/half_float.hpp"
  66. #include "./gtc/matrix_access.hpp"
  67. #include "./gtc/matrix_integer.hpp"
  68. #include "./gtc/matrix_inverse.hpp"
  69. #include "./gtc/matrix_transform.hpp"
  70. #include "./gtc/noise.hpp"
  71. #include "./gtc/quaternion.hpp"
  72. #include "./gtc/random.hpp"
  73. #include "./gtc/reciprocal.hpp"
  74. #include "./gtc/swizzle.hpp"
  75. #include "./gtc/type_precision.hpp"
  76. #include "./gtc/type_ptr.hpp"
  77. #include "./gtc/ulp.hpp"
  78. #include "./gtx/associated_min_max.hpp"
  79. #include "./gtx/bit.hpp"
  80. #include "./gtx/closest_point.hpp"
  81. #include "./gtx/color_cast.hpp"
  82. #include "./gtx/color_space.hpp"
  83. #include "./gtx/color_space_YCoCg.hpp"
  84. #include "./gtx/compatibility.hpp"
  85. #include "./gtx/component_wise.hpp"
  86. #include "./gtx/euler_angles.hpp"
  87. #include "./gtx/extend.hpp"
  88. #include "./gtx/extented_min_max.hpp"
  89. #include "./gtx/fast_exponential.hpp"
  90. #include "./gtx/fast_square_root.hpp"
  91. #include "./gtx/fast_trigonometry.hpp"
  92. #include "./gtx/gradient_paint.hpp"
  93. #include "./gtx/handed_coordinate_space.hpp"
  94. #include "./gtx/inertia.hpp"
  95. #include "./gtx/int_10_10_10_2.hpp"
  96. #include "./gtx/integer.hpp"
  97. #include "./gtx/intersect.hpp"
  98. #include "./gtx/log_base.hpp"
  99. #include "./gtx/matrix_cross_product.hpp"
  100. #include "./gtx/matrix_interpolation.hpp"
  101. #include "./gtx/matrix_major_storage.hpp"
  102. #include "./gtx/matrix_operation.hpp"
  103. #include "./gtx/matrix_query.hpp"
  104. #include "./gtx/mixed_product.hpp"
  105. #include "./gtx/multiple.hpp"
  106. #include "./gtx/norm.hpp"
  107. #include "./gtx/normal.hpp"
  108. #include "./gtx/normalize_dot.hpp"
  109. #include "./gtx/number_precision.hpp"
  110. #include "./gtx/ocl_type.hpp"
  111. #include "./gtx/optimum_pow.hpp"
  112. #include "./gtx/orthonormalize.hpp"
  113. #include "./gtx/perpendicular.hpp"
  114. #include "./gtx/polar_coordinates.hpp"
  115. #include "./gtx/projection.hpp"
  116. #include "./gtx/quaternion.hpp"
  117. #include "./gtx/raw_data.hpp"
  118. #include "./gtx/rotate_vector.hpp"
  119. #include "./gtx/spline.hpp"
  120. #include "./gtx/std_based_type.hpp"
  121. #include "./gtx/string_cast.hpp"
  122. #include "./gtx/transform.hpp"
  123. #include "./gtx/transform2.hpp"
  124. #include "./gtx/vec1.hpp"
  125. #include "./gtx/vector_access.hpp"
  126. #include "./gtx/vector_angle.hpp"
  127. #include "./gtx/vector_query.hpp"
  128. #include "./gtx/verbose_operator.hpp"
  129. #include "./gtx/wrap.hpp"
  130. #if(GLM_ARCH & GLM_ARCH_SSE2)
  131. # include "./gtx/simd_vec4.hpp"
  132. # include "./gtx/simd_mat4.hpp"
  133. #endif
  134. #include "./virtrev/xstream.hpp"
  135. //const float goldenRatio = 1.618033988749894848f;
  136. //const float pi = 3.141592653589793238f;
  137. #endif //glm_ext