X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=raster.h;fp=raster.h;h=53f7627a65a5b43d1c94b47725bf046643a7f5a8;hp=1d43132c6ce7fe40a62b5c8566d589ba195656ea;hb=143da66e7f625b7f195a115b9740a748ee003534;hpb=e00aec23409a0f95317c110305e6448ec882bd0e diff --git a/raster.h b/raster.h index 1d43132..53f7627 100644 --- a/raster.h +++ b/raster.h @@ -11,6 +11,7 @@ #include "color.h" #include "common.h" #include "light.h" +#include "model.h" #include "tri.h" @@ -102,7 +103,12 @@ int raster_export_bmp(const raster_t* p, const char* filename); void raster_clear(raster_t* p, color_t fill); /* - * Draw a smooth gradient triangle to the raster. + * Draw a model to the raster. + */ +void raster_draw_model(raster_t* p, const model_t* model); + +/* + * Draw a triangle to the raster. */ void raster_draw_tri(raster_t* p, const tri_t* triangle);