summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension/scene.h
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2009-11-09 11:19:13 -0500
committerTavian Barnes <tavianator@gmail.com>2009-11-09 11:19:13 -0500
commitb79e24ded809056b3cd3a338c042d1a794bdcab3 (patch)
treeb3b2715e7238d32057eab9a19111f4c83ba5e291 /libdimension/dimension/scene.h
parente7c3459f8eba5db5704632f927a4168467521b88 (diff)
downloaddimension-b79e24ded809056b3cd3a338c042d1a794bdcab3.tar.xz
Add lights to scenes.
Diffstat (limited to 'libdimension/dimension/scene.h')
-rw-r--r--libdimension/dimension/scene.h9
1 files changed, 6 insertions, 3 deletions
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;