1.4 KB、31行 生 Blame 履歴
1/// @ref core
2/// @file glm/ext/vector_float3_precision.hpp
3
4#pragma once
5#include "../detail/type_vec3.hpp"
6
7namespace glm
8{
9 /// @addtogroup core_vector_precision
10 /// @{
11
12 /// 3 components vector of high single-qualifier floating-point numbers.
13 ///
14 /// @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>
15 /// @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>
16 typedef vec<3, float, highp> highp_vec3;
17
18 /// 3 components vector of medium single-qualifier floating-point numbers.
19 ///
20 /// @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>
21 /// @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>
22 typedef vec<3, float, mediump> mediump_vec3;
23
24 /// 3 components vector of low single-qualifier floating-point numbers.
25 ///
26 /// @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>
27 /// @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>
28 typedef vec<3, float, lowp> lowp_vec3;
29
30 /// @}
31}//namespace glm