use C++ style structs everywhere

This commit is contained in:
RSDuck
2021-01-02 11:38:06 +01:00
parent e2c61b28e0
commit 7d448d911d
10 changed files with 28 additions and 39 deletions

View File

@ -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;