14         template<
typename T, qualifier P>
 
   15         struct mat<3, 3, T, P>
 
   17                 typedef vec<3, T, P> col_type;
 
   18                 typedef vec<3, T, P> row_type;
 
   19                 typedef mat<3, 3, T, P> type;
 
   20                 typedef mat<3, 3, T, P> transpose_type;
 
   29                 typedef length_t length_type;
 
   30                 GLM_FUNC_DECL 
static GLM_CONSTEXPR length_type 
length() { 
return 3; }
 
   32                 GLM_FUNC_DECL col_type & operator[](length_type i);
 
   33                 GLM_FUNC_DECL col_type 
const & operator[](length_type i) 
const;
 
   37                 GLM_FUNC_DECL mat() GLM_DEFAULT;
 
   38                 GLM_FUNC_DECL mat(mat<3, 3, T, P> const & m) GLM_DEFAULT;
 
   40                 GLM_FUNC_DECL mat(mat<3, 3, T, Q> const & m);
 
   42                 GLM_FUNC_DECL explicit mat(T scalar);
 
   55                         typename X1, typename Y1, typename Z1,
 
   56                         typename X2, typename Y2, typename Z2,
 
   57                         typename X3, typename Y3, typename Z3>
 
   63                 template<typename V1, typename V2, typename V3>
 
   65                         vec<3, V1, P> const & v1,
 
   66                         vec<3, V2, P> const & v2,
 
   67                         vec<3, V3, P> const & v3);
 
   71                 template<typename U, qualifier Q>
 
   72                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<3, 3, U, Q> const & m);
 
   74                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<2, 2, T, P> const & x);
 
   75                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<4, 4, T, P> const & x);
 
   76                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<2, 3, T, P> const & x);
 
   77                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<3, 2, T, P> const & x);
 
   78                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<2, 4, T, P> const & x);
 
   79                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<4, 2, T, P> const & x);
 
   80                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<3, 4, T, P> const & x);
 
   81                 GLM_FUNC_DECL GLM_EXPLICIT mat(mat<4, 3, T, P> const & x);
 
   85                 GLM_FUNC_DECL mat<3, 3, T, P> & operator=(mat<3, 3, T, P> const & m) GLM_DEFAULT;
 
   88                 GLM_FUNC_DECL mat<3, 3, T, P> & operator=(mat<3, 3, U, P> const & m);
 
   90                 GLM_FUNC_DECL mat<3, 3, T, P> & operator+=(U s);
 
   92                 GLM_FUNC_DECL mat<3, 3, T, P> & operator+=(mat<3, 3, U, P> const & m);
 
   94                 GLM_FUNC_DECL mat<3, 3, T, P> & operator-=(U s);
 
   96                 GLM_FUNC_DECL mat<3, 3, T, P> & operator-=(mat<3, 3, U, P> const & m);
 
   98                 GLM_FUNC_DECL mat<3, 3, T, P> & operator*=(U s);
 
  100                 GLM_FUNC_DECL mat<3, 3, T, P> & operator*=(mat<3, 3, U, P> const & m);
 
  102                 GLM_FUNC_DECL mat<3, 3, T, P> & operator/=(U s);
 
  104                 GLM_FUNC_DECL mat<3, 3, T, P> & operator/=(mat<3, 3, U, P> const & m);
 
  108                 GLM_FUNC_DECL mat<3, 3, T, P> & operator++();
 
  109                 GLM_FUNC_DECL mat<3, 3, T, P> & operator--();
 
  110                 GLM_FUNC_DECL mat<3, 3, T, P> operator++(
int);
 
  111                 GLM_FUNC_DECL mat<3, 3, T, P> operator--(
int);
 
  116         template<typename T, qualifier P>
 
  117         GLM_FUNC_DECL mat<3, 3, T, P> operator+(mat<3, 3, T, P> const & m);
 
  119         template<typename T, qualifier P>
 
  120         GLM_FUNC_DECL mat<3, 3, T, P> operator-(mat<3, 3, T, P> const & m);
 
  124         template<typename T, qualifier P>
 
  125         GLM_FUNC_DECL mat<3, 3, T, P> operator+(mat<3, 3, T, P> const & m, T scalar);
 
  127         template<typename T, qualifier P>
 
  128         GLM_FUNC_DECL mat<3, 3, T, P> operator+(T scalar, mat<3, 3, T, P> const & m);
 
  130         template<typename T, qualifier P>
 
  131         GLM_FUNC_DECL mat<3, 3, T, P> operator+(mat<3, 3, T, P> const & m1, mat<3, 3, T, P> const & m2);
 
  133         template<typename T, qualifier P>
 
  134         GLM_FUNC_DECL mat<3, 3, T, P> operator-(mat<3, 3, T, P> const & m, T scalar);
 
  136         template<typename T, qualifier P>
 
  137         GLM_FUNC_DECL mat<3, 3, T, P> operator-(T scalar, mat<3, 3, T, P> const & m);
 
  139         template<typename T, qualifier P>
 
  140         GLM_FUNC_DECL mat<3, 3, T, P> operator-(mat<3, 3, T, P> const & m1, mat<3, 3, T, P> const & m2);
 
  142         template<typename T, qualifier P>
 
  143         GLM_FUNC_DECL mat<3, 3, T, P> operator*(mat<3, 3, T, P> const & m, T scalar);
 
  145         template<typename T, qualifier P>
 
  146         GLM_FUNC_DECL mat<3, 3, T, P> operator*(T scalar, mat<3, 3, T, P> const & m);
 
  148         template<typename T, qualifier P>
 
  149         GLM_FUNC_DECL typename mat<3, 3, T, P>::col_type operator*(mat<3, 3, T, P> const & m, typename mat<3, 3, T, P>::row_type const & v);
 
  151         template<typename T, qualifier P>
 
  152         GLM_FUNC_DECL typename mat<3, 3, T, P>::row_type operator*(typename mat<3, 3, T, P>::col_type const & v, mat<3, 3, T, P> const & m);
 
  154         template<typename T, qualifier P>
 
  155         GLM_FUNC_DECL mat<3, 3, T, P> operator*(mat<3, 3, T, P> const & m1, mat<3, 3, T, P> const & m2);
 
  157         template<typename T, qualifier P>
 
  158         GLM_FUNC_DECL mat<2, 3, T, P> operator*(mat<3, 3, T, P> const & m1, mat<2, 3, T, P> const & m2);
 
  160         template<typename T, qualifier P>
 
  161         GLM_FUNC_DECL mat<4, 3, T, P> operator*(mat<3, 3, T, P> const & m1, mat<4, 3, T, P> const & m2);
 
  163         template<typename T, qualifier P>
 
  164         GLM_FUNC_DECL mat<3, 3, T, P> operator/(mat<3, 3, T, P> const & m, T scalar);
 
  166         template<typename T, qualifier P>
 
  167         GLM_FUNC_DECL mat<3, 3, T, P> operator/(T scalar, mat<3, 3, T, P> const & m);
 
  169         template<typename T, qualifier P>
 
  170         GLM_FUNC_DECL typename mat<3, 3, T, P>::col_type operator/(mat<3, 3, T, P> const & m, typename mat<3, 3, T, P>::row_type const & v);
 
  172         template<typename T, qualifier P>
 
  173         GLM_FUNC_DECL typename mat<3, 3, T, P>::row_type operator/(typename mat<3, 3, T, P>::col_type const & v, mat<3, 3, T, P> const & m);
 
  175         template<typename T, qualifier P>
 
  176         GLM_FUNC_DECL mat<3, 3, T, P> operator/(mat<3, 3, T, P> const & m1, mat<3, 3, T, P> const & m2);
 
  180         template<typename T, qualifier P>
 
  181         GLM_FUNC_DECL 
bool operator==(mat<3, 3, T, P> const & m1, mat<3, 3, T, P> const & m2);
 
  183         template<typename T, qualifier P>
 
  184         GLM_FUNC_DECL 
bool operator!=(mat<3, 3, T, P> const & m1, mat<3, 3, T, P> const & m2);
 
  187 #ifndef GLM_EXTERNAL_TEMPLATE 
  188 #include "type_mat3x3.inl" 
GLM_FUNC_DECL T length(vec< L, T, P > const &x)
Returns the length of x, i.e., sqrt(x * x).