matrix_float4x2.hpp 658 B

123456789101112131415161718192021222324
  1. /// @ref core
  2. /// @file glm/ext/matrix_float4x2.hpp
  3. #pragma once
  4. #include "../detail/type_mat4x2.hpp"
  5. namespace glm
  6. {
  7. /// @addtogroup core
  8. /// @{
  9. #if(defined(GLM_PRECISION_LOWP_FLOAT))
  10. typedef mat<4, 2, float, lowp> mat4x2;
  11. #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
  12. typedef mat<4, 2, float, mediump> mat4x2;
  13. #else //defined(GLM_PRECISION_HIGHP_FLOAT)
  14. /// 4 columns of 2 components matrix of single-precision floating-point numbers.
  15. ///
  16. /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.1.6 Matrices</a>
  17. typedef mat<4, 2, float, highp> mat4x2;
  18. #endif
  19. /// @}
  20. }//namespace glm