matrix_mat3x3.hpp 995 B

12345678910111213141516171819202122232425262728293031
  1. /// @ref core
  2. /// @file glm/matrix_mat3x3.hpp
  3. #pragma once
  4. #include "detail/type_mat3x3.hpp"
  5. namespace glm
  6. {
  7. /// @addtogroup core
  8. /// @{
  9. #if(defined(GLM_PRECISION_LOWP_DOUBLE))
  10. typedef mat<3, 3, float, lowp> mat3x3;
  11. typedef mat<3, 3, float, lowp> mat3;
  12. #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
  13. typedef mat<3, 3, float, mediump> mat3x3;
  14. typedef mat<3, 3, float, mediump> mat3;
  15. #else //defined(GLM_PRECISION_HIGHP_DOUBLE)
  16. /// 3 columns of 3 components matrix of single-precision floating-point numbers.
  17. ///
  18. /// @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>
  19. typedef mat<3, 3, float, highp> mat3x3;
  20. /// 3 columns of 3 components matrix of single-precision floating-point numbers.
  21. ///
  22. /// @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>
  23. typedef mat<3, 3, float, highp> mat3;
  24. #endif
  25. /// @}
  26. }//namespace glm