15         template <
typename T, precision P = defaultp>
 
   18                 typedef tvec4<T, P> col_type;
 
   19                 typedef tvec2<T, P> row_type;
 
   20                 typedef tmat2x4<T, P> type;
 
   21                 typedef tmat4x2<T, P> transpose_type;
 
   30                 GLM_FUNC_DECL tmat2x4() GLM_DEFAULT_CTOR;
 
   31                 GLM_FUNC_DECL tmat2x4(tmat2x4<T, P> const & m) GLM_DEFAULT;
 
   32                 template <precision Q>
 
   33                 GLM_FUNC_DECL tmat2x4(tmat2x4<T, Q> const & m);
 
   35                 GLM_FUNC_DECL GLM_CONSTEXPR_CTOR explicit tmat2x4(ctor);
 
   36                 GLM_FUNC_DECL explicit tmat2x4(T scalar);
 
   37                 GLM_FUNC_DECL tmat2x4(
 
   38                         T x0, T y0, T z0, T w0,
 
   39                         T x1, T y1, T z1, T w1);
 
   40                 GLM_FUNC_DECL tmat2x4(
 
   47                         typename X1, typename Y1, typename Z1, typename W1,
 
   48                         typename X2, typename Y2, typename Z2, typename W2>
 
   49                 GLM_FUNC_DECL tmat2x4(
 
   50                         X1 x1, Y1 y1, Z1 z1, W1 w1,
 
   51                         X2 x2, Y2 y2, Z2 z2, W2 w2);
 
   53                 template <typename U, typename V>
 
   54                 GLM_FUNC_DECL tmat2x4(
 
   55                         tvec4<U, P> const & v1,
 
   56                         tvec4<V, P> const & v2);
 
   60                 template <typename U, precision Q>
 
   61                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat2x4<U, Q> const & m);
 
   63                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat2x2<T, P> const & x);
 
   64                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat3x3<T, P> const & x);
 
   65                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat4x4<T, P> const & x);
 
   66                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat2x3<T, P> const & x);
 
   67                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat3x2<T, P> const & x);
 
   68                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat3x4<T, P> const & x);
 
   69                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat4x2<T, P> const & x);
 
   70                 GLM_FUNC_DECL GLM_EXPLICIT tmat2x4(tmat4x3<T, P> const & x);
 
   74                 typedef length_t length_type;
 
   75                 GLM_FUNC_DECL static length_type 
length(){
return 2;}
 
   77                 GLM_FUNC_DECL col_type & operator[](length_type i);
 
   78                 GLM_FUNC_DECL col_type 
const & operator[](length_type i) 
const;
 
   82                 GLM_FUNC_DECL tmat2x4<T, P> & operator=(tmat2x4<T, P> 
const & m) GLM_DEFAULT;
 
   85                 GLM_FUNC_DECL tmat2x4<T, P> & operator=(tmat2x4<U, P> 
const & m);
 
   87                 GLM_FUNC_DECL tmat2x4<T, P> & operator+=(U s);
 
   89                 GLM_FUNC_DECL tmat2x4<T, P> & operator+=(tmat2x4<U, P> 
const & m);
 
   91                 GLM_FUNC_DECL tmat2x4<T, P> & operator-=(U s);
 
   93                 GLM_FUNC_DECL tmat2x4<T, P> & operator-=(tmat2x4<U, P> 
const & m);
 
   95                 GLM_FUNC_DECL tmat2x4<T, P> & operator*=(U s);
 
   97                 GLM_FUNC_DECL tmat2x4<T, P> & operator/=(U s);
 
  101                 GLM_FUNC_DECL tmat2x4<T, P> & operator++ ();
 
  102                 GLM_FUNC_DECL tmat2x4<T, P> & operator-- ();
 
  103                 GLM_FUNC_DECL tmat2x4<T, P> operator++(
int);
 
  104                 GLM_FUNC_DECL tmat2x4<T, P> operator--(
int);
 
  109         template <
typename T, precision P>
 
  110         GLM_FUNC_DECL tmat2x4<T, P> operator+(tmat2x4<T, P> 
const & m);
 
  112         template <
typename T, precision P>
 
  113         GLM_FUNC_DECL tmat2x4<T, P> operator-(tmat2x4<T, P> 
const & m);
 
  117         template <
typename T, precision P>
 
  118         GLM_FUNC_DECL tmat2x4<T, P> operator+(tmat2x4<T, P> 
const & m, T scalar);
 
  120         template <
typename T, precision P>
 
  121         GLM_FUNC_DECL tmat2x4<T, P> operator+(tmat2x4<T, P> 
const & m1, tmat2x4<T, P> 
const & m2);
 
  123         template <
typename T, precision P>
 
  124         GLM_FUNC_DECL tmat2x4<T, P> operator-(tmat2x4<T, P> 
const & m, T scalar);
 
  126         template <
typename T, precision P>
 
  127         GLM_FUNC_DECL tmat2x4<T, P> operator-(tmat2x4<T, P> 
const & m1, tmat2x4<T, P> 
const & m2);
 
  129         template <
typename T, precision P>
 
  130         GLM_FUNC_DECL tmat2x4<T, P> operator*(tmat2x4<T, P> 
const & m, T scalar);
 
  132         template <
typename T, precision P>
 
  133         GLM_FUNC_DECL tmat2x4<T, P> operator*(T scalar, tmat2x4<T, P> 
const & m);
 
  135         template <
typename T, precision P>
 
  136         GLM_FUNC_DECL 
typename tmat2x4<T, P>::col_type operator*(tmat2x4<T, P> 
const & m, 
typename tmat2x4<T, P>::row_type 
const & v);
 
  138         template <
typename T, precision P>
 
  139         GLM_FUNC_DECL 
typename tmat2x4<T, P>::row_type operator*(
typename tmat2x4<T, P>::col_type 
const & v, tmat2x4<T, P> 
const & m);
 
  141         template <
typename T, precision P>
 
  142         GLM_FUNC_DECL tmat4x4<T, P> operator*(tmat2x4<T, P> 
const & m1, tmat4x2<T, P> 
const & m2);
 
  144         template <
typename T, precision P>
 
  145         GLM_FUNC_DECL tmat2x4<T, P> operator*(tmat2x4<T, P> 
const & m1, tmat2x2<T, P> 
const & m2);
 
  147         template <
typename T, precision P>
 
  148         GLM_FUNC_DECL tmat3x4<T, P> operator*(tmat2x4<T, P> 
const & m1, tmat3x2<T, P> 
const & m2);
 
  150         template <
typename T, precision P>
 
  151         GLM_FUNC_DECL tmat2x4<T, P> operator/(tmat2x4<T, P> 
const & m, T scalar);
 
  153         template <
typename T, precision P>
 
  154         GLM_FUNC_DECL tmat2x4<T, P> operator/(T scalar, tmat2x4<T, P> 
const & m);
 
  158         template <
typename T, precision P>
 
  159         GLM_FUNC_DECL 
bool operator==(tmat2x4<T, P> 
const & m1, tmat2x4<T, P> 
const & m2);
 
  161         template <
typename T, precision P>
 
  162         GLM_FUNC_DECL 
bool operator!=(tmat2x4<T, P> 
const & m1, tmat2x4<T, P> 
const & m2);
 
  165 #ifndef GLM_EXTERNAL_TEMPLATE 
  166 #include "type_mat2x4.inl" 
GLM_FUNC_DECL T length(vecType< T, P > const &x)
Returns the length of x, i.e., sqrt(x * x).