al - Audio Library Functions gDP - DP GBI Macros gdSP - General GBI Macros gSP - SP GBI Macros gt - Turbo Microcode RDP gu - Graphics Utilities Math - Math Functions nuSys - NuSystem os - N64 Operating System sp - Sprite Library Functions uh - Host to Target IO 64DD - N64 Disk Drive
|
gSPObjSubMatrix [macro]Sets the 2D matrix for a rotating sprite. Syntax
Arguments
Explanation
Cautions
typedef struct { s16 X, Y; /* s10.2 */ u16 BaseScaleX; /* u5.10 */ u16 BaseScaleY; /* u5.10 */ } uObjSubMtx_t; typedef union { uObjSubMtx_t m; long long int force_structure_alignment; } uObjSubMtx; This macro only changes the 2D matrix parameters that are member variables of the uObjSubMtx structure {X, Y, BaseScaleX, BaseScaleY}. It has no effect on the values of the other parameters {A, B, C, D}. See Also
Revision History
|