Write the scene in writer_png
- Add pixels to Scene struct
This commit is contained in:
parent
4e27e4e960
commit
9c01ba8811
2 changed files with 38 additions and 4 deletions
|
@ -17,6 +17,9 @@ typedef struct _Scene
|
|||
{
|
||||
int height, width; /* Pixel dimensions. */
|
||||
Camera *camera;
|
||||
|
||||
int is_rendered;
|
||||
Color *pixels;
|
||||
} Scene;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue