GLM  0.9.5
vec1.hpp
Go to the documentation of this file.
1 
37 #ifndef GLM_GTX_vec1
38 #define GLM_GTX_vec1
39 
40 // Dependency:
41 #include "../glm.hpp"
42 #include "../detail/type_vec1.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
45 # pragma message("GLM: GLM_GTX_vec1 extension included")
46 #endif
47 
48 namespace glm
49 {
53  typedef highp_vec1_t highp_vec1;
54 
58  typedef mediump_vec1_t mediump_vec1;
59 
63  typedef lowp_vec1_t lowp_vec1;
64 
68  typedef highp_ivec1_t highp_ivec1;
69 
73  typedef mediump_ivec1_t mediump_ivec1;
74 
78  typedef lowp_ivec1_t lowp_ivec1;
79 
83  typedef highp_uvec1_t highp_uvec1;
84 
88  typedef mediump_uvec1_t mediump_uvec1;
89 
93  typedef lowp_uvec1_t lowp_uvec1;
94 
98  typedef highp_bvec1_t highp_bvec1;
99 
103  typedef mediump_bvec1_t mediump_bvec1;
104 
108  typedef lowp_bvec1_t lowp_bvec1;
109 
111  // vec1 definition
112 
113 #if(defined(GLM_PRECISION_HIGHP_BOOL))
114  typedef highp_bvec1 bvec1;
115 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
116  typedef mediump_bvec1 bvec1;
117 #elif(defined(GLM_PRECISION_LOWP_BOOL))
118  typedef lowp_bvec1 bvec1;
119 #else
120  typedef highp_bvec1 bvec1;
123 #endif//GLM_PRECISION
124 
125 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
126  typedef highp_vec1 vec1;
127 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
128  typedef mediump_vec1 vec1;
129 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
130  typedef lowp_vec1 vec1;
131 #else
132  typedef highp_vec1 vec1;
135 #endif//GLM_PRECISION
136 
137 #if(defined(GLM_PRECISION_HIGHP_INT))
138  typedef highp_ivec1 ivec1;
139 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
140  typedef mediump_ivec1 ivec1;
141 #elif(defined(GLM_PRECISION_LOWP_INT))
142  typedef lowp_ivec1 ivec1;
143 #else
144  typedef highp_ivec1 ivec1;
147 #endif//GLM_PRECISION
148 
149 #if(defined(GLM_PRECISION_HIGHP_UINT))
150  typedef highp_uvec1 uvec1;
151 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
152  typedef mediump_uvec1 uvec1;
153 #elif(defined(GLM_PRECISION_LOWP_UINT))
154  typedef lowp_uvec1 uvec1;
155 #else
156  typedef highp_uvec1 uvec1;
159 #endif//GLM_PRECISION
160 
161 }// namespace glm
162 
163 #include "vec1.inl"
164 
165 #endif//GLM_GTX_vec1
166 
lowp_uvec1_t lowp_uvec1
1 component vector of low precision unsigned integer numbers.
Definition: vec1.hpp:93
mediump_uvec1_t mediump_uvec1
1 component vector of medium precision unsigned integer numbers.
Definition: vec1.hpp:88
detail::tvec1< float, highp > highp_vec1
High single-precision floating-point vector of 1 component.
Definition: fwd.hpp:1601
highp_ivec1 ivec1
1 component vector of signed integer numbers.
Definition: vec1.hpp:146
highp_ivec1_t highp_ivec1
1 component vector of high precision signed integer numbers.
Definition: vec1.hpp:68
detail::tvec1< float, mediump > mediump_vec1
Medium single-precision floating-point vector of 1 component.
Definition: fwd.hpp:1567
detail::tvec1< float, lowp > lowp_vec1
Low single-precision floating-point vector of 1 component.
Definition: fwd.hpp:1533
highp_uvec1_t highp_uvec1
1 component vector of high precision unsigned integer numbers.
Definition: vec1.hpp:83
highp_vec1 vec1
1 component vector of floating-point numbers.
Definition: vec1.hpp:134
highp_bvec1 bvec1
1 component vector of boolean.
Definition: vec1.hpp:122
mediump_bvec1_t mediump_bvec1
1 component vector of medium precision boolean.
Definition: vec1.hpp:103
mediump_ivec1_t mediump_ivec1
1 component vector of medium precision signed integer numbers.
Definition: vec1.hpp:73
highp_uvec1 uvec1
1 component vector of unsigned integer numbers.
Definition: vec1.hpp:158
lowp_ivec1_t lowp_ivec1
1 component vector of low precision signed integer numbers.
Definition: vec1.hpp:78
highp_bvec1_t highp_bvec1
1 component vector of high precision boolean.
Definition: vec1.hpp:98
lowp_bvec1_t lowp_bvec1
1 component vector of low precision boolean.
Definition: vec1.hpp:108