Erik Hofman wrote:

Given that 12.00 UTC is high noon and 0.00 is midnight it is now easy to determine the sun azimuth for (0,0) by using the following formula:

double azimuth = -90.0 + 180 * daytime.

This should be:

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

Erik

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

Reply via email to