summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/planet.h
diff options
context:
space:
mode:
authorMichał Konopacki <konopacki.m@gmail.com>2012-08-13 21:23:20 +0200
committerMichał Konopacki <konopacki.m@gmail.com>2012-08-13 21:23:20 +0200
commit9ee1d2e172162be25b113595ad16779aa0a49a87 (patch)
tree5036de076ff1cf804bacfc866c2a8f04dc6c66f8 /src/graphics/engine/planet.h
parentdc3cadd309a1ac1eb4921de69fed6037881b0b91 (diff)
parenta2dd39960b5851f8e62adf59b11b36ba14626468 (diff)
downloadcolobot-9ee1d2e172162be25b113595ad16779aa0a49a87.tar.gz
colobot-9ee1d2e172162be25b113595ad16779aa0a49a87.tar.bz2
colobot-9ee1d2e172162be25b113595ad16779aa0a49a87.zip
Merge remote-tracking branch 'upstream/dev-graphics' into dev-ui
Diffstat (limited to 'src/graphics/engine/planet.h')
-rw-r--r--src/graphics/engine/planet.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/graphics/engine/planet.h b/src/graphics/engine/planet.h
index e859cd7..fd119f6 100644
--- a/src/graphics/engine/planet.h
+++ b/src/graphics/engine/planet.h
@@ -35,6 +35,10 @@ namespace Gfx {
class CEngine;
+/**
+ * \struct Planet
+ * \brief Planet texture definition
+ */
struct Planet
{
//! Initial position in degrees
@@ -63,6 +67,15 @@ struct Planet
}
};
+
+/**
+ * \class CPlanet
+ * \brief Planet manager
+ *
+ * Draws the planets orbiting in the sky.
+ *
+ * Planets are drawn in 2D mode, at coordinates calculated from camera position.
+ */
class CPlanet
{
public: