![]() |
![]() |
![]() |
![]() |
![]() |
|||||||||||||||||||||||||
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
![]() |
gSPObjSubMatrix [macro]Sets the 2D matrix for a rotating sprite. Syntax #include <ultra64.h> /* gs2dex.h */ gSPObjSubMatrix(Gfx *gdl, uObjSubMtx *mtx) gsSPObjSubMatrix(uObjSubMtx *mtx) 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
|