summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@gmail.com>2010-11-19 14:30:41 -0500
committerTavian Barnes <tavianator@gmail.com>2010-11-19 14:30:41 -0500
commit6137aed0179476eaa626660885f01ea3f04f988a (patch)
treee23b07cac6c9b8df58d9700e8a2fa2c719cf965b /libdimension/dimension
parent30cb9cb572cf8fa942faff7384580e5e2a06a7b3 (diff)
downloaddimension-6137aed0179476eaa626660885f01ea3f04f988a.tar.xz
Support global ambient_light.
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/scene.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h
index 57ef32b..489e4e5 100644
--- a/libdimension/dimension/scene.h
+++ b/libdimension/dimension/scene.h
@@ -44,6 +44,7 @@ typedef unsigned int dmnsn_quality;
typedef struct dmnsn_scene {
/* World attributes */
dmnsn_color background; /**< Background color. */
+ dmnsn_color ambient; /**< Global ambient color. */
dmnsn_texture *default_texture; /**< Default object texture. */
/** Camera. */