Start implementing drawing order
This commit is contained in:
1 parent
77edf714bb
commit
f6848b5f4f
7 files changed
+142
-22
No files matched your search
@@ -31,7 +31,8 @@ MAKE_LIST_TYPE(scene_triangle_t);
|
||||
|
||||
typedef enum {
|
||||
RASTERISER_RENDER_WIREFRAME,
|
||||
RASTERISER_RENDER_SOLID,
|
||||
RASTERISER_RENDER_FILLED,
|
||||
RASTERISER_RENDER_SHADED,
|
||||
} render_type_t;
|
||||
|
||||
typedef struct {
|
||||
@@ -46,6 +47,9 @@ typedef struct {
|
||||
f32 h0;
|
||||
f32 h1;
|
||||
f32 h2;
|
||||
f32 z0;
|
||||
f32 z1;
|
||||
f32 z2;
|
||||
colour_t colour;
|
||||
} triangle_t;
|
||||
|
||||
|
||||
Reference in new issue
Block a user