35#define SUN_CORONA_SAMPLES      729          
   36#define MAX_CORONAFLARE         600000.0     
   38#ifndef SUN_DIRECT_VISION_GLARE 
   39#define SUN_DIRECT_VISION_GLARE 1 
   42#if SUN_DIRECT_VISION_GLARE 
   43#define SUN_GLARE_MULT_FACTOR 3.0 
   44#define SUN_GLARE_ADD_FACTOR (M_PI/16.0) 
   45#define SUN_GLARE_CORONA_FACTOR 0.5f 
   47#define SUN_GLARE_CORONA_FACTOR 1.5 
   84- (id) initSunWithColor:(
OOColor*)sun_color andDictionary:(NSDictionary*) dict;
 
   85- (BOOL) setSunColor:(
OOColor*)sun_color;
 
   86- (BOOL) changeSunProperty:(NSString *)key withDictionary:(NSDictionary*) dict;
 
   90- (void) getDiffuseComponents:(GLfloat[4])components;
 
   91- (void) getSpecularComponents:(GLfloat[4])components;
 
   93- (void) setRadius:(GLfloat) rad andCorona:(GLfloat)corona;
 
   97- (void) setGoingNova:(BOOL) yesno inTime:(
double)interval;
 
   99- (void) drawStarGlare;
 
  100- (void) drawDirectVisionSunGlare;
 
float _sunCoronaAlphaFactor
 
GLfloat outerCoronaColor[4]
 
double corona_speed_factor
 
GLfloat rvalue[SUN_CORONA_SAMPLES]
 
GLuint sunTriangles[3240 *3]
 
OOTimeDelta _novaCountdown
 
GLfloat sunColors[1801 *4]
 
GLfloat sunVertices[1801 *3]
 
OOTimeDelta _novaExpansionTimer
 
float _sunBrightnessFactor