#include <_src_sky_sun.hh>
Public Member Functions | |
| Sun (const Degree lat, const Degree lon) | |
| ~Sun () | |
| void | SetLatLon (const pair< Degree, Degree > &latLon) |
| Set position of sun as (lat,lon). | |
| pair< Degree, Degree > | GetLatLon (void) |
Private Attributes | |
| Degree | mLat |
| Degree | mLon |
| position of sun (lat,lon) | |
Sun is a stub class. It just holds the sun's (lat,lon) coordinates. The sun is actually rendered by SkyDomePainter which paints the sun's aura. In the future, Sun could be improved, perhaps by rendering a Sprite image.
Integration: Sun is to be instantiated and contained by Sky.
| sky::Sun::Sun | ( | const Degree | lat, | |
| const Degree | lon | |||
| ) | [inline] |
| sky::Sun::~Sun | ( | ) | [inline] |
| void sky::Sun::SetLatLon | ( | const pair< Degree, Degree > & | latLon | ) | [inline] |
Set position of sun as (lat,lon).
| pair<Degree,Degree> sky::Sun::GetLatLon | ( | void | ) | [inline] |
Degree sky::Sun::mLat [private] |
Degree sky::Sun::mLon [private] |
position of sun (lat,lon)
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:50 2010