From 64a2a6d71023ab382c996ccdb8e403660fa19916 Mon Sep 17 00:00:00 2001 From: Stijn Buys Date: Wed, 6 Oct 2010 12:11:46 +0000 Subject: replaces skydomes with skyboxes --- src/render/sky.h | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) create mode 100644 src/render/sky.h (limited to 'src/render/sky.h') diff --git a/src/render/sky.h b/src/render/sky.h new file mode 100644 index 0000000..d922d75 --- /dev/null +++ b/src/render/sky.h @@ -0,0 +1,35 @@ +/* + render/sky.h + This file is part of the Osirion project and is distributed under + the terms of the GNU General Public License version 2 +*/ + +#ifndef __INCLUDED_RENDER_SKY_H__ +#define __INCLUDED_RENDER_SKY_H__ + +#include + +namespace render +{ + +class Sky { +public: + + static void unload(); + + static void draw(const std::string & name); + +private: + + static size_t sky_texture_up; + static size_t sky_texture_down; + static size_t sky_texture_left; + static size_t sky_texture_right; + static size_t sky_texture_front; + static size_t sky_texture_back; + + static std::string sky_name; +}; + +} // namespace render +#endif // __INCLUDED_RENDER_SKY_H__ \ No newline at end of file -- cgit v1.2.3