Return to previous page | Return to menu | Go to next page
Structure
Rotation parameters
typedef struct {
FIXED XST;
FIXED YST;
FIXED ZST;
FIXED DXST;
FIXED DYST;
FIXED DX;
FIXED DY;
FIXED MATA;
FIXED MATB;
FIXED MATC;
FIXED MATD;
FIXED MATE;
FIXED MATF;
, Sint16 PX;
, Sint16 PY;
Sint16 PZ;
Sint16 dummy0;
Sint16 CX;
, Sint16 CY;
, Sint16 CZ;
, Sint16 dummy1;
FIXED MX;
FIXED MY;
FIXED KX;
FIXED KY;
Uint32 KAST;
, Sint32 DKAST;
Sint32 DKA;
} ROTSCROLL;
XST scroll screen start coordinates Xst YST scroll screen start coordinates Yst ZST scroll screen start coordinate Zst DXST scroll screen vertical coordinate increment dXst DYST Scroll screen vertical coordinate increment dYst DX scroll screen horizontal coordinate increment dX DY scroll screen horizontal coordinate increment dY MATA rotation matrix parameter A MATB rotation matrix parameter B MATC rotation matrix parameter C MATD rotation matrix parameter D MATE rotation matrix parameter E MATF rotation matrix parameter F PX viewpoint coordinates Px PY viewpoint coordinates Py PZ viewpoint coordinates Pz dummy0 dummy area CX center coordinates Px CY center coordinates Py CZ center coordinates Pz dummy1 dummy area MX parallel travel Mx MY parallel displacement My KX scaling factor Kx KY Scale factor Ky KAST coefficient table start address KAat DKAST coefficient table vertical direction address increment DKAst DKA coefficient table horizontal address increment DKA
Define the rotation parameter table.
The rotation scroll screen reads the rotation parameter table line by line and displays the screen according to the value.
The two defined dummy areas are for address adjustment and cannot be used.
ROTSCROLL