mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-23 14:19:55 -06:00
some debuts of 3D drawing.
it can draw non-strip polygons, filled with a fixed color. oh and it doesn't work if they're facing back.
This commit is contained in:
4
GPU3D.h
4
GPU3D.h
@ -36,6 +36,8 @@ typedef struct
|
||||
|
||||
} Polygon;
|
||||
|
||||
extern s32 Viewport[4];
|
||||
|
||||
bool Init();
|
||||
void DeInit();
|
||||
void Reset();
|
||||
@ -45,6 +47,7 @@ void CheckFIFOIRQ();
|
||||
void CheckFIFODMA();
|
||||
|
||||
void VBlank();
|
||||
u8* GetLine(int line);
|
||||
|
||||
u8 Read8(u32 addr);
|
||||
u16 Read16(u32 addr);
|
||||
@ -61,6 +64,7 @@ void DeInit();
|
||||
void Reset();
|
||||
|
||||
void RenderFrame(Vertex* vertices, Polygon* polygons, int npolys);
|
||||
u8* GetLine(int line);
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user