X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Frasterize;a=blobdiff_plain;f=raster.h;h=1d43132c6ce7fe40a62b5c8566d589ba195656ea;hp=ef358e71855b96d05eaef150f6a526e0d12dac12;hb=e16cf0578f4baaf879e4ab9d3528a765bfd29be0;hpb=db44364a1fabda81d3f6c842c4e4778eac6495a5 diff --git a/raster.h b/raster.h index ef358e7..1d43132 100644 --- a/raster.h +++ b/raster.h @@ -69,11 +69,21 @@ void raster_projection(raster_t* p, const mat_t* transform); */ void raster_eye(raster_t* p, vec_t eye); +/* + * Set the ambient light for the scene. + */ +void raster_ambient(raster_t* p, color_t ambient); + /* * Add a light to the scene. */ void raster_light(raster_t* p, light_t light); +/* + * Set the material properties for the scene. + */ +void raster_material(raster_t* p, color_t specular, scal_t shininess); + /* * Save the raster to a PPM file.