Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: source/src/Navaids navdb.cxx, 1.27, 1.28 navdb.hxx, 1.11, 1.12 navlist.cxx, 1.21, 1.22 navlist.hxx, 1.17, 1.18 navrecord.cxx, 1.1, 1.2 navrecord.hxx, 1

2008-09-13 Thread Frederic Bouvier
Hi James, Update of /var/cvs/FlightGear-0.9/source/src/Navaids In directory baron.flightgear.org:/tmp/cvs-serv9789/Navaids Modified Files: navdb.cxx navdb.hxx navlist.cxx navlist.hxx navrecord.cxx navrecord.hxx Log Message: James Turner: Convert FGNavRecord to inherit

Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: source/src/Navaids navdb.cxx, 1.27, 1.28 navdb.hxx, 1.11, 1.12 navlist.cxx, 1.21, 1.22 navlist.hxx, 1.17, 1.18 navrecord.cxx, 1.1, 1.2 navrecord.hxx, 1

2008-09-13 Thread James Turner
On 13 Sep 2008, at 09:34, Frederic Bouvier wrote: MSVC has a problem compiling this line : return fabs(az1 90.0); and I must admit I also have a problem understanding your intention. You are trying to extract the absolute value of a boolean. Should it be return fabs(az1) 90.0;

Re: [Flightgear-devel] [Flightgear-cvslogs] CVS: source/src/Navaids navdb.cxx, 1.27, 1.28 navdb.hxx, 1.11, 1.12 navlist.cxx, 1.21, 1.22 navlist.hxx, 1.17, 1.18 navrecord.cxx, 1.1, 1.2 navrecord.hxx, 1

2008-09-13 Thread Roy Vegard Ovesen
On Saturday 13 September 2008 10:49:54 James Turner wrote: I'm getting more and more encouraged to write a set of course and bearing helpers to deal with the normalisation and differencing. I've lost count of the number of times I've seen the: if ( az1 180.0) az1 -= 360.0; if ( az1