0.9.8
vec1.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 
14 // Dependency:
15 #include "../glm.hpp"
16 #include "../detail/type_vec1.hpp"
17 
18 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
19 # pragma message("GLM: GLM_GTC_vec1 extension included")
20 #endif
21 
22 namespace glm
23 {
27  typedef highp_vec1_t highp_vec1;
28 
32  typedef mediump_vec1_t mediump_vec1;
33 
37  typedef lowp_vec1_t lowp_vec1;
38 
42  typedef highp_dvec1_t highp_dvec1;
43 
47  typedef mediump_dvec1_t mediump_dvec1;
48 
52  typedef lowp_dvec1_t lowp_dvec1;
53 
57  typedef highp_ivec1_t highp_ivec1;
58 
62  typedef mediump_ivec1_t mediump_ivec1;
63 
67  typedef lowp_ivec1_t lowp_ivec1;
68 
72  typedef highp_uvec1_t highp_uvec1;
73 
77  typedef mediump_uvec1_t mediump_uvec1;
78 
82  typedef lowp_uvec1_t lowp_uvec1;
83 
87  typedef highp_bvec1_t highp_bvec1;
88 
92  typedef mediump_bvec1_t mediump_bvec1;
93 
97  typedef lowp_bvec1_t lowp_bvec1;
98 
100  // vec1 definition
101 
102 #if(defined(GLM_PRECISION_HIGHP_BOOL))
103  typedef highp_bvec1 bvec1;
104 #elif(defined(GLM_PRECISION_MEDIUMP_BOOL))
105  typedef mediump_bvec1 bvec1;
106 #elif(defined(GLM_PRECISION_LOWP_BOOL))
107  typedef lowp_bvec1 bvec1;
108 #else
109  typedef highp_bvec1 bvec1;
112 #endif//GLM_PRECISION
113 
114 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
115  typedef highp_vec1 vec1;
116 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
117  typedef mediump_vec1 vec1;
118 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
119  typedef lowp_vec1 vec1;
120 #else
121  typedef highp_vec1 vec1;
124 #endif//GLM_PRECISION
125 
126 #if(defined(GLM_PRECISION_HIGHP_DOUBLE))
127  typedef highp_dvec1 dvec1;
128 #elif(defined(GLM_PRECISION_MEDIUMP_DOUBLE))
129  typedef mediump_dvec1 dvec1;
130 #elif(defined(GLM_PRECISION_LOWP_DOUBLE))
131  typedef lowp_dvec1 dvec1;
132 #else
133  typedef highp_dvec1 dvec1;
136 #endif//GLM_PRECISION
137 
138 #if(defined(GLM_PRECISION_HIGHP_INT))
139  typedef highp_ivec1 ivec1;
140 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
141  typedef mediump_ivec1 ivec1;
142 #elif(defined(GLM_PRECISION_LOWP_INT))
143  typedef lowp_ivec1 ivec1;
144 #else
145  typedef highp_ivec1 ivec1;
148 #endif//GLM_PRECISION
149 
150 #if(defined(GLM_PRECISION_HIGHP_UINT))
151  typedef highp_uvec1 uvec1;
152 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
153  typedef mediump_uvec1 uvec1;
154 #elif(defined(GLM_PRECISION_LOWP_UINT))
155  typedef lowp_uvec1 uvec1;
156 #else
157  typedef highp_uvec1 uvec1;
160 #endif//GLM_PRECISION
161 
162 }// namespace glm
163 
164 #include "vec1.inl"
Definition: _noise.hpp:11