void dsp1Triangle(u16 angle, s16 radius)
Scaled sine and cosine of an angle (DSP-1 command $04, "Triangle").
void dsp1Objective(s16 x, s16 y, s16 z)
Transform a point by matrix A: local → world (DSP-1 command $0D, "Objective").
void dsp1Attitude(u16 scale, u16 az, u16 ay, u16 ax)
Build a 3D rotation matrix into slot A (DSP-1 command $01, "Attitude").
void dsp1Rotate(u16 angle, s16 x, s16 y)
Rotate a 2D point about the origin (DSP-1 command $0C, "Rotate").
static u16 angle
Rotation step index, 0..47.
Definition main.c:53