union OAM_MATRIX
One OAM rotation-scaling matrix: pa, pb, pc and pd in 8.8 fixed point, the inverse of the transform the sprite is drawn with.
Declared in definitions.h.
Fields
| Name | Description | |
|---|---|---|
Sint16 | coefficients [4] | pa, pb, pc and pd. |
Uint32 | rows [2] | pa and pb, then pc and pd, written whole when only the diagonal is set. |
Description
One OAM rotation-scaling matrix: pa, pb, pc and pd in 8.8 fixed point, the inverse of the transform the sprite is drawn with.
union OAM_MATRIX
Referenced by OamMatrices and syOAMMatrixAllocateFromTransform().
Definition at line 978 of file definitions.h.
Fields in detail
coefficients
Sint16 coefficients[4]
pa, pb, pc and pd.
rows
Uint32 rows[2]
pa and pb, then pc and pd, written whole when only the diagonal is set.