6 #define _USE_MATH_DEFINES
42 for (
unsigned int i = 0; i < 16; ++i)
79 T sx =
static_cast<T
>(sin(a_RX * M_PI / 180));
80 T cx =
static_cast<T
>(cos(a_RX * M_PI / 180));
90 T sy =
static_cast<T
>(sin(a_RY * M_PI / 180));
91 T cy =
static_cast<T
>(cos(a_RY * M_PI / 180));
101 T sz =
static_cast<T
>(sin(a_RZ * M_PI / 180));
102 T cz =
static_cast<T
>(cos(a_RZ * M_PI / 180));
128 for (
unsigned int c = 0; c < 4; ++c)
130 for (
unsigned int r = 0; r < 4; ++r)
132 res.
cell[r * 4 + c] = (
161 for (
unsigned int h = 0; h < 3; ++h)
163 for (
unsigned int v = 0; v < 3; ++v)
165 t.
cell[h + v * 4] =
cell[v + h * 4];
169 for (
unsigned int i = 0; i < 11; ++i)
#define TOLUA_TEMPLATE_BIND(x)
Matrix4< float > Matrix4f
Matrix4< double > Matrix4d
Vector3< T > GetXColumn(void) const
Vector3< T > GetZColumn(void) const
void SetXColumn(const Vector3< T > &a_X)
void SetZColumn(const Vector3< T > &a_Z)
void SetYColumn(const Vector3< T > &a_Y)
Vector3< T > Transform(const Vector3< T > &v) const
Vector3< T > GetYColumn(void) const
void Concatenate(const Matrix4 &m2)
Matrix4(const Matrix4 &a_Rhs)
void Translate(const Vector3< T > &a_Pos)
void SetTranslation(const Vector3< T > &a_Pos)
Matrix4 & operator=(const Matrix4 &a_Rhs)
void Init(const Vector3< T > &a_Pos, T a_RX, T a_RY, T a_RZ)