std.geom.Mat3 - nitrologic/monkey2 GitHub Wiki
std::std.geom.Mat3
Struct Mat3
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 |
|
OpMul |
Multiplies the matrix by another matrix. |
OpSub |
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. |
To |
Converts the matrix to a matrix of another type, or to a quaternion or printable string. |
OpXor |
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. |