mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-26 07:39:56 -06:00
use C++ style structs everywhere
This commit is contained in:
@ -25,7 +25,7 @@
|
||||
namespace GPU3D
|
||||
{
|
||||
|
||||
typedef struct
|
||||
struct Vertex
|
||||
{
|
||||
s32 Position[4];
|
||||
s32 Color[3];
|
||||
@ -43,9 +43,9 @@ typedef struct
|
||||
// TODO maybe: hi-res color? (that survives clipping)
|
||||
s32 HiresPosition[2];
|
||||
|
||||
} Vertex;
|
||||
};
|
||||
|
||||
typedef struct
|
||||
struct Polygon
|
||||
{
|
||||
Vertex* Vertices[10];
|
||||
u32 NumVertices;
|
||||
@ -74,7 +74,7 @@ typedef struct
|
||||
|
||||
u32 SortKey;
|
||||
|
||||
} Polygon;
|
||||
};
|
||||
|
||||
extern u32 RenderDispCnt;
|
||||
extern u8 RenderAlphaRef;
|
||||
|
Reference in New Issue
Block a user