16 template<
class T>
class matr4;
39 T A20, T A21, T A22) :
86 T A20, T A21, T A22) :
96 matr3(T A[3][3]) { memcpy(this->A,
A, 3 * 3 *
sizeof(
T)); }
107 Matr4x4.
A[1][0], Matr4x4.
A[1][1], Matr4x4.
A[1][2],
108 Matr4x4.
A[2][0], Matr4x4.
A[2][1], Matr4x4.
A[2][2]) {}
118 return (this->
A[0][0] * this->
A[1][1] * this->
A[2][2] -
119 this->
A[0][0] * this->
A[1][2] * this->
A[2][1] -
120 this->
A[0][1] * this->
A[1][0] * this->
A[2][2] +
121 this->
A[0][1] * this->
A[1][2] * this->
A[2][0] +
122 this->
A[0][2] * this->
A[1][0] * this->
A[2][1] -
123 this->
A[0][2] * this->
A[1][1] * this->
A[2][0]);
132 static T Det(T A11, T A12, T A13,
136 return (A11 * A22 * A33 - A11 * A23 * A32 - A12 * A21 * A33 +
137 A12 * A23 * A31 + A13 * A21 * A32 - A13 * A22 * A31);
146 T &operator [](
int Index)
157 T operator [](
int Index)
const
Angle measures types implementatino module.
matr3_data(T A00, T A01, T A02, T A10, T A11, T A12, T A20, T A21, T A22)
static T Det(T A11, T A12, T A13, T A21, T A22, T A23, T A31, T A32, T A33)
matr3(const matr4< T > Matr4x4)
matr3(T A00, T A01, T A02, T A10, T A11, T A12, T A20, T A21, T A22)
T Clamp(T Num, T Min=0, T Max=1)
math::matr4< float > matr4