45 #include "../detail/type_vec1.hpp"
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTC_vec1 extension included")
71 typedef highp_dvec1_t highp_dvec1;
76 typedef mediump_dvec1_t mediump_dvec1;
81 typedef lowp_dvec1_t lowp_dvec1;
86 typedef highp_ivec1_t highp_ivec1;
91 typedef mediump_ivec1_t mediump_ivec1;
96 typedef lowp_ivec1_t lowp_ivec1;
101 typedef highp_uvec1_t highp_uvec1;
106 typedef mediump_uvec1_t mediump_uvec1;
111 typedef lowp_uvec1_t lowp_uvec1;
116 typedef highp_bvec1_t highp_bvec1;
121 typedef mediump_bvec1_t mediump_bvec1;
126 typedef lowp_bvec1_t lowp_bvec1;
131 #if(defined(GLM_PRECISION_HIGHP_BOOL))
132 typedef highp_bvec1 bvec1;
133 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
134 typedef mediump_bvec1 bvec1;
135 #elif(defined(GLM_PRECISION_LOWP_BOOL))
136 typedef lowp_bvec1 bvec1;
138 typedef highp_bvec1 bvec1;
141 #endif//GLM_PRECISION
143 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
144 typedef highp_vec1 vec1;
145 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
146 typedef mediump_vec1 vec1;
147 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
148 typedef lowp_vec1 vec1;
150 typedef highp_vec1 vec1;
153 #endif//GLM_PRECISION
155 #if(defined(GLM_PRECISION_HIGHP_DOUBLE))
156 typedef highp_dvec1 dvec1;
157 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
158 typedef mediump_dvec1 dvec1;
159 #elif(defined(GLM_PRECISION_LOWP_DOUBLE))
160 typedef lowp_dvec1 dvec1;
162 typedef highp_dvec1 dvec1;
165 #endif//GLM_PRECISION
167 #if(defined(GLM_PRECISION_HIGHP_INT))
168 typedef highp_ivec1 ivec1;
169 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
170 typedef mediump_ivec1 ivec1;
171 #elif(defined(GLM_PRECISION_LOWP_INT))
172 typedef lowp_ivec1 ivec1;
174 typedef highp_ivec1 ivec1;
177 #endif//GLM_PRECISION
179 #if(defined(GLM_PRECISION_HIGHP_UINT))
180 typedef highp_uvec1 uvec1;
181 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
182 typedef mediump_uvec1 uvec1;
183 #elif(defined(GLM_PRECISION_LOWP_UINT))
184 typedef lowp_uvec1 uvec1;
186 typedef highp_uvec1 uvec1;
189 #endif//GLM_PRECISION
tvec1< float, highp > highp_vec1
High single-precision floating-point vector of 1 component.
tvec1< float, mediump > mediump_vec1
Medium single-precision floating-point vector of 1 component.
tvec1< float, lowp > lowp_vec1
Low single-precision floating-point vector of 1 component.