Algorithms to paint SkyDome. More...
#include <_src_sky_sky_dome_painter.hh>
Public Member Functions | |
| CLASS_METHOD void | Paint (SkyDome &skyDome, const fp hour) |
Private Member Functions | |
| CLASS_METHOD void | PaintDome (SkyDome &skyDome, const fp hour) |
| CLASS_METHOD void | PaintHorizon (SkyDome &skyDome, const fp hour) |
| CLASS_METHOD void | PaintSunAura (SkyDome &skyDome, const fp hour) |
| CLASS_METHOD RGBA | ComputeSkyColor (const fp hour) |
Algorithms to paint SkyDome.
SkyDomePainter class is a collection of functions.
SkyDome vs. SkyDomePainter: --------------------------- To separate code and data (and for factoring), SkyDome is a data, while SkyDomePainter is a specific algorithm applied to data.
Private subroutine. Compute sky color according to time-of-day.
Main public method. Paint SkyDome according to time-of-day.
Private subroutine. Paint all patches with sky color.
Private subroutine. Paint the horizon.
Private subroutine. Paint the sun's aura.
Palomino Flight Simulator documents generated by doxygen 1.7.1 on Tue May 15 2012 22:40:12