From d47af986a7832add1c149235f44fa8f57b56e6d8 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Fri, 19 Nov 2010 20:30:14 -0500 Subject: Implement sky spheres. --- libdimension/dimension/scene.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libdimension/dimension/scene.h') diff --git a/libdimension/dimension/scene.h b/libdimension/dimension/scene.h index 489e4e5..0889359 100644 --- a/libdimension/dimension/scene.h +++ b/libdimension/dimension/scene.h @@ -45,6 +45,7 @@ typedef struct dmnsn_scene { /* World attributes */ dmnsn_color background; /**< Background color. */ dmnsn_color ambient; /**< Global ambient color. */ + dmnsn_sky_sphere *sky_sphere; /**< Sky sphere. */ dmnsn_texture *default_texture; /**< Default object texture. */ /** Camera. */ @@ -85,4 +86,10 @@ dmnsn_scene *dmnsn_new_scene(void); */ void dmnsn_delete_scene(dmnsn_scene *scene); +/** + * Initialize a scene. + * @param[in,out] scene The scene to initalize. + */ +void dmnsn_scene_init(dmnsn_scene *scene); + #endif /* DIMENSION_SCENE_H */ -- cgit v1.2.3