On Tue, 2009-11-24 at 17:58 +0100, Csaba Halász wrote:
> On Tue, Nov 24, 2009 at 5:28 PM, Ron Jensen <w...@jentronics.com> wrote:
> >
> > The relationship between feet and meters is exactly 0.3048 feet per
> > meter.  Your conversion value of 12/39.4 is approximately 0.30456...  It
> > would be better to do:
> >
> >  #  constants
> > ...
> >   var radTOdeg = 57.295779;
> >   var ftTOmeter = 0.3048;
> 
> Or even better, use the constants already in global.nas, namely R2D and FT2M
> 

OK. that is better.  And I noticed Stuart posted patches to this file to
use the home-made constants while I was typing the last e-mail  :D

Ron



------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to