[Flightgear-devel] Re: Flashing white patches

2004-01-20 Thread Simon Hollier
Erik Hofman writes: Simon Hollier wrote: Thanks. That was originally how I had it patched, but changed it to try to use atan2 as per Andy's suggestion. That alert output might be a bit much if you fly around noon / midnight alot. My 2 minute flight out of KSFO towards the sailboat generate

Re: [Flightgear-devel] Re: Flashing white patches

2004-01-19 Thread Erik Hofman
Simon Hollier wrote: Thanks. That was originally how I had it patched, but changed it to try to use atan2 as per Andy's suggestion. That alert output might be a bit much if you fly around noon / midnight alot. My 2 minute flight out of KSFO towards the sailboat generated 6 alerts. Hmm, maybe

[Flightgear-devel] Re: Flashing white patches

2004-01-19 Thread Simon Hollier
Erik Hofman writes: Simon Hollier wrote: Both of these patches should fix the fog flashing to white(black?) bug. The first one just checks for the Not a Number condition that results from acos(1+small_delta). The second patch uses atan2, but doesn't quite make it near 0 or PI at the edge case