QMedia
![]() |
![]() |
QM_SetIdentityMatrix(matrixRec):error | |||
![]() |
matrixRec | Array real | Matrix record |
![]() |
error | Longint | Error result |
Sets the contents of a matrix record to the identity matrix. The identity matrix does not perform an tranformations.
Parameter matrixRec receives the identity matrix. It must be declared as a 3 x 3 array of reals.
Example
ARRAY REAL($matrix;3;3) $err:=QM_SetIdentityMatrix ($matrix) |
Related commands
QM_TranslateMatrix | Adds a translation transformation to a matrix record. |
QM_ScaleMatrix | Adds a scaling transformation to a matrix record. |
QM_RotateMatrix | Adds a rotation transformation to a matrix record. |
QM_SkewMatrix | Adds a skew transformation to a matrix record. |
QM_ConcatMatrix | Concatenates two matrices. |
QM_SetTrackMatrix | Changes the track's transormation matrix. |
QM_GetTrackMatrix | Returns the track's transormation matrix. |