glm_core.cpp 4.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170
  1. //
  2. // GLM External templates generator script version 0.1 for GLM core
  3. //
  4. // atomic types: ['unsigned char', 'unsigned short', 'unsigned int', 'signed char', 'signed short', 'signed int', 'float', 'double']
  5. // GLSL vector types: ['tvec2', 'tvec3', 'tvec4']
  6. // GLSL matrix types: ['tmat2x2', 'tmat2x3', 'tmat2x4', 'tmat3x2', 'tmat3x3', 'tmat3x4', 'tmat4x2', 'tmat4x3', 'tmat4x4']
  7. //
  8. #include <glm/glm.hpp>
  9. namespace glm {
  10. namespace detail {
  11. //
  12. // tvec2 type explicit instantiation
  13. //
  14. template struct tvec2<unsigned char>;
  15. template struct tvec2<unsigned short>;
  16. template struct tvec2<unsigned int>;
  17. template struct tvec2<signed char>;
  18. template struct tvec2<signed short>;
  19. template struct tvec2<signed int>;
  20. template struct tvec2<float>;
  21. template struct tvec2<double>;
  22. //
  23. // tvec3 type explicit instantiation
  24. //
  25. template struct tvec3<unsigned char>;
  26. template struct tvec3<unsigned short>;
  27. template struct tvec3<unsigned int>;
  28. template struct tvec3<signed char>;
  29. template struct tvec3<signed short>;
  30. template struct tvec3<signed int>;
  31. template struct tvec3<float>;
  32. template struct tvec3<double>;
  33. //
  34. // tvec4 type explicit instantiation
  35. //
  36. template struct tvec4<unsigned char>;
  37. template struct tvec4<unsigned short>;
  38. template struct tvec4<unsigned int>;
  39. template struct tvec4<signed char>;
  40. template struct tvec4<signed short>;
  41. template struct tvec4<signed int>;
  42. template struct tvec4<float>;
  43. template struct tvec4<double>;
  44. //
  45. // tmat2x2 type explicit instantiation
  46. //
  47. template struct tmat2x2<unsigned char>;
  48. template struct tmat2x2<unsigned short>;
  49. template struct tmat2x2<unsigned int>;
  50. template struct tmat2x2<signed char>;
  51. template struct tmat2x2<signed short>;
  52. template struct tmat2x2<signed int>;
  53. template struct tmat2x2<float>;
  54. template struct tmat2x2<double>;
  55. //
  56. // tmat2x3 type explicit instantiation
  57. //
  58. template struct tmat2x3<unsigned char>;
  59. template struct tmat2x3<unsigned short>;
  60. template struct tmat2x3<unsigned int>;
  61. template struct tmat2x3<signed char>;
  62. template struct tmat2x3<signed short>;
  63. template struct tmat2x3<signed int>;
  64. template struct tmat2x3<float>;
  65. template struct tmat2x3<double>;
  66. //
  67. // tmat2x4 type explicit instantiation
  68. //
  69. template struct tmat2x4<unsigned char>;
  70. template struct tmat2x4<unsigned short>;
  71. template struct tmat2x4<unsigned int>;
  72. template struct tmat2x4<signed char>;
  73. template struct tmat2x4<signed short>;
  74. template struct tmat2x4<signed int>;
  75. template struct tmat2x4<float>;
  76. template struct tmat2x4<double>;
  77. //
  78. // tmat3x2 type explicit instantiation
  79. //
  80. template struct tmat3x2<unsigned char>;
  81. template struct tmat3x2<unsigned short>;
  82. template struct tmat3x2<unsigned int>;
  83. template struct tmat3x2<signed char>;
  84. template struct tmat3x2<signed short>;
  85. template struct tmat3x2<signed int>;
  86. template struct tmat3x2<float>;
  87. template struct tmat3x2<double>;
  88. //
  89. // tmat3x3 type explicit instantiation
  90. //
  91. template struct tmat3x3<unsigned char>;
  92. template struct tmat3x3<unsigned short>;
  93. template struct tmat3x3<unsigned int>;
  94. template struct tmat3x3<signed char>;
  95. template struct tmat3x3<signed short>;
  96. template struct tmat3x3<signed int>;
  97. template struct tmat3x3<float>;
  98. template struct tmat3x3<double>;
  99. //
  100. // tmat3x4 type explicit instantiation
  101. //
  102. template struct tmat3x4<unsigned char>;
  103. template struct tmat3x4<unsigned short>;
  104. template struct tmat3x4<unsigned int>;
  105. template struct tmat3x4<signed char>;
  106. template struct tmat3x4<signed short>;
  107. template struct tmat3x4<signed int>;
  108. template struct tmat3x4<float>;
  109. template struct tmat3x4<double>;
  110. //
  111. // tmat4x2 type explicit instantiation
  112. //
  113. template struct tmat4x2<unsigned char>;
  114. template struct tmat4x2<unsigned short>;
  115. template struct tmat4x2<unsigned int>;
  116. template struct tmat4x2<signed char>;
  117. template struct tmat4x2<signed short>;
  118. template struct tmat4x2<signed int>;
  119. template struct tmat4x2<float>;
  120. template struct tmat4x2<double>;
  121. //
  122. // tmat4x3 type explicit instantiation
  123. //
  124. template struct tmat4x3<unsigned char>;
  125. template struct tmat4x3<unsigned short>;
  126. template struct tmat4x3<unsigned int>;
  127. template struct tmat4x3<signed char>;
  128. template struct tmat4x3<signed short>;
  129. template struct tmat4x3<signed int>;
  130. template struct tmat4x3<float>;
  131. template struct tmat4x3<double>;
  132. //
  133. // tmat4x4 type explicit instantiation
  134. //
  135. template struct tmat4x4<unsigned char>;
  136. template struct tmat4x4<unsigned short>;
  137. template struct tmat4x4<unsigned int>;
  138. template struct tmat4x4<signed char>;
  139. template struct tmat4x4<signed short>;
  140. template struct tmat4x4<signed int>;
  141. template struct tmat4x4<float>;
  142. template struct tmat4x4<double>;
  143. } // namespace detail
  144. } // namespace glm