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

Public Types

typedef T value_type
 
typedef vec< 3, T, Q > type
 
typedef vec< 3, 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< 3, T, P > const &v)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec (T scalar)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec (T a, T b, T c)
 
template<typename U , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, U, P > const &v)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (X x, Y y, Z z)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, Y _y, Z _z)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (X _x, vec< 1, Y, Q > const &_y, Z _z)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, vec< 1, Y, Q > const &_y, Z _z)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (X _x, Y _y, vec< 1, Z, Q > const &_z)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, Y _y, vec< 1, Z, Q > const &_z)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (X _x, vec< 1, Y, Q > const &_y, vec< 1, Z, Q > const &_z)
 
template<typename X , typename Y , typename Z >
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, vec< 1, Y, Q > const &_y, vec< 1, Z, Q > const &_z)
 
template<typename A , typename B , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 2, A, P > const &_xy, B _z)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename A , typename B , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 2, A, P > const &_xy, vec< 1, B, P > const &_z)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename A , typename B , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (A _x, vec< 2, B, P > const &_yz)
 Explicit conversions (From section 5.4.1 Conversion and scalar constructors of GLSL 1.30.08 specification)
 
template<typename A , typename B , qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR vec (vec< 1, A, P > const &_x, vec< 2, B, P > const &_yz)
 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< 3, 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< 3, T, Q > & operator= (vec< 3, T, Q > const &v) GLM_DEFAULT
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator+= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator+= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator+= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator-= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator-= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator-= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator*= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator*= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator*= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator/= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator/= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator/= (vec< 3, U, Q > const &v)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator++ ()
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator-- ()
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > operator++ (int)
 
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > operator-- (int)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator%= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator%= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator%= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator &= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator &= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator &= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator|= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator|= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator|= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator^= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator^= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator^= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator<<= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator<<= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator<<= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator>>= (U scalar)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator>>= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_DECL GLM_CONSTEXPR vec< 3, T, Q > & operator>>= (vec< 3, U, Q > const &v)
 
template<typename T , qualifier Q>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 3, T, Q > const &v)
 
template<qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 3, T, P > const &v)
 
template<typename U, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, U, P > const &v)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (X _x, Y _y, Z _z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, Y _y, Z _z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (X _x, vec< 1, Y, Q > const &_y, Z _z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, vec< 1, Y, Q > const &_y, Z _z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (X _x, Y _y, vec< 1, Z, Q > const &_z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, Y _y, vec< 1, Z, Q > const &_z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (X _x, vec< 1, Y, Q > const &_y, vec< 1, Z, Q > const &_z)
 
template<typename X, typename Y, typename Z>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, X, Q > const &_x, vec< 1, Y, Q > const &_y, vec< 1, Z, Q > const &_z)
 
template<typename A, typename B, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 2, A, P > const &_xy, B _z)
 
template<typename A, typename B, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 2, A, P > const &_xy, vec< 1, B, P > const &_z)
 
template<typename A, typename B, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (A _x, vec< 2, B, P > const &_yz)
 
template<typename A, typename B, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec (vec< 1, A, P > const &_x, vec< 2, B, P > const &_yz)
 
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< 3, T, Q > & operator= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator+= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator+= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator+= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator-= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator-= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator-= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator*= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator*= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator*= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator/= (U v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator/= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator/= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator%= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator%= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator%= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator|= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator|= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator|= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator^= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator^= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator^= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator<<= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator<<= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator<<= (vec< 3, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator>>= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator>>= (vec< 1, U, Q > const &v)
 
template<typename U >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR vec< 3, T, Q > & operator>>= (vec< 3, U, Q > const &v)
 

Static Public Member Functions

static GLM_FUNC_DECL GLM_CONSTEXPR length_type length ()
 

Public Attributes

union glm::vec< 3, T, Q >:: { ... }  
 
union glm::vec< 3, T, Q >:: { ... }  
 
union glm::vec< 3, T, Q >:: { ... }  
 
x
 
r
 
s
 
y
 
g
 
t
 
z
 
b
 
p
 

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