[prev in list] [next in list] [prev in thread] [next in thread]
List: flightgear-cvs
Subject: [Flightgear-cvslogs] CVS: FlightGear/src/Environment atmosphere.cxx,
From: Melchior Franz <mfranz () flightgear ! org>
Date: 2007-03-31 17:45:16
Message-ID: E1HXhdc-0008EB-00 () baron ! me ! umn ! edu
[Download RAW message or body]
Update of /var/cvs/FlightGear-0.9/FlightGear/src/Environment
In directory baron:/tmp/cvs-serv31614
Modified Files:
Tag: PRE_OSG_PLIB_20061029
atmosphere.cxx
Log Message:
yet another round() ...
Index: atmosphere.cxx
===================================================================
RCS file: /var/cvs/FlightGear-0.9/FlightGear/src/Environment/atmosphere.cxx,v
retrieving revision 1.1.2.1
retrieving revision 1.1.2.2
diff -C 2 -r1.1.2.1 -r1.1.2.2
*** atmosphere.cxx 31 Mar 2007 09:36:16 -0000 1.1.2.1
--- atmosphere.cxx 31 Mar 2007 17:45:13 -0000 1.1.2.2
***************
*** 1,2 ****
--- 1,4 ----
+ #include <simgear/math/SGMath.hxx>
+
#include "atmosphere.hxx"
***************
*** 192,196 ****
double p_inHg = press / inHg;
double qnhx = qnh(hgt_ft, p_inHg);
! double qnh2 = round(qnhx*100)/100;
double Aprind = reading_ft(p_inHg);
--- 194,198 ----
double p_inHg = press / inHg;
double qnhx = qnh(hgt_ft, p_inHg);
! double qnh2 = SGMiscd::round(qnhx*100)/100;
double Aprind = reading_ft(p_inHg);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-cvslogs mailing list
Flightgear-cvslogs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-cvslogs
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic