vector_double4_precision.hpp 1.6 KB

123456789101112131415161718192021222324252627282930313233343536
  1. /// @ref core
  2. /// @file glm/ext/vector_double4_precision.hpp
  3. #pragma once
  4. #include "../detail/setup.hpp"
  5. #include "../detail/type_vec4.hpp"
  6. namespace glm
  7. {
  8. /// @addtogroup core_vector_precision
  9. /// @{
  10. /// 4 components vector of high double-qualifier floating-point numbers.
  11. /// There is no guarantee on the actual qualifier.
  12. ///
  13. /// @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>
  14. /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
  15. typedef vec<4, double, highp> highp_dvec4;
  16. /// 4 components vector of medium double-qualifier floating-point numbers.
  17. /// There is no guarantee on the actual qualifier.
  18. ///
  19. /// @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>
  20. /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
  21. typedef vec<4, double, mediump> mediump_dvec4;
  22. /// 4 components vector of low double-qualifier floating-point numbers.
  23. /// There is no guarantee on the actual qualifier.
  24. ///
  25. /// @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>
  26. /// @see <a href="http://www.opengl.org/registry/doc/GLSLangSpec.4.20.8.pdf">GLSL 4.20.8 specification, section 4.7.2 Precision Qualifier</a>
  27. typedef vec<4, double, lowp> lowp_dvec4;
  28. /// @}
  29. }//namespace glm