Flow Visualisation
|
#include <type_mat2x2.hpp>
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 GLM_CONSTEXPR 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 () |
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< 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) |
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 |
typedef tvec2<bool> glm::detail::tvec2< T >::bool_type |
typedef std::size_t glm::detail::tvec2< T >::size_type |
typedef tvec2<T> glm::detail::tvec2< T >::type |
typedef T glm::detail::tvec2< T >::value_type |
enum glm::detail::tvec2::ctor |
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 | ( | ) |
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 | ( | tvec2< T > const & | v | ) |
|
explicit |
|
explicit |
|
explicit |
GLM_FUNC_QUALIFIER glm::detail::tvec2< T >::tvec2 | ( | tref2< T > const & | r | ) |
|
inline |
|
explicit |
Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
|
explicit |
Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
|
explicit |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
|
explicit |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
|
explicit |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 | ( | U const & | x | ) |
GLM_FUNC_QUALIFIER glm::detail::tvec2< U, V >::tvec2 | ( | U const & | a, |
V const & | b | ||
) |
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 | ( | tvec3< U > const & | v | ) |
GLM_FUNC_QUALIFIER glm::detail::tvec2< U >::tvec2 | ( | tvec4< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2< half >::size_type glm::detail::tvec2< T >::length | ( | ) | const |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator%= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator%= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator%= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator%= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator&= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator&= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator&= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator&= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator*= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator*= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator*= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator*= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2< half > & glm::detail::tvec2< T >::operator++ | ( | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator+= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator+= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator+= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator+= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2< half > & glm::detail::tvec2< T >::operator-- | ( | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator-= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator-= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator-= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator-= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator/= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator/= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator/= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator/= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator<<= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator<<= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator<<= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator<<= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2< T > & glm::detail::tvec2< T >::operator= | ( | tvec2< T > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator>>= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator>>= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator>>= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator>>= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2< T >::value_type & glm::detail::tvec2< T >::operator[] | ( | size_type | i | ) |
GLM_FUNC_QUALIFIER tvec2< T >::value_type const & glm::detail::tvec2< T >::operator[] | ( | size_type | i | ) | const |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator^= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator^= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator^= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator^= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator|= | ( | U const & | s | ) |
GLM_FUNC_DECL tvec2<T>& glm::detail::tvec2< T >::operator|= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator|= | ( | U const & | s | ) |
GLM_FUNC_QUALIFIER tvec2<T>& glm::detail::tvec2< T >::operator|= | ( | tvec2< U > const & | v | ) |
GLM_FUNC_QUALIFIER half glm::detail::tvec2< T >::swizzle | ( | comp | X | ) | const |
GLM_FUNC_QUALIFIER tvec2< half > glm::detail::tvec2< T >::swizzle | ( | comp | X, |
comp | Y | ||
) | const |
GLM_FUNC_QUALIFIER tvec3< half > glm::detail::tvec2< T >::swizzle | ( | comp | X, |
comp | Y, | ||
comp | Z | ||
) | const |
GLM_FUNC_QUALIFIER tvec4< half > glm::detail::tvec2< T >::swizzle | ( | comp | X, |
comp | Y, | ||
comp | Z, | ||
comp | W | ||
) | const |
GLM_FUNC_QUALIFIER tref2< half > glm::detail::tvec2< T >::swizzle | ( | comp | X, |
comp | Y | ||
) |
value_type glm::detail::tvec2< T >::x |
value_type glm::detail::tvec2< T >::y |