0.9.7
vec1.hpp
Go to the documentation of this file.
1 
41 #pragma once
42 
43 // Dependency:
44 #include "../glm.hpp"
45 #include "../detail/type_vec1.hpp"
46 
47 #if(defined(GLM_MESSAGES) && !defined(GLM_EXT_INCLUDED))
48 # pragma message("GLM: GLM_GTC_vec1 extension included")
49 #endif
50 
51 namespace glm
52 {
56  typedef highp_vec1_t highp_vec1;
57 
61  typedef mediump_vec1_t mediump_vec1;
62 
66  typedef lowp_vec1_t lowp_vec1;
67 
71  typedef highp_dvec1_t highp_dvec1;
72 
76  typedef mediump_dvec1_t mediump_dvec1;
77 
81  typedef lowp_dvec1_t lowp_dvec1;
82 
86  typedef highp_ivec1_t highp_ivec1;
87 
91  typedef mediump_ivec1_t mediump_ivec1;
92 
96  typedef lowp_ivec1_t lowp_ivec1;
97 
101  typedef highp_uvec1_t highp_uvec1;
102 
106  typedef mediump_uvec1_t mediump_uvec1;
107 
111  typedef lowp_uvec1_t lowp_uvec1;
112 
116  typedef highp_bvec1_t highp_bvec1;
117 
121  typedef mediump_bvec1_t mediump_bvec1;
122 
126  typedef lowp_bvec1_t lowp_bvec1;
127 
129  // vec1 definition
130 
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;
137 #else
138  typedef highp_bvec1 bvec1;
141 #endif//GLM_PRECISION
142 
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;
149 #else
150  typedef highp_vec1 vec1;
153 #endif//GLM_PRECISION
154 
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;
161 #else
162  typedef highp_dvec1 dvec1;
165 #endif//GLM_PRECISION
166 
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;
173 #else
174  typedef highp_ivec1 ivec1;
177 #endif//GLM_PRECISION
178 
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;
185 #else
186  typedef highp_uvec1 uvec1;
189 #endif//GLM_PRECISION
190 
191 }// namespace glm
192 
193 #include "vec1.inl"
Definition: _noise.hpp:40