Alchemy
Loading...
Searching...
No Matches

AffineMatrix Union Reference

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. More...

#include <affine.h>

Data Fields

s16 coefficients [4]
 pa, pb, pc and pd
u32 rows [2]
 pa and pb, then pc and pd, written whole when only the diagonal is set.

Detailed 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.

Definition at line 22 of file affine.h.

Field Documentation

◆ coefficients

s16 AffineMatrix::coefficients[4]

pa, pb, pc and pd

Definition at line 23 of file affine.h.

Referenced by AffineMatrix_BuildForEffect().

◆ rows

u32 AffineMatrix::rows[2]

pa and pb, then pc and pd, written whole when only the diagonal is set.

Definition at line 25 of file affine.h.

Referenced by AffineMatrix_BuildForEffect().