Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

MoonImage.cpp File Reference

Implements CMoonImage class to render Earth's moon in the sky. More...

#include "../Include/Sky.h"
#include "../Ssg/ssgLocal.h"
#include "../Include/Utility.h"
#include "../Include/Ui.h"
#include "../Include/Globals.h"
#include <plib/ssgAux.h>

Go to the source code of this file.

Defines

#define N_PHASES   17

Functions

static int moonimage_predraw (ssgEntity *e)
static int moonimage_postdraw (ssgEntity *e)


Detailed Description

Implementation of CMoonImage class to render Earth's moon.

The design and implementation of these classes is based heavily on the sky model of SimGear 0.3.3, by Curtis Olson. Integration into the Fly! Legacy project necessitated a rewrite of the actual classes, but I am indebteded to Curt and other contributors to the SimGear and FlightGear teams for their prior work in this area.

Definition in file MoonImage.cpp.


Define Documentation

#define N_PHASES   17
 

Definition at line 93 of file MoonImage.cpp.

Referenced by CMoonImage::CMoonImage(), CMoonImage::Repaint(), and CMoonImage::~CMoonImage().


Function Documentation

static int moonimage_postdraw ssgEntity *  e  )  [static]
 

Definition at line 86 of file MoonImage.cpp.

Referenced by CMoonImage::CMoonImage().

static int moonimage_predraw ssgEntity *  e  )  [static]
 

Definition at line 70 of file MoonImage.cpp.

Referenced by CMoonImage::CMoonImage().

SourceForge.net Logo Documentation generated by doxygen