Write the scene in writer_png

- Add pixels to Scene struct
This commit is contained in:
Eryn Wells 2013-09-06 23:04:30 -07:00
parent 4e27e4e960
commit 9c01ba8811
2 changed files with 38 additions and 4 deletions

View file

@ -17,6 +17,9 @@ typedef struct _Scene
{
int height, width; /* Pixel dimensions. */
Camera *camera;
int is_rendered;
Color *pixels;
} Scene;