FlukyEngine
Public Types | Public Member Functions | Static Public Member Functions | List of all members
glm::mat< 2, 2, T, Q > Struct Template Reference

Public Types

typedef vec< 2, T, Q > col_type
 
typedef vec< 2, T, Q > row_type
 
typedef mat< 2, 2, T, Q > type
 
typedef mat< 2, 2, T, Q > transpose_type
 
typedef T value_type
 
typedef length_t length_type
 

Public Member Functions

GLM_FUNC_DECL col_typeoperator[] (length_type i)
 
GLM_FUNC_DECL GLM_CONSTEXPR col_type const & operator[] (length_type i) const
 
template<qualifier P>
GLM_FUNC_DECL GLM_CONSTEXPR mat (mat< 2, 2, T, P > const &m)
 
GLM_FUNC_DECL GLM_CONSTEXPR mat (T scalar)
 
GLM_FUNC_DECL GLM_CONSTEXPR mat (T const &x1, T const &y1, T const &x2, T const &y2)
 
GLM_FUNC_DECL GLM_CONSTEXPR mat (col_type const &v1, col_type const &v2)
 
template<typename U , typename V , typename M , typename N >
GLM_FUNC_DECL GLM_CONSTEXPR mat (U const &x1, V const &y1, M const &x2, N const &y2)
 
template<typename U , typename V >
GLM_FUNC_DECL GLM_CONSTEXPR mat (vec< 2, U, Q > const &v1, vec< 2, V, Q > const &v2)
 
template<typename U , qualifier P>
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 2, 2, U, P > const &m)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 3, 3, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 4, 4, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 2, 3, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 3, 2, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 2, 4, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 4, 2, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 3, 4, T, Q > const &x)
 
GLM_FUNC_DECL GLM_EXPLICIT GLM_CONSTEXPR mat (mat< 4, 3, T, Q > const &x)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator+= (U s)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator+= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator-= (U s)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator-= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator*= (U s)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator*= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator/= (U s)
 
template<typename U >
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator/= (mat< 2, 2, U, Q > const &m)
 
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator++ ()
 
GLM_FUNC_DECL mat< 2, 2, T, Q > & operator-- ()
 
GLM_FUNC_DECL mat< 2, 2, T, Q > operator++ (int)
 
GLM_FUNC_DECL mat< 2, 2, T, Q > operator-- (int)
 
template<qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR mat (mat< 2, 2, T, P > const &m)
 
template<typename X1, typename Y1, typename X2 , typename Y2 >
GLM_FUNC_QUALIFIER GLM_CONSTEXPR mat (X1 const &x1, Y1 const &y1, X2 const &x2, Y2 const &y2)
 
template<typename V1, typename V2>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR mat (vec< 2, V1, Q > const &v1, vec< 2, V2, Q > const &v2)
 
template<typename U, qualifier P>
GLM_FUNC_QUALIFIER GLM_CONSTEXPR mat (mat< 2, 2, U, P > const &m)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator+= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator+= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator-= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator-= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator*= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator*= (mat< 2, 2, U, Q > const &m)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator/= (U scalar)
 
template<typename U >
GLM_FUNC_QUALIFIER mat< 2, 2, T, Q > & operator/= (mat< 2, 2, U, Q > const &m)
 

Static Public Member Functions

static GLM_FUNC_DECL GLM_CONSTEXPR length_type length ()
 

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