Add ability to draw filled triangle

This commit is contained in:
2024-06-24 00:04:21 +01:00
parent 01ece119ed
commit e3c463d2f1
3 changed files with 57 additions and 1 deletions

View File

@@ -21,6 +21,7 @@ typedef struct {
void draw_wireframe_triangle(window_t *wnd, triangle_t triangle,
colour_t colour);
void draw_filled_triangle(window_t *wnd, triangle_t triangle, colour_t colour);
void draw_line(window_t *wnd, line_t line, colour_t colour);
#endif // !RASTERISER_H