diff options
author | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-13 23:13:10 +0200 |
---|---|---|
committer | Piotr Dziwinski <piotrdz@gmail.com> | 2012-08-13 23:13:10 +0200 |
commit | 8b2bca72dd71a1c23db51269a147443c80758f10 (patch) | |
tree | 66d5aea574f5a4530492b6ab69956003427df98b /src/graphics/engine/planet.h | |
parent | dc3cadd309a1ac1eb4921de69fed6037881b0b91 (diff) | |
parent | 5b45911856442ee7cbd451125c47fd13f21db58e (diff) | |
download | colobot-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.h | 13 |
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: |