diff options
author | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 11:19:13 -0500 |
---|---|---|
committer | Tavian Barnes <tavianator@gmail.com> | 2009-11-09 11:19:13 -0500 |
commit | b79e24ded809056b3cd3a338c042d1a794bdcab3 (patch) | |
tree | b3b2715e7238d32057eab9a19111f4c83ba5e291 /libdimension/dimension/scene.h | |
parent | e7c3459f8eba5db5704632f927a4168467521b88 (diff) | |
download | dimension-b79e24ded809056b3cd3a338c042d1a794bdcab3.tar.xz |
Add lights to scenes.
Diffstat (limited to 'libdimension/dimension/scene.h')
-rw-r--r-- | libdimension/dimension/scene.h | 9 |
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; |