15         template <
typename T, precision P = defaultp>
 
   18                 typedef tvec2<T, P> col_type;
 
   19                 typedef tvec4<T, P> row_type;
 
   20                 typedef tmat4x2<T, P> type;
 
   21                 typedef tmat2x4<T, P> transpose_type;
 
   30                 GLM_FUNC_DECL tmat4x2() GLM_DEFAULT_CTOR;
 
   31                 GLM_FUNC_DECL tmat4x2(tmat4x2<T, P> const & m) GLM_DEFAULT;
 
   32                 template <precision Q>
 
   33                 GLM_FUNC_DECL tmat4x2(tmat4x2<T, Q> const & m);
 
   35                 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat4x2(ctor);
 
   36                 GLM_FUNC_DECL explicit tmat4x2(T scalar);
 
   37                 GLM_FUNC_DECL tmat4x2(
 
   42                 GLM_FUNC_DECL tmat4x2(
 
   51                         typename X1, typename Y1,
 
   52                         typename X2, typename Y2,
 
   53                         typename X3, typename Y3,
 
   54                         typename X4, typename Y4>
 
   55                 GLM_FUNC_DECL tmat4x2(
 
   61                 template <typename V1, typename V2, typename V3, typename V4>
 
   62                 GLM_FUNC_DECL tmat4x2(
 
   63                         tvec2<V1, P> const & v1,
 
   64                         tvec2<V2, P> const & v2,
 
   65                         tvec2<V3, P> const & v3,
 
   66                         tvec2<V4, P> const & v4);
 
   70                 template <typename U, precision Q>
 
   71                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat4x2<U, Q> const & m);
 
   73                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat2x2<T, P> const & x);
 
   74                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat3x3<T, P> const & x);
 
   75                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat4x4<T, P> const & x);
 
   76                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat2x3<T, P> const & x);
 
   77                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat3x2<T, P> const & x);
 
   78                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat2x4<T, P> const & x);
 
   79                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat4x3<T, P> const & x);
 
   80                 GLM_FUNC_DECL GLM_EXPLICIT tmat4x2(tmat3x4<T, P> const & x);
 
   84                 typedef length_t length_type;
 
   85                 GLM_FUNC_DECL GLM_CONSTEXPR length_type 
length() const;
 
   87                 GLM_FUNC_DECL col_type & operator[](length_type i);
 
   88                 GLM_FUNC_DECL col_type const & operator[](length_type i) const;
 
   92                 GLM_FUNC_DECL tmat4x2<T, P> & operator=(tmat4x2<T, P> const & m) GLM_DEFAULT;
 
   95                 GLM_FUNC_DECL tmat4x2<T, P> & operator=(tmat4x2<U, P> const & m);
 
   97                 GLM_FUNC_DECL tmat4x2<T, P> & operator+=(U s);
 
   99                 GLM_FUNC_DECL tmat4x2<T, P> & operator+=(tmat4x2<U, P> const & m);
 
  100                 template <typename U>
 
  101                 GLM_FUNC_DECL tmat4x2<T, P> & operator-=(U s);
 
  102                 template <typename U>
 
  103                 GLM_FUNC_DECL tmat4x2<T, P> & operator-=(tmat4x2<U, P> const & m);
 
  104                 template <typename U>
 
  105                 GLM_FUNC_DECL tmat4x2<T, P> & operator*=(U s);
 
  106                 template <typename U>
 
  107                 GLM_FUNC_DECL tmat4x2<T, P> & operator/=(U s);
 
  111                 GLM_FUNC_DECL tmat4x2<T, P> & operator++ ();
 
  112                 GLM_FUNC_DECL tmat4x2<T, P> & operator-- ();
 
  113                 GLM_FUNC_DECL tmat4x2<T, P> operator++(
int);
 
  114                 GLM_FUNC_DECL tmat4x2<T, P> operator--(
int);
 
  119         template <typename T, precision P>
 
  120         GLM_FUNC_DECL tmat4x2<T, P> operator+(tmat4x2<T, P> const & m);
 
  122         template <typename T, precision P>
 
  123         GLM_FUNC_DECL tmat4x2<T, P> operator-(tmat4x2<T, P> const & m);
 
  127         template <typename T, precision P>
 
  128         GLM_FUNC_DECL tmat4x2<T, P> operator+(tmat4x2<T, P> const & m, T scalar);
 
  130         template <typename T, precision P>
 
  131         GLM_FUNC_DECL tmat4x2<T, P> operator+(tmat4x2<T, P> const & m1, tmat4x2<T, P> const & m2);
 
  133         template <typename T, precision P>
 
  134         GLM_FUNC_DECL tmat4x2<T, P> operator-(tmat4x2<T, P> const & m, T scalar);
 
  136         template <typename T, precision P>
 
  137         GLM_FUNC_DECL tmat4x2<T, P> operator-(tmat4x2<T, P> const & m1, tmat4x2<T, P> const & m2);
 
  139         template <typename T, precision P>
 
  140         GLM_FUNC_DECL tmat4x2<T, P> operator*(tmat4x2<T, P> const & m, T scalar);
 
  142         template <typename T, precision P>
 
  143         GLM_FUNC_DECL tmat4x2<T, P> operator*(T scalar, tmat4x2<T, P> const & m);
 
  145         template <typename T, precision P>
 
  146         GLM_FUNC_DECL typename tmat4x2<T, P>::col_type operator*(tmat4x2<T, P> const & m, typename tmat4x2<T, P>::row_type const & v);
 
  148         template <typename T, precision P>
 
  149         GLM_FUNC_DECL typename tmat4x2<T, P>::row_type operator*(typename tmat4x2<T, P>::col_type const & v, tmat4x2<T, P> const & m);
 
  151         template <typename T, precision P>
 
  152         GLM_FUNC_DECL tmat2x2<T, P> operator*(tmat4x2<T, P> const & m1, tmat2x4<T, P> const & m2);
 
  154         template <typename T, precision P>
 
  155         GLM_FUNC_DECL tmat3x2<T, P> operator*(tmat4x2<T, P> const & m1, tmat3x4<T, P> const & m2);
 
  157         template <typename T, precision P>
 
  158         GLM_FUNC_DECL tmat4x2<T, P> operator*(tmat4x2<T, P> const & m1, tmat4x4<T, P> const & m2);
 
  160         template <typename T, precision P>
 
  161         GLM_FUNC_DECL tmat4x2<T, P> operator/(tmat4x2<T, P> const & m, T scalar);
 
  163         template <typename T, precision P>
 
  164         GLM_FUNC_DECL tmat4x2<T, P> operator/(T scalar, tmat4x2<T, P> const & m);
 
  168         template <typename T, precision P>
 
  169         GLM_FUNC_DECL 
bool operator==(tmat4x2<T, P> const & m1, tmat4x2<T, P> const & m2);
 
  171         template <typename T, precision P>
 
  172         GLM_FUNC_DECL 
bool operator!=(tmat4x2<T, P> const & m1, tmat4x2<T, P> const & m2);
 
  175 #ifndef GLM_EXTERNAL_TEMPLATE 
  176 #include "type_mat4x2.inl" 
GLM_FUNC_DECL T length(vecType< T, P > const &x)
Returns the length of x, i.e., sqrt(x * x).