maug
Quick and dirty C mini-augmentation library.
|
Functions for drawing polygons inside of the current scene. More...
Functions | |
void | retro3d_vx (mfix_t x, mfix_t y, mfix_t z, mfix_t s, mfix_t t) |
Create a vertex at the designated location. Must be called inside of retro3d_tri_begin() and retro3d_tri_end(). | |
void | retro3d_tri_begin (RETROFLAT_COLOR color, uint8_t flags) |
Begins drawing a polygon/triangle using predefined Maug_retroflt_color. Follow with three calls to retro3d_vx() and a call to retro3d_tri_end(). | |
void | retro3d_tri_begin_rgb (float r, float g, float b, uint8_t flags) |
Begins drawing a polygon/triangle with the given custom RGB color. Follow with three calls to retro3d_vx() and a call to retro3d_tri_end(). | |
void | retro3d_tri_end () |
Complete a triangle opened with retro3d_tri_begin(). This MUST be called after drawing three vertices. | |
Functions for drawing polygons inside of the current scene.