0.9.6
vec1.hpp
Go to the documentation of this file.
1 
37 #pragma once
38 
39 // Dependency:
40 #include "../glm.hpp"
41 #include "../detail/type_vec1.hpp"
42 
43 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
44 # pragma message("GLM: GLM_GTC_vec1 extension included")
45 #endif
46 
47 namespace glm
48 {
52  typedef highp_vec1_t highp_vec1;
53 
57  typedef mediump_vec1_t mediump_vec1;
58 
62  typedef lowp_vec1_t lowp_vec1;
63 
67  typedef highp_dvec1_t highp_dvec1;
68 
72  typedef mediump_dvec1_t mediump_dvec1;
73 
77  typedef lowp_dvec1_t lowp_dvec1;
78 
82  typedef highp_ivec1_t highp_ivec1;
83 
87  typedef mediump_ivec1_t mediump_ivec1;
88 
92  typedef lowp_ivec1_t lowp_ivec1;
93 
97  typedef highp_uvec1_t highp_uvec1;
98 
102  typedef mediump_uvec1_t mediump_uvec1;
103 
107  typedef lowp_uvec1_t lowp_uvec1;
108 
112  typedef highp_bvec1_t highp_bvec1;
113 
117  typedef mediump_bvec1_t mediump_bvec1;
118 
122  typedef lowp_bvec1_t lowp_bvec1;
123 
125  // vec1 definition
126 
127 #if(defined(GLM_PRECISION_HIGHP_BOOL))
128  typedef highp_bvec1 bvec1;
129 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
130  typedef mediump_bvec1 bvec1;
131 #elif(defined(GLM_PRECISION_LOWP_BOOL))
132  typedef lowp_bvec1 bvec1;
133 #else
134  typedef highp_bvec1 bvec1;
137 #endif//GLM_PRECISION
138 
139 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
140  typedef highp_vec1 vec1;
141 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
142  typedef mediump_vec1 vec1;
143 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
144  typedef lowp_vec1 vec1;
145 #else
146  typedef highp_vec1 vec1;
149 #endif//GLM_PRECISION
150 
151 #if(defined(GLM_PRECISION_HIGHP_DOUBLE))
152  typedef highp_dvec1 dvec1;
153 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
154  typedef mediump_dvec1 dvec1;
155 #elif(defined(GLM_PRECISION_LOWP_DOUBLE))
156  typedef lowp_dvec1 dvec1;
157 #else
158  typedef highp_dvec1 dvec1;
161 #endif//GLM_PRECISION
162 
163 #if(defined(GLM_PRECISION_HIGHP_INT))
164  typedef highp_ivec1 ivec1;
165 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
166  typedef mediump_ivec1 ivec1;
167 #elif(defined(GLM_PRECISION_LOWP_INT))
168  typedef lowp_ivec1 ivec1;
169 #else
170  typedef highp_ivec1 ivec1;
173 #endif//GLM_PRECISION
174 
175 #if(defined(GLM_PRECISION_HIGHP_UINT))
176  typedef highp_uvec1 uvec1;
177 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
178  typedef mediump_uvec1 uvec1;
179 #elif(defined(GLM_PRECISION_LOWP_UINT))
180  typedef lowp_uvec1 uvec1;
181 #else
182  typedef highp_uvec1 uvec1;
185 #endif//GLM_PRECISION
186 
187 }// namespace glm
188 
189 #include "vec1.inl"
tvec1< float, lowp > lowp_vec1
Low single-precision floating-point vector of 1 component.
Definition: fwd.hpp:1543
tvec1< float, mediump > mediump_vec1
Medium single-precision floating-point vector of 1 component.
Definition: fwd.hpp:1576
Definition: _noise.hpp:31
tvec1< float, highp > highp_vec1
High single-precision floating-point vector of 1 component.
Definition: fwd.hpp:1609