Flow Visualisation
vec1.hpp
Go to the documentation of this file.
1 
37 #ifndef GLM_GTX_vec1
38 #define GLM_GTX_vec1 GLM_VERSION
39 
40 // Dependency:
41 #include "../glm.hpp"
42 #include "../core/type_vec1.hpp"
43 
44 #if(defined(GLM_MESSAGES) && !defined(glm_ext))
45 # pragma message("GLM: GLM_GTX_vec1 extension included")
46 #endif
47 
48 namespace glm
49 {
62 
75 
88 
90  // vec1 definition
91 
95 
96 #if(defined(GLM_PRECISION_HIGHP_FLOAT))
97  typedef highp_vec1 vec1;
98 #elif(defined(GLM_PRECISION_MEDIUMP_FLOAT))
99  typedef mediump_vec1 vec1;
100 #elif(defined(GLM_PRECISION_LOWP_FLOAT))
101  typedef lowp_vec1 vec1;
102 #else
103  typedef mediump_vec1 vec1;
106 #endif//GLM_PRECISION
107 
108 #if(defined(GLM_PRECISION_HIGHP_INT))
109  typedef highp_ivec1 ivec1;
110 #elif(defined(GLM_PRECISION_MEDIUMP_INT))
111  typedef mediump_ivec1 ivec1;
112 #elif(defined(GLM_PRECISION_LOWP_INT))
113  typedef lowp_ivec1 ivec1;
114 #else
115  typedef mediump_ivec1 ivec1;
118 #endif//GLM_PRECISION
119 
120 #if(defined(GLM_PRECISION_HIGHP_UINT))
121  typedef highp_uvec1 uvec1;
122 #elif(defined(GLM_PRECISION_MEDIUMP_UINT))
123  typedef mediump_uvec1 uvec1;
124 #elif(defined(GLM_PRECISION_LOWP_UINT))
125  typedef lowp_uvec1 uvec1;
126 #else
127  typedef mediump_uvec1 uvec1;
130 #endif//GLM_PRECISION
131 
132 }// namespace glm
133 
134 #include "vec1.inl"
135 
136 #endif//GLM_GTX_vec1
137 
mediump_ivec1 ivec1
Definition: vec1.hpp:117
Definition: _detail.hpp:38
detail::highp_vec1_t highp_vec1
Definition: vec1.hpp:53
mediump_vec1 vec1
Definition: vec1.hpp:105
mediump_uvec1 uvec1
Definition: vec1.hpp:129
detail::mediump_ivec1_t mediump_ivec1
Definition: vec1.hpp:70
detail::lowp_ivec1_t lowp_ivec1
Definition: vec1.hpp:74
detail::highp_ivec1_t highp_ivec1
Definition: vec1.hpp:66
detail::lowp_vec1_t lowp_vec1
Definition: vec1.hpp:61
detail::tvec1< bool > bvec1
Definition: vec1.hpp:94
detail::mediump_vec1_t mediump_vec1
Definition: vec1.hpp:57
detail::highp_uvec1_t highp_uvec1
Definition: vec1.hpp:79
detail::mediump_uvec1_t mediump_uvec1
Definition: vec1.hpp:83
Definition: type_mat2x2.hpp:37
detail::lowp_uvec1_t lowp_uvec1
Definition: vec1.hpp:87