#include <type_mat.hpp>
Public Types | |
typedef tvec4< bool, P > | bool_type |
enum | ctor { _null } |
typedef int | size_type |
typedef tvec4< 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 tvec4< T, P > & | operator &= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator &= (tvec4< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator%= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator%= (tvec4< U, P > const &v) |
GLM_FUNC_DECL tvec4< T, P > & | operator*= (T v) |
GLM_FUNC_DECL tvec4< T, P > & | operator*= (tvec4< T, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator*= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator*= (tvec4< U, P > const &v) |
GLM_FUNC_DECL tvec4< T, P > & | operator++ () |
GLM_FUNC_DECL tvec4< T, P > | operator++ (int) |
GLM_FUNC_DECL tvec4< T, P > & | operator+= (T v) |
GLM_FUNC_DECL tvec4< T, P > & | operator+= (tvec4< T, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator+= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator+= (tvec4< U, P > const &v) |
GLM_FUNC_DECL tvec4< T, P > & | operator-- () |
GLM_FUNC_DECL tvec4< T, P > | operator-- (int) |
GLM_FUNC_DECL tvec4< T, P > & | operator-= (T v) |
GLM_FUNC_DECL tvec4< T, P > & | operator-= (tvec4< T, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator-= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator-= (tvec4< U, P > const &v) |
GLM_FUNC_DECL tvec4< T, P > & | operator/= (T v) |
GLM_FUNC_DECL tvec4< T, P > & | operator/= (tvec4< T, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator/= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator/= (tvec4< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator<<= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator<<= (tvec4< U, P > const &v) |
GLM_FUNC_DECL tvec4< T, P > & | operator= (tvec4< T, P > const &v) |
template<typename U , precision Q> | |
GLM_FUNC_DECL tvec4< T, P > & | operator= (tvec4< U, Q > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator>>= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator>>= (tvec4< 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 tvec4< T, P > & | operator^= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator^= (tvec4< U, P > const &v) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator|= (U s) |
template<typename U > | |
GLM_FUNC_DECL tvec4< T, P > & | operator|= (tvec4< U, P > const &v) |
GLM_FUNC_DECL | tvec4 () |
GLM_FUNC_DECL | tvec4 (type const &v) |
template<precision Q> | |
GLM_FUNC_DECL | tvec4 (tvec4< T, Q > const &v) |
GLM_FUNC_DECL | tvec4 (ctor) |
GLM_FUNC_DECL | tvec4 (T const &s) |
GLM_FUNC_DECL | tvec4 (T const &s0, T const &s1, T const &s2, T const &s3) |
template<typename A , typename B , typename C , typename D > | |
GLM_FUNC_DECL | tvec4 (A const &x, B const &y, C const &z, D const &w) |
Explicit converions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename A , typename B , typename C , precision Q> | |
GLM_FUNC_DECL | tvec4 (tvec2< A, Q > const &v, B const &s1, C const &s2) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename A , typename B , typename C , precision Q> | |
GLM_FUNC_DECL | tvec4 (A const &s1, tvec2< B, Q > const &v, C const &s2) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename A , typename B , typename C , precision Q> | |
GLM_FUNC_DECL | tvec4 (A const &s1, B const &s2, tvec2< C, Q > const &v) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename A , typename B , precision Q> | |
GLM_FUNC_DECL | tvec4 (tvec3< A, Q > const &v, B const &s) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename A , typename B , precision Q> | |
GLM_FUNC_DECL | tvec4 (A const &s, tvec3< B, Q > const &v) |
Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification) More... | |
template<typename A , typename B , precision Q> | |
GLM_FUNC_DECL | tvec4 (tvec2< A, Q > const &v1, tvec2< B, Q > const &v2) |
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 | tvec4 (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 | |
}; | |
union { | |
T b | |
T p | |
T z | |
}; | |
union { | |
T a | |
T q | |
T w | |
}; | |
Definition at line 38 of file type_mat.hpp.
Definition at line 77 of file type_vec4.hpp.
typedef int glm::detail::tvec4< T, P >::size_type |
Definition at line 79 of file type_vec4.hpp.
Definition at line 76 of file type_vec4.hpp.
typedef T glm::detail::tvec4< T, P >::value_type |
Definition at line 78 of file type_vec4.hpp.
enum glm::detail::tvec4::ctor |
Enumerator | |
---|---|
_null |
Definition at line 74 of file type_vec4.hpp.
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 | ( | ) |
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 | ( | type const & | v | ) |
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 | ( | tvec4< T, Q > const & | v | ) |
|
explicit |
|
explicit |
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 | ( | T const & | s0, |
T const & | s1, | ||
T const & | s2, | ||
T const & | s3 | ||
) |
GLM_FUNC_DECL glm::detail::tvec4< T, P >::tvec4 | ( | A const & | x, |
B const & | y, | ||
C const & | z, | ||
D const & | w | ||
) |
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)
|
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)
|
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::tvec4< T, P >::length | ( | ) | const |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator&= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator&= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator%= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator%= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= | ( | T | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= | ( | tvec4< T, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator*= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator++ | ( | ) |
GLM_FUNC_DECL tvec4<T, P> glm::detail::tvec4< T, P >::operator++ | ( | int | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= | ( | T | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= | ( | tvec4< T, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator+= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-- | ( | ) |
GLM_FUNC_DECL tvec4<T, P> glm::detail::tvec4< T, P >::operator-- | ( | int | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= | ( | T | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= | ( | tvec4< T, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator-= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= | ( | T | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= | ( | tvec4< T, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator/= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator<<= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator<<= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator= | ( | tvec4< T, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator= | ( | tvec4< U, Q > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator>>= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator>>= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL T& glm::detail::tvec4< T, P >::operator[] | ( | length_t | i | ) |
GLM_FUNC_DECL T const& glm::detail::tvec4< T, P >::operator[] | ( | length_t | i | ) | const |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator^= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator^= | ( | tvec4< U, P > const & | v | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator|= | ( | U | s | ) |
GLM_FUNC_DECL tvec4<T, P>& glm::detail::tvec4< T, P >::operator|= | ( | tvec4< U, P > const & | v | ) |
union { ... } |
union { ... } |
union { ... } |
union { ... } |
T glm::detail::tvec4< T, P >::a |
Definition at line 124 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::b |
Definition at line 123 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::g |
Definition at line 122 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::p |
Definition at line 123 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::q |
Definition at line 124 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::r |
Definition at line 121 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::s |
Definition at line 121 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::t |
Definition at line 122 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::w |
Definition at line 124 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::x |
Definition at line 121 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::y |
Definition at line 122 of file type_vec4.hpp.
T glm::detail::tvec4< T, P >::z |
Definition at line 123 of file type_vec4.hpp.