3D: Y-sorting

This commit is contained in:
StapleButter
2017-07-05 18:38:10 +02:00
parent 01404ac6c3
commit d5376b4184
3 changed files with 35 additions and 15 deletions

View File

@ -60,12 +60,12 @@ typedef struct
bool IsShadowMask;
bool IsShadow;
// data below rather specific to the software renderer
u32 VTop, VBottom; // vertex indices
s32 YTop, YBottom; // Y coords
s32 XTop, XBottom; // associated X coords
u32 SortKey;
} Polygon;
extern u32 RenderDispCnt;