29 #ifndef glm_core_type_gentype1
30 #define glm_core_type_gentype1
41 template <
typename T>
struct tref1;
42 template <
typename T>
struct tref2;
43 template <
typename T>
struct tref3;
44 template <
typename T>
struct tref4;
45 template <
typename T>
struct tvec1;
46 template <
typename T>
struct tvec2;
47 template <
typename T>
struct tvec3;
48 template <
typename T>
struct tvec4;
65 # if(GLM_COMPONENT == GLM_COMPONENT_ONLY_XYZW)
67 # else//(GLM_COMPONENT == GLM_COMPONENT_GLSL_NAMES)
68 union {value_type
x, r, s;};
69 # endif//GLM_COMPONENT
89 value_type
const & s);
100 template <
typename U>
107 template <
typename U>
110 template <
typename U>
113 template <
typename U>
120 template <
typename U>
123 template <
typename U>
125 template <
typename U>
127 template <
typename U>
129 template <
typename U>
131 template <
typename U>
133 template <
typename U>
135 template <
typename U>
137 template <
typename U>
145 template <
typename U>
147 template <
typename U>
149 template <
typename U>
151 template <
typename U>
153 template <
typename U>
155 template <
typename U>
157 template <
typename U>
159 template <
typename U>
161 template <
typename U>
163 template <
typename U>
165 template <
typename U>
167 template <
typename U>
180 template <
typename T>
208 #ifndef GLM_EXTERNAL_TEMPLATE
210 #endif//GLM_EXTERNAL_TEMPLATE
212 #endif//glm_core_type_gentype1
GLM_FUNC_DECL value_type swizzle(comp X) const
Definition: type_vec1.inl:437
detail::tvec1< highp_int > highp_ivec1_t
Definition: type_vec1.hpp:198
T value_type
Definition: type_vec1.hpp:55
GLM_FUNC_DECL tref1< T > & operator=(tref1< T > const &r)
Definition: type_vec1.inl:909
GLM_FUNC_DECL value_type & operator[](size_type i)
Definition: type_vec1.inl:43
Definition: type_vec1.hpp:53
GLM_FUNC_DECL tvec1< T > & operator*=(U const &s)
GLM_FUNC_DECL tvec1< T > & operator|=(U const &s)
GLM_FUNC_DECL tvec1< T > & operator/=(U const &s)
#define GLM_CONSTEXPR
Definition: _detail.hpp:479
GLM_FUNC_DECL tvec1()
Definition: type_vec1.inl:65
Definition: _detail.hpp:38
Definition: type_mat2x2.hpp:38
T & x
Definition: type_vec1.hpp:190
Definition: type_vec1.hpp:41
detail::tvec1< highp_float > highp_vec1_t
Definition: type_vec1.hpp:195
ctor
Definition: type_vec1.hpp:53
GLM_FUNC_DECL tvec1< T > & operator<<=(U const &s)
GLM_FUNC_DECL tvec1< T > & operator-=(U const &s)
Definition: _swizzle.hpp:43
GLM_FUNC_DECL tvec1< T > & operator--()
Definition: type_vec1.inl:268
tvec1< T > type
Definition: type_vec1.hpp:57
GLM_FUNC_DECL tref1(T &x)
Definition: type_vec1.inl:885
detail::tvec1< highp_uint > highp_uvec1_t
Definition: type_vec1.hpp:201
Definition: type_vec1.hpp:42
detail::tvec1< mediump_float > mediump_vec1_t
Definition: type_vec1.hpp:196
detail::tvec1< lowp_uint > lowp_uvec1_t
Definition: type_vec1.hpp:203
std::size_t size_type
Definition: type_vec1.hpp:56
GLM_FUNC_DECL tvec1< T > & operator>>=(U const &s)
Definition: type_mat2x2.hpp:39
value_type x
Definition: type_vec1.hpp:66
Definition: _swizzle.hpp:44
detail::tvec1< mediump_uint > mediump_uvec1_t
Definition: type_vec1.hpp:202
GLM_FUNC_DECL tvec1< T > & operator&=(U const &s)
GLM_FUNC_DECL tvec1< T > & operator^=(U const &s)
GLM_FUNC_DECL tvec1< T > & operator++()
Definition: type_vec1.inl:261
GLM_FUNC_DECL GLM_CONSTEXPR size_type length() const
Definition: type_vec1.inl:33
Definition: type_mat2x2.hpp:40
Definition: type_vec1.hpp:43
detail::tvec1< mediump_int > mediump_ivec1_t
Definition: type_vec1.hpp:199
Definition: _swizzle.hpp:47
tvec1< bool > bool_type
Definition: type_vec1.hpp:58
GLM_FUNC_DECL tvec1< T > & operator+=(U const &s)
detail::tvec1< lowp_int > lowp_ivec1_t
Definition: type_vec1.hpp:200
GLM_DETAIL_IS_VECTOR(tvec1)
comp
Definition: _swizzle.hpp:36
#define GLM_FUNC_DECL
Definition: setup.hpp:678
GLM_FUNC_DECL tvec1< T > & operator%=(U const &s)
Definition: _swizzle.hpp:38
GLM_FUNC_DECL tvec1< T > & operator=(tvec1< T > const &v)
Definition: type_vec1.inl:153
Definition: _swizzle.hpp:41
detail::tvec1< lowp_float > lowp_vec1_t
Definition: type_vec1.hpp:197
Definition: type_mat2x2.hpp:37
Definition: type_vec1.hpp:44