1.5 KB、35行 生 Blame 履歴
1/// @ref core
2/// @file glm/ext/vector_double4_precision.hpp
3
4#pragma once
5#include "../detail/setup.hpp"
6#include "../detail/type_vec4.hpp"
7
8namespace glm
9{
10 /// @addtogroup core_vector_precision
11 /// @{
12
13 /// 4 components vector of high double-qualifier floating-point numbers.
14 /// There is no guarantee on the actual qualifier.
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 /// @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>
18 typedef vec<4, double, highp> highp_dvec4;
19
20 /// 4 components vector of medium double-qualifier floating-point numbers.
21 /// There is no guarantee on the actual qualifier.
22 ///
23 /// @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>
24 /// @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>
25 typedef vec<4, double, mediump> mediump_dvec4;
26
27 /// 4 components vector of low double-qualifier floating-point numbers.
28 /// There is no guarantee on the actual qualifier.
29 ///
30 /// @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>
31 /// @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>
32 typedef vec<4, double, lowp> lowp_dvec4;
33
34 /// @}
35}//namespace glm