17 #include "../detail/type_vec1.hpp"
19 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
20 # pragma message("GLM: GLM_GTC_vec1 extension included")
28 typedef highp_vec1_t highp_vec1;
33 typedef mediump_vec1_t mediump_vec1;
38 typedef lowp_vec1_t lowp_vec1;
43 typedef highp_dvec1_t highp_dvec1;
48 typedef mediump_dvec1_t mediump_dvec1;
53 typedef lowp_dvec1_t lowp_dvec1;
58 typedef highp_ivec1_t highp_ivec1;
63 typedef mediump_ivec1_t mediump_ivec1;
68 typedef lowp_ivec1_t lowp_ivec1;
73 typedef highp_uvec1_t highp_uvec1;
78 typedef mediump_uvec1_t mediump_uvec1;
83 typedef lowp_uvec1_t lowp_uvec1;
88 typedef highp_bvec1_t highp_bvec1;
93 typedef mediump_bvec1_t mediump_bvec1;
98 typedef lowp_bvec1_t lowp_bvec1;
103 #if(defined(GLM_PRECISION_HIGHP_BOOL))
104 typedef highp_bvec1 bvec1;
105 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
106 typedef mediump_bvec1 bvec1;
107 #elif(defined(GLM_PRECISION_LOWP_BOOL))
108 typedef lowp_bvec1 bvec1;
110 typedef highp_bvec1 bvec1;
113 #endif//GLM_PRECISION
115 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
116 typedef highp_vec1 vec1;
117 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
118 typedef mediump_vec1 vec1;
119 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
120 typedef lowp_vec1 vec1;
122 typedef highp_vec1 vec1;
125 #endif//GLM_PRECISION
127 #if(defined(GLM_PRECISION_HIGHP_DOUBLE))
128 typedef highp_dvec1 dvec1;
129 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
130 typedef mediump_dvec1 dvec1;
131 #elif(defined(GLM_PRECISION_LOWP_DOUBLE))
132 typedef lowp_dvec1 dvec1;
134 typedef highp_dvec1 dvec1;
137 #endif//GLM_PRECISION
139 #if(defined(GLM_PRECISION_HIGHP_INT))
140 typedef highp_ivec1 ivec1;
141 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
142 typedef mediump_ivec1 ivec1;
143 #elif(defined(GLM_PRECISION_LOWP_INT))
144 typedef lowp_ivec1 ivec1;
146 typedef highp_ivec1 ivec1;
149 #endif//GLM_PRECISION
151 #if(defined(GLM_PRECISION_HIGHP_UINT))
152 typedef highp_uvec1 uvec1;
153 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
154 typedef mediump_uvec1 uvec1;
155 #elif(defined(GLM_PRECISION_LOWP_UINT))
156 typedef lowp_uvec1 uvec1;
158 typedef highp_uvec1 uvec1;
161 #endif//GLM_PRECISION