From b79e24ded809056b3cd3a338c042d1a794bdcab3 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Mon, 9 Nov 2009 11:19:13 -0500 Subject: Add lights to scenes. --- libdimension/dimension/scene.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libdimension/dimension') diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index 12ad6bd..8c9c705 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -37,15 +37,18 @@ typedef struct { dmnsn_color background; dmnsn_texture *default_texture; - /* Objects */ - dmnsn_array *objects; - /* Camera */ dmnsn_camera *camera; /* Canvas */ dmnsn_canvas *canvas; + /* Objects */ + dmnsn_array *objects; + + /* Lights */ + dmnsn_array *lights; + /* Rendering quality */ dmnsn_quality quality; } dmnsn_scene; -- cgit v1.2.3