#include "color.h"
#include "common.h"
#include "light.h"
+#include "model.h"
#include "tri.h"
*/
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.
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);