25 #include <boost/operators.hpp>
37 private boost::equality_comparable<Mat4>,
38 private boost::additive<Mat4>,
39 private boost::multiplicative<Mat4, Real>
42 static Mat4 Identity();
71 explicit Mat4(
const float[16]);
73 explicit Mat4(
const double[16]);
81 Real& operator()(std::size_t r, std::size_t c);
83 const Real& operator()(std::size_t r, std::size_t c)
const;
95 Mat3 ExtractRotation()
const;
96 void PasteRotation(
const Mat3& m);
97 Vec3 ExtractTranslation()
const;
98 void PasteTranslation(
const Vec3& v);
106 void set(
float i00,
float i01,
float i02,
float i03,
float i10,
float i11,
float i12,
107 float i13,
float i20,
float i21,
float i22,
float i23,
float i30,
float i31,
float i32,
109 void set(
double i00,
double i01,
double i02,
double i03,
double i10,
double i11,
double
110 i12,
double i13,
double i20,
double i21,
double i22,
double i23,
double i30,
double i31,
111 double i32,
double i33);