Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2010-10-06 12:11:46 +0000
committerStijn Buys <ingar@osirion.org>2010-10-06 12:11:46 +0000
commit64a2a6d71023ab382c996ccdb8e403660fa19916 (patch)
treeab6a181c528deda6033ffa9c274ea87bfffffee1 /src/render/sky.h
parentfed29d9ddc3b8372b9c3fe8bffe221a5a55e5ce9 (diff)
replaces skydomes with skyboxes
Diffstat (limited to 'src/render/sky.h')
-rw-r--r--src/render/sky.h35
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