#include <type_mat.hpp>
Public Types | |
typedef tvec2< bool, P > | bool_type |
enum | ctor { _null } |
typedef int | size_type |
typedef tvec2< T, P > | type |
typedef T | value_type |
Public Member Functions | |
GLM_FUNC_DECL GLM_CONSTEXPR length_t | length () const |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator &= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator &= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator &= (tvec2< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator%= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator%= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator%= (tvec2< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator*= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator*= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator*= (tvec2< U, P > const &v) |
GLM_FUNC_DECL tvec2< T, P > & | operator++ () |
GLM_FUNC_DECL tvec2< T, P > | operator++ (int) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator+= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator+= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator+= (tvec2< U, P > const &v) |
GLM_FUNC_DECL tvec2< T, P > & | operator-- () |
GLM_FUNC_DECL tvec2< T, P > | operator-- (int) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator-= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator-= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator-= (tvec2< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator/= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator/= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator/= (tvec2< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator<<= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator<<= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator<<= (tvec2< U, P > const &v) |
GLM_FUNC_DECL tvec2< T, P > & | operator= (tvec2< T, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator= (tvec2< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator>>= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator>>= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator>>= (tvec2< U, P > const &v) |
GLM_FUNC_DECL T & | operator[] (length_t i) |
GLM_FUNC_DECL T const & | operator[] (length_t i) const |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator^= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator^= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator^= (tvec2< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator|= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator|= (tvec1< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec2< T, P > & | operator|= (tvec2< U, P > const &v) |
GLM_FUNC_DECL | tvec2 () |
GLM_FUNC_DECL | tvec2 (tvec2< T, P > const &v) |
template<precision Q> | |
GLM_FUNC_DECL | tvec2 (tvec2< T, Q > const &v) |
GLM_FUNC_DECL | tvec2 (ctor) |
GLM_FUNC_DECL | tvec2 (T const &s) |
GLM_FUNC_DECL | tvec2 (T const &s1, T const &s2) |
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 , typename V > | |
GLM_FUNC_DECL | tvec2 (tvec1< U, P > const &v1, tvec1< V, P > const &v2) |
template<typename U , precision Q> | |
GLM_FUNC_DECL | tvec2 (tvec2< U, Q > const &v) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename U , precision Q> | |
GLM_FUNC_DECL | tvec2 (tvec3< U, Q > const &v) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename U , precision Q> | |
GLM_FUNC_DECL | tvec2 (tvec4< U, Q > const &v) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
Public Attributes | |
union { | |
T r | |
T s | |
T x | |
}; | |
union { | |
T g | |
T t | |
T y | |
}; | |
Definition at line 36 of file type_mat.hpp.
Definition at line 54 of file type_vec2.hpp.
typedef int glm::detail::tvec2< T, P >::size_type |
Definition at line 56 of file type_vec2.hpp.
Definition at line 53 of file type_vec2.hpp.
typedef T glm::detail::tvec2< T, P >::value_type |
Definition at line 55 of file type_vec2.hpp.
enum glm::detail::tvec2::ctor |
Enumerator | |
---|---|
_null |
Definition at line 51 of file type_vec2.hpp.
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | ) |
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | tvec2< T, P > const & | v | ) |
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | tvec2< T, Q > const & | v | ) |
|
explicit |
|
explicit |
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | T const & | s1, |
T const & | s2 | ||
) |
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | U const & | x, |
V const & | y | ||
) |
Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | tvec1< U, P > const & | v1, |
tvec1< V, P > const & | v2 | ||
) |
GLM_FUNC_DECL glm::detail::tvec2< T, P >::tvec2 | ( | tvec2< U, Q > const & | v | ) |
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_DECL GLM_CONSTEXPR length_t glm::detail::tvec2< T, P >::length | ( | ) | const |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator&= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator&= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator&= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator%= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator%= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator%= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator*= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator*= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator*= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator++ | ( | ) |
GLM_FUNC_DECL tvec2<T, P> glm::detail::tvec2< T, P >::operator++ | ( | int | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator+= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator+= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator+= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator-- | ( | ) |
GLM_FUNC_DECL tvec2<T, P> glm::detail::tvec2< T, P >::operator-- | ( | int | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator-= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator-= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator-= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator/= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator/= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator/= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator<<= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator<<= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator<<= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator= | ( | tvec2< T, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator>>= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator>>= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator>>= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL T& glm::detail::tvec2< T, P >::operator[] | ( | length_t | i | ) |
GLM_FUNC_DECL T const& glm::detail::tvec2< T, P >::operator[] | ( | length_t | i | ) | const |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator^= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator^= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator^= | ( | tvec2< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator|= | ( | U | s | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator|= | ( | tvec1< U, P > const & | v | ) |
GLM_FUNC_DECL tvec2<T, P>& glm::detail::tvec2< T, P >::operator|= | ( | tvec2< U, P > const & | v | ) |
union { ... } |
union { ... } |
T glm::detail::tvec2< T, P >::g |
Definition at line 85 of file type_vec2.hpp.
T glm::detail::tvec2< T, P >::r |
Definition at line 84 of file type_vec2.hpp.
T glm::detail::tvec2< T, P >::s |
Definition at line 84 of file type_vec2.hpp.
T glm::detail::tvec2< T, P >::t |
Definition at line 85 of file type_vec2.hpp.
T glm::detail::tvec2< T, P >::x |
Definition at line 84 of file type_vec2.hpp.
T glm::detail::tvec2< T, P >::y |
Definition at line 85 of file type_vec2.hpp.