ssgSelector *sun_selector;
ssgTransform *sun_transform;
- ssgSimpleState *sun_state;
+ ssgSimpleState *orb_state;
ssgSimpleState *halo_state;
+ ssgColourArray *cl;
+
public:
// Constructor
// 0 degrees = high noon
// 90 degrees = sun rise/set
// 180 degrees = darkest midnight
- bool repaint( sgVec3 sky_color, sgVec3 fog_color, double sun_angle );
+ bool repaint( double sun_angle );
// reposition the sun at the specified right ascension and
- // declination
- bool reposition( double rightAscension, double declination );
+ // declination, offset by our current position (p) so that it
+ // appears fixed at a great distance from the viewer. Also add in
+ // an optional rotation (i.e. for the current time of day.)
+ bool reposition( sgVec3 p, double angle,
+ double rightAscension, double declination );
// Draw the sun
bool draw();