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

SolImage.cpp File Reference

Implements CSolImage class to render Earth's sun (Sol) in the sky. More...

#include "../Include/Sky.h"
#include "../Include/Utility.h"

Go to the source code of this file.

Classes

struct  SSunLayer
class  CSunTextureCache

Functions

static int sol_orb_predraw (ssgEntity *e)
static int sol_orb_postdraw (ssgEntity *e)
static int sol_halo_predraw (ssgEntity *e)
static int sol_halo_postdraw (ssgEntity *e)

Variables

const int nSunLayers = 10
SSunLayer sunLayers []


Detailed Description

The CSolImage class renders Earth's sun (Sol) in the sky.

Definition in file SolImage.cpp.


Function Documentation

static int sol_halo_postdraw ssgEntity *  e  )  [static]
 

Definition at line 85 of file SolImage.cpp.

static int sol_halo_predraw ssgEntity *  e  )  [static]
 

Definition at line 69 of file SolImage.cpp.

static int sol_orb_postdraw ssgEntity *  e  )  [static]
 

Definition at line 59 of file SolImage.cpp.

static int sol_orb_predraw ssgEntity *  e  )  [static]
 

Definition at line 43 of file SolImage.cpp.


Variable Documentation

const int nSunLayers = 10
 

Definition at line 111 of file SolImage.cpp.

SSunLayer sunLayers[]
 

Initial value:

{
  {"sun06", 64,   0.500000, 43.000000,  8, 8, 248, 248},
  {"suncram", 256,  0.30000,  143.000000, 130, 130, 254, 254},
  {"sun07", 64,   0.100000, 11.000000,  8, 8, 248, 248},
  {"sun07", 64,   -0.271000,  27.000000,  8, 8, 248, 248},
  {"sun09", 64,   -0.416000,  80.000000,  8, 8, 248, 248},
  {"sun11", 64,   -0.475000,  41.000000,  8, 8, 248, 248},
  {"sun12", 64,   -0.643000,  61.000000,  8, 8, 248, 248},
  {"sun13", 64,   -0.674000,  60.000000,  8, 8, 248, 248},
  {"suncram", 256,  -1.000000,  213.000000, 130, 2, 254, 126},
  {"suncram", 256,  -1.333000,  410.000000, 2, 130, 126, 254}
}

Definition at line 112 of file SolImage.cpp.

SourceForge.net Logo Documentation generated by doxygen