Erik Hofman wrote:

double azimuth = -90 + 180.0*(0.5 + 0.5*daytime);

Oh, well, wrong again (but you get the point by now):

double azimuth = 90.0 - 180.0*fabs(1.0 - 2*daytime);

Erik

_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@flightgear.org
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d

Reply via email to