vector_ivec4.hpp 609 B

123456789101112131415161718192021222324
  1. /// @ref core
  2. /// @file glm/ivec4.hpp
  3. #pragma once
  4. #include "../detail/type_vec4.hpp"
  5. namespace glm
  6. {
  7. /// @addtogroup core
  8. /// @{
  9. # if(defined(GLM_PRECISION_LOWP_INT))
  10. typedef vec<4, int, lowp> ivec4;
  11. # elif(defined(GLM_PRECISION_MEDIUMP_INT))
  12. typedef vec<4, int, mediump> ivec4;
  13. # else //defined(GLM_PRECISION_HIGHP_INT)
  14. /// 4 components vector of signed integer 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.5 Vectors</a>
  17. typedef vec<4, int, highp> ivec4;
  18. # endif//GLM_PRECISION
  19. /// @}
  20. }//namespace glm