summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/planet.h
diff options
context:
space:
mode:
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: