diff options
author | Stijn Buys <ingar@osirion.org> | 2010-10-06 12:11:46 +0000 |
---|---|---|
committer | Stijn Buys <ingar@osirion.org> | 2010-10-06 12:11:46 +0000 |
commit | 64a2a6d71023ab382c996ccdb8e403660fa19916 (patch) | |
tree | ab6a181c528deda6033ffa9c274ea87bfffffee1 /src/render/sky.h | |
parent | fed29d9ddc3b8372b9c3fe8bffe221a5a55e5ce9 (diff) |
replaces skydomes with skyboxes
Diffstat (limited to 'src/render/sky.h')
-rw-r--r-- | src/render/sky.h | 35 |
1 files changed, 35 insertions, 0 deletions
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 <string> + +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 |