Flow Visualisation
glm::detail::tvec2< T > Struct Template Reference

#include <type_mat2x2.hpp>

Public Types

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

Public Member Functions

GLM_FUNC_DECL GLM_CONSTEXPR size_type length () const
 
GLM_FUNC_DECL value_typeoperator[] (size_type i)
 
GLM_FUNC_DECL value_type const & operator[] (size_type i) const
 
GLM_FUNC_DECL tvec2 ()
 
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)
 
GLM_FUNC_DECL 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) More...
 
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) More...
 
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) More...
 
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) More...
 
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) More...
 
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< Tswizzle (comp X, comp Y) const
 
GLM_FUNC_DECL tvec3< Tswizzle (comp X, comp Y, comp Z) const
 
GLM_FUNC_DECL tvec4< Tswizzle (comp X, comp Y, comp Z, comp W) const
 
GLM_FUNC_DECL tref2< Tswizzle (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)
 
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
 

Member Typedef Documentation

template<typename T>
typedef tvec2<bool> glm::detail::tvec2< T >::bool_type
template<typename T>
typedef std::size_t glm::detail::tvec2< T >::size_type
template<typename T>
typedef tvec2<T> glm::detail::tvec2< T >::type
template<typename T>
typedef T glm::detail::tvec2< T >::value_type

Member Enumeration Documentation

template<typename T>
enum glm::detail::tvec2::ctor
Enumerator
null 

Constructor & Destructor Documentation

template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 ( )
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 ( tvec2< T > const &  v)
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 ( ctor  )
explicit
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 ( value_type const &  s)
explicit
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 ( value_type const &  s1,
value_type const &  s2 
)
explicit
template<typename T >
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 ( tref2< T > const &  r)
template<typename T>
template<int E0, int E1>
GLM_FUNC_DECL glm::detail::tvec2< T >::tvec2 ( const glm::detail::swizzle< 2, T, tvec2< T >, E0, E1,-1,-2 > &  that)
inline
template<typename T>
template<typename U >
GLM_FUNC_DECL glm::detail::tvec2< T >::tvec2 ( U const &  x)
explicit

Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

template<typename T>
template<typename U , typename V >
GLM_FUNC_DECL glm::detail::tvec2< T >::tvec2 ( U const &  x,
V const &  y 
)
explicit

Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

template<typename T>
template<typename U >
GLM_FUNC_DECL glm::detail::tvec2< T >::tvec2 ( tvec2< U > const &  v)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

template<typename T>
template<typename U >
GLM_FUNC_DECL glm::detail::tvec2< T >::tvec2 ( tvec3< U > const &  v)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

template<typename T>
template<typename U >
GLM_FUNC_DECL glm::detail::tvec2< T >::tvec2 ( tvec4< U > const &  v)
explicit

Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)

template<typename T>
template<typename U>
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 ( U const &  x)
template<typename T>
template<typename U, typename V>
GLM_FUNC_QUALIFIER glm::detail::tvec2< U, V >::tvec2 ( U const &  a,
V const &  b 
)
template<typename T>
template<typename U>
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 ( tvec2< U > const &  v)
template<typename T>
template<typename U>
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 ( tvec3< U > const &  v)
template<typename T>
template<typename U>
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 ( tvec4< U > const &  v)

Member Function Documentation

template<typename T >
GLM_FUNC_QUALIFIER tvec2< half >::size_type glm::detail::tvec2< T >::length ( ) const
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator%= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator%= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator%= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator%= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator&= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator&= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator&= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator&= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator*= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator*= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator*= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator*= ( tvec2< U > const &  v)
template<typename T >
GLM_FUNC_QUALIFIER tvec2< half > & glm::detail::tvec2< T >::operator++ ( )
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator+= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator+= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator+= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator+= ( tvec2< U > const &  v)
template<typename T >
GLM_FUNC_QUALIFIER tvec2< half > & glm::detail::tvec2< T >::operator-- ( )
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator-= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator-= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator-= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator-= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator/= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator/= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator/= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator/= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator<<= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator<<= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator<<= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator<<= ( tvec2< U > const &  v)
template<typename T >
GLM_FUNC_QUALIFIER tvec2< T > & glm::detail::tvec2< T >::operator= ( tvec2< T > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator>>= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator>>= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator>>= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator>>= ( tvec2< U > const &  v)
template<typename T >
GLM_FUNC_QUALIFIER tvec2< T >::value_type & glm::detail::tvec2< T >::operator[] ( size_type  i)
template<typename T >
GLM_FUNC_QUALIFIER tvec2< T >::value_type const & glm::detail::tvec2< T >::operator[] ( size_type  i) const
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator^= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator^= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator^= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator^= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator|= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator|= ( tvec2< U > const &  v)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator|= ( U const &  s)
template<typename T>
template<typename U >
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator|= ( tvec2< U > const &  v)
template<typename T >
GLM_FUNC_QUALIFIER half glm::detail::tvec2< T >::swizzle ( comp  X) const
template<typename T >
GLM_FUNC_QUALIFIER tvec2< half > glm::detail::tvec2< T >::swizzle ( comp  X,
comp  Y 
) const
template<typename T >
GLM_FUNC_QUALIFIER tvec3< half > glm::detail::tvec2< T >::swizzle ( comp  X,
comp  Y,
comp  Z 
) const
template<typename T >
GLM_FUNC_QUALIFIER tvec4< half > glm::detail::tvec2< T >::swizzle ( comp  X,
comp  Y,
comp  Z,
comp  W 
) const
template<typename T >
GLM_FUNC_QUALIFIER tref2< half > glm::detail::tvec2< T >::swizzle ( comp  X,
comp  Y 
)

Member Data Documentation

template<typename T>
value_type glm::detail::tvec2< T >::x
template<typename T>
value_type glm::detail::tvec2< T >::y

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