mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
make the 3D renderer work per-scanline
This commit is contained in:
@ -22,6 +22,11 @@
|
||||
namespace GPU3D
|
||||
{
|
||||
|
||||
namespace SoftRenderer
|
||||
{
|
||||
class Slope;
|
||||
}
|
||||
|
||||
typedef struct
|
||||
{
|
||||
s32 Position[4];
|
||||
@ -59,6 +64,8 @@ typedef struct
|
||||
bool IsShadow;
|
||||
bool ClearStencil;
|
||||
|
||||
// data below rather specific to the software renderer
|
||||
|
||||
u32 VTop, VBottom; // vertex indices
|
||||
s32 YTop, YBottom; // Y coords
|
||||
s32 XTop, XBottom; // associated X coords
|
||||
|
Reference in New Issue
Block a user