PSMoveService
Public Types | Public Member Functions | Public Attributes | List of all members
glm::detail::tvec2< T > Struct Template Reference

Public Types

enum  ctor { null }
 
typedef T value_type
 
typedef std::size_t size_type
 
typedef tvec2< T > type
 
typedef tvec2< bool > bool_type
 

Public Member Functions

GLM_FUNC_DECL size_type length () const
 
GLM_FUNC_DECL value_type & operator[] (size_type i)
 
GLM_FUNC_DECL value_type const & operator[] (size_type i) const
 
GLM_FUNC_DECL tvec2 (tvec2< T > const &v)
 
GLM_FUNC_DECL tvec2 (ctor)
 
GLM_FUNC_DECL tvec2 (value_type const &s)
 
GLM_FUNC_DECL tvec2 (value_type const &s1, value_type const &s2)
 
 tvec2 (tref2< T > const &r)
 
template<int E0, int E1>
GLM_FUNC_DECL tvec2 (const glm::detail::swizzle< 2, T, tvec2< T >, E0, E1,-1,-2 > &that)
 
template<typename U >
GLM_FUNC_DECL tvec2 (U const &x)
 Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename U , typename V >
GLM_FUNC_DECL tvec2 (U const &x, V const &y)
 Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename U >
GLM_FUNC_DECL tvec2 (tvec2< U > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename U >
GLM_FUNC_DECL tvec2 (tvec3< U > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename U >
GLM_FUNC_DECL tvec2 (tvec4< U > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
GLM_FUNC_DECL tvec2< T > & operator= (tvec2< T > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator+= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator+= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator-= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator-= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator*= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator*= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator/= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator/= (tvec2< U > const &v)
 
GLM_FUNC_DECL tvec2< T > & operator++ ()
 
GLM_FUNC_DECL tvec2< T > & operator-- ()
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator%= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator%= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator &= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator &= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator|= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator|= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator^= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator^= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator<<= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator<<= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator>>= (U const &s)
 
template<typename U >
GLM_FUNC_DECL tvec2< T > & operator>>= (tvec2< U > const &v)
 
GLM_FUNC_DECL value_type swizzle (comp X) const
 
GLM_FUNC_DECL tvec2< T > swizzle (comp X, comp Y) const
 
GLM_FUNC_DECL tvec3< T > swizzle (comp X, comp Y, comp Z) const
 
GLM_FUNC_DECL tvec4< T > swizzle (comp X, comp Y, comp Z, comp W) const
 
GLM_FUNC_DECL tref2< T > swizzle (comp X, comp Y)
 
template<typename U>
GLM_FUNC_QUALIFIER tvec2 (U const &x)
 
template<typename U, typename V>
GLM_FUNC_QUALIFIER tvec2 (U const &a, V const &b)
 
template<typename U>
GLM_FUNC_QUALIFIER tvec2 (tvec2< U > const &v)
 
template<typename U>
GLM_FUNC_QUALIFIER tvec2 (tvec3< U > const &v)
 
template<typename U>
GLM_FUNC_QUALIFIER tvec2 (tvec4< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator+= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator+= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator-= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator-= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator*= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator*= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator/= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator/= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator%= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator%= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator|= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator|= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator^= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator^= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator<<= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator<<= (tvec2< U > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator>>= (U const &s)
 
template<typename U >
GLM_FUNC_QUALIFIER tvec2< T > & operator>>= (tvec2< U > const &v)
 

Public Attributes

value_type x
 
value_type y
 

The documentation for this struct was generated from the following files: