header.cpp 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. #include <glm/gtc/double_float.hpp>
  2. #include <glm/gtc/half_float.hpp>
  3. #include <glm/gtc/matrix_access.hpp>
  4. #include <glm/gtc/matrix_operation.hpp>
  5. #include <glm/gtc/matrix_projection.hpp>
  6. #include <glm/gtc/matrix_transform.hpp>
  7. #include <glm/gtc/quaternion.hpp>
  8. #include <glm/gtc/type_precision.hpp>
  9. #include <glm/gtx/associated_min_max.hpp>
  10. #include <glm/gtx/bit.hpp>
  11. #include <glm/gtx/closest_point.hpp>
  12. #include <glm/gtx/color_cast.hpp>
  13. #include <glm/gtx/color_space.hpp>
  14. #include <glm/gtx/color_space_YCoCg.hpp>
  15. #include <glm/gtx/comparison.hpp>
  16. #include <glm/gtx/compatibility.hpp>
  17. #include <glm/gtx/component_wise.hpp>
  18. #include <glm/gtx/epsilon.hpp>
  19. #include <glm/gtx/euler_angles.hpp>
  20. #include <glm/gtx/extend.hpp>
  21. #include <glm/gtx/extented_min_max.hpp>
  22. #include <glm/gtx/fast_exponential.hpp>
  23. #include <glm/gtx/fast_square_root.hpp>
  24. #include <glm/gtx/fast_trigonometry.hpp>
  25. #include <glm/gtx/handed_coordinate_space.hpp>
  26. #include <glm/gtx/inertia.hpp>
  27. #include <glm/gtx/integer.hpp>
  28. #include <glm/gtx/intersect.hpp>
  29. #include <glm/gtx/inverse.hpp>
  30. #include <glm/gtx/inverse_transpose.hpp>
  31. #include <glm/gtx/log_base.hpp>
  32. #include <glm/gtx/matrix_access.hpp>
  33. #include <glm/gtx/matrix_cross_product.hpp>
  34. #include <glm/gtx/matrix_major_storage.hpp>
  35. #include <glm/gtx/matrix_projection.hpp>
  36. #include <glm/gtx/matrix_query.hpp>
  37. #include <glm/gtx/matrix_selection.hpp>
  38. #include <glm/gtx/mixed_product.hpp>
  39. #include <glm/gtx/norm.hpp>
  40. #include <glm/gtx/normal.hpp>
  41. #include <glm/gtx/normalize_dot.hpp>
  42. #include <glm/gtx/number_precision.hpp>
  43. #include <glm/gtx/optimum_pow.hpp>
  44. #include <glm/gtx/orthonormalize.hpp>
  45. #include <glm/gtx/perpendicular.hpp>
  46. #include <glm/gtx/polar_coordinates.hpp>
  47. #include <glm/gtx/projection.hpp>
  48. #include <glm/gtx/quaternion.hpp>
  49. #include <glm/gtx/random.hpp>
  50. #include <glm/gtx/raw_data.hpp>
  51. #include <glm/gtx/reciprocal.hpp>
  52. #include <glm/gtx/rotate_vector.hpp>
  53. #include <glm/gtx/spline.hpp>
  54. #include <glm/gtx/std_based_type.hpp>
  55. #include <glm/gtx/string_cast.hpp>
  56. #include <glm/gtx/transform.hpp>
  57. #include <glm/gtx/transform2.hpp>
  58. #include <glm/gtx/type_ptr.hpp>
  59. #include <glm/gtx/unsigned_int.hpp>
  60. #include <glm/gtx/vector_access.hpp>
  61. #include <glm/gtx/vector_angle.hpp>
  62. #include <glm/gtx/vector_query.hpp>
  63. #include <glm/gtx/verbose_operator.hpp>
  64. //#include <glm/virtrev/address.hpp>
  65. //#include <glm/virtrev/equal_operator.hpp>
  66. //#include <glm/virtrev/gl.hpp>
  67. //#include <glm/virtrev/xstream.hpp>
  68. //#ifdef GCC
  69. //template
  70. //<
  71. // std::size_t N,
  72. // typename T,
  73. // template
  74. // <
  75. // std::size_t,
  76. // typename
  77. // > class C
  78. //>
  79. //struct trait
  80. //{
  81. // typedef T value_type;
  82. // typedef std::size_t size_type;
  83. // static size_type const value_size;
  84. //};
  85. //
  86. //template
  87. //<
  88. // std::size_t N,
  89. // typename T,
  90. // template
  91. // <
  92. // std::size_t N2,
  93. // typename T2
  94. // > class C
  95. //>
  96. //typename trait<N, T, C>::size_type const trait<N, T, C>::value_size = N;
  97. //
  98. //template <std::size_t N, typename T>
  99. //struct base : public trait<N, T, base>
  100. //{
  101. // typename trait<N, T, base>::value_type Data[trait<N, T, base>::value_size];
  102. //};
  103. //
  104. //template <typename T>
  105. //struct base<4, T> : public trait<4, T, base>
  106. //{
  107. // value_type Data[value_size];
  108. //};
  109. template <typename T>
  110. struct test
  111. {
  112. struct mem
  113. {
  114. T data;
  115. };
  116. };
  117. #if(defined(GLM_COMPILER) && !(GLM_COMPILER & GLM_COMPILER_VC))
  118. int main()
  119. {
  120. glm::quat q1 = glm::angleAxis(45.f, glm::vec3(0, 0, 1));
  121. }
  122. #endif//(GLM_COMPILER == GLM_COMPILER_VC)
  123. //#endif//GCC