Lines Matching refs:VecType
79 VecType = class the swizzle is applies to (e.g. tvec3<float>)
86 template <typename ValueType, precision P, typename VecType, int N, int E0, int E1, int E2, int E3, int DUPLICATE_ELEMENTS>
87 struct _swizzle_base2 : public _swizzle_base1<ValueType, P, VecType,E0,E1,E2,E3,N>
89 typedef VecType vec_type;
99 GLM_FUNC_QUALIFIER _swizzle_base2& operator= (const VecType& that)
108 GLM_FUNC_QUALIFIER void operator -= (const VecType& that)
116 GLM_FUNC_QUALIFIER void operator += (const VecType& that)
124 GLM_FUNC_QUALIFIER void operator *= (const VecType& that)
132 GLM_FUNC_QUALIFIER void operator /= (const VecType& that)
158 GLM_FUNC_QUALIFIER void _apply_op(const VecType& that, T op)
172 template <typename ValueType, precision P, typename VecType, int N, int E0, int E1, int E2, int E3>
173 struct _swizzle_base2<ValueType, P, VecType,N,E0,E1,E2,E3,1> : public _swizzle_base1<ValueType, P, VecType,E0,E1,E2,E3,N>
175 typedef VecType vec_type;
191 template <int N,typename ValueType, precision P, typename VecType, int E0,int E1,int E2,int E3>
192 struct _swizzle : public _swizzle_base2<ValueType, P, VecType, N,E0,E1,E2,E3,(E0==E1||E0==E2||E0==E3||E1==E2||E1==E3||E2==E3)>
194 typedef _swizzle_base2<ValueType, P, VecType,N,E0,E1,E2,E3,(E0==E1||E0==E2||E0==E3||E1==E2||E1==E3||E2==E3)> base_type;
198 GLM_FUNC_QUALIFIER operator VecType () const { return (*this)(); }