summaryrefslogtreecommitdiffstats
path: root/src/graphics/engine/planet.h
diff options
context:
space:
mode:
authorPiotr Dziwinski <piotrdz@gmail.com>2012-08-13 23:13:10 +0200
committerPiotr Dziwinski <piotrdz@gmail.com>2012-08-13 23:13:10 +0200
commit8b2bca72dd71a1c23db51269a147443c80758f10 (patch)
tree66d5aea574f5a4530492b6ab69956003427df98b /src/graphics/engine/planet.h
parentdc3cadd309a1ac1eb4921de69fed6037881b0b91 (diff)
parent5b45911856442ee7cbd451125c47fd13f21db58e (diff)
downloadcolobot-8b2bca72dd71a1c23db51269a147443c80758f10.tar.gz
colobot-8b2bca72dd71a1c23db51269a147443c80758f10.tar.bz2
colobot-8b2bca72dd71a1c23db51269a147443c80758f10.zip
Merge branch 'dev-graphics' into dev
Documentation, rendering functions & fixes
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: