#include <matrix_prs.h>
Helper type for decomposed Matrix. Also includes shear calculation.
Public Member Functions | |
Mat3< VECTORTYPE > | GetMatrix () const |
void | SetMatrix (const Mat3< VECTORTYPE > &matrix, ROTATIONORDER order=DEFAULT_ORDER) |
MAXON_OPERATOR_STRUCT (PRSMatrixData< VECTORTYPE >, position, rotation, scale, shear, order) | |
Static Public Member Functions | |
static PRSMatrixData< VECTORTYPE > | FromMatrix (const Mat3< VECTORTYPE > &matrix, ROTATIONORDER order=DEFAULT_ORDER) |
Public Attributes | |
VECTORTYPE | position |
VECTORTYPE | rotation |
VECTORTYPE | scale |
VECTORTYPE | shear |
ROTATIONORDER | order |
Static Public Attributes | |
static constexpr ROTATIONORDER | DEFAULT_ORDER |
Mat3<VECTORTYPE> GetMatrix | ( | ) | const |
Return a Matrix formed with the PRSMatrix decomposed members.
void SetMatrix | ( | const Mat3< VECTORTYPE > & | matrix, |
ROTATIONORDER | order = DEFAULT_ORDER |
||
) |
Sets the PRSMatrix internal members using the supplied #matrix and order.
|
static |
|
staticconstexpr |
VECTORTYPE position |
The position.
VECTORTYPE rotation |
The rotation.
VECTORTYPE scale |
The scale.
VECTORTYPE shear |
The shear.
ROTATIONORDER order |
The order.