FlukyEngine
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
glm::vec< 2, T, Q > Struct Template Reference
Collaboration diagram for glm::vec< 2, T, Q >:
Collaboration graph
[legend]

Public Types

typedef T value_type
 
typedef vec< 2, T, Q > type
 
typedef vec< 2, bool, Q > bool_type
 
typedef length_t length_type
 Return the count of components of the vector.
 

Public Member Functions

GLM_FUNC_DECL GLM_CONSTEXPR T & operator[] (length_type i)
 
GLM_FUNC_DECL GLM_CONSTEXPR T const & operator[] (length_type i) const
 
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec const &v) GLM_DEFAULT
 
template<qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 2, T, P > const &v)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec (T scalar)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec (T x, T y)
 
template<typename U , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, U, P > const &v)
 
template<typename A , typename B >
GLM_FUNC_DECL GLM_CONSTEXPR vec (A x, B y)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename A , typename B >
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, A, Q > const &x, B y)
 
template<typename A , typename B >
GLM_FUNC_DECL GLM_CONSTEXPR vec (A x, vec< 1, B, Q > const &y)
 
template<typename A , typename B >
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, A, Q > const &x, vec< 1, B, Q > const &y)
 
template<typename U , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec (vec< 3, U, P > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename U , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec (vec< 4, U, P > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename U , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR GLM_EXPLICIT vec (vec< 2, U, P > const &v)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator= (vec const &v) GLM_DEFAULT
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator+= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator+= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator+= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator-= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator-= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator-= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator*= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator*= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator*= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator/= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator/= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator/= (vec< 2, U, Q > const &v)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator++ ()
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator-- ()
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > operator++ (int)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > operator-- (int)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator%= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator%= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator%= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator &= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator &= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator &= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator|= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator|= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator|= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator^= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator^= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator^= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator<<= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator<<= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator<<= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator>>= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator>>= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 2, T, Q > & operator>>= (vec< 2, U, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 2, T, Q > const &v)
 
template<qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 2, T, P > const &v)
 
template<typename U, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, U, P > const &v)
 
template<typename A, typename B>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (A _x, B _y)
 
template<typename A, typename B>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, A, Q > const &_x, B _y)
 
template<typename A, typename B>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (A _x, vec< 1, B, Q > const &_y)
 
template<typename A, typename B>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, A, Q > const &_x, vec< 1, B, Q > const &_y)
 
template<typename U, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 2, U, P > const &v)
 
template<typename U, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 3, U, P > const &v)
 
template<typename U, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 4, U, P > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator+= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator+= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator+= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator-= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator-= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator-= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator*= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator*= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator*= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator/= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator/= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator/= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator%= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator%= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator%= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator|= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator|= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator|= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator^= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator^= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator^= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator<<= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator<<= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator<<= (vec< 2, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator>>= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator>>= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 2, T, Q > & operator>>= (vec< 2, U, Q > const &v)
 

Static Public Member Functions

static GLM_FUNC_DECL GLM_CONSTEXPR length_type length ()
 

Public Attributes

union glm::vec< 2, T, Q >:: { ... }  
 
union glm::vec< 2, T, Q >:: { ... }  
 
x
 
r
 
s
 
y
 
g
 
t
 

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