Add ObjectList struct

This commit is contained in:
Eryn Wells 2013-09-07 16:10:50 -07:00
parent dc558c016b
commit b4cc32a196
2 changed files with 13 additions and 0 deletions

View file

@ -12,12 +12,16 @@
#include "basics.h"
#include "camera.h"
typedef struct _ObjectList ObjectList;
typedef struct _Scene
{
int height, width; /* Pixel dimensions. */
Camera *camera;
ObjectList *objects;
int is_rendered;
Color *pixels;
} Scene;