diff options
Diffstat (limited to 'render.h')
-rw-r--r-- | render.h | 10 |
1 files changed, 8 insertions, 2 deletions
@@ -42,8 +42,8 @@ typedef struct { Colour* t; int* d; int asp, n; - int vp[4]; - Rect clip; + int vp[2]; + int clip[4]; } Renderer; int tri_os( @@ -95,6 +95,12 @@ void ren_texts( int y, const char* t ); +void ren_line( + Renderer* r, + Colour c, + const int* s, + const int* e +); /* Vertex format: * x y z u v r g b * All fixed point values with 9 bits of precision. |