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;
56 typedef std::size_t size_type;
57 GLM_FUNC_DECL size_type length()
const;
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 74 GLM_FUNC_DECL value_type & operator[](size_type i);
75 GLM_FUNC_DECL value_type
const & operator[](size_type i)
const;
80 GLM_FUNC_DECL
tvec1();
86 GLM_FUNC_DECL
explicit tvec1(
88 GLM_FUNC_DECL
explicit tvec1(
89 value_type
const & s);
100 template <
typename U>
101 GLM_FUNC_DECL
explicit tvec1(U
const & s);
107 template <
typename U>
110 template <
typename U>
113 template <
typename U>
120 template <
typename U>
123 template <
typename U>
124 GLM_FUNC_DECL
tvec1<T> & operator+=(U
const & s);
125 template <
typename U>
127 template <
typename U>
128 GLM_FUNC_DECL
tvec1<T> & operator-=(U
const & s);
129 template <
typename U>
131 template <
typename U>
132 GLM_FUNC_DECL
tvec1<T> & operator*=(U
const & s);
133 template <
typename U>
135 template <
typename U>
136 GLM_FUNC_DECL
tvec1<T> & operator/=(U
const & s);
137 template <
typename U>
139 GLM_FUNC_DECL
tvec1<T> & operator++();
140 GLM_FUNC_DECL
tvec1<T> & operator--();
145 template <
typename U>
146 GLM_FUNC_DECL
tvec1<T> & operator%=(U
const & s);
147 template <
typename U>
149 template <
typename U>
150 GLM_FUNC_DECL
tvec1<T> & operator&=(U
const & s);
151 template <
typename U>
153 template <
typename U>
154 GLM_FUNC_DECL
tvec1<T> & operator|=(U
const & s);
155 template <
typename U>
157 template <
typename U>
158 GLM_FUNC_DECL
tvec1<T> & operator^=(U
const & s);
159 template <
typename U>
161 template <
typename U>
162 GLM_FUNC_DECL
tvec1<T> & operator<<=(U
const & s);
163 template <
typename U>
164 GLM_FUNC_DECL
tvec1<T> & operator<<=(tvec1<U>
const & v);
165 template <
typename U>
166 GLM_FUNC_DECL
tvec1<T> & operator>>=(U
const & s);
167 template <
typename U>
173 GLM_FUNC_DECL value_type
swizzle(comp X)
const;
180 template <
typename T>
183 GLM_FUNC_DECL
tref1(T & x);
193 GLM_DETAIL_IS_VECTOR(
tvec1);
208 #ifndef GLM_EXTERNAL_TEMPLATE 210 #endif//GLM_EXTERNAL_TEMPLATE 212 #endif//glm_core_type_gentype1 OpenGL Mathematics (glm.g-truc.net)
Definition: _swizzle.hpp:204
Definition: _detail.hpp:38
Definition: type_mat2x2.hpp:38
Definition: type_vec1.hpp:41
OpenGL Mathematics (glm.g-truc.net)
Definition: type_vec1.hpp:42
Definition: type_mat2x2.hpp:39
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
OpenGL Mathematics (glm.g-truc.net)
Definition: _detail.hpp:325
Definition: type_mat2x2.hpp:40
Definition: type_vec1.hpp:43
Definition: type_mat2x2.hpp:37
Definition: type_vec1.hpp:44