1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#ifndef _RAY_SCENE_H #define _RAY_SCENE_H #include "ray_color.h" typedef union ray_object_t ray_object_t; typedef struct ray_scene_t { ray_object_t *objects; ray_object_t *lights; ray_color_t ambient_color; float ambient_brightness; float gamma; } ray_scene_t; #endif