The generic Mat3 class provides support for 3x3 matrices.
Fields | |
---|---|
i | The first row of the matrix. |
j | The second row of the matrix. |
k | The third row of the matrix. |
Constructors | |
---|---|
New | Creates a new Matrix. |
Properties | |
---|---|
Determinant | The determinant of the matrix. (read only) |
Methods | |
---|---|
Operator * | Multiplies the matrix by another matrix. |
Operator - | Computes the inverse of the matrix. |
Cofactor | |
GetColumn | Gets a column of the matrix. |
GetPitch | |
GetRoll | |
GetRotation | Computes the pitch, yaw and roll angles of rotation in radians. |
GetRow | Gets a row of the matrix. |
GetScaling | Computes the scaling term of the matrix. |
GetYaw | |
Orthogonalize | Orthogonalizes the matrix. |
Rotate | Rotates the matrix by euler angles or a quaternion. |
Scale | Scales the matrix. |
Operator To | Converts the matrix to a matrix of another type, or to a quaternion or printable string. |
Operator ~ | Computes the transpose of the matrix. |
Functions | |
---|---|
Pitch | Creates a pitch rotation matrix. |
Roll | Creates a yaw rotation matrix. |
Rotation | Creates a rotation matrix from euler angles or a quat. |
Scaling | Creates a scaling matrix. |
Yaw | Creates a yaw rotation matrix. |